Lay Theme Forum

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

    Fullscreen-Slider: move section up?

    Addons
    3
    6
    397
    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.
    • ArneRobot
      ArneRobot last edited by

      Hello,

      is there a JS-code to move one section up in the fullscreen-slider? Like this code moves one section down:

      jQuery.fn.fullpage.moveSectionDown();

      Thank you, regards
      Arne

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

        Dear @ArneRobot
        you can have a look here:
        https://alvarotrigo.com/fullPage/

        Best!

        Marius

        www.mariusjopen.world

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

          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

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

            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!

            ✦ ✦ ✦

            1 Reply Last reply Reply Quote 1
            • ArneRobot
              ArneRobot last edited by

              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!

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

                Hey @ArneRobot
                great! Happy to hear!!

                Marius

                www.mariusjopen.world

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                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. Now see if your problem solved itself
                5. 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

                Recent Topics

                • C

                  image carousel bugging out

                • N

                  help needed with cleaning up and optimising lay theme portfolio website

                • R

                  Html5 Video Player issue

                laytheme.com