[jQuery] jquery.cycle - pagerAnchorBuilder
hi
I'm using pagerAnchorBuilder like in the example here:
http://jquery.malsup.com/cycle/pager11.html
function pagerFactory(idx, slide) {
var s = idx > 2 ? ' style="display:none"' : '';
return '<li'+s+'><a href="#">'+(idx+1)+'</a></li>';
};
Please check the source: http://tinyurl.com/kpmrt6
Now I would like to place the < > (pager) next to the numbers, like
this: < 1 2 3 4 > - one line instead of two. How can I do that?
And I'd like to alter the pager: when the first image is showed, the
pager < 1 2 3 > should stay inactive. After forwarding to the next
image number 1 should be highlighted < *1* 2 3 >. Is this possible?
Thanks for any help!
g.