erik-krogh / SudoSlider

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

Identify current slide #50

Closed themarkroberts closed 8 years ago

themarkroberts commented 8 years ago

I'm using custom links as a kind of navigation menu which is working great, but I'm wondering how I would go about indicating to the user in the navigation which slide is currently being displayed.

Ie - in your demos, the background color of the tabs change when you go from slide to slide.

Thanks.

webbiesdk commented 8 years ago

Well, if you are using customLinks, then the class current will be added to the customLink that points to the current slide (if you are using data-target="1", or some other number).

Otherwise, you could use the callbacks: http://webbies.dk/assets/files/SudoSlider/package/demos/basic%20callbacks.html to do something fancy yourself.

themarkroberts commented 8 years ago

Great, that's what I needed to know. Thanks!

On Wed, Mar 2, 2016 at 12:15 AM, webbiesdk notifications@github.com wrote:

Well, if you are using customLinks, then the class current will be added to the customLink that points to the current slide (if you are using data-target="1", or some other number).

Otherwise, you could use the callbacks: http://webbies.dk/assets/files/SudoSlider/package/demos/basic%20callbacks.html to do something fancy yourself.

— Reply to this email directly or view it on GitHub https://github.com/webbiesdk/SudoSlider/issues/50#issuecomment-191123376 .

webbiesdk commented 8 years ago

Glad to help.