mplutodh1
06-03-2003, 03:36 PM
I have a pop up script that opens a page using the onLoad function, if I have an html link on that popup.html how do I get that link to open in the parent window and close the popup?
|
Click to See Complete Forum and Search --> : Link it onLoad Popup window... help? mplutodh1 06-03-2003, 03:36 PM I have a pop up script that opens a page using the onLoad function, if I have an html link on that popup.html how do I get that link to open in the parent window and close the popup? Gollum 06-03-2003, 04:21 PM in your popup... <a href="javascript:void 0;" onclick="window.opener.location='www.somewhere.com'; window.close(); return false;">Click here</a> webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |