Forum Discussion
AndrewMaranta-c
5 years agoCommunity Member
Fix for loss of jQuery and GSAP in new update
Hey all,
If you used to use jQuery and GSAP, it has been removed in the latest update. I've found a work around for anyone that wants to keep using it.
Simply add this code into your slide when...
AndZand
5 years agoCommunity Member
Just one more question more specifically about using functions with GSAP. I'm trying to create a timeline to sequence multiple animations, but it doesn't seem to work properly. Here is the code:
var tl = gsap.timeline();
tl.from(obj1, 1 {y: 100, stagger: 0.2});
tl.from(obj2, 1 {y: 100, stagger: 0.2});
tl.from(obj3, 1 {y: 100, stagger: 0.2});
Error:
Uncaught SyntaxError: missing ) after argument list
It seems like it cannot use the function properly. Has anyone found a solution?