James Newell wrote:
on a test page I have both:
1. <a href="javascript:window.open('http://www.google.com', '',
'width=400');">javascript</a>
2. <a href="http://www.google.com" target="_blank">_blank</a>
The second one works as expected, opening a new window with the new
content in this new window. The first however opens the new window with
the attributes and url but the old window's content is replaced with
"[Object Window]"
That's the correct behavior, and should happen in any browser.
If you want to avoid it, put void() around the window.open call.
-Boris
_______________________________________________
dev-tech-xpcom mailing list
dev-tech-xpcom@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-xpcom