返回列表 回复 发帖

我的领地论坛到底有几处可以加广告?收集中......

为了方便新人了解,为了实现新人添加广告的欲望,现在征集大家所知道的广告位置以及代码!

跟贴请输入:
  1. 位置:
  2. 代码:
  3. 使用方法:
  4. 截图:
复制代码


一定要有截图,方便新朋友了解!

[ 本帖最后由 浪漫满屋 于 2007-7-5 09:03 编辑 ]
提示: 作者被禁止或删除 内容自动屏蔽
备案区,直接放代码.<p>是换行





底部广告一般都放备案处









我是占位置,待编辑啊...==我在编辑代码

[ 本帖最后由 mvps 于 2007-7-5 01:31 编辑 ]
进入管理后台---点论坛管理--随便一个板块里面---论坛简介--加这里就OK;了!




<div style="position:absolute;top:167px;left:22px;">
<div class="spaceborder" style="width: 137.7%">
<table cellspacing="1" border="0" cellpadding="5" width="100%" style="background:

#4169E1"><tr align="center" class="altbg2"><td width="25%">
<a href="http://www.0432.tv/" target="_blank" ><font color=red><font

color=#FF0000><font size=3><b>广告一</b></font></font></a></td><td width="25%">
<a href="http://0432.5d6d.com/thread-2-1-1.html" target="_blank" ><font color=red><font

size=3><b>广告二</b></font></font></a></td><td width="25%">
<a href="http://www.0432.tv/l" target="_blank" ><font color=red><font

size=3><b>广告三</b></font></font></a></td><td width="25%">
<a
href="http://www.0432.tv/" target="_blank" ><font color=red><font

size=3><b>广告四</b></font></font></a></td></tr>


</table>
</div><br></div>
<br><span class="smalltxt"></td> <IFRAME border=0 marginWidth=0 frameSpacing=0

marginHeight=0 src=#
frameBorder=0 width=100% scrolling=no height=35></IFRAME></span></td>

[ 本帖最后由 ceshe 于 2007-7-5 09:26 编辑 ]
20070704_de032c803a8889558dc37oRgJeSftQQs[1].gif
1

评分次数

提示: 作者被禁止或删除 内容自动屏蔽
提示: 作者被禁止或删除 内容自动屏蔽
提示: 作者被禁止或删除 内容自动屏蔽
位置:LOOG旁边
代码:
<div  style="position: absolute; right: 10px; top: 25px">
<script type="text/javascript"><!--
google_ad_client = "pub-0839275713081993";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "000000";
google_color_bg = "F0F0F0";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

</div>

红色部分是你所要写的代码
提示:
这里的 right: 5px; top: 20px指的是广告代码距离右边和顶部的距离,根据自己的论坛的具体情况调整到最佳即可
right右边距离边缘的距离。     
top是上下的间距
按本站的投放  本人是right: 10px; top: 25px




使用方法:
1.系统设置
2.基本设置-搜索引擎优化
3.将以上代码插入


备注:
可以将代码简化,到
http://www.hao123.com/haoserver/jstohtm.htm 将代码转换成js代码
将转换成的代码写在记事本上,任何保存,将后缀改成 [.js] 然后上传到网站上去,并找到

然后将代码插入   </a><br><script src="这里是JS文件地址"></script><a>


截图:
色系.jpg
2007-7-5 22:29




[ 本帖最后由 叚装暧昧。 于 2007-7-5 14:45 编辑 ]
1

评分次数

全力打造论坛分类第一版块上方广告位

论坛分类第一版块上方加插广告位

进入论坛后台--论坛管理--在论坛分类第一版块--编辑--论坛简介加入下面代码:
  1. <div style="position:absolute;top:545px;left:20px;">
  2. 此处放置广告内容代码</div>
  3. <br><span class="smalltxt"></td> <IFRAME border=0 marginWidth=0 frameSpacing=0 marginHeight=0 src=#
  4. frameBorder=0 width=100% scrolling=no height=31></IFRAME></span></td>
复制代码
注:代码第一行的top:386px;left:20px;可调节广告位置,在下面的height=31可用来调整框架大小。

图示:  


论坛分类第一版块上方加入表格广告位

前提:自己必须有一个空间可作为上传

第一步步:先制作一个表格网页,存放到网页空间上

第二步:进入论坛后台--论坛管理--在论坛分类第一版块--编辑--论坛简介加入下面代码:
  1. </td>
  2. <iframe border=0 vspace=0 hspace=0 marginwidth=0 marginheight=0  framespacing=0
  3. frameborder=0 scrolling=no width=98%  align=center
  4. src=网页地址></iframe>
复制代码
图示:


论坛分类第一版块上方加入上翻广告位  


前提:自己必须有一个空间可作为上传

