Reputation: 927
Just starting to use fullPage.js and loving it so far. Anyhow, when implementing continuous effect and you're on the last section, scrolling down it sends you to the first section, but it looks like it loads two times, or like it very fast goes to the second section and then to the first I removed all other scripts and tried again, but same problem.
Also, header disappears when you scroll to first section again, after last section.
Here is the link: http://sedmica.rs/problem/
Thanks in advance.
Upvotes: 1
Views: 1192
Reputation: 41595
It works as expected as you can see here with your same initialisation.
I believe you have some problem related with the use of the class 'slide' for another one of your plugins. That's making fullPage.js throw the an error in the javascript console:
Uncaught TypeError: Cannot read property 'left' of undefined
To solve this, if you are not planning to make use of the fullPage.js sliders and you rather prefer using some other plugin for that, make use of the opton slideSelector
to set the value to any other string different from slide
.
From fullPage.js docs:
slideSelector: (default .slide) Defines the jQuery selector used for the plugin slides. It might need to be changed sometimes to avoid problem with other plugins using the same selectors as fullpage.js.
Upvotes: 1