Jump to content
GreenSock

Roman S.

How to make scrollbar for Horizontal Scroll section?

Moderator Tag
Go to solution Solved by elegantseagulls,

Recommended Posts

Hello everyone!

I apologize in advance for such a simple question, but I cannot find any information about this or a suitable example for my case. 
I am expecting a scrollbar for my fake-horizontal scroll section as shown in the photo, but I don't know how exactly to do this, which GSAP plugin is needed for this? Please, see clearly what the section to which this scrollbar is needed looks like, I leave a link to the codepen.

I'd welcome any information about it. Link to the documentation on the creation of such, video/example work. Thank you in advance, if you need more information, please let me know!

example.png

See the Pen BaOmvNL by 1kiritos1 (@1kiritos1) on CodePen

Link to comment
Share on other sites

  • Solution

I think you'll want to use GSAP's Draggable for this (observer may work for this too).
 

This thread may be helpful:


Draggable Docs here:

 

  • Like 3
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.
×