Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    magnetic slide - moveTo certain ID

    Addons
    magnetic addon
    2
    3
    777
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Walker
      Walker last edited by

      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/2

      I 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

      1 Reply Last reply Reply Quote 0
      • arminunruh
        arminunruh Global Moderator last edited by

        Just write a number inside.
        This moves you to the third slide:

        jQuery.fn.fullpage.moveTo(3);

        1 Reply Last reply Reply Quote 0
        • Walker
          Walker last edited by

          Thanks that works.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Post a link to where the problem is if possible, please <3
          I don't answer or check forum DMs, please just post on the forum.
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com

          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

          Thanks!

          Online Users

          H

          Recent Topics

          • FILTER Categories showing all projects

          • H

            Vimeo embed with autoplay and loop is really slow...help!

          • A

            website not loading on iphone safari

          • Gridder hides content / thumbnail grid

          laytheme.com