Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript anythingSlider – detect clone slide Re: anythingSlider – detect clone slide

#83936
Mottie
Member

Hi Allen!

I’m not sure why you’d want this ability but you can do it by adding this to the initialization code; here is a demo:

    onSlideBegin: function(e, slider) {
if (slider.exactPage === 0 || slider.exactPage === slider.pages + 1) {
$('#display').fadeIn().delay(1000).fadeOut();
}
}