Using Hidden Frames

You can also build frame-based pages by placing all the XHTML and JavaScript code that you don't want changed into a hidden frame. Depending on the Web browser your users are using to look at your site and how you specify the borders of your frames, this frame might not actually be completely invisible. It might appear as a tiny space with one or two borders shown on it. To specify a hidden frame, add another frame to your frameset, but make sure the other frames take up all the available space. If you are using two frames, for example,

<frameset rows="50%,50%">
   <frame name="MyFrame1" src="Frame1.htm"/>
   <frame name="MyFrame2" src="Frame2.htm"/>
</frameset>

you could add a hidden frame this way:

 <frameset rows="50%,50%,*"> ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.