Jump to content

How to blank a FRAME


pop-eye

Recommended Posts

The page that loads, put this into it's head:

 

<script language="JavaScript" type="text/javascript">
<!--
function blankFrame()
{
    parent.CHANGE_THIS_TO_THE_NAME_OF_THE_FRAME_TO_CHANGE.location="myBlankPage.htm";
}
//-->
</script>

 

Of course, the big part that states to change it, type the name of the frame you want to blank out in there and rename the blank page to whatever your want it to be.

 

Next, on the same page add this to the BODY:

<body onload=”blankFrame()”>

 

This isn't tested, so it may not work.  But in theory when you load the specific page that needs to blank out another frame, that page should automatically change whatever is in the frame you select to the "blank" page.

 

See how it goes.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.