Jump to content
Search Community

Printing a timeline

Guest GRDC
Moderator Tag

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

Before I go trying to reinvent the wheel, I thought I'd ask if anyone has experiencing in printing a timeline and its nested timelines/tweens in block format.  What I'm envisioning are blocks whose widths are relative to their duration, contain nested elements which can be interacted with the fin-tune and/or reorder animations.

Link to comment
Share on other sites

Hello reanimator, and Welcome to the GreenSock Forums!


I'm having trouble understanding what your looking for when you write .. "printing a timeline and its nested timelines/tweens in block format"


Do you mean like seeing the timeline in a visual way, like in Flash or Edge Animate?


Do you have an example of what your envisioning, this way we can better help you!


Thank You :)

Link to comment
Share on other sites

Hi Jonathan,


Precisely like the way Flash shows timelines, with adjacent divs representing subsequent timelines, and their nested contents displayed similarly (either initially hidden or stacked beneath.


In my code, each timeline and tween is generated by an underlying JS object, which the user can manipulate to change the on-screen actions.  I was thinking it would be nice to show this to the user in a format which captures the sequence of events occurring as the timeline progresses.


The iteration over the timeline and its children is not the major hurdle, it's the CSS/HTML generation required to display the timelines that I'm requesting advice on.

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