广告联盟网

 找回密码
 注册
查看: 440|回复: 6
打印 上一主题 下一主题

请问如何让广告单元随机显示

[复制链接]
跳转到指定楼层
1#
发表于 2007-6-16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我的日志页面内的广告单元点击率很低,又不想撤掉,请问如何让它随机显示呢?<br />需要加什么代码阿?
2#
发表于 2007-6-16 | 只看该作者
没看懂说什么意思!
3#
 楼主| 发表于 2007-6-16 | 只看该作者
<br><br><div class="msgbody"><div class="msgheader">QUOTE:</div><div class="msgborder">原帖由 <i>maximus</i> 于 2007-6-16 13:04 发表 <a href="http://club.adsenser.org/redirect.php?goto=findpost&amp;pid=247281&amp;ptid=34254" target="_blank"><img src="http://club.adsenser.org/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://club.adsenser.org/images/common/back.gif');}" onmousewheel="return imgzoom(this);" alt="" /></a><br />我的日志页面内的广告单元点击率很低,又不想撤掉,请问如何让它随机显示呢?<br />需要加什么代码阿? </div></div><br>我是说,那个页面广告效果不好,但是又不想撤掉,想让它偶尔出现,偶然不出现,按一定规则随机的显示。
4#
发表于 2007-6-16 | 只看该作者
如果是动态页面,比如asp,php,那就加一段服务器端代码就可以了。
5#
 楼主| 发表于 2007-6-16 | 只看该作者
<br><br><div class="msgbody"><div class="msgheader">QUOTE:</div><div class="msgborder">原帖由 <i>davidyin</i> 于 2007-6-16 17:18 发表 <a href="http://club.adsenser.org/redirect.php?goto=findpost&amp;pid=247448&amp;ptid=34254" target="_blank"><img src="http://club.adsenser.org/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://club.adsenser.org/images/common/back.gif');}" onmousewheel="return imgzoom(this);" alt="" /></a><br />如果是动态页面,比如asp,php,那就加一段服务器端代码就可以了。 </div></div><br>多谢!<br />我的是博客,还是免费的,我是修改了它的模板加的google adsense。<br />但是刚刚没有搜索到如何变成随机显示的广告单元。
6#
发表于 2007-6-16 | 只看该作者
免费博客制定性不好
7#
发表于 2007-6-16 | 只看该作者
弄个随机函数,条件1展示广告1,条件2展示广告2.......
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|广告联盟网  

GMT, 2024-10-2 , Processed in 0.069256 second(s), 19 queries .

Powered by Discuz! X3.2

© 2005-2021 www.ggads.com GGADS 广告联盟网

快速回复 返回顶部 返回列表