如何在网站中插播广告?

如何在网站中插播广告?

首先,我们要写一个adrot.txt以调用:

adrot.txtxml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /??

redirect

width 550

height 60

border 0

*

images/chunfengad.gif

http://www.shenzhaoyang.com

欢迎访问闪亮日子之精彩春风!

50

显示百分比

images/intelsad.gif

http://www.intels.net

欢迎访问随风起舞!

50

 

然后,在要显示广告条的页面里添加下列源代码,调用adrot.txt:

<%Set MyAd=Server.CreateObject(“MSWC.AdRotator”)%>

<%=MyAd.GetAdverTisement(“adrot.txt”) %>

 

[1]

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
扎眼的阳光的头像扎眼的阳光普通用户
上一篇 2023年12月29日
下一篇 2023年12月29日

相关推荐