112
rated 0 times
[
114]
[
2]
/ answers: 1 / hits: 50245
/ 14 Years ago, thu, september 9, 2010, 12:00:00
I have a popup window and in that page I have the following code in the body.
<a href=http://www.example.com target=_blank onClick=javascript:window.close()><img src=...something/></a>
The purpose is to have this popup window close when a user clicks on the image link, and to open a new page and be directed to http://www.example.com.
It works in IE and Chrome, but not in Firefox. The popup window closes but no new window is opened.
Any ideas?
More From » window.open