erik-krogh / SudoSlider

The most versatile jQuery content slider
36 stars 24 forks source link

More of a request if possible #7

Closed danyj closed 10 years ago

danyj commented 10 years ago

Is there any way we can extend the class names of a element inside number ol list? Currently we can name own class numericAttr or name the text via numericText

but can we have numericClass for a elements.

I am incorporating this with bootstrap and would like to add btn class names to bullets, for previous and next I was able to do prevHtml:'', but I cant reach inside the ol list. Only option I have is to either style them myself or add class names on doc ready/load.

This is what I am after without messing with core http://prntscr.com/2t1rx4 http://prntscr.com/2t1s5w

Any help is appreciated.

webbiesdk commented 10 years ago

There isn't currently any such option. And i'm not going to add one.

If you want to hardcode it into the script, look at line 261.

If i was doing it, i would add the classes after the slider has initialized (see the option initCallback).

danyj commented 10 years ago

Not a problem thank you for looking at it.