I'm making a slider with Coda Slider 2.0 and getResources.
For the slide navigation I need a custom 'hard-coded' list of links which point to the corresponding slide.
At the moment I have 2 snippets: the first to generate the divs containing the slides, the second for thumbnails / navigation.
The thumbnails should link to #1, #2, #3 and so on:
Like this:
<li class="tab1"><a href="
#1">Panel 1</a></li>
<li class="tab2"><a href="
#2">Panel 2</a></li>
Current Tpl:
<li>
<a href="#NUMBER" ><img src="[[+tv.newsImg:phpthumbof=`w=176&h=90&zc=1`]]" alt="[[+pagetitle]]" />
<br class="clear">
<span><h2>[[+pagetitle]]</h2></span></a>
</li>
Is there way to do this with getResources? Something like &rowIdPrefix in wayfinder, only not for the Id but for an a href in the Tpl
[ed. note: JoeriVos last edited this post 15 years, 1 month ago.]