PDA

View Full Version : scriptaculous with mouseover & mouseout events


po3
05-12-2008, 04:33 PM
I have a menu that use the SlideDown effect from scriptaculous. How can I have the effect reverse (Effect.BlindUp();) on mouseout? I can't put two javascript events in the same a tag can I?


<li id="li-two"><a id="mainNav2" href="01.html" title="Nav1" onmouseover="Effect.BlindDown('blinddown_demo', { duration: 0.5 }); return false;">nav1

<div id="blinddown_demo" style="display:none; width:140px; height:195px; text-align:left; position:relative;">
<div>
<ul>
<li><a id="01" href="01.html" title="">One</a></li>
<li><a id="02" href="02.html" title="">Two</a></li>
<li><a id="03" href="03.html" title="">Three</a></li>
<li><a id="04" href="04.html" title="">Four</a></li>
<li><a id="05" href="05.html" title="">Five</a></li>
</ul>
</div>
</div>
</li>

po3
05-13-2008, 02:18 PM
anyone have any feedback for me? Did I not give enough info to answer my question?