HighDots Forums  

Re: Mozilla 1.5 can't create a window from onLoad event in <body> tag?

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: Mozilla 1.5 can't create a window from onLoad event in <body> tag? in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dave Ockwell-Jenner
 
Posts: n/a

Default Re: Mozilla 1.5 can't create a window from onLoad event in <body> tag? - 02-03-2004 , 08:43 AM






"Starry Gordon" <starrygordon (AT) etaoin (DOT) com> wrote

Quote:
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 <body> 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




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.