PDA

Click to See Complete Forum and Search --> : Frames


Cease
Jun 30th, 2000, 10:56 AM
Okay just a quick question, but it is bugging me:
Can you kill frames using html/java script, u see i got frames on one part of a site, but when they click on a link i want that part of the site to open in the same window, but without any of the frames, how can i do this???
Thanx

noone
Jun 30th, 2000, 12:12 PM
<a href="somewhere.html" target="parent">some stuff here</a>

I'm trying from memory but that should be right.

Jun 30th, 2000, 09:26 PM
99.99% right



<a href="somewhere.html" target="_parent">stuff here</a>

Jun 30th, 2000, 10:38 PM
Ok, how do you get your page to get rid of any frames when it loads. Like if it came form another frame site and still had frames when they got to your site?

Jul 1st, 2000, 08:33 AM
you mean like xoom?

<script>
parent.location = "newindex.htm"
</script>

you put that on the index.htm and whenever somebody goes to your website (http://members.xoom.com/XOOM/yourname) they will be redirected to newindex.htm and there will be no frames :)