Help - Search - Members - Calendar
Full Version: Frameset Question
HTMLHelp Forums > Programming > Client-side Scripting
hdmann
I currently have a frameset that allows the user to browse using the bottom frame while the top frame remains fixed. The user, using the bottom frame of the frameset can browse material outside of my website.

Is there anyway I can get the url of the bottom frame; even though it is not currently viewing my website. However it is still within my frameset?

My goal here is to allow the user to leave my frameset...

Thanks,
Mike
pandy
You mean like Google Images?
http://images.google.com/imgres?imgurl=htt...sa%3DN%26um%3D1

I'm not sure, but you'd need to use JavaScript and JS won't let you read the URL of a document on another domain. To get around that I think you have to do let JS open the pages in the first place (can be done so it works without JS too) and somehow keep track of what page is loaded, save it to a variable. The the "remove frame" link can use that variable to load the current page in the full window. Of course, if the user has navigated away from the original page in the bottom frame, this won't work.

Hmmm. It can't be impossible. I move this thread to the JS forum. Maybe someone can come up with something.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.