Subj : Re: Mozilla 1.5 can't create a window from onLoad event in
To : Starry Gordon
From : Brendan Eich
Date : Mon Feb 02 2004 10:10 pm
Starry Gordon wrote:
> 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.
>
Wrong newsgroup, and read the release notes, looking for "popup
blocking" or similar such features.
/be
> The shortest of the tests:
> -----------------------------------------------------------------
>
>
> x
>
>
>
> onload='javascript:initz()'>
>
> xxx
>
>
> -----------------------------------------------------------------
>
> which, when the link is clicked on, brings up a window with
> the following text:
>
> m=w1.
> 1: opening... 1: not here.... 2: opening... 2: here!
.