Check if current slide is active

You can put a html item into your slide, with an empty div in it, and you can check from that div, if it’s slide has the ssanimatelayersin event on it, like this:

<div class="dosomething"></div>
<script>
jQuery(document).ready(function(){
	jQuery('.dosomething').parents('.smart-slider-canvas').on('ssanimatelayersin', function(){
		/* here comes the code, what should happen if the slide is active */
	});
});
</script>

It will be triggered every time you go to that slide.
htmlitem