<html>
<head>
<script language="JavaScript">
<!--
function myFunc() {
parent.frames[1].document.open();
parent.frames[1].document.write("frame-text.");
parent.frames[1].document.close();
}
var topFrame = "<a href='http://www.java2java.com' " +"onClick='parent.myFunc()'>Click me</a>";
var botFrame = "";
//-->
</script>
</head>
<frameset rows="50%,*">
<frame src="javascript:parent.topFrame">
<frame src="javascript:parent.botFrame">
</frameset>
</html>
|