jquery bounce accelerates automatically -


i im not sure why bounce effect accelerating.

i have effect on image, setinterval. starts perfectly, effect starts accelerate automatically. though problem of seconds in interval , bouncing time parameter, not correct.

i have suspicion, problem start, when change tab or window.

does had same problem or there way emulate bounce effect?

here snippet:

<div style="position:absolute; margin-left:675px; margin-top:50px; width:25px; height:25px;"> window.setinterval(function(){  $(".show-awards-new-image").effect("bounce", { times:2, direction:'up', distance:25 },200); },4000); </div> 

ty!

as can see in fiddle:

http://jsfiddle.net/qw9r5/1/

there no accelerate.

you can use .animate() function jquery (no ui needed) simulate bounce effect rather easy.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -