Cant get toggleAutoPlay to work

alrs's Avatar

alrs

17 Dec, 2012 10:42 PM

Hi,

Firstly thanks for a great slider - seems to be much more robust than the others I have tried.

I do have two minor problems, with Autoplay.

  1. Start and stopAutoPlay work fine for me but toggleAutoPlay doesnt - see http://lelal.com/test/pausetest.htm - the first Pause button is stop/start and the second is toggle.

  2. I would like to use stopAtAction as I think its more intuitive, but when an action occurs (eg click LeftArrow) then the Play/Pause button gets out of sync (ie it says Play when it should say Pause) and I cant find any event or Public property that would let me correct this.

The first is just confusing me (I am probably doing something stupid and I can obviously just use the start / stop options).

Thanks in advance for your help

  1. Support Staff 1 Posted by Dmytro Semenov on 18 Dec, 2012 08:43 PM

    Dmytro Semenov's Avatar

    Hello,

    toggleAutoplay issue was recently fixed, please get the latest version of JavaScript file from slider build tool page.

    More info in changelog.

    To change button text when it's actually stopped you may override slider prototype. http://help.dimsemenov.com/kb/royalslider-javascript-api/extending-...

    Dmitry

  2. 2 Posted by alrs on 19 Dec, 2012 01:22 AM

    alrs's Avatar

    Thanks Dmitry - worked a treat

  3. alrs closed this discussion on 19 Dec, 2012 01:22 AM.

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