主题:请教问题所在
myad.txt :
redirect http://www.163.com
width 100
height 50
border 3
*
001.gif
http://www.google.com
谷歌搜索
3
002.gif
http://www.baidu.com
百度搜索
3
003.gif
http://www.163.com
网易
4
ad.asp :
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>利用AdRotator轮显广告</title>
</head>
<body>
利用AdRotator轮显广告:<br>
<%
set ad=server.createObject("mswc.adrotator")
ad.clickable=true
response.write(ad.getadvertisement("myad.txt")&"<br>")
%>
</body>
</html>
但是点击了以后却只能跳转到163,虽然地址栏的一些东西有变
redirect http://www.163.com
width 100
height 50
border 3
*
001.gif
http://www.google.com
谷歌搜索
3
002.gif
http://www.baidu.com
百度搜索
3
003.gif
http://www.163.com
网易
4
ad.asp :
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>利用AdRotator轮显广告</title>
</head>
<body>
利用AdRotator轮显广告:<br>
<%
set ad=server.createObject("mswc.adrotator")
ad.clickable=true
response.write(ad.getadvertisement("myad.txt")&"<br>")
%>
</body>
</html>
但是点击了以后却只能跳转到163,虽然地址栏的一些东西有变