Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[分享] 如何去掉35.CN风格的公告

[复制链接]
davisyanjunjun 发表于 2007-6-28 01:19:51 | 显示全部楼层 |阅读模式
首先非常感谢本风格的制作人把好的风格免费提供给我们使用
演示www.dao8.net
如何去掉35.CN风格的公告在下载的风格包里找到bbs_index.html.php,和index.html.php两个文件在最后可以看到下面的代码
  1. <!-- 公告-->
  2. <DIV id=ad_div style="DISPLAY: none; Z-INDEX: 4000; MARGIN: 0px; WIDTH: 335px; POSITION: absolute">
  3. <DIV><IMG alt=大图 src="{S_URL}/templates/$_SCONFIG[template]/img_35/win.jpg"></DIV>
  4. <DIV id=ad_close style="LEFT: 265px; POSITION: absolute; TOP: 4px"><A
  5. href="http://bbs.vipfoss.com/viewthread.php?tid=131&extra=page%3D1"><IMG alt=关闭 src="{S_URL}/templates/$_SCONFIG[template]/img_35/closebtn.jpg"
  6. border=0></A> </DIV></DIV>
  7. <SCRIPT type=text/javascript>
  8. var timeAd_Div = null;
  9.   
  10. function initAd_Div()
  11. {
  12.      $('ad_div').style.display = '';
  13.    
  14.     scrollAd_Div();
  15.    
  16.     Event.observe($('ad_close'),"click",closeAd_Div);
  17.     Event.observe(window, "scroll", scrollAd_Div);

  18.     timeAd_Div = setTimeout(closeAd_Div,10000);
  19. }

  20. function scrollAd_Div()
  21. {
  22.     var bdy = (document.documentElement && document.documentElement.clientWidth)?document.documentElement:document.body;
  23.    
  24.     $('ad_div').style.left = (bdy.scrollLeft+320)+'px'    ;
  25.     $('ad_div').style.top  = (bdy.scrollTop+60)+'px';
  26. }

  27. function closeAd_Div()
  28. {
  29.     if(timeAd_Div != null)clearTimeout(timeAd_Div);
  30.    
  31.     $('ad_div').style.display = 'none';
  32. }

  33. initAd_Div();
  34. </SCRIPT>
  35. <!-- 公告结束--></BODY></HTML>
复制代码

大家只要把这个代码去掉就可以了!

评分

1

查看全部评分

 楼主| davisyanjunjun 发表于 2007-6-28 01:21:34 | 显示全部楼层

去掉内部广告

  1. <script type="text/javascript"><!--
  2. google_ad_client = "pub-0389308167159122";
  3. google_ad_width = 250;
  4. google_ad_height = 250;
  5. google_ad_format = "250x250_as";
  6. google_ad_type = "text_image";
  7. //2007-06-18: [url]www.vipfoss.com[/url], [url]http://www.guangfasoft.com[/url]
  8. google_ad_channel = "2967614426+6346380260";
  9. //-->
  10. </script>
  11. <script type="text/javascript"
  12.   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
  13. </script>
复制代码

去掉这个就可以了
回复

使用道具 举报

逍遥候 发表于 2007-6-28 06:13:13 | 显示全部楼层
热情分享是值得鼓励和大家的赞扬的。
回复

使用道具 举报

lihu508 发表于 2007-6-28 08:44:08 | 显示全部楼层
感谢,那个贴有35。cn风格下?
回复

使用道具 举报

错吻天使 发表于 2007-6-28 08:48:04 | 显示全部楼层
不错……
分享才素王道……
回复

使用道具 举报

rena1213 发表于 2007-6-28 12:35:20 | 显示全部楼层

谢谢

谢谢楼主,还有个问题,你知道勇哥做的35.com风格首页和咨迅图片幻灯片怎么样才可以显示呢???现在很多人都出现这样的问题...
回复

使用道具 举报

rena1213 发表于 2007-6-28 16:11:10 | 显示全部楼层

...

公告按照方法去掉了 还是 会跳出来 不晓得为什么
回复

使用道具 举报

 楼主| davisyanjunjun 发表于 2007-7-8 11:15:34 | 显示全部楼层

更新缓存

改好后要更新缓存下
回复

使用道具 举报

心灵刺客 发表于 2007-7-9 18:56:03 | 显示全部楼层
感谢!           :)
回复

使用道具 举报

逍遥候 发表于 2007-7-9 19:32:03 | 显示全部楼层
呵呵。热心的朋友真多啊。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-9-28 08:24 , Processed in 0.190896 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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