Lay Theme Forum

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

    Auto Scroll

    General Discussion
    2
    4
    351
    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.
    • A
      Alphonse last edited by

      Hey guys,

      I am trying to make my homepage auto-scroll after loading.
      Like this : http://labels.redbullmusicacademy.com/

      I found this but it don't seems to work :

      function pageScroll() {
      window.scrollBy(0,1);
      scrolldelay = setTimeout(pageScroll,10);
      }

      Thanks !

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

        Hi @Alphonse

        I cannot write you the whole code but you can have a look here:

        https://daveismyname.blog/autoscroll-page-with-jquery

        And consider this:
        http://laytheme.com/documentation.html#custom-javascript

        All the best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • A
          Alphonse last edited by

          It works ! Thanks Marius !

          Best

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

            Yes? Whohoo!

            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

            A
            A
            7
            N
            J
            S
            M
            P

            Recent Topics

            • A

              Theme crashed - because of Polylang?

            • A

              can't change front page

            • M

              komische boxen auf der Website

            laytheme.com