onstart


Version: Pro

onstart

Event properties:

index the index of the current slide

Triggers when the slider starts the slide transition.

Example:

<script type="text/javascript">
    var myEvoSlider = $("#mySlider").evoSlider();
    
    // Bind function to the onstart event
    myEvoSlider.bind("onstart", function( e ){
        alert("Slide: " + e.index);
    });
</script>