"> ">
Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2003
Posts: 10
Junior Member
Junior Member
Joined: Feb 2003
Posts: 10
does any1 know how to make a javascript preloader for a simple html page <img border="0" alt="[[censored]]" title="" src="graemlins/[censored].gif" />


Mental note to self:must get off [censored] and make up decent signature
Sponsored Links
▼ Sponsored Links ▼ ▲ Sponsored Links ▲
Joined: Mar 2002
Posts: 599
UGN's Resident Homo
UGN's Resident Homo
Joined: Mar 2002
Posts: 599
you could preload the images doing the following, not sure if thats exactly what you want though

Code
 
<HEAD>
<SCRIPT language="JavaScript">
Image1= new Image(200,200)
Image1.src = "image.gif"
Image2= new Image(340,200)
Image2.src = "coolpic.jpg"
</SCRIPT>
</HEAD> 


"It's better to burn out, than to fade away."
Joined: Feb 2003
Posts: 10
Junior Member
Junior Member
Joined: Feb 2003
Posts: 10
not exactely what i want
i want text saying "loading" while the page loads
or something like that


Mental note to self:must get off [censored] and make up decent signature

Link Copied to Clipboard
Member Spotlight
Gremelin
Gremelin
Portland, OR; USA
Posts: 7,204
Joined: February 2002
Forum Statistics
Forums41
Topics33,839
Posts68,797
Members2,177
Most Online73,244
Nov 9th, 2025
Latest Postings
Top Posters
UGN Security 41,392
Gremelin 7,204
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Girlie 1
unreal 1
Crime 1
Ice 1
Dartur 1
Powered by UBB.threads™ PHP Forum Software 8.0.0