Jump to content
GreenSock

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

Horizontal Scroll on mouse drag along with mousewheel.

Go to solution Solved by akapowl,

Recommended Posts

Helllo,

 

I was building a horizontal scrolling website (The whole website is horizontally scrolled).

Right now the horizontal scroll works fine with mousewheel. I also needs to do the same on mousedrag. I tried to add a custom function to do the same but it animate the whole sections scroll to end. Instead it needs to be excactly the same as mouswheel scroll. Any ideas or suggestions would be very helpful.

Thanks

See the Pen xxdLVaY by DeCodeUI (@DeCodeUI) on CodePen

Link to post
Share on other sites

@akapowl  That awesome. Exactly what I needed. I have been trying to solve this issue for the past two days. Thanks a lot.

  • Like 1
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.

×