Jump to content
Search Community

Horizontal Scroll on mouse drag along with mousewheel.

Sree test
Moderator Tag

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 comment
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.
×
×
  • Create New...