jquery - How to unbind mouseenter (or hover) -


I have "Start" - More options are displayed when the button hover over it in a taskbar (login, register, Logout). I have also created a (Simplified) JSFiddle for your convenience:

  // 1 binary mouse center / mouseleave ". (Hor) ()": $ ('# start'). Bin ({mousecenter: function (E) {// Some other positioning code here shows $ slider. Show ();}, mouseleave: function (e) {$ slider.hide ();}});  

The problem is that I can not access these options with the mouse since the time I quit "beginning", the option disappears even after being used. (), But clearly incorrectly:

  $ ('# logout'). ({Mouseenter: function () {$ ('# start'). Unbind (); // But this is not !!!} // More code goes here  

(JSFiddle Code line 29).

I know that I could only include the forward option (".start_options") as a relatively child element of "taskbar" and to the left of the taskbar Animate to slide, however, it's "overflow-wi: scrolls" of the taskbar, which also blocks "overflow-x" for some reasons.

Its I gave full space to the forward options and showed them hovering over the "Start" button, but how do I stop / stop them? #P>

Many thanks in advance!

There is no need to attach anything, you can tie another hover to another slider and it works well

  $ ('start_options'). Bine ({mouseleave: function () {var $ start = $ (this), startoffset = $ start.offset (); $ slider = $ ( '.start_options'); $ slides Rc.css ({status: 'full', top: startoffset.top, left: startoffset.left - ($ slider.width ()) + 10}); $ Slider.hide (); }, Mouseter: function (e) {$ slider. Show (); }});  


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -