AdRotator

asp.net html 控件 

adrotator

<%
url=request.querystring("url")
if url<>"" then response.redirect(url)
%>

<!doctype html>
<html>
<body>

<%
set adrotator=server.createobject("mswc.adrotator")
adrotator.targetframe="target='_blank'"
response.write(adrotator.getadvertisement("text/advertisements.txt"))
%>


<p>
note: because images are changed randomly, and because this page has few images to choose from, it will 
often display the same advertisement twice in a row.
</p>

<p>note: the adrotator does not work with internet information server 7 (iis7).</p>

<p>
<a href="text/advertisements.txt">
<img src="/images/btn_view_text.gif"></a>
</p>
</body>
</html>
相关文章