Using Hidden Frames

A technique that has emerged recently involves the use of hidden frames. Hidden frames are frames that have no size and, therefore, are not visible to a user. You might set up a hidden frame with code such as

<frameset rows="30%,70%,*">
   <frame src="frame1.html" name="frame1" />
   <frame src="frame2.html" name="frame2" />
   <frame src="frame3.html" name="hidden_frame" />
</frameset>

This creates a frameset with three rows. The first row has a height equal to 30% of the browser window height, the second row a height equal to 70% of the browser screen, and the third row a height of whatever is left over. However, because the entire browser window height is consumed by the first two rows, the third row has a height of zero and ...

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.