Open mvoltolini opened 11 years ago
What click event?
On Tue, Jul 2, 2013 at 8:40 AM, mvoltolini notifications@github.com wrote:
how can I get the current slide with click event?
— Reply to this email directly or view it on GitHubhttps://github.com/malsup/cycle2/issues/232 .
I wish to extend the current slide by click inside it
Not exactly sure what you mean, but what about plain old delegation:
$('.cycle-slideshow').on('click', 'img', function(e) {
var slide = this;
...
});
how can I get the current slide with click event?