I have a huge java script that even takes up to 15 seconds to load on a high speed connection is there a way I can sneak a please wait for the page to load or may take several second for page load in there while the page is loading?
__________________ Vladdy | KL "Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"
Without seeing the code, you might try this. Just call it at the begining of your script. I use a little animated stopwatch gif to show that it is proccessing.
Put the function inside the js file you can just paste it into the very top of the document outside of any existing functions. Then at the start of your existing script call the function:
statusWin();
after the last portion of your script runs put:
msg.close() \\ to close the window
If you upload the file I can put it in there 4 u if you are still not clear.
I have tried this several way so Im gonna upload my text file thanks for your help Basscyst i cant attach because the file is to big so I uploaded it to my site heres the link:
Wow man thats HUGE. I would suggest parsing up the array into different js files and only searching and loading the applicable array. I'd be intrested to see this script in action, do you have it on a site I \ we all could look at? It really looks like you are in need of a database and some server side scripting in lieu of the javascript.
If you optimize your data organization, you can easily reduce the size of this file by an order of magnitude and more:
__________________ Vladdy | KL "Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"
Originally posted by Basscyst Wow man thats HUGE. I would suggest parsing up the array into different js files and only searching and loading the applicable array. I'd be intrested to see this script in action, do you have it on a site I \ we all could look at? It really looks like you are in need of a database and some server side scripting in lieu of the javascript.
Or how would I parse up the array? any suggestion to make this smaller and "quicker qould be greatly appreciated
use objects to store your data. Then you can get rid all all
ComboBox[a][b][c] = new Option (
__________________ Vladdy | KL "Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"