javascript - jQuery SlideDown() is not waiting for delay on animation -


I use the jQuery function, which should animate the widget (slide down and up) like a dynamic menu or something.

Problems I'm setting delay () - even when the mouse moves over it, it does not matter how long the cursor lives on a division, it is slow and up Will go.

To clarify if I put a mouse on some device, it works well, it waits for a delay and then slides it. But if I go faster in the example of all divs, then it will give a weird feedback, as the divisions start to slide down, but then suddenly it stops and can go up. Try my bella and you will see.

This

  is jQuery ("Subdiv") to hide (); ("Mydiv"). Hover (function () (.find (". Subdiv"). Stop (). Delay (800) .slideDown ("slow");}, function () {jQuery (this) .find (". subdiv "). stop (). delay (200) .slideUp (" slow ");});    

then something like this:

  Hide the jQuery ("subdiv."). JQuery (".mydiv"). Hover (function () (jQuery ("Subdiv"). Each (function () {if (jQuery (this) .attr ('display')! == "none") {jQuery slide ("slow");} Slide (true) Slop (true) Slipup ("slow");}}); jQuery (this) .fid (".subdiv") .find ("subdiv" "). SlideUp (" Slow ");});    

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -