Javascript listen to mouse event failed
-
I tried to show and hide the navigation-menu by detecting the mouse events, but failed.
i.e.
In my javascript, I havejQuery(“#elevatorButton”).click(function () {
jQuery(“#navigation-menu”).show(“slide”, { direction: “left” }, 1000);
return false;});
jQuery(“#navigation-menu”).mouseleave(function () {
jQuery(“#navigation-menu”).hide(“slide”, { direction: “left” }, 1000);
return false;
});
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Javascript listen to mouse event failed’ is closed to new replies.