PDA

View Full Version : Force pages in your frame


Jt107
11-21-2002, 11:04 PM
How to keep the url links from breaking frames.
For instatance, I have a link www.externalsite.com, or yahoo.com, when you click them, they may break my frame, so the visitor lost track of my site. What should I to keep the site within my frameset.

Thanks

requestcode
11-21-2002, 11:49 PM
JavaScript is not capable of doing that. If it is an external site then you don't have any control over what they do.

Jt107
11-22-2002, 02:37 PM
That is a reasonable statement. just wondering how ask.com, Hotmail.com trying to keep everything within their framesets.

joh6nn
11-22-2002, 08:46 PM
they don't, really; if any of the sites that they tried to frame, had frame breaking scripts, then Ask.com's frames would be just as broken as yours.