Content Rotator 组件

代码:

<!DOCTYPE html>

<html>

<body>

<p>

<a href="demo_textads.asp"><img src="/images/btn_view_text.gif"></a>

</p>

<%

set cr=server.createobject("MSWC.ContentRotator")

response.write(cr.ChooseContent("text/textads.txt"))

%>

 

<p>

NOTE: Because the content strings are changed randomly in the text file, and this page has only four content strings to choose from, sometimes the page will display the same content strings twice in a row.

</p>

 

</body>

</html>

相关文章