View Single Post
  #6 (permalink)  
Old 08-29-03, 03:56 AM
Arctic Arctic is offline
Wannabe Coder
 
Join Date: Jul 2003
Location: BC, Canada
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
OMG im sorry, my mistake, look at the 2nd line of 468x60.asp, you will see "if session("ad")=10 then" change the 10 to 5. You can also leave the 10 and add more cases.

Ex:
<%
if session("ad")=10 then
session("ad")=1
else
session("ad")=session("ad")+1
end if
%>
<% Select Case session("ad") %>
<% case 1 %>
< a href="http://www.google.ca">Google</a>
<% case 2 %>
< a href="http://www.google.ca">Google</a>
<% case 3 %>
< a href="http://www.google.ca">Google</a>
<% case 4 %>
< a href="http://www.google.ca">Google</a>
<% case 5 %>
< a href="http://www.google.ca">Google</a>
<% case 6 %>
< a href="http://www.google.ca">Google</a>
<% case 7 %>
< a href="http://www.google.ca">Google</a>
<% case 8 %>
< a href="http://www.google.ca">Google</a>
<% case 9 %>
< a href="http://www.google.ca">Google</a>
<% case 10 %>
< a href="http://www.google.ca">Google</a>
<% End select %>


You see??, as long as you have 10 cases and 10 at the top, it will all work out, and if you change the 10 at the top to lets say 7, you would have to delete case 10,9,8.
__________________
http://www.streamsearch.ca - Live stream search engine. Find radio stations to listen to and TV channels to watch!

http://www.machonemedia.ca - Mach One Media web development and media services.
Reply With Quote