| | |
Loading bar
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
just add a function to the onload method of the document this will fire when the page has finished loading all external content. You can use this then to hide your gif after the page is done.
html Syntax (Toggle Plain Text)
<html> <head> <script language="javascript" type="text/javascript"> function hideLoading() { document.getElementById('loadingMessage').style.display = 'none'; } </script> </head> <body onload="hideLoading();"> <div id="loadingMessage"> <img src="loading_image.gif" /> </div> <img src="your_massive_image.jpg" /> </body> </html>
When Autumn Falls [ http://www.whenautumnfalls.co.uk ] &&
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
![]() |
Similar Threads
- Flash Loading Bar (PHP)
- How to make a Loading bar?? (Visual Basic 4 / 5 / 6)
- loading bar (JavaScript / DHTML / AJAX)
- Odd website loading issues (Viruses, Spyware and other Nasties)
- Computer won't boot past XP loading screen (Troubleshooting Dead Machines)
- Loading Bar Problem (Web Browsers)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: javascript mind twister
- Next Thread: Drag layer in a html page
| Thread Tools | Search this Thread |
acid2 ajax ajaxexample ajaxjspservlets array beta box browser captchaformproblem cart child class close codes column css date debugger decimal dependent design disablefirebug dom download editor element embed engine enter error events explorer ext file firefox focus form forms frameworks getselection google gwt gxt hiddenvalue highlightedword hint html htmlform ie7 ie8 iframe index java javascript javascripthelp2020 jquery jsf jsp jump libcurl listbox maps masterpage math media menu microsoft mimic mp4 object onmouseoutdivproblem onmouseover onreadystatechange parent paypal pdf php position post problem programming prototype redirect safari scale scriptlets scroll search security select software toggle unicode variables w3c web webservice window windowofwords \n





