janpaepke / ScrollMagic

The javascript library for magical scroll interactions.
http://ScrollMagic.io
Other
14.88k stars 2.17k forks source link

How to ajust scenes on resize, #608

Open Oblik-Design opened 7 years ago

Oblik-Design commented 7 years ago

I have seen a post about it, but the anwers was not good, and just showed how to ajust the tweening part of it, I have no problem ajusting tweenMax on resize, but I must ajust the start and end indicators, on resize ... and the documentation, does not provide me with a straight answer, I'm new at scroolmagic. And sorry for my poor english.

valeriosillari commented 7 years ago

same problem here.

at page resize I would like to check again the height/duration of several elements (more than one), and if they were changed updating the duration values.

i got how to do it for one element, but when i got more than one things got weird. help :)

shikkaba commented 4 years ago

Was there any kind of resource that can show this?