Javascript and loading
-
hello, i have a big javascript page that needs to be loaded and i was wondering if there is a way to put in a loading screen, as you know, with images they take time and sometimes other objects on the page can also create the user to wait a while so my question is how do i go about creating a loading screen which will detect when all images, content and functions have been loaded and then disappear when they have finished? do i use the windows.load event, if so is there such thing as a window.loaded event? Thanks for all your help i have been searching for hours and still cant really get anywhere Steve
-
hello, i have a big javascript page that needs to be loaded and i was wondering if there is a way to put in a loading screen, as you know, with images they take time and sometimes other objects on the page can also create the user to wait a while so my question is how do i go about creating a loading screen which will detect when all images, content and functions have been loaded and then disappear when they have finished? do i use the windows.load event, if so is there such thing as a window.loaded event? Thanks for all your help i have been searching for hours and still cant really get anywhere Steve
You can use jQuery for this one - there's a document.ready event you can handle.
C# has already designed away most of the tedium of C++.