Hello
I have obviously done something wrong in my attempt to create a rotating banner page in ASP because I get the following message:
Microsoft VBScript runtime error '800a01a8'
Object required: ''
/stevehigham/Banner.asp, line 11
Does anybody know what this can mean?
There is only one page (Banner.asp) and 3 images. Here is the full code for Banner.asp
<html>
<body>
<%
set adrotator=Server.CreateObject("MSWC.AdRotator"
'adrotator.Border="2"
'me:the above adrotatot.Border="2" statement is is not necessary:
'it simply specifies the borders around the advertisement
adrot.Clickable=false
'Specifies whether advertisement is a hyperlink or not
Response.Write(adrotator.GetAdvertisement("ads.txt"
)
%>
<p>
<a href="ads.txt">
<img border="0" src="banner1.gif">
<img border="0" src="banner2.gif">
<img border="0" src="banner3.gif">
</a>
</p>
</body>
</html>
I have obviously done something wrong in my attempt to create a rotating banner page in ASP because I get the following message:
Microsoft VBScript runtime error '800a01a8'
Object required: ''
/stevehigham/Banner.asp, line 11
Does anybody know what this can mean?
There is only one page (Banner.asp) and 3 images. Here is the full code for Banner.asp
<html>
<body>
<%
set adrotator=Server.CreateObject("MSWC.AdRotator"
'adrotator.Border="2"
'me:the above adrotatot.Border="2" statement is is not necessary:
'it simply specifies the borders around the advertisement
adrot.Clickable=false
'Specifies whether advertisement is a hyperlink or not
Response.Write(adrotator.GetAdvertisement("ads.txt"
%>
<p>
<a href="ads.txt">
<img border="0" src="banner1.gif">
<img border="0" src="banner2.gif">
<img border="0" src="banner3.gif">
</a>
</p>
</body>
</html>