I'm new to JS, and not too sure how viewports work. Is it possible to start a css3 animation when the user gets to the third anchor or to a certain section of this plugin? For example, if div #right3 comes into view, how can I start animations within that div?
Asked
Active
Viewed 125 times
1 Answers
0
There's an "afterLoad" callback that accepts anchorLink and index parameters. You could use that to append classes, triggering the animations.
See https://github.com/alvarotrigo/multiscroll.js#afterload-anchorlink-index

mark_c
- 1,202
- 1
- 8
- 10
-
is it possible to get ScrollReveal.js to work with MultiScroll.js? – abc0213 Oct 24 '16 at 00:16