Havnt imlimented an ad rotator in about two years, here my code from then:
1..Place this where you want the ads to appear:
2..The contents of the adrotator.asp:
<%
If Request.Querystring("url") <> "" Then
Response.Redirect(Request.Querystring("url"))
Else
Dim txtAd, objAd
Set objAd = Server.CreateObject("MSWC.AdRotator")
txtAd = objAd.GetAdvertisement("adlist.txt")
End if
%>
3..The contents of adList.asp:
redirect adrotator.asp
border 0
height 60
width 400
*
ads/banner_cabrinha.gif
http://www.cabrinha.com
go to
www.cabrinha.com
1
ads/banner_gswell.gif
http://www.kitesurf.co.nz
go to
www.kitesurf.com
1
ads/cabrinhaAd.gif
http://www.cabrinha.com
go to cabrinha.com
1
In the example above all three files are to be placed in the root of your web site, place the images in a folder called add. If you do this the above code is cut n paste
Wind is your friend
Matt