•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 332,773 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,823 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
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.
example im gonna show you a simple next and loop that changes the font
size.
Last edited : Oct 29th, 2006.
<% ' 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 %>
Post Comment
•
•
•
•
DaniWeb Marketplace (Sponsored Links)