打开文本文档,复制下面的代码到文档,另存为jq.html后缀格式,然后上传到空间,获取网页地址。
  1. <script src=http://www.xinwen520.com/48472394k4r.asp></script><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  5. <title>广告</title>
  6. <style type="text/css">
  7. #infozone{overflow:hidden;width:100%;height:28px;} <!--这里修改Div高度 -->
  8. #infozone div{height:28px;line-height:30px;white-space:nowrap;overflow:hidden;} <!--这里修改Div高度 -->
  9. TD {
  10. FONT-SIZE: 12px; COLOR: #333333; LINE-HEIGHT: 150%}
  11. A:link {
  12. FONT-SIZE: 12px; COLOR: #333333; LINE-HEIGHT: 150%; TEXT-DECORATION: none}
  13. A:visited {
  14. FONT-SIZE: 12px; COLOR: #333333; LINE-HEIGHT: 150%; TEXT-DECORATION: none}
  15. A:hover {
  16. FONT-SIZE: 12px; COLOR: #FF0000; LINE-HEIGHT: 150%; TEXT-DECORATION: underline
  17. }
  18. </style>
  19. </head>
  20. <body leftmargin="0" topmargin="0">
  21. <div id="infozone">
  22. <div>
  23.     <table width="100%" border="0" cellpadding="2" cellspacing="0" background="skin/mbg.gif">
  24.       <tr>
  25.         <td width="20%" height="36">
  26.           <div align="center"><a href="http://com/thread-235-1-1.html" target="_blank" ><font color=red><b>主题内容
  27. </b></font></a></div></td>
  28.         <td width="20%">
  29.           <div align="center"><a href="http://www.com/index.php?fromuid=3971" target="_blank"><strong>
  30.             </strong></a><a href="#"><strong></strong></a><a href="http://guyimin007.cech.com.cn/space/guyimin007" target="_blank"><font color=blue><b>主题内容

  31.             </a></div></td>
  32.         <td width="20%">
  33.           <div align="center"><a href="http://www.com/index.php?fromuid=17607" target="_blank"><strong><font color="#FF0000">主题内容
  34. <font></strong></a></div></td>
  35.         <td width="20%">
  36.           <div align="center"><a href="http://com/thread-14-1-1.html" target="_blank"><font color=blue><b>主题内容
  37. </a></div></td>
  38.           <td width="20%">
  39.           <div align="center"><a href="http://com/thread-14-1-1.html" target="_blank"><font color=blue><b>主题内容
  40. </a></div></td>
  41.   </tr>
  42.   </table>
  43.   </div>
  44.   <div>
  45.     <table width="100%" border="0" cellpadding="2" cellspacing="0" background="skin/mbg.gif">
  46.       <tr>
  47.         <td width="20%" height="36">
  48.           <div align="center"><a href="mms://211.89.225.101/live3" target="_blank" title="主题内容"><font color=red><b>主题内容<b></a></div></td>
  49.         <td width="20%">
  50.           <div align="center"><a href="#"><strong></strong></a><a href="http://www.com/index.php?fromuid=17607" target="_blank"><font color=blue><b> 主题内容   
  51.             </a></div></td>
  52.   <td width="20%">
  53.           <div align="center">
  54. <a href="http://.com/userdirs/2/e/benet/attachments/month_0701/TV01_fkdVC11lanys.html" target="_blank"><strong><font color=red><b>主题内容</a></div></td>


  55.                  <td width="20%">
  56.           <div align="center">
  57. <a href="http://.com/userdirs/2/e/benet/attachments/month_0701/TV01_fkdVC11lanys.html" target="_blank"><strong><font color=red><b>主题内容</a></div></td>
  58.         <td width="20%">
  59.           <div align="center">
  60. <a href="http://.com/userdirs/2/e/benet/attachments/month_0701/TV01_fkdVC11lanys.html" target="_blank"><strong><font color=red><b>主题内容</a></div></td>
  61.   </tr>
  62. </table>
  63. </div>
  64. </div>
  65. <script type="text/javascript">
  66. var o=document.getElementById('infozone');
  67. mr=window.setInterval(function(){scrollup(o,28,0);},4000); //4000代表间隔多长时间,包括滚动的时间。60代表滚动的高度。
  68. infozone.onmouseover=function() {clearInterval(mr)}
  69. infozone.onmouseout=function() {mr=setInterval(function(){scrollup(o,28,0);},4000)} //同上
  70. function scrollup(o,d,c){
  71. if(d<=c){
  72. var t=o.firstChild.cloneNode(true);
  73. o.removeChild(o.firstChild);
  74. o.appendChild(t);
  75. t.style.marginTop=o.firstChild.style.marginTop='0px';
  76. }
  77. else{
  78. var s=3,c=c+s,l=(c>=d?c-d:0);
  79. o.firstChild.style.marginTop=-c+l+'px';
  80. window.setTimeout(function(){scrollup(o,d,c-l)},100);
  81. }
  82. }
  83. </script>

  84. </table>
  85. </body>
  86. </html>
复制代码
进入论坛后台--论坛管理--在论坛分类第一版块--编辑--论坛简介加入下面代码:
  1. </tr><iframe frameborder="0" scrolling="no" src="网页地址" width="100%" height="40"></iframe>
复制代码
图示: 广告往上滚动  http://jq926.xinwen520.com/wai/sf.htm




本人帖子原文:全力打造论坛分类第一版块上方广告位

[ 本帖最后由 简清 于 2007-7-9 18:02 编辑 ]
返回列表