"> ">
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
None yet
Forum Statistics
Forums41
Topics33,840
Posts68,858
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
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
Powered by UBB.threads™ PHP Forum Software 8.0.0