magnetic slide - moveTo certain ID
-
Hello Armin/Forum,
I tried to work with the following code;
$.fn.fullpage.moveTo(section, slide);
in the magnetic slide addon.So that I am able to navigate through several Buttons to
certain slide-sections.
Like in this example: http://alvarotrigo.com/fullPage/#secondPage/2I have allready the following code, which helps me gettin one
slide down through a button click.<script>
jQuery(document).ready(function(){
jQuery("body").on("click", ".godown", function(){
jQuery.fn.fullpage.moveSectionDown();
});
});
</script>I tried to do it like this way:
<script>
jQuery(document).ready(function(){
jQuery("body").on("click", ".godown", function(){
jQuery.fn.fullpage..moveTo( ? )
});
});
</script>But do not find out which parameter to insert into the moveTo parenthesis.
would be nice to get help
thanks a lot -
Just write a number inside.
This moves you to the third slide:jQuery.fn.fullpage.moveTo(3);
-
Thanks that works.
I don't answer or check forum DMs, please just post on the forum.
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. When using a WordPress Cache plugin, disable it or clear your cache.
Now see if your problem solved itself.
Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it