[thelist] Quick JS question

Dave McLean damclean at dwcreative.com
Mon Mar 19 13:55:05 CST 2001

Hi all,

I have a link that I want to use to return to a site's home (ex. foo.com)
because that's how they got to the page they are on (By clicking on a link
on the site's home page, that opened the new window).

But I want the site to load in the parent window (from whence they came). If
it has been closed I want it to open a new window and I also want the link I
click on to close the current window.

I tried this:

<a href="http://www.foo.com/" target="_parent"

but it didn't work.  Hmm... maybe it's because I suck at JavaScript.
Anyway, is there an easy way to do this?

Thanks in advance,


More information about the thelist mailing list