Image Swap
This will not work in e-mail----only on a webpage:
<<>a href="url of whatever"
onMouseOver='A.src="url of image 2"'
onMouseOut='A.src="url of image 1"'>
<<>img src="url of image 1" name="A">
Both images should be about the same size.
You can preload the 2nd image by putting this at the bottom
of the page <<>img src="url of image 2" width="0"
height="0">
You can have as many of these on a webpage as you want,
just use a different name. Such as, the next image swap
will have name="B" and 'B.src in the code, instead of A:
<<>a href="url of whatever"
onMouseOver='B.src="url of image 2"'
onMouseOut='B.src="url of image 1"'>
<<>img src="url of image 1" name="B">
The "image 2" will be displayed when the cursor is
highlighting it (onMouseOver), and the "image 1" will be
displayed when the cursor is moved off of the image
(onMouseOut).
And more mouseover fun with images:
The image will change when the text links are highlighted.
image 2
image 3
image 4
A demo of this is the Hurricane Floyd link below:
http://www.geocities.com/williamandx/sigfloyd2.html
(It takes time for all the photos to pre-load, so the
initial viewing may be sluggish.)
|