AutoPlay for laptop Slider?

nicksww's Avatar

nicksww

13 Oct, 2012 02:26 AM

how do you get laptop slider to autoplay? nothing comes up in your search.
thx

  1. 1 Posted by nicksww on 13 Oct, 2012 05:42 AM

    nicksww's Avatar

    dont want a pause button, just play like content slider.
    i can cut and paste, maybe edit options but dont really know js (yet)

    see my html page for nickswebworks.com attached

    thx

  2. Support Staff 2 Posted by Dmitry Semenov on 13 Oct, 2012 07:40 AM

    Dmitry Semenov's Avatar

    Change initialization code to:

    var rsi = $('#slider-in-laptop').royalSlider({
        autoPlay: {
            enabled: true
        },
        autoHeight: false,
        arrowsNav: false,
        fadeinLoadedSlide: false,
        controlNavigationSpacing: 0,
        controlNavigation: 'bullets',
        imageScaleMode: 'fill',
        imageAlignCenter:true,
        loop: true,
        loopRewind: false,
        numImagesToPreload: 6,
        keyboardNavEnabled: true,
        autoScaleSlider: true,  
        autoScaleSliderWidth: 486,     
        autoScaleSliderHeight: 315
      }).data('royalSlider');
    

    http://dimsemenov.com/plugins/royal-slider/documentation/#autoplay

    Dmitry

  3. 3 Posted by nicksww on 13 Oct, 2012 11:31 AM

    nicksww's Avatar

    dood! u so totally rock!

  4. Dmitry Semenov closed this discussion on 13 Oct, 2012 07:48 PM.

Comments are currently closed for this discussion. You can start a new one.

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