Get current slide #850

Closed
H3bus opened this Issue Sep 18, 2013 · 1 comment

Comments

Projects
None yet
3 participants

H3bus commented Sep 18, 2013

Hi guys, thanks for the great work,

Is it possible, when the user clicks on a button, to get the slide currently on screen ?

Thank you,

BeatLaG commented Oct 23, 2013

Hi,

you could make something like this:

$(".button").click(function(){
   console.log("This is the current slide", slider.slides.eq(slider.currentSlide));
})

With this you will display via console the current slide. Just trigger this action to your needs and the slider navigation to achieve your goal.

Hope it will help. Cheers!

jeffikus closed this Apr 1, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment