Closed (fixed)
Project:
Field Slideshow
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
4 Jan 2012 at 22:16 UTC
Updated:
25 Jan 2012 at 20:00 UTC
I was wondering if you could add this feature so that there is a "class" and or "id" tag for images that you use for the slide show. So it would be something like below.
field_slideshow.module file around line 747.
$image['attributes']['class'] = 'slideshow-img';
Also, would it be possible to increment the images, depending on the number used, so its something like slideshow-img-0, slideshow-img-1 ... Thanks for the module.
$image['attributes']['id'] = 'slideshow-img' . $num;
Comments
Comment #1
gdbwb05 commentedI was wondering if you could add one more html class feature. Would you be able to add to the number pagers in the link some sort of class identification. I want to use a different CSS background image for each link but couldn't figure out how to hack the code add it in.
So it would be something like.
Thanks
Comment #2
jdanthinne commentedHi,
I've just pushed changes to the DEV version.
I've added all the classes you've asked.
Please download next DEV and tell me if it's ok.
Comment #3
gdbwb05 commentedYep, all the stuff for themeing helped thx.
Comment #4
jdanthinne commented