jQuery effects on Drupal's nice menus module
Hi,
I am using jQuery in Drupal [Content Management System].
I have a drupal block which has drupal's nice menus [vertical flyout
menu on left sidebar].
I also have an image in another block.
Requirement is :
If we mouseover this image the nice menus should flyout to the right
and when mouseout this menu should hide.
Problem is:
I am using "slide" effects of jquery to achieve this and its somewhat
working. that is only one time on every page load - the menu shows on
mouseover and hides on mouseout.
Script is:
<script type ="text/javascript">
$(document).ready(function() {
$('#flymenu').hide();
$("#vimage").mouseover(function() {
$('#flymenu').show("slide", { direction: "right" },20000);
});
$("#vimage").mouseout(function(){
$('#flymenu').hide();
});
});
</script>
How do I make it function normally at all times. And also the menu
shows on the image not to the right of the image eventhough I use
"right" along with "Slide" effects.
Thanks for all your help..