Use slideshow event

Only one


Slide no.1 Slide no.2 Slide no.3

Source

HTML:
<div id="CustomSlideshow">
    <a href="img/image_0.jpg" title="Camomile">Slide no.1</a>
    <a href="img/image_1.jpg" title="Bumblebees">Slide no.2</a>
    <a href="img/image_2.jpg" title="Wood Toothpicks">Slide no.3</a>
</div>
JavaScript:
<script type="text/javascript">
//<![CDATA[
    $('#CustomSlideshow').slideshow();

    $('#CustomSlideshow').on('slide.aslideshow', function(event, i, slide, title) {
        $('h3').html('Slide #' + (i+1) + ': ' + title);
    });
//]]>
</script>