首先非常感谢本风格的制作人把好的风格免费提供给我们使用
演示www.dao8.net
如何去掉35.CN风格的公告在下载的风格包里找到bbs_index.html.php,和index.html.php两个文件在最后可以看到下面的代码
- <!-- 公告-->
- <DIV id=ad_div style="DISPLAY: none; Z-INDEX: 4000; MARGIN: 0px; WIDTH: 335px; POSITION: absolute">
- <DIV><IMG alt=大图 src="{S_URL}/templates/$_SCONFIG[template]/img_35/win.jpg"></DIV>
- <DIV id=ad_close style="LEFT: 265px; POSITION: absolute; TOP: 4px"><A
- href="http://bbs.vipfoss.com/viewthread.php?tid=131&extra=page%3D1"><IMG alt=关闭 src="{S_URL}/templates/$_SCONFIG[template]/img_35/closebtn.jpg"
- border=0></A> </DIV></DIV>
- <SCRIPT type=text/javascript>
- var timeAd_Div = null;
-
- function initAd_Div()
- {
- $('ad_div').style.display = '';
-
- scrollAd_Div();
-
- Event.observe($('ad_close'),"click",closeAd_Div);
- Event.observe(window, "scroll", scrollAd_Div);
-
- timeAd_Div = setTimeout(closeAd_Div,10000);
- }
- function scrollAd_Div()
- {
- var bdy = (document.documentElement && document.documentElement.clientWidth)?document.documentElement:document.body;
-
- $('ad_div').style.left = (bdy.scrollLeft+320)+'px' ;
- $('ad_div').style.top = (bdy.scrollTop+60)+'px';
- }
- function closeAd_Div()
- {
- if(timeAd_Div != null)clearTimeout(timeAd_Div);
-
- $('ad_div').style.display = 'none';
- }
-
- initAd_Div();
- </SCRIPT>
- <!-- 公告结束--></BODY></HTML>
复制代码
大家只要把这个代码去掉就可以了! |