Click to See Complete Forum and Search --> : Frame removal


gregbains
09-13-2003, 06:25 AM
I use frames in my site but when I link to some outside sites I would like to give people the oppurtunity to remove my frame. Is there a single piece of code that can do this automatically?
Any help would be appreciated, cheers!
( if you would like to see what I mean please see www.bains007.co.uk )

Greg

96turnerri
09-13-2003, 07:15 AM
couldnt u just link the pages using >a href="http://www.whatever.com" target="_blank"> then the pages would load up using the way they made them, and leave your page in the background?? i am looking for a script let u know if i find one

96turnerri
09-13-2003, 07:18 AM
Ask Jeeves (http://www.ask.co.uk) uses a remove frame scipt but i cant seem to find it in the source, maybe you could have a look?

gregbains
09-13-2003, 07:28 AM
Cheers for your help, ill take a look soon

PeOfEo
09-13-2003, 09:16 AM
Better yet, if you dont want the site in a new window use target="_parent" that will open it in the same window but your site will no longer be there. Also for future reference if you see someone use a trick and you want to know how they did it, view their source to see how they did it. That will work for any client side scripting.

96turnerri
09-13-2003, 10:07 AM
ah ingenius didnt think of doing it that way, yeah it is a good idea to view source thats how i got involved in websites and self taught myself

gregbains
09-13-2003, 04:10 PM
cheers for all the help. I looked at jeeves but i dont think that is client side, ill try the target="_parent" . If anyone still has any ideas pleas post incase it doesnt work.
Thanks again guys..


and thts also how i gt into website making, tis a great help.

PeOfEo
09-13-2003, 05:19 PM
It is client side. Its basic html.