JQuery cycle plugin - page, prev/next and image count
Hi,
I'm having some trouble working out how I can get three things working on an image gallery I'm building. I need to show a:
1. Pager nav
2. 'Prev' and 'next' links
3. Image x of x for the current image i.e. Image 3 of 8
I believe this should sort the pager nav and prev/next links:
- $('#slides').before('<div id="nav">').cycle({
- fx: 'slideLeft',
- speed: 'fast',
- timeout: 0,
- next: '#next2',
- prev: '#prev2',
- pager: '#nav'
- });
But I have no idea about point 3...how would I display 'Image x of x'? Any ideas?
Thanks,
osu