Fullscreen-Slider: move section up?
-
-
-
Hello Marius.
I can't really follow you… Is that based on LayTheme? I was specially looking for a LayTheme-solution. Of course I know other scrolling website solutions but since there is a dedicated "moveSectionDown();" in LayTheme, I thought there might be the same for the other direction?
Cheers, Arne
-
Well I guess that that’s the Slider implemented into lay. All the functions are listed here: https://alvarotrigo.com/fullPage/examples/methods.html
And yes, it seems like there’s a dedicated function for your needs.Cheers!
-
Thanks edgrbnz! I got it now:
<script>
window.laytheme.on("newpage", function(layoutObj, type, obj){
jQuery("body").on("click", "#topframe", function(){
jQuery.fn.fullpage.moveSectionUp(1);
});
});
</script>This works for me. I had to add the "1" to jQuery.fn.fullpage.moveSectionUp(1);
Thanks for the help!
-
Hey @ArneRobot
great! Happy to hear!!Marius
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login