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. autoplay on fullscreen slider

autoplay on fullscreen slider

Scheduled Pinned Locked Moved Addons
10 Posts 4 Posters 200 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.
  • M Offline
    M Offline
    minutes
    wrote on Aug 14, 2023, 3:04 PM last edited by
    #1

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

    K 1 Reply Last reply Aug 15, 2023, 9:17 AM
    0
    • M minutes
      Aug 14, 2023, 3:04 PM

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

      K Offline
      K Offline
      kalamakumaran
      wrote on Aug 15, 2023, 9:17 AM last edited by kalamakumaran Aug 15, 2023, 5:17 AM
      #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 Aug 15, 2023, 12:11 PM
      0
      • K kalamakumaran
        Aug 15, 2023, 9:17 AM

        @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 Offline
        M Offline
        minutes
        wrote on Aug 15, 2023, 12:11 PM 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 Aug 15, 2023, 12:18 PM
        0
        • M minutes
          Aug 15, 2023, 12:11 PM

          @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 Offline
          K Offline
          kalamakumaran
          wrote on Aug 15, 2023, 12:18 PM 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 Aug 15, 2023, 8:47 PM
          1
          • K kalamakumaran
            Aug 15, 2023, 12:18 PM

            @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 Offline
            M Offline
            minutes
            wrote on Aug 15, 2023, 8:47 PM 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 Aug 16, 2023, 5:24 AM
            0
            • M minutes
              Aug 15, 2023, 8:47 PM

              @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 Offline
              K Offline
              kalamakumaran
              wrote on Aug 16, 2023, 5:24 AM last edited by
              #6

              @minutes

              Pm!

              1 Reply Last reply
              0
              • arminunruhA Offline
                arminunruhA Offline
                arminunruh
                Global Moderator
                wrote on Aug 16, 2023, 10:43 AM last edited by arminunruh Aug 16, 2023, 6:43 AM
                #7
                <script>
                    window.laytheme.on("newpageshown", function(){
                        setInterval(function () {
                    jQuery.fn.fullpage.moveSlideRight();
                            }, 10000);
                    });
                </script>
                
                K M 2 Replies Last reply Aug 17, 2023, 5:31 AM
                1
                • arminunruhA arminunruh
                  Aug 16, 2023, 10:43 AM
                  <script>
                      window.laytheme.on("newpageshown", function(){
                          setInterval(function () {
                      jQuery.fn.fullpage.moveSlideRight();
                              }, 10000);
                      });
                  </script>
                  
                  K Offline
                  K Offline
                  kalamakumaran
                  wrote on Aug 17, 2023, 5:31 AM 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
                    Aug 16, 2023, 10:43 AM
                    <script>
                        window.laytheme.on("newpageshown", function(){
                            setInterval(function () {
                        jQuery.fn.fullpage.moveSlideRight();
                                }, 10000);
                        });
                    </script>
                    
                    M Offline
                    M Offline
                    minutes
                    wrote on Aug 19, 2023, 3:03 PM last edited by
                    #9

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

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      MarcusR
                      wrote on Aug 9, 2024, 10:55 AM last edited by MarcusR Aug 9, 2024, 6:57 AM
                      #10
                      This post is deleted!
                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


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