Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Vladimir212

Draggable slider

Recommended Posts

Hello.

 

Ran into a problem. I am trying to animate wheel like draggable.

function is "slideAnim".

 


Can you tell me what I'm doing wrong?

Thanks .

See the Pen qBZjeNz by feniks212 (@feniks212) on CodePen

Link to post
Share on other sites

Can you please provide a minimal demo? The one you provided has a lot of extra code in there and you didn't explain what exactly you're trying to do and what you think is broken. 

 

Of course I'd strongly recommend upgrading to GSAP v3. You're using a very old version of GSAP in there. 

 

Also, PLEASE remove the link to the full version of the members-only bonus plugin file that's on the notch-interactive.com server. Only use the trial versions that work on CodePen which are listed at 

See the Pen OPqpRJ by GreenSock (@GreenSock) on CodePen

 for v3. Or for your case, the old ThrowPropsPlugin compatible with v2.x is at https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/ThrowPropsPlugin.min.js

  • Like 1
Link to post
Share on other sites
15 minutes ago, GreenSock said:

Can you please provide a minimal demo? The one you provided has a lot of extra code in there and you didn't explain what exactly you're trying to do and what you think is broken. 

 

Of course I'd strongly recommend upgrading to GSAP v3. You're using a very old version of GSAP in there. 

 

Also, PLEASE remove the link to the full version of the members-only bonus plugin file that's on the notch-interactive.com server. Only use the trial versions that work on CodePen which are listed at 

 for v3. Or for your case, the old ThrowPropsPlugin compatible with v2.x is at https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/ThrowPropsPlugin.min.js

 

I am trying to repeat the animation like on draggable.
I need to do the same,  on mousewheel.

I made a function 'slideAnim'  at the bottom of js , and if you scroll it does not fix on the slide

 

Link to post
Share on other sites

Sorry, you'll need to be more specific if you'd like us to help. Are you asking us to look through all your legacy code and fix logic issues and troubleshoot everything for you, making it work the way we think it should work? 

 

Unfortunately we just don't have the resources to offer free consulting services for building out custom functionality but if you have any GSAP-specific questions we'd love to help. Otherwise, if you need someone to look through all your custom code and find the problems, I'd recommend posting on the jobs/freelance forum to see if you can find a paid consultant. Or perhaps someone else here has the time to work on that custom functionality for you. 

 

Good luck with the project. And thanks for fixing that ThrowPropsPlugin link. 👍

  • Like 2
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×