Forum Discussion
YoshieKellogg-B
4 years agoCommunity Member
Documentation for GSAP in Storyline 360
I need documentation on implementing GSAP in Storyline 360 to animate objects on a slide, with specific How-Tos with use cases. I do not want a link to a forum. I need documentation.
MathNotermans-9
4 years agoCommunity Member
This is the code you need for checking whether the browser is changed at any given time.
window.addEventListener('resize', resize);
resize();
function resize() {
/*
This function will be called whenever a user resizes his browser window.
So here you can act upon that and do whatever is needed.
*/
}
So basically this attaches a function to the window that calls the function resize().
So everything inthere will be done whenever a user resizes his window.
Related Content
- 7 months ago
- 7 months ago
- 8 months ago
- 4 months ago