This javascript cut & paste code snippet will allow you to have your visitors click a link that delays the browser from transporting the viewer and then have an animated image displayed while waiting! This is a really cool tool and can be used to really impress your viewers as to your design skills. All you have to do is create an image to be shown directly where the text link is displayed before clicking on it.
Insert this code into your HEAD of HTML
Insert this code into your BODY section
Simply Cut and Paste Script code
Be sure to properly place script position in
the HEAD & BODY sections of html
To add more images for placing on your page, you simply copy & paste existing name
Example: "var cool = new Image();" and rename another "var NewName = new Image();"
You will also creat a new link for each new name created
Example: img name="image1" src="blank.gif" width=74 height=30 a href="javascript:gotoPage('image1', 'NewName', '5000', 'http://www.yahoo.com')"
You may note the '5000' directly after the new name, this is the time delay for URL transfer, each 1000 = 1 second
This script has been in the DesignerWiz.com Public Library.