Views Carousel with jCarousel gives you the ability to specify skins to be applied to individual carousel displays. This is exceptionally helpful for reusing styles without forcing every carousel instance to use them. Something similar for Views Slideshow would be great. On my current project, I want to reuse a certain style on most of my slideshows across the site, but if I ever want to do something different, I don't want to have to override all those styles. If I could specify a CSS class to add to my slideshow displays that would satisfy my need. If such a feature got traction, we could do something more robust—for example, to allow for the defining of actual skins that would appear in a dropdown in the display settings. What does everyone else think?
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 851734-skins-2.patch | 11.41 KB | redndahead |
| #5 | 851734-skins-1.patch | 10.62 KB | redndahead |
Comments
Comment #1
redndahead commentedThat is in the plans. Just haven't gotten to it yet. Not sure how to apply a different style if there is more than one slideshow on a page. I might have to somehow rewrite the css.
Comment #2
redndahead commentedSorry momentary brain lapse. I just need to add a style class on the outside of the slideshow.
Comment #3
intyms commentedThe css classes can be added directly to views blocks. Any views block have this option.
Comment #4
traviscarden commentedOh, that's right, @intyms. Thanks. Then lets narrow this issue down to creating skins, since it sounds like there are plans for that anyway.
Comment #5
redndahead commentedOk here is the first stab. Thanks goes to the views_cycle guys as this is where I took this code from. Still need to implement the ability for a style to move the pagers/controls to either the top or the bottom.
Comment #6
redndahead commentedComment #7
redndahead commentedok so it was easier than I thought. Here is a patch including being able to move the controls/pager/slide counter
Comment #8
redndahead commentedcommitted.