http://www.smith.edu/cwl/indexjavascript.php
I just want this rollover button to slide down when the page loads using the Spry slide effect. But the effect seems to repeat with mouseover even though onload is specified.
Any ideas why?
<div>
<a href="leadership.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image16','','images/rollover-10.png',1)"><img src="images/CWLtitles_10.png" alt="Find out more about Leadership" name="Image16" width="163" height="54" border="0" id="Image16" onload="MM_effectSlide('lead', 1000, '0%', '100%', false)" /></a>
</div>
the effect seems to repeat with mouseover even though onload is specified.
Any ideas why?
The onload event cannot be applied to any element except the <body> tag. Delete the current effect, and apply it to the <body> tag.