I'm building a player with a pager and I'm having some trouble - my javascript ability is intermediate so I'm hoping someone can lend some advice.
I'm working on a "before" callback function and I'd like to access the current slide index. I'd like to know what slide "number" is coming up. As the new slide is called, I want to add a class to the corresponding pager element so it appears "active." Make sense? Thanks for the help.