slideToggle
slideToggle
Hi,
I am using this jquery sliding menu
http://www.webresourcesdepot.com/slidin ... th-jquery/
Its working on onclick event.I wanted to make it to a mouseover/mouseout
there is a commetns saying use slideToggle()
But I am not sure how do I do that.I hope this is the place it edit.
<script type="text/javascript">
$(document).ready(function() {
$(".topMenuAction").mouseover( function() {
if ($("#openCloseIdentifier").is(":hidden")) {
$("#slider").animate({
marginTop: "-210px"
}, 500 );
$("#topMenuImage").html('<img src="open.png"/>');
$("#openCloseIdentifier").show();
} else {
$("#slider").animate({
marginTop: "0px"
}, 500 );
$("#topMenuImage").html('<img src="open.png"/>');
$("#openCloseIdentifier").hide();
}
});
});
</script>
Anyboday can help me
Thanks in advanced