ejlee
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by ejlee
-
-
Thanks guy! That was the problem. I didn't have visibility :hidden on the css.
- 3
-
On my site, I am using a plugin inView, which calls a function when an element has come into view in the page.
There is a div in the middle of the page, and i'd like to use this to fade in it and come from the bottom
TweenMax.from(element, 1.5, { autoAlpha: 0, y: 100, ease:Expo.easeOut })
The thing is it works, however if I quickly scroll down to this div, I'll see it for a millisecond, a quick flash....and then the effect starts.
I tried to use the .set function and set it to autoAlpha: 0...however now it doesn't even fade in at all.
Is there a solution to this problem? I'd like to use .from, however I do not want to see it flash quickly on the page before it starts the animation.
How to pause Timeline
in GSAP
Posted
I have a timeline which looks like this below
What i'm trying to achieve is to pause all animation that happens on this timeline, and any animation that is currently running on this "this.tl" timeline.
I have tried to use
This pauses the animation, however if there is an animation already running it doesn't pause that. Is there a pauseAll for the timeline?
I know I can use this code below, but I do not want to use it because this pauses all globally and it affects my other tweens.