tetreault
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by tetreault
-
-
Hello,
I have a websocket project I'm working on. When a user joins the site they get a div created for them with an icon as background image. I have a function that runs on DOMContentLoaded that creates fake user divs and wanted to build a timeline of animation moving them around via the X and Y properties in TweenLite.
I am really stuck scratching my head - my TimelineMax produces console logs on Update() but nothinggggg moves.
I could really appreciate a second pair of eyes! I've distilled the function in question down to a codepen.
Thank you in advance!
Stephen
See the Pen ygEjgL by tetreault (@tetreault) on CodePen
Vanilla JS TimelineMax Produces Console Logs But Doesn't Play
in GSAP
Posted
OMG. Face-freaking-palm. I've used Greensock for a while now and usually use TweenMax. I'm not sure why I decided to use TweenLite this time, but I was unaware you needed the CSSPlugin. Must have really not been paying attention.
That resolves it, thanks!