Jump to content


Link to main window and then close pop up question

  • Please log in to reply
No replies to this topic

#1 cbjewelz

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 17 August 2006 - 05:27 PM

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:

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

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?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users