[jQuery] Cycle Plugin - additional manual link to a particular slide

[jQuery] Cycle Plugin - additional manual link to a particular slide


Hi there
I've used the Cycle plugin to build a shuffling div with text content,
that uses the pagerAnchorBuilder to link the nav to each slide. That
all works fine.
     $('#shuffledeck').cycle({
     fx: 'shuffle',
     cssAfter: {
     top: -20,
     left: -20
     },
     delay: -4000,
     timeout: 0 ,
        pager: '#nav',
    pagerAnchorBuilder: function(idx, slide) {
// return selector string for existing anchor
    return '#nav li:eq(' + idx + ') a';
        }
        });
However now I need to also trigger a transition to a particular slide
via an additional link in the body, eg be able to do a shuffle
transition to slide x when clicking on a link with id of y.
Is this possible? I've been experimenting a bit with the before:
property but can't work out how to a) specify the next slide and then
b) trigger a transition, without mucking up the main pager.
Thanks for any help!