Hello,
I have searched various sites and haven't found anything I can extrapolate a successful answer from. Either that or my spectacle wearing is justified and I have forum fatigue.
Here is my issue: I need a dynamic string within a line of HTML:
<a href="#" onClick="$.scrollTo('#xxxjump', 800, {easing:'elasout'}); server sidejavascript:animatedcollapse.toggle('xxx')" id="xxx-toggle">Next</a></div>
The reason for this is to provide extra navigation.
The triple xxx's would be a default of a three-digit number, let's say '016', and by clicking 'Next' it will generate a new number minus one. All instances in that line are replaced e.g. '016' to '015'. The 'onClick' and 'id' changes and the user's window scrolls to the new. A 'Back' line is to be included as part of the same coding.
I was thinking along the lines of server-side <% includes %>, if..elseif but can only raw code HTML and CSS.
Dynamics have been taken care of and my site is live. Any fancy taking this one on?
Cheers.