Prototype/Scriptaculous Slider


I have the below code which creates a simple slider where the image moves when when you hover over it and moves down when you move the mouse out. The

problem is that if you move the mouse in and then out quickly (before the blind up has finished) the image gets stuck at the top. I would like it so that

the image always moves back down when the mouse isn’t hovering over it. I need to achieve this using Prototype/Scriptaculous. Possible?

<title> example</title>

<script type="text/javascript" src=""></script> 
<script type="text/javascript" src=""></script>

<script type="text/javascript">
   function ProductSlide(element){
       new Effect.toggle(element,'Blind', {duration:3});


<div onmouseover="ProductSlide('myimage');" onmouseout="ProductSlide('myimage');" style="height:102px;width:130px;position:relative;">

	<div id="mydescription" style="position:absolute;z-index:-1">

	<div id="myimage">
    		<img src="" alt="" />



There is an example of what i would like to achieve here but it uses Jquery: