Hi,
I know of the scripts that can "break" the frames of other sites and load them onto the top frame. I have also seen the scripts that will load up the appropriate frameset and then load the page within that.
Now, the situation here is that we are opening external pages from the left frame into the main frame. We don't want these pages to break our frame set and load on the full window. We either want them to be in the main frame or open a new window for the page.
How can we do this?
TIA.
Best Regards,
Kapil
- The Home Page Tutorial - My Home Page
- MagNetize Your .Com - The Complete Web Solutions
- My Cuffe Parade - You Digital Guide to Cuffe Parade






Busy posted this at 22:53 — 6th October 2001.
He has: 6,157 posts
Joined: May 2001
use "target=" in your links
in your frameset, name the frames, ie:
<frame src="left.html" NAME="LEFTSIDE">
<frame src="right.html" NAME="RIGHTSIDE">
then in your links add target=, ie:
<a href="somewhere.html" target="rightside">
this would open somewhere.html into the righthand frame from the left.
to open a new window, use target=_top or _new
if you load a page into your frame set that uses a javascript to break out of frames you can not stop this. Also note most sites arent made or suited to be displayed in frames.
<?bhb if(broken){ echo("It wasn't me
"); } ?>
Learn HTML the ez way - EzHTML.net
Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...