Forum Discussion
MathNotermans-9
5 years agoCommunity Member
GSAP 3.5.1 ( latest version ) is now included in Storyline 360
A few months ago i discovered Storyline uses the GSAP Tweening library for all its animation features. Any animation you make in Storyline somehow is triggered by GSAP under the hood of Storyline. T...
StefanKhler
4 years agoCommunity Member
Hi Math,
I have been intensively dealing with GSAP in the last few days and have to say: Great solution!
Now I have encountered a problem: When I animate elements e.g. like this:
var tl = gsap.timeline();
var icon= document.querySelectorAll("[data-acc-text='icon']");
tl.to(icon, {repeat: 10, yoyo: true, ease: "power1. inOut", duration:2, repeatDelay: 0.25, scale:1.45 });
Then I have the problem: As soon as I change the screen size form my browser or change the format on the mobile (e.g. to landscape format), the animated elements are suddenly in completely different positions or not visible at all. Is there a way to solve the problem?