1.

Create an ASP file “advertisement.asp” to display different banner advertisement on the webpage. The ads to be displayed are stored in the file “ads.txt”. The thickness of the border around the advertisement is 3 pixel.

Answer»

<%

set myad=Server.Createobject("MSWC.AdRotator")

myad.border=3

response.write(myad.GetAdvertisement("adrotator.txt"))

%>



Discussion

No Comment Found

Related InterviewSolutions