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
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it