Web Analytics Made Easy -
StatCounter Including the Easing effect - CodingForum

Announcement

Collapse
No announcement yet.

Including the Easing effect

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Including the Easing effect

    Hi guys, I have this piece of code at the moment and I would like to add the easing effect, would anybody please show me how to incorparate this into the code I currently have?

    Code:
    $(function($) {
     $.localScroll.defaults.axis = 'y';
     $.localScroll({
      duration: 1000,
     });
    Im using the jquery.easing.1.3 plugin.


    I have read somewere that the easing effect needs the .animate function, for example .animate ('easeInOutExpo'),

    I was kind of hoping just
    effect: 'easeInOutExpo',
    would be ok but like i say im sure it needs the .animate function with this.


    Any help would be hugely appreciated.



    Kind regards,
    paffley
Working...
X