Click to See Complete Forum and Search --> : frame links
Justin
06-22-2003, 04:51 PM
i know how to make links within fraims, but how do you make a link that when clicked both the navagation frame and the display frame dissapear, so you can direct you to a site and the navagation frame is gone.
like you have 2 frames, 1 is the navigation frame, you click the link the other frame changes to that link. how do you make it so when you click a link on the other frame that it will make a new page, no frames, just that page.
this might be a javascript thing, but i'm not shure
Greelmo
06-22-2003, 04:58 PM
Justin,
you are right. It is a javascript thing. I personally don't know how to do it, but i'm sure you can post in the javascript forum and get some answers.
Good luck
PeOfEo
06-22-2003, 04:59 PM
I am trying to understand what you are asking. If you have a frame and you want a link to open inside of it you use target like this <a href="url" target="framename">Link</a> Is that what you need?
Justin
06-23-2003, 06:59 AM
<frameset cols="30%, *">
<frame src= "navigation1.html" name = "nav">
<frame src= "start1.html" name = "contents">
</frameset>
that would creat 2 frames. if you c;ick on a link in the nav frame it changes the contents frame to whatever the link was in it. i want a link that will get rid of the frames and that will then send them on the link. so it would deleat the nav frame and send them to whatever they want
kanneko
06-24-2003, 02:25 AM
mmm...if I understood what you're asking, you should use _top on target:
<a href="url" target="_top">
or else set the base target in HEAD:
<base target="_top">
so the link will open in the whole page, getting rid of all the frames you have.
PeOfEo
06-24-2003, 01:48 PM
Just direct the person to a new page without frames when they click the link and then take them to their place. I am still trying to guess sorta at what you want. Would you rather just have a page open in a new window? target="_blank"