JoaoPedro JoaoPedro - 1 year ago 98
jQuery Question

Jquery ScrollTo Easing

Can´t apply an easing method to Jquery ScrollTo:


This doesn´t ease anything...
Im starting to use jquery now (been using prototype for long) so this is surely my mistake.
Do I need an easing plugin to achieve this? What are the easing option for this plugin (if any)? The documentation is not clear about this.

Answer Source

From jQuery:

The only easing implementations in the jQuery library are the default, called swing, and one that progresses at a constant pace, called linear.

So easing: 'linear' is not supposed to show anything. Try easing: 'swing'.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download