Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Preload problems!!

layers!?, images preload...



12:09 pm on Mar 9, 2002 (gmt 0)

I wounder if there is anyone out there who can help me with my problem.

This is the situation, im running a website and it is all built with layers wich makes the index.html-file pretty large. My question is: Is it possible to preload layers?? for exampel on an intro page so the index file will open faster??

If the topic above is impossible, can someone help with a good image preloader that preloads all the images on the page before it opens!

Thanx on advance!


6:24 am on Mar 10, 2002 (gmt 0)

WebmasterWorld Senior Member mivox is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Not sure about the layers issue, but any free javascript site should have a lot of image preloading scripts available. (javascripts.com, javascriptcity.com, java-scripts.com, etc., etc... Search Google for '"free javascript" preload download')

Just make sure not to get a script that ONLY tests for Netscape/IE browsers by name, or you'll be leaving some of your alternative-browser users out in the cold...


9:12 am on Mar 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Yes you can have an intro screen so that all the layers, images load.

Just create one big div the covers the entire screen with a message like "loading..." or whatever. Have an onload event for the big div so its the last thing to load. So onload -> hide big layer thus revealing content below.


Featured Threads

Hot Threads This Week

Hot Threads This Month