HighDots Forums  

Re: popping up multile windows from javascript function

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: popping up multile windows from javascript function in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lasse Reichstein Nielsen
 
Posts: n/a

Default Re: popping up multile windows from javascript function - 07-01-2003 , 08:00 AM






tkrakshit (AT) yahoo (DOT) com (Tuhin) writes:

Quote:
I have to call a window.open for each of these strings. I am looping
through these strings and calling the window.open for each. But this
does not work. It won't pop up a second window unless the first one is
closed.

If I put an alert message before calling the window.open, and close
the previous window each time, it works. How do I pop up multiple
windows?
This opens and closes five windows for me:
---
var w=[];
for(var i=0;i<5;i++) {w[i]=open();}
alert("Close them!")
for(i=0;i<5;i++) {w[i].close();}
---

We need to see what you are doing. Are you giving all the windows
the same name (second argument to window.open)?
/L
--
Lasse Reichstein Nielsen - lrn (AT) hotpop (DOT) com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'


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.