Search Engine Optimization > Web Development > jsp frames issue
jsp frames issue
Posted by Scott Pinhorne on July 28th, 2003

Hi

I have a page with four frames (dont ask why :-)
I wish to have it so that when i load a page in one frame the remain
three frames are blanked out.

I thought about uasing an onload function but couldn't get the right
code :-(

Anyone have any ideas how i can get this to work?

Many thanks

sp

Posted by Geoff Berrow on July 28th, 2003

Message-ID: <3F250911.3090308@mysecretworld.co.uk> from Scott Pinhorne
contained the following:

Instead of changing pages within an existing frameset, just load a new
frameset.

--
Geoff Berrow
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

Posted by Eric Cartman on July 30th, 2003

Scott Pinhorne <scott@mysecretworld.co.uk> wrote in message news:<3F250911.3090308@mysecretworld.co.uk>...
bit of javascript in the controlling frame called from an onLoad in that frame:

blankOut ()
{
top.YOUR_FRAME_NAME_1.location=_blank;
top.YOUR_FRAME_NAME_2.location=_blank;
top.YOUR_FRAME_NAME_3.location=_blank;
}

Funbolt.com - Entertainment portal, wallpapers, sexy celebs