Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

Making an image spin until page is loaded?

Aloittaja GC, helmikuu 05, 2006, 12:47:37 AP

« edellinen - seuraava »

GC

Ok i need ALOT of help with this. I want it so when you click like anywhere on the forums, that in the middle of the page, you see a hovering image, that goes from the left side of a web browser to the right side. It would be a black bar like thing, and a Spinning leaf thing. I have the image (well I know how to make it) But how do I code it? It will have to stay there until the page finishes loading. and doesn't pop-up after you click the link, It will have to be when you click the link.

H

I don't know the exact code but:

Using javascript you can make the picture be there until the page has loaded and then make it disappear

This might help http://javascript.internet.com/page-details/preload-page.html
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             


H

No problem :D.

I would be interested in seeing a proper working example. Have you got a link?
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Advertisement: