[jQuery] Cycle Plugin - multiple instances on same page?

[jQuery] Cycle Plugin - multiple instances on same page?


Any way to have several slideshows on the same page, each with their
own independent navigation (prev/next), without giving them unique
ids?
Couldn't get this working:
$('.gallery').each(function() {
    var p = this.parentNode;
    $(this).cycle({
        fx:        'scrollHorz',
        speed:    'slow',
        timeout: 0,
        next:    $('a.next-image', p)
    });
});