Open ghost opened 11 years ago
I have edited the slider js source code a little bit to make an active class. If you would like i can send you with the authors permission, I edited it for my own benefit
did you get the owners permission? I am having problems getting public methods to work with multiple classes
i would love to get your code, i'm also trying to set the active class to all visible slides
We are looking at adding a active state to our next update. I will keep you posted.
@Tidal-Wave please do. A simple class addition to slideSelector would be very useful. As an example I am adding parallax/asynchronous CSS animations to a bxslider - an active class would make this much easier ^_^ to trigger
I would be happy to supple an example of how to achieve asynchronous effects for inclusion in the main website should the active class feature be included.
2 functions which help greatly in writing custom features using the documents Public Methods would be:
getSlideByIndex(i) = return the ith slideSelector & getSlideScreenCount() = return the number of currently visible slides (useful for carousels)
Having looked at this further (seeing if I could write a work around) I suggest that the whole carousel needs rewriting to allow better responsive/adaptive sizing (removing cut off items etc.). I would be happy to discuss improved methods.
First off, thank you for this library. It works really well and is easy to use.
One thing I couldn't figure out is how to know which set of slides is currently visible. On my site I have a carousel with 5 slides showing at a time. I've seen posts on getting one slide to have an active class, but not multiples.
Any advice or help would be greatly appreciated.