Re: window close onClick
by Nick Terzich <nterzich(at)yahoo.com>
|
Date: |
Fri, 27 Apr 2001 20:17:58 -0700 (PDT) |
To: |
hwg-techniques(at)hwg.org |
In-Reply-To: |
hotmail |
|
todo: View
Thread,
Original
|
|
you should probably try something like:
<a href="javascript:window.close();"
onClick="window.opener.location.href='whatever.html'">
...where "whatever.html" is the page you want the
parent to change to....
Nick
--- Gaetano Wojciechowski <kwojcie(at)hotmail.com> wrote:
> Hello all,
> I have simple question relating to cross browser
> functionality:
>
> I use a pop-up based navigation system on a few of
> my pages, where visitors
> click on a link in a pop-up, and are taken to that
> page in the parent
> window. I use this line of jscript in the link afetr
> the href:
>
> value="Close Window"
> onClick="javascript:window.close();"
>
> In explorer it works fine, the link is active, the
> parent window refreshes
> to the new page, and the pop-up closes. But in
> NN4.7, the only thing that
> happens is that the pop-up closes, but, alas, the
> parent doth not refresh.
> Any suggestions?
>
> Much obliged,
>
> Gaetano
>
_________________________________________________________________
> Get your FREE download of MSN Explorer at
> http://explorer.msn.com
>
=====
--
Nick Terzich
Creative Director - PopSmack, LLC
Insane Advertising Posse
http://www.popsmack.com/studio
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA