Click to See Complete Forum and Search --> : keeping external content from busting out of a frame


deilf
08-26-2003, 06:51 PM
How does Jeeves keep external content from busting out of its frames?

Shampie
08-26-2003, 06:55 PM
try to explain you question better, busting out of frames?

you mean askjeeves.com ?
that on uses a frame (topframe)
opens in target self. same as hotmail uses

deilf
08-27-2003, 01:02 AM
yes i meant Ask Jeeves. I understand how the target attribute works.

Like Jeeves, I can target a link into the window of my choice, but the page loaded into it may insist on being in the top window:

function frameBuster()
{
if (top.location != self.location) top.location = self.location;
}

...or it may rename my window, making it inaccessable to me:

window.name = 'nytimesmain';

The Ask Jeeves site does not seem to have these problems, so I was wondering how they avoided them.