Link to home
Start Free TrialLog in
Avatar of guzz1
guzz1

asked on

Classic ASP Sequential Image Rotator with 8 seconds time delay

Hi all,

I need a classic ASP (not ASP.net) Image rotator that rotates sequentially not randomly(it's actually a .jpg banner rotator). Also, it needs to change every 8 seconds, not on the refresh of the page. Please, use the code below and modify it since this is the code my friend already has. One last thing, please no Javascript.

Thanks very much in advance,
Guzz

<%
' select 1 ad to show
randomize
random_number=int(rnd*3)+1

If random_number = 1 Then
Response.Write("<a href=""http://cs5launch.adobe.com/"" target=""_blank"" style=""float: right;""><img src=""images/cs5English728x90.jpg"" width=""728"" height=""90""></a>")
elseif random_number = 2 Then
Response.Write("<a href=""http://www.macpapers.com/"" target=""_blank"" style=""float: right;""><img src=""images/mac_conservation_4.jpg"" width=""728"" height=""90""></a>")
else
Response.Write("<a href=""http://www.saphiraconsumables.com/"" target=""_blank"" style=""float: right;""><img src=""images/728x90_Saphira.jpg"" width=""728"" height=""90""></a>")
End If
%>
ASKER CERTIFIED SOLUTION
Avatar of madgino
madgino
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sybe
sybe

No javascript? You could use an iframe with a refresh metatag.