> <div id="frame1"><img src="" alt="" title="" /><img src="" />alt =""
> title="" /></div>
> <a id="prev2" href="#">Prev</a> <a id="next2" href="#">Next</a>
>
> and I assign each image's alt and/or title, how can I evoke them as
> captions below each image after clicking prev/next?

Hmm, should be pretty easy for that setup.  Assuming you have a
#caption element somewhere:

$('#frame1').cycle({
        prev: '#prev',
        next: '#next',
        before: function() {
                $('#caption').html(this.alt);
        }
});

Reply via email to