Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-25-2011, 10:33 AM   PM User | #1
paffley
New Coder

 
Join Date: Sep 2010
Posts: 86
Thanks: 24
Thanked 0 Times in 0 Posts
paffley is an unknown quantity at this point
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
paffley is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:47 AM.


Advertisement
Log in to turn off these ads.