View Single Post
Old 12-01-2007   #5 (permalink)
NikonErik
Registered User
 
NikonErik's Avatar
 
Join Date: Nov 2007
Location: Long Island, NY
Posts: 119

This is the code provided by Dreamweaver CS3 when a simple mouseover/hotlink is created. I hope it helps.

<body onload="MM_preloadImages('path to hidden image')">
<a href="path to URL if this is a hotlink too otherwise #" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image1','','path to hidden image',1)"><img src="path to first visible image" name="Image1" width="x" height="y" border="z" id="Image1" /></a>

x and y is the dimension of a rectangular area that the mouse arrow must be within in for the mouseover to work.
__________________


There are always two people in every picture: the photographer and the viewer. ~Ansel Adams

NikonErik is offline   Reply With Quote