Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Addons
  3. magnetic slide - moveTo certain ID

magnetic slide - moveTo certain ID

Scheduled Pinned Locked Moved Addons
magnetic addon
3 Posts 2 Posters 870 Views
  • 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.
  • W Offline
    W Offline
    Walker
    wrote on Feb 15, 2016, 10:12 AM last edited by
    #1

    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
    0
    • A Online
      A Online
      arminunruh
      Global Moderator
      wrote on Feb 15, 2016, 10:29 AM last edited by
      #2

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

      jQuery.fn.fullpage.moveTo(3);

      1 Reply Last reply
      0
      • W Offline
        W Offline
        Walker
        wrote on Feb 19, 2016, 1:29 PM last edited by
        #3

        Thanks that works.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes

        2/3

        Feb 15, 2016, 10:29 AM


        I also code custom websites or custom Lay features.
        💿 Email me here: 💿
        info@laytheme.com

        Before you post:
        1. When using a WordPress Cache plugin, disable it or clear your cache.
        2. Update Lay Theme and all Lay Theme Addons
        3. Disable all Plugins
        4. 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:
        1. Post a link to where the problem is
        2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
        3. If the problem is difficult to explain, post screenshots / link to a video to explain it
        Online Users
        A
        arminunruh
        10 minutes ago
        Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
        laytheme.com
        • Login

        • Don't have an account? Register

        • Login or register to search.
        2 out of 3
        • First post
          2/3
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Search