Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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. autoplay on fullscreen slider

autoplay on fullscreen slider

Scheduled Pinned Locked Moved Addons
10 Posts 4 Posters 1.1k Views 2 Watching
  • 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.
  • M
    M
    minutes
    wrote on last edited by
    #1

    Hi there, is autoplay possible on Fullscreen Slider? Perhaps with some custom css? Thank you.

    K 1 Reply Last reply
    0
    • M minutes

      Hi there, is autoplay possible on Fullscreen Slider? Perhaps with some custom css? Thank you.

      K
      K
      kalamakumaran
      wrote on last edited by kalamakumaran
      #2

      @minutes

      if you are using the vertical direction of the fullscreen slider put this in Custom <head> content

      <script>
          window.laytheme.on("newpageshown", function(layoutObj, type, obj){
              slideTimeout = setInterval(function () {
          jQuery.fn.fullpage.moveSectionDown();
                  }, 10000);
          });
      </script>
      
      M 1 Reply Last reply
      0
      • K kalamakumaran

        @minutes

        if you are using the vertical direction of the fullscreen slider put this in Custom <head> content

        <script>
            window.laytheme.on("newpageshown", function(layoutObj, type, obj){
                slideTimeout = setInterval(function () {
            jQuery.fn.fullpage.moveSectionDown();
                    }, 10000);
            });
        </script>
        
        M
        M
        minutes
        wrote on last edited by
        #3

        @kalamakumaran thanks a lot for your response! What about if the direction is horizontal? I'd like to keep it horizontal because of some other settings I'm using.

        K 1 Reply Last reply
        0
        • M minutes

          @kalamakumaran thanks a lot for your response! What about if the direction is horizontal? I'd like to keep it horizontal because of some other settings I'm using.

          K
          K
          kalamakumaran
          wrote on last edited by
          #4

          @minutes

          try this. haven't tested it. maybe it works ;)

          <script>
              window.laytheme.on("newpageshown", function(layoutObj, type, obj) {
                  var slideTimeout;
          
                  function moveHorizontalSection() {
                      var activeSection = jQuery.fn.fullpage.getActiveSection();
                      var nextSection = activeSection.index() + 1;
          
                      if (nextSection <= jQuery.fn.fullpage.getSections().length) {
                          jQuery.fn.fullpage.moveTo(nextSection, 0);
                      } else {
                          jQuery.fn.fullpage.moveTo(1, 0);
                      }
                  }
          
                  slideTimeout = setInterval(moveHorizontalSection, 10000);
              });
          </script>
          
          
          M 1 Reply Last reply
          1
          • K kalamakumaran

            @minutes

            try this. haven't tested it. maybe it works ;)

            <script>
                window.laytheme.on("newpageshown", function(layoutObj, type, obj) {
                    var slideTimeout;
            
                    function moveHorizontalSection() {
                        var activeSection = jQuery.fn.fullpage.getActiveSection();
                        var nextSection = activeSection.index() + 1;
            
                        if (nextSection <= jQuery.fn.fullpage.getSections().length) {
                            jQuery.fn.fullpage.moveTo(nextSection, 0);
                        } else {
                            jQuery.fn.fullpage.moveTo(1, 0);
                        }
                    }
            
                    slideTimeout = setInterval(moveHorizontalSection, 10000);
                });
            </script>
            
            
            M
            M
            minutes
            wrote on last edited by
            #5

            @kalamakumaran thank you for that – I did try but it didn't work for me unfortunately. If you have any other tips or tricks that would be greatly appreciated. Thanks again!

            K 1 Reply Last reply
            0
            • M minutes

              @kalamakumaran thank you for that – I did try but it didn't work for me unfortunately. If you have any other tips or tricks that would be greatly appreciated. Thanks again!

              K
              K
              kalamakumaran
              wrote on last edited by
              #6

              @minutes

              Pm!

              1 Reply Last reply
              0
              • arminunruhA
                arminunruhA
                arminunruh
                Global Moderator
                wrote on last edited by arminunruh
                #7
                <script>
                    window.laytheme.on("newpageshown", function(){
                        setInterval(function () {
                    jQuery.fn.fullpage.moveSlideRight();
                            }, 10000);
                    });
                </script>
                
                K M 2 Replies Last reply
                1
                • arminunruhA arminunruh
                  <script>
                      window.laytheme.on("newpageshown", function(){
                          setInterval(function () {
                      jQuery.fn.fullpage.moveSlideRight();
                              }, 10000);
                      });
                  </script>
                  
                  K
                  K
                  kalamakumaran
                  wrote on last edited by
                  #8

                  @arminunruh

                  Ah Great. Didn‘t know the sections are adressed as slides when using horizontal direction. Easy ;)

                  1 Reply Last reply
                  0
                  • arminunruhA arminunruh
                    <script>
                        window.laytheme.on("newpageshown", function(){
                            setInterval(function () {
                        jQuery.fn.fullpage.moveSlideRight();
                                }, 10000);
                        });
                    </script>
                    
                    M
                    M
                    minutes
                    wrote on last edited by
                    #9

                    @arminunruh Thanks a lot Armin, this works! :)

                    1 Reply Last reply
                    0
                    • M
                      M
                      MarcusR
                      wrote on last edited by MarcusR
                      #10
                      This post is deleted!
                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      Online Users
                      I
                      itsbadjujuju
                      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.
                      • First post
                        Last post
                      0
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Search