HighDots Forums  

Re: Javascript Loading Order????

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: Javascript Loading Order???? in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JaOtEaY
 
Posts: n/a

Default Re: Javascript Loading Order???? - 06-05-2004 , 06:49 PM






downgrade wrote:
Quote:
*I am creating a loading page on my site which has 2 differen
javascript script commands in it. One for the Loading Bar, An
Another To trigger a new page to open as my main page so i can get i
the size and style i want. The problem I'm having is the loading ba
wont even be finished before the new page loads. Is there anyway t
force one script to end before another one is allowed to start? An
help will be much appreciated. Thanx *

Downgrade,
This might work: can you put a
onload="javascript:SecondScriptToRun;" in the tag of something on you
loading bar. This way after that tag is loaded, it will call tha
script. And you can have the script for your loading bar just in th
head with something like <script>[contents of the script]</script> an
that will execute first. Did that help? Or do you need somethin
different?

--JaOtEa
-
JaOtEa



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.