Posted by pfrenssen on October 26, 2011 at 8:57pm
8 followers
| Project: | Views Slideshow |
| Version: | 7.x-3.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
It would be nice for theming if there were CSS classes on the pause button that indicate the current active state (playing or paused). This would be handy if the buttons are themed with play/pause images.
Comments
#1
This simple patch adds the class 'playing' or 'paused' to the button. My javascript-fu is not exactly stellar, so I'd be glad if someone could give it a look.
#2
#1353994: Add "paused" class to controls for theming marked as duplicate of this issue.
#3
Tested and the code looks fine.
#4
I can also verify that this works. I'd love to see this in dev.
#5
Worked for me too. Thanks.
#6
Patch works for me. Would be good to see this in the release.
#7
Appears there's a fix for this in the current dev using classes "views-slideshow-controls-text-status-pause" and "views-slideshow-controls-text-status-play".
#8
This has been fixed in Commit 3de5104d9: Add a class to the pause/play control to know what the status is.