0

Learn how to loop anything you want sertain number of times. In this
example im gonna show you a simple next and loop that changes the font
size.

<%
' Define the variables you are going to use
Dim LoopCount

'Start the for next loop
For LoopCount = 1 to 5 

'If you wanted to count from 5 down to 1
'it would look like this...
'For LoopCount = 5 to 1 step -1

'Use the LoopCount value how you desire
'In this case it's used to change the font size
%>

<font size=<%=LoopCount%>>Text</font><br><br>

<%
'Repeat your loop
Next
%>
1
Contributor
0
Replies
2
Views
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.