jQuery slidedown submenu
jQuery slidedown submenu
-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#topmeny a').mouseover(function() {
$('#menycontent').slideToggle('fast');
});
$('#topmeny a').mouseout(function() {
$('#menycontent').slideToggle('fast');
});
});
</script>
The problem i have is when i try to move my mouse down too the menu that slides on mouseover. The moment i remove my mouse from the menu it moves away again(just like i made it).
So my question is: can i make a div that pauses all script? That way i could do that with menycontent and force the menycontent to show.
Thanks