Hi guys,
trying some jquery carousel stuff, and baisically I need to output a counting number in the output of the ditto call, for example:
the chunk would be something like:
<div class="carouselitem [+counter+]">content</div>
and the output of 6 items would be:
<div class="carouselitem 1">content</div>
<div class="carouselitem 2">content</div>
<div class="carouselitem 3">content</div>
<div class="carouselitem 4">content</div>
<div class="carouselitem 5">content</div>
<div class="carouselitem 6">content</div>
Any ideas?
Cheers
Way to solve my own problem, after having a second dig around in the php, I found the "ditto_iteration" placeholder.
Thanks, me!
-
☆ A M B ☆
- 24,524 Posts
It’s amazing how many times I’ve found my own solution anywhere from 2 minutes to a few hours after asking for help! Sometimes just the formulating of the post clarifies the thinking.