nonstorm 发表于 2005 年 7 月 14 日 13:31:58

GG 点击率每天不到0。1%,有什么办法没?

RT

xavierduan 发表于 2005 年 7 月 14 日 14:30:56

调整广告的形状或者网页内容的布局

loveur 发表于 2005 年 7 月 14 日 15:09:51

推荐你一段代码, 经邮件寻问GG,代码合法
<div id="img" style="position:absolute;; width: 145; height: 70">
<script type="text/javascript"><!--
google_ad_client = "pub-6304729238214934";
google_ad_width = 180;
google_ad_height = 150;
google_ad_format = "180x150_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "33CCFF";
google_color_bg = "FFFFFF";
google_color_link = "999999";
google_color_url = "FFFFFF";
google_color_text = "FFFFFF";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

</div>
<script LANGUAGE="JavaScript">
var xPos = 20;
var yPos = 10;
img.style.left= xPos;
img.style.top = yPos;
var step = 1;
var delay = 30;
var width,height,Hoffset,Woffset;
var y = 1;
var x = 1;
var interval;
img.visibility = "visible";

function changePos()
{
width = document.body.clientWidth;
height = document.body.clientHeight;
Hoffset = img.offsetHeight;
Woffset = img.offsetWidth;
if (y)
{
 yPos = yPos + step;
}
else
{
 yPos = yPos - step;
}
if (yPos < 0)
{
 y = 1;
 yPos = 0;
}
if (yPos >= (height - Hoffset))
{
 y = 0;
 yPos = (height - Hoffset);
}
if (x)
{
 xPos = xPos + step;
}
else
{
 xPos = xPos - step;
}
if (xPos < 0)
{
 x = 1;
 xPos = 0;
}
if (xPos >= (width - Woffset))
{
 x = 0;
 xPos = (width - Woffset);
}
img.style.left = xPos + document.body.scrollLeft;
img.style.top = yPos + document.body.scrollTop;
}

function start()
{
interval = setInterval('changePos()', delay);
}

function pause_resume()
{
 clearInterval(interval);
}
start();
</script>
只要更换为自己的DD代码, 插入网页中便可

nonstorm 发表于 2005 年 7 月 14 日 17:12:07

下面是引用xavierduan于2005-07-14 14:30发表的:
调整广告的形状或者网页内容的布局
因为我是放在论坛里的,所以没有办法了,只能那样了,还有什么办法没?

nonstorm 发表于 2005 年 7 月 14 日 17:12:46

下面是引用loveur于2005-07-14 15:09发表的:
推荐你一段代码, 经邮件寻问GG,代码合法
<div id="img" style="position:absolute;; width: 145; height: 70">
<script type="text/javascript"><!--
google_ad_client = "pub-6304729238214934";
google_ad_width = 180;
.......
这个代码什么意思呢?

loveur 发表于 2005 年 7 月 14 日 17:16:05

定义一个层,广告放在那里面,那个层可以飘浮在页面上

nonstorm 发表于 2005 年 7 月 14 日 22:05:17

漂浮在页面上?是让广告在页面上随机漂动吗?这样可能不行,我不喜欢广告破坏网站的整体

kingbird 发表于 2005 年 7 月 30 日 11:06:35

那位高手,给个演示吧

gzzghh 发表于 2005 年 7 月 30 日 11:10:36

在论坛搞点广告奖什么什么的活动嘛~

lt666 发表于 2005 年 8 月 1 日 05:34:34

这个代码差不多
页: [1] 2
查看完整版本: GG 点击率每天不到0。1%,有什么办法没?