Auto Scroll

mster5's Avatar

mster5

28 Aug, 2012 02:13 PM

Is there a way for the slider to auto scroll through the slides? I thought it was auto play but that is not working.

  1. Support Staff 1 Posted by Dmitry Semenov on 28 Aug, 2012 02:44 PM

    Dmitry Semenov's Avatar

    Hi,

    How you exactly you tried? Are you sure that markup is correct? http://dimsemenov.com/plugins/royal-slider/documentation/#autoplay

    Dmitry

  2. 2 Posted by barry on 29 Aug, 2012 12:12 PM

    barry's Avatar

    Hi,

    I added this code to the JS

     autoPlay: {
            // autoplay options go here
            enabled: true,
            pauseOnHover: true,
            stopAtAction: false,
            delay: 6000,
        }
    
  3. Support Staff 3 Posted by Dmitry Semenov on 29 Aug, 2012 12:14 PM

    Dmitry Semenov's Avatar

    This code is correct (except trailing comma that will break old IE), send me link to your site and I'll tell you what's wrong.

    Dmitry

  4. 4 Posted by mster5 on 29 Aug, 2012 01:30 PM

    mster5's Avatar

    I added the same bit of code to the end of the jquery.min.js file. Seemed to work okay. Can you take a look at the code as well?

  5. Support Staff 5 Posted by Dmitry Semenov on 30 Aug, 2012 06:41 AM

    Dmitry Semenov's Avatar

    Are yoou sure that this is the only place where you initialize slider?

    If you don't know where to put code, take a look here - http://help.dimsemenov.com/kb/royalslider-jquery-plugin-issues/html...

    Dmitry

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac