1 Reply Latest reply: Apr 7, 2009 3:02 PM by David_Powers RSS

    Strange Spry effect onload behavior

    jefbak Community Member

      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>