Cant get toggleAutoPlay to work
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.
-
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.
-
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
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
Support Staff 1 Posted by Dmytro Semenov on 18 Dec, 2012 08:43 PM
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 Posted by alrs on 19 Dec, 2012 01:22 AM
Thanks Dmitry - worked a treat
alrs closed this discussion on 19 Dec, 2012 01:22 AM.