I am a query newbie using the jquery cycle plugin w/ pager.
I am trying to get the next/prev arrows to only page through items with an li class of image, skipping the items with a header class.
I am sure it is a pretty simple thing to do, but i am stuck as where to begin, any help is appreciate !
/trace
jquery
$(function() {
$('ul#slides').before('').cycle({
fx: 'fade',
speed: 'slow',
timeout: 0,
next: '#next2',
prev: '#prev2',
pager: '#menu',
pagerAnchorBuilder: function(idx, slide) {
// return selector string for existing anchor
return '#menu li:eq(' + idx + ') a';
}
});
});
HTML