ecross
07-25-2003, 03:21 PM
How do I link to another page so that it will leave a frame page? So far, if I link to a page that contains frames, it changes the page in the frame. I don't want that.
|
Click to See Complete Forum and Search --> : Linking question ecross 07-25-2003, 03:21 PM How do I link to another page so that it will leave a frame page? So far, if I link to a page that contains frames, it changes the page in the frame. I don't want that. pyro 07-25-2003, 03:26 PM Use the target attribute: <a href="http://www.w3c.org" target="_top">W3C</a> ecross 07-25-2003, 04:19 PM Thanks! I couldn't remember what that was. I don't deal with a lot of frame based pages. I have a free server at Tripod in the UK. When you enter the site, it makes a frame page with ads on the left of it. I didn't make it a frame page to begin with. Is there something that will get rid of it when you enter a website? This isn't when clicking on any links. It's when you type the address in the address bar. pyro 07-25-2003, 05:04 PM You could try a javascript like this: <script type="text/javascript"> if (self.location != top.location) { top.location = self.location; } </script> webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |