So I'm building a jQuery plugin for a project that allows the client to create multiple jQuery scrollers per page -- I'm focusing strictly on the front end for this question.
On document ready, it will tell the slider div to initialize. This then takes the number of images in the slider, and creates a little circle button for each image so a user could click a circle and slide directly to the corresponding image.
I'm looking for something that will return the .eq()
value of that circle in order to know which slide they're trying to get to. $(this).eq()
does not work.