Answer the question
In order to leave comments, you need to log in
How to make friends with two jQuery plugins: fullPage and viewportChecker?
Good day to all!
Webirus.ru has 2 plugins connected: fullPage and viewportChecker.
Ideally it should be like this:
1. Website opens
2. Animation fires on the first slide
3. If a person scrolls down, the animation fires on the second slide
4. When the first slide is out of sight, the animation goes to sleep
5. After returning to slide 1, it fires again
Answer the question
In order to leave comments, you need to log in
The solution was found by means of one fullPage plugin.
'onLeave': function(index, nextIndex, direction){
if (index == 1) {
jQuery('.titleblock2').addClass("visible animated zoomIn");
}
}
Sergey - I have the same situation, only the second plugin besides fullpage is emerge (for smooth loading of blocks), by Ilya Birman. How do I make the animation only fire when the page comes into view.
What is the point of your decision?
Is it possible to make normal scrolling work when fullpage is working (then merging will work as well)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question