Jump to Real's How-to Main page

Hide a Frame

<FRAMESET ROWS="100%,*">
   <FRAME NAME="mainFrame" SRC="visiblepage.html" border=0>
   <FRAME NAME="scriptFrame"  SRC="invisiblepage.html" border=0>
</FRAMESET>
The Frame scriptFrame is invisible.

Javascript in the scriptFrame can be referenced with "top.scriptFrame.functionname()" from the mainFrame.

That's an easy way to hide your scripts from the user.


If you find this article useful, consider making a small donation
to show your supportfor this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]