News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

Loading script for webpage...

Started by Sup3rkirby, August 07, 2006, 04:22:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cary23

Hey, i hope this is in the right spot.  I wasn't sure where else to put it.

I am wondering how you make a script that lets user's know the page it loading, and then shows the actual page once the entire page loads.  It is used on RyansDistrict website.  It will show a loading screen, then once the page has loaded, all the images and content, it shows the page.

I would like it in JS.


P.S.
  I had a guess, but I'm not sure.  Do you add code that uses something like 'document.write()' and then use that to show the loading screen, and add an 'onload' event that hides the loading screen so when the page first is loaded(before all images), it loads the script and the script makes a 'loading' screen.  then once the document has loaded(triggers the 'onload' event), it will hide that loading screen and the content will be revealed.  That was just my guess.  I'm not sure....

Ryan

yes its on load u hide that function
My recommendations:
You are not allowed to view links. Register or Login << free mp3 download - Powered by Ryan's District
You are not allowed to view links. Register or Login << free live anime with naruto and bleach - Powered by Sunite on this forum!