View Full Version : frameset jailbreak!

05-01-2006, 11:43 PM
In my book frames = bad, but it seems that I have to use them for this project I'm doing for a friend.

Here's the link:


the client wanted me to make a top and have her other active agent site she purchased to be on the bottom. the problem is that when I click any of the navigation buttons in the active agent frame, the active agent website busts out of the frame I put it in.

Someone else was able to do this here:


I'd appriciate any help

05-02-2006, 02:30 AM
the only ones that aren't working are for buyers and for sellers. evidently you misspelled the urls or the files don't exist

05-02-2006, 04:00 AM
I uploaded those missing pages. But still on the pages with the framed active agent site at the bottom when I click any of the links the bottom frame jumps out of the frame. the top banner with nav buttons disapears and just the particular active agent page is all that's in the window.

any advice?


05-02-2006, 04:26 AM
Are you able to edit the bottom page in anyway? What happens if you add target="_self" to the links for the page in the iframe.

05-02-2006, 04:28 AM
I can't really understand what's going on but my guess is that when you click a link it's supposed to open a page in the iframe below the banner image. You haven't even specified a name for that iframe nor are your hyperlinks (<area>) using the target attribute so what do you expect? Naturally, clicking them brings you to a new page like any normal link click. To get that effect you need to do something like:

<area target="magicframe" [...]/>
<iframe name="magicframe" [...]></iframe>

edit: Ah, I see the problem now. This line of code in the iframe is causing the hyperlink destination to become the parent window:

<BASE TARGET="_parent">

05-02-2006, 04:42 AM
Heh totally missed that. I even looked through each JS file but then realized I have JS disabled.