Subj : Re: Mozilla 1.5 can't create a window from onLoad event in
tag?
To : netscape.public.mozilla.jseng,comp.lang.javascript
From : "Dave Ockwell-Jenner"
Date : Tue Feb 03 2004 08:43 am
"Starry Gordon" wrote in message
news:bc6e73c3.0402022014.1b1a6de5@posting.google.com...
> I've been running some small test programs which seem to indicate
> something noticed in a larger script, that a function called from
> onLoad() in the tag will not succeed in creating a window
> (i.e. successfully executing window.open() in Mozilla 1.5; however,
> I've observed it to work a few times in IE 6.0 and Opera 5.something.
> It does not seem to be a timing thing -- if I re-call the function
> somewhat later using setTimeout it still doesn't succeed. However,
> a call to the same function from a link (a href=...) does succeed.
> I'm wondering if I've overlooked something in the documentation.
It could just be that Mozilla is blocking pop-ups? I believe it does this
by default unless you configure it to do otherwise.
--
Dave Ockwell-Jenner
.