[jQuery] Cycle plugin: using two #next controllers
Hi!
Im trying to build a gallery using the wonderful cycle plugin. Everything
works fine, Im just wondering if it is possible to use to next intances? One
next controller on the image, and another one on a link (<a href="#"
id="next")
Here is my code:
$('#slideshow').cycle({
fx: 'fade',
speed: '2000',
timeout: 0,
pager: '#nav',
next:'#slideshow', //Changes the image when user clicks inside the
slideshow div
next:'#next', //Changes the image when user clicks on the link
prev:'#previous',
pagerAnchorBuilder: function(idx, slide) {
// return selector string for existing anchor
return '#nav li:eq(' + idx + ') a';
}
});
Is there any way to do this, or do I have to copy the next function inside
the plugin to achieve this?
Regards
--
View this message in context: http://www.nabble.com/Cycle-plugin%3A-using-two--next-controllers-tp20628984s27240p20628984.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.