Jump to content
Search Community

Horizontal Animation Text

rOghz test
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts


Could anyone help me to add animation to horizontal text block I'm trying to do? Like here: https://locomotive.ca/en Latest award section (third section on homepage). So the text is scrolling slowly, depends we scrolled down it go right->left, up it start scrolling left->right.

I have done that, but I would like to have like the example above, so it scroll looped (slowly) all the time, and speeds up when user scrolls.

Thank you for the help!



See the Pen XWYJgPg by lukasz-gorski (@lukasz-gorski) on CodePen

Link to comment
Share on other sites

  • Solution

Hi @rOghz and welcome to the GreenSock forums!


For the horizontal endless marquee you can use the Horizontal Endless Loop helper function crafted by @GreenSock:



In order to speed up/down and switch directions you could use the Observer Plugin in order to check the scrolling direction and tween the timescale property of the timeline returned by the helper function. Here is a live example:

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


Let us know if you have more questions.


Happy Tweening!

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...