logo

Java Scripts
Preloading Banners
Preloading Graphics Javascript

Google
Web Search Hypergurl.com



Handy Tip : Using a preloading script will force your pages to load quicker if they use the same graphics such as a headline banner or web site logo.

Bookmark This Page

Preloading Graphics for faster loading pages.

If you have multiple pages using the same graphics, (for example, a banner header) you can make browsing your site a quicker experience for your visitors by building a mini cache. Here is a preloading graphics javascript that will do it for you.

All major web browsers have their own caching system. Browsers cache files, only after you see a page at least once, which doesn't give the optimum performance during the first visit to a page.

A handy trick is to pre-load the most widely used images at your site. For example, your visitor is at your home page and the next pages all display a top banner. You can use this Javascript to pre-load the top banner, therefore making the rest of your website load much quicker.

Paste the code below into your first page straight under your <body> tag. For most html editors use the "insert html" function or something similar. Make sure you change the names "yourgraphic.gif" and "yourgraphic2.gif" to the names of your real images.

You can preload as many graphics as you wish:

 

 
 
Hypergurl Hosting
IMPROVED PLANS
FREE Domain Name
web hosting and domain registration

 
Hosting Log In
Username:
Password: Sign up

 

NEW!
Blog for Webmasters

web site design feed Website Design

 
Refer A Friend
Your Email
Your Name
Friends Email
Friends Name



Home
Site Map
Email Hypergurl
About
Link To Hypergurl

Site design copyright 2001 - 2006 © hypergurl.com