广告轮放器不成功,怎么回事?
AdRotator.txt,所有图片和htm文件与asp文件放在一个目录下
-------------------------------------------------------------
Redirect AdRotator.asp
Width 256
Height 183
Border 1
*
Adimage/1.jpg
1.htm
Win2000 server user annual- color
1
Adimage/2.jpg
2.htm
Win2000 Server Administrator annual - color
2
Adimage/3.jpg
3.htm
Win2000 Server Enterprise annual - color
3
-------------------------------------------------------------
ch06_04.asp
--------------------------------------------------------------
<body>
<Center>
<h1>Program Example for AdRotator</h1>
<hr>
<%
'create AdRotator Object
Set AdRotator = Server.CreateObject("MSWC.AdRotator")
'Get the AD's image size ,position,link and Show Text etc
response.write AdRotator.GetAdvertisement("AdRotator.txt")
%>
<hr>
You can press the image to link to the responed htm File,<BR>
or Press<font size = 5 color = blue>[Settle Again]</font> button to watch the AD. image's change
</Center>
</body>