Quick question : how do I call jQuery's animate()
without any easing parameters? e.g. without any effects.
Cheers!
Write
$('#elem').animate({
top: '0px',
left: '0px'
}, 5000, 'linear');
Extract from jQuery API:
The only easing implementations in the jQuery library are the default, called
swing
, and one that progresses at a constant pace, calledlinear
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With