Hi guys - I am building an html/javascript web page and I am using prototype windows to display various stuff. I currently have 25 new prototype windows loading up when you open up the web page and as you can imagine it takes 15-20 seconds before any of the windows content begins to appear.
Does anyone know of a way to use javascript to only load say 3 new prototype windows and display them on the page and then like 5 seconds later load the next 3 and so on?
I have been messing around with this:
setTimeout("launchGroup2()", 5000);
but no luck yet. I know EJB programming but never learned much Javascript. It seems like all the functions in my .js file are executed when I include it in my html page and it doesn't return control to the browser until everything in the .js file completes executing. Am I missing something?
Thanks for any advise!