View Full Version : load the complete page when trying to open the framed page...
mhere
08-15-2002, 08:11 AM
I have a page containing links. The links target to an iframe on the same page.
I want that if someone tries to open those links separately (in new window), they should always open along with the parent page (which contains links).
Thanks.
beetle
08-15-2002, 08:47 AM
I have a script (http://www.peterbailey.net/js/superframes.js) that does that. It's a bit old, and designed to work with regular framesets, but should be easy enough to modify for IFRAMES. Note: it uses cookies, but I've also accomplished this with query strings as well. Documentation is in the JS file.
mhere
08-16-2002, 04:54 AM
Veryyy niice script :thumbsup: :) :thumbsup:
thanx alott.
Do you know abt the compatibility of the script? will this work with versions below IE.5.
as this uses cookies, is there any drawback of that.
beetle
08-16-2002, 06:27 AM
Not sure, haven't had the need/use for it in quite some time...
Well, the only drawback is that if the user disables cookies, then it will generate errors...
mhere
08-16-2002, 07:15 AM
how to detect whether the user has disabled cookies?
in case it is, the script shd not be used to prevent errors.
beetle
08-16-2002, 01:28 PM
http://www.javascripter.net/faq/index.htm
Click on 'Cookies' on the left.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.