Step 1 :
Save the following as adrotator.txt , create 3 gifs 480 by 60 called 02 , 03 and 04 , here are some examples I used before
***
REDIRECT adRedirect.asp
WIDTH 480
HEIGHT 60
BORDER 0
*
http://tutorials.programmingsite.co.uk/02.gif
http://tutorials.programmingsite.co.uk
Visit tutorials.programmingsite.co.uk
20
http://tutorials.programmingsite.co.uk/03.gif
http://tutorials.programmingsite.co.uk
visit tutorials.programmingsite.co.uk site now
40
http://tutorials.programmingsite.co.uk/04.gif
http://tutorials.programmingsite.co.uk
tutorials.programmingsite.co.uk resource site
40
Step 2 :
Create your redirect file , in this case adRedirect.asp and enter the following
<%
Response.Redirect(Request.QueryString(“url”))
%>
Step 3 :
Put this code on the pages you wish the banner to be displayed
<%
Dim objAdRotator
‘create an instance of adrotator
Set objAdRotator = Server.CreateObject(“MSWC.AdRotator”)
‘get the ad from the file
Response.Write objAdRotator.GetAdvertisement(“adrotator.txt”)
‘destroy the object
Set objAdRotator = Nothing
%>
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.







































