Jump to content


This topic is now archived and is closed to further replies.


Link to main window and then close pop up question

Recommended Posts

I'm having problems getting this one bit of code working.  I have a pop up window from the main window with a link on it.  If you click the link in the pop up the main window goes to that URL while the pop up closes.  While this works fine in Safari it doesn't want to in Firefox.  Here is my code:

[code]<a href="URL" target="main" onClick="window.close(); return true;">Link</a>[/code]

Firefox doesn't seem to want to read this line sequentially and it will close the window without first going to the URL in the main window.  Any ideas?

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.