Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Eugene Rayner

Help me with my timeline

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hello there,

 

I'm just trying to make some clean, simple, and reuseable timeline code for some banners. My company has always had me making GIF banners, but I want to show them that html5 banners are so much better :)

 

Essentially, I just want to have 'breaks' between each stage element.

And then if anyone has some ideas for how I can template this that would be great.

 

Thanks!

Eugene

See the Pen aVpMww by erayner (@erayner) on CodePen

Link to comment
Share on other sites

Thanks for the demo. In the future please make some effort to clean up the code so that it isn't just one huge long line. thanks.

 

By break, do you mean some sort of delay?

Sounds like you need the position parameter.

 

Notice below that stage 2 doesn't come on for 5 seconds.

 

See the Pen pdRmjO?editors=0010 by GreenSock (@GreenSock) on CodePen

 

read, watch, and explore everything here: https://greensock.com/position-parameter

 

 

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