"Depressible" image links
(Requires NS 4.x or IE 4.x to see the effect)
Description: This script will make any image link depressible. Note that you will need an alternate image to display when the image is depressed.
Example:
Directions
Step 1: Copy these two images (or use your own) onto your hard drive by "right clicking" them, and choosing "save as".

Step 2: Insert this into the <head> section of your page. If you're using your own images, change "up.gif" and "down.gif" to your images' file names.

 

Step 3: Finally, insert the below into the <body> section of your page:
<a href="whatever.htm" onMousedown="document.images['example'].src=img2.src" onMouseup="document.images['example'].src=img1.src"><img src="up.gif" name="example" border=0></a>

If you want multiple depressible images within one page, simply repeat steps 2 and 3 for each depressible image. When repeating step 2, be sure to change the image file names in the code to reflect the images you're using. When repeating step 3, be sure to change the part in blue ('example') to another unique name.
Note: The images used on this page are NOT copyrighted Website Abstraction, and are believed to be of the public domain.

http://www.wsabstract.com
Copyright © 1997, 1998 Website Abstraction.


All materiel : Copyright © 2010 help4web.net
All rights reserved. © DVDesign