[jQuery] Cycle plugin: using two #next controllers

[jQuery] Cycle plugin: using two #next controllers


Hi.
Im trying build a gallery using the wonderful jquery cycle plugin.
Everything works fine, Im just wondering if it is possible to use two
next controllers. One next controller on image-click, and one using a
link (<a href="" id="next"> )
I can use them one at a time, but when I try them together only one of
them works: Here is my code:
    $('#slideshow').cycle({
        fx: 'fade',
        speed: '2000',
        timeout: 0,
        pager: '#nav',
        next:'#slideshow', // Change the image when user clicks on image
        next:'#next', // Change the image when user clicks on the next link
        prev:'#previous',
        pagerAnchorBuilder: function(idx, slide) {
            // return selector string for existing anchor
            return '#nav li:eq(' + idx + ') a';
        }
    });
Is there some way to do this, or do I have to duplicate the next code,
inside the plugin script, to achieve this?
Regards