A blank frameset with Javascript : Frame FrameSet « HTML « JavaScript DHTML






A blank frameset with Javascript

  
<html>
<head>
<script type="text/javascript">
<!--
function blankFrame() {
    return "<html><body></body></html>";
}
//-->
</script>
</head>
<frameset rows="50, *">
    <frame name="frame1" id="frame1" src="navSlice.html">
    <frame name="frame2" id="frame2" src="javascript:parent.blankFrame()">
</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.Frameset in Javascript
10.Create frameset
11.Hide and Show Frame Example
12.Handling Load Events in a Layout Document
13.Frameset for document.URL Property Reader
14.Creating a Blank Frame
15.Get frame size
16.Make new frameset
17.Frameset Navigator
18.Frameset show and hide
19.Multiple Search Engine
20.File: frameset.htm
21.Reference to parent frame from inner frame