In order to use this component we need a file with the ads we want to
rotate in our page. Check this example:
In the first line we must include the character "*", and starting
in second line, each four lines we will include information related to
one ad (first ad in red, second ad in blue).
Information related to each ad must be write in four lines as shown above. Ad related information will be introduced in the order used in the example:
To display those ads in our page we will include the following code
to our page (explanation in the bottom):
If url<>"" then Response.Redirect(url)
First we will check the code in lines 9 to 18. This code will be used to ad a imagen link to our page.
<A HREF="?url=http://www.domain1.com/&image=/image1.gif" TARGET="target=_new">As shown in this example, when clicking on the imagen, the url we will visit will be "?url=http://www.domain1.com/&image=/image1.gif", which is also the page where we have included our ad rotation script. That is why we will need to add in the first part of our page the code shown in lines 1 to 4.
<IMG SRC="/image1.gif" ALT="Visit domain1.com" WIDTH=440 HEIGHT=60 BORDER=0>