View Full Version : Links IN Popup windows..


someperson
06-27-2003, 08:48 PM
Ok, I want to use a small 400X400 popup window for navigation.
I currently have all that set up. BUT, what I'd like to do (if possible) is make the pages in the popup window (after it's link is clicked on) appear in the PREVIOUS window, not the small popup window (used for Navigation only). Is that confusing? Anyhow, if you understand, I really need someone else's help!! Thx!

amicus
06-27-2003, 09:09 PM
target the previous window and it'll open up there. the previous page has to have the same name.

<a href="somepage.html" target="previouswindow">link here</a>

someperson
06-27-2003, 09:18 PM
so, i would have to type, where it says "previouswindow" the url of the page being shown, which is in the previous window?

amicus
06-27-2003, 09:32 PM
lets say your previous page is is called 'content'. 'content' is the name of the window/frame, the important thing is that it's the same. the 'content' portion has to be the same in all the links. it'll look something like this:

<a href="home.html" target="content">go home</a>
<a href="shopping.html" target="content">go shopping</a>
<a href="sleep.html" target="content">go sleep</a>

someperson
06-27-2003, 09:38 PM
okay, i understand all that. so just ONE MORE thing. B/c i am using this Popup Window as a site map...if i have one page open right? and i open the site map to go somewhere else, and then i go to that page right? IF i opened the site map again, and clicked a link again, would it still work? now that the window is showing a different page?