You don't have to be familiar with spry syntax but I'm using SPRY (AJAX widget) and trying to write a function to handle multiple conditions.
spry:when="{ds_CurrentRowNumber} == {ds_RowNumber} && {ds_RowNumber} < 4"
I'd like to turn this into a function that generates a new ul tag in the same div every 4 li tags like:
<ul spry:repeatchildren="ds1">
<li spry:if="{ds_RowID} < 4 ">{item}</li>
</ul>
<ul spry:repeatchildren="ds1">
<li spry:if="{ds_RowID} > 4 && {ds_RowID} < 9 ">{item}</li>
</ul>
What would this function look like? Any is help is much appreciated.