I am using the cycle plugin with pager functionality like this :
$j('#homebox')
.cycle({
fx: 'fade',
speed: 'fast',
timeout: 9000,
pager: '#home-thumbs',
pagerEvent: 'mouseover',
pagerAnchorBuilder: function(idx, slide) {
// return sel string for existing anchor
return '#home-thumbs li:eq(' + (idx) + ') a';
}
});
I was wondering how I could also add an onclick function where if the thumbs were clicked they would take you to the appropriate url. The code comes from here: