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:
there no accelerate.
you can use .animate()
function jquery (no ui needed) simulate bounce effect rather easy.
Comments
Post a Comment