For tags: from big to small and nested loops, for tag nesting
From large to small loop:
You can exchange the start and end values to easily implement a large to small loop. For example:
<chtml><for end=0 start=10><b>@{for:getSuffix}-</b></for></chtml>
Effect
(Example file: _ samples/for_end.html)
Nested loop
The loop can contain the next level. Theoretically, there can be countless layers nested, for example:
<chtml><for end=0 start=10><b>@{for:getSuffix}-</b><for end=@{for:getSuffix}><font color=red>@{for:getSuffix}-</font></for><br></for></chtml>
Effect
Example file: _ samples/for_for.html)
In development, nested loops allow you to easily customize exquisite output webpages, such:
In the subsequent introduction, we will provide the instance code to achieve similar results.
Download and description of light platform Resources
Platform free download: http://download.csdn.net/detail/tx18/8381859
Latest Development Manual download: http://download.csdn.net/detail/tx18/8411089
Development Instance:Light B2C e-commerce websites, Free download: http://download.csdn.net/detail/tx18/8318585
The light-Open Platform will occasionally upgrade to provide more powerful and Easy functions for you. Please pay attention to the latestDevelopment Manual