rayantony / jixedbar

Automatically exported from code.google.com/p/jixedbar
GNU General Public License v2.0
0 stars 0 forks source link

Prevent animation Queue buildup #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If hoverOpaque is set, and u quickly pass over bar few times, then opaque
effect is repeating and bar looks like its flashing.

In line 84 and 87 add stop()after $(this)

$(this).fadeTo(defaults.hoverOpaqueEffect['enter']['speed'],
defaults.hoverOpaqueEffect['enter']['opacity']);

change to

$(this).stop().fadeTo(defaults.hoverOpaqueEffect['enter']['speed'],
defaults.hoverOpaqueEffect['enter']['opacity']);

more info on
http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup

Original issue reported on code.google.com by tehnopo...@gmail.com on 22 Mar 2010 at 11:40

GoogleCodeExporter commented 9 years ago

Original comment by rawsw...@gmail.com on 21 Jun 2010 at 4:30

GoogleCodeExporter commented 9 years ago

Original comment by rawsw...@gmail.com on 25 Jun 2010 at 9:37