Randomized Page Content:
Click here
to test this script.
Code:
Place in the <BODY>:
Highlight
<% limit = 4 redim Image (limit) redim Text (limit) Image(1) = "bar1.gif" Text(1) = "This is the
first
random block of text. Click refresh to the see randomization." Image(2) = "bar2.gif" Text(2) = "This is the
second
random block of text. Click refresh to the see randomization." Image(3) = "bar3.gif" Text(3) = "This is the
third
random block of text. Click refresh to the see randomization." Image(4) = "bar4.gif" Text(4) = "This is the
fourth
random block of text. Click refresh to the see randomization." randomize random = int(rnd*limit)+1 %>
<%=Text(random)%>