在网站上加了那个广告,就是那段js代码;有时候在打开网站时,那个广告调不出来,而且打开网页的速度爆慢。
本站的Google AD 是这样解决,在此做个记录:
在需要插入广告的页面(blogview.asp)添加代码: (若显示在页面的左右和背景颜色要修改相对的代码)
新建一个googlead.js文件 (height=90 width=772 可以根据实际大小更换)
document.write("<iframe marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no height=90 width=728 src=googlead.html></iframe>");
新建一个googlead.html文件 (Google广告代码)
</style><script type="text/j avascript"><!--
google_ad_client = "pub-0392043489315354";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
google_color_border = "eeeed6";
google_color_bg = "eeeed6";
google_color_link = "990000";
google_color_url = "666666";
google_color_text = "333333";
//--></script>
<script type="text/j avascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
本站的Google AD 是这样解决,在此做个记录:
在需要插入广告的页面(blogview.asp)添加代码: (若显示在页面的左右和背景颜色要修改相对的代码)
<table width="772" height="90" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#eeeed6">
<script language="JavaScript" src="googlead.js"></script>
</td>
</tr>
</table>
<tr>
<td bgcolor="#eeeed6">
<script language="JavaScript" src="googlead.js"></script>
</td>
</tr>
</table>
新建一个googlead.js文件 (height=90 width=772 可以根据实际大小更换)
document.write("<iframe marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no height=90 width=728 src=googlead.html></iframe>");
新建一个googlead.html文件 (Google广告代码)
</style><script type="text/j avascript"><!--
google_ad_client = "pub-0392043489315354";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
google_color_border = "eeeed6";
google_color_bg = "eeeed6";
google_color_link = "990000";
google_color_url = "666666";
google_color_text = "333333";
//--></script>
<script type="text/j avascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
完整VI项目设计书
与老板的相处之道

09/13/2005 06:19 | by 