...

View Full Version : frameset jailbreak!



spunky844
05-01-2006, 10: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:

http://www.erikasellsva.com/propertyfinder.html

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:

http://www.homesforsaleva.com/Search_New_Homes_Now/page_1396225.html

I'd appriciate any help
Spunky844

oldcrazylegs
05-02-2006, 01: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

spunky844
05-02-2006, 03: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?

:confused:

_Aerospace_Eng_
05-02-2006, 03: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.

Arbitrator
05-02-2006, 03: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">

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum