javascript - Applying Hoverintent to a Jquery Hover -


I have some problems with this layout and there is a link showing the hover being displayed!

Here is a sample table row displaying data ...

  & lt; Tr & gt; & Lt; TD & gt; & Lt; Div class = "heightControl" & gt; & Lt; A href = "#" & gt; Data & lt; / A & gt; & Lt; Div class = "logRemove" & gt; & Lt; A href = "#" class = "sremovelink" & gt; & Lt; / A & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / TD & gt; & Lt; Td> 12.14.0 9 / 12:38:00 AM & lt; / Td> & Lt; Td> 12.14.19 / 3:01:00 pm  & Lt; TD & gt; Data & lt; / TD & gt; & Lt; / TR & gt;  

and JavaScript!

  $ ("tr a"). Hover (function {$ (this) .siblings (". LogRemove") .FadeIn (100);}, function () {$ (this) .Syling (".logremov"). FadeOut (100);}) ;  

As you can see that it is set in this way, the 'data' link on each line shows the div-link that is set to delete that row I have used hoverIntent before, but, the way I tried to use it, does not seem to work with it.

  function remove4Display () {$ (". LogRemove") .fadeIn (100); } Function remove4Hide () {$ (". LogRemove") FadeOut (100); } $ ("Tr a"). HoverIntent (remove4Display, remove4Hide);  

But, it shows that all the rows are pushed into one at a time, not at the same time as the snippet at one time.

Post-text "itemprop =" text ">

You can still use this in that context, such as:

  function remove4Display () {$ (this). Sibing (".logremov"). Fadein (100); } Function remove4Hide () {$ (this) .siblings (".logRemove"). FadeOut (100); } $ ("Tr a"). HoverIntent (remove4Display, remove4Hide);  

Or use the same type with anonymous tasks:

  $ ("tr a"). HoverIntent (function () {$ (this) .siblings (". LogRemove") .FadeIn (100);}, function () {$ (this) .siblings (". LogRemove") .FadeOut (100);}) ;  

It is still a handler, and this will still refer to the element that is in / out of you in the shot, just use the same method To avoid the animation queue you will, however, I recommend that such .logRemove ") .pause (). FadeIn (100);}, function () {$ (this) .siblings (" LogRemove "). Stop (). FadeOut (100);});


Comments