We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, is it possible to skip some section while moving up or down?
let's say that I want to skip the 2nd section if I move up from 1st, so 2nd is skipped and I arrive on 3rd section. Is that achievable like this?
onLeave: function(index, nextIndex, direction){ //from #1 to #2 UP direction if(index == 1 && nextIndex == 2 && direction =='up'){ $.fn.fullpage.moveTo(3); } }
http://codepen.io/user928/pen/xEGBmd?editors=0010
The text was updated successfully, but these errors were encountered:
See the solution I proposed here
Sorry, something went wrong.
Thank you, it is working great !
I will paste part of your code it here it here, just in case someone need a quick look
//IE < 10 pollify for requestAnimationFrame window.requestAnimFrame = function(){ return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function(callback){ callback() } }(); $('#fullpage').fullpage({ onLeave: function(index, nextIndex, direction) { requestAnimFrame(function(){ if (index == 2 && direction == 'down') { $.fn.fullpage.moveTo(4); } }); } });
No branches or pull requests
Description
Hello, is it possible to skip some section while moving up or down?
let's say that I want to skip the 2nd section if I move up from 1st, so 2nd is skipped and I arrive on 3rd section. Is that achievable like this?
Link to my demo:
http://codepen.io/user928/pen/xEGBmd?editors=0010
The text was updated successfully, but these errors were encountered: