Frameset in Javascript : Frame FrameSet : HTML : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
C++
PHP
JavaScript DHTML Home »  HTML   » [  Frame FrameSet  ]   
 



Frameset in Javascript

Please note that some example is only working under IE or Firefox.

/*
Javascript Essentials
by Jason J. Manger

Publisher: Mcgraw-Hill Osborne Media; 

ISBN: 0078822343
*/

<!--
  Prorgam 2-6
-->
<html>
<head>
<script language="JavaScript">
<!--
function myFunc() {
  parent.frames[1].document.open();
  parent.frames[1].document.write("This is some " +
                   "automatically " +
                   "loaded frame-text.");
  parent.frames[1].document.close();
}
var topFrame = "<a href='http://www.osborne.com' " +
               "onClick='parent.myFunc()'>Click me</a>";
var botFrame = "";  // Empty to start with
//-->
</script>
</head>
<frameset rows="50%,*">
<frame src="javascript:parent.topFrame">
<frame src="javascript:parent.botFrame">
</frameset>
</html>


           
       
Related examples in the same category
1.  Parent window
2.  Window top frame
3.  Frame 'cols' Example
4.  'rows' Example
5.  'noResize' Example
6.  'frameElement' Example
7.  'frameBorder' Example
8.  'frameSpacing' Example
9.  Create frameset
10.  Hide and Show Frame ExampleHas Download File
11.  Handling Load Events in a Layout Document
12.  Frameset for document.URL Property Reader
13.  Creating a Blank Frame
14.  A blank frameset with Javascript
15.  Get frame size
16.  Make new frameset
17.  Frameset NavigatorHas Download File
18.  Frameset show and hideHas Download File
19.  Multiple Search EngineHas Download File
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.