Frameset in Javascript : Frame FrameSet : HTML JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » HTML » Frame FrameSet »

 

Frameset in Javascript



<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.navioo.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>


           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo HTML
» Frame FrameSet