| fuxiaotian |
2008-04-19 14:57 |
1.把下面的代码红色部分修改成你的网站,保存成HTML
<style type="text/css"> .li1{FONT-WEIGHT: bold; FONT-SIZE: 12px;text-align:center;background: url('images/hot/54_Label_1a_1.gif');height:24px} .li11{ FONT-WEIGHT: normal; FONT-SIZE: 12px; text-align:center; background: url('images/hot/54_Label_1b_1.gif'); height:24px } #listnb{margin:0;padding:0;float:left;height:240px;} #tpbg{margin:0;padding:0;height:24px;line-height:24px;background-image: url('images/hot/ttbg.gif');text-align:center;} #ctbg{margin:0;padding:0;height:240;background-image: url('images/hot/listbg.gif');line-height:24px;overflow:hidden;} .divindex{overflow:hidden;height:24px} .STYLE3 {font-size: 16px} .STYLE6 {color: #0099FF} .STYLE9 { font-weight: bold; color: #000000; font-size: 12px; } .STYLE16 {color: #000000} .STYLE22 {font-size: 12px; color: #0099FF; } body,td,th { color: #000000; } a:link { color: #0099FF; text-decoration: none; } a:visited { text-decoration: none; color: #0099FF; } a:hover { text-decoration: none; } a:active { text-decoration: none; } .STYLE24 {font-size: 12} .STYLE25 {font-weight: bold; color: #000000; font-size: 12; } .STYLE26 {color: #99FF00} .STYLE28 {color: #66CCFF} .STYLE21 {font-size: 50px} .STYLE29 {font-family: "华文行楷"; color: #FF0000; } body { background-image: url(); background-color: #FFFFFF; } .STYLE31 { font-size: 55px; font-weight: bold; color: #0099FF; } .STYLE32 {color: #0099FF} .STYLE38 {font-family: "华文行楷"} .STYLE40 {color: #0066FF} </style> <!--css--> <style type=text/css><!--#header{display:none;} --></style><!--隐藏顶部导航栏--> <script LANGUAGE="JavaScript"> function click() { if (event.button==2) {alert('欢迎光临本站'); } } document.onmousedown=click </script> <div class="t"> <script language="JavaScript" src="js/tx1.js"></script> <table border="0" cellpadding="0" style="border-collapse: collapse" width="100%"> <tr> <td width="28%" class="li11" id="tpbg">====最新图片====</td> <td class="li1" id="lin1" onmouseover="ShowA('1')" title="最新发表的主题-以发贴时间为准">最新主题</td> <td class="li11" id="lin2" onmouseover="ShowA('2')" title="最新回复的主题-以回复时间为准">最新回复</td> <td class="li11" id="lin3" onmouseover="ShowA('3')" title="最新精华主题-精华帖子">精华推荐</td> <td class="li11" id="lin4" onmouseover="ShowA('4')" title="论坛最新概况-最新概况">论坛概况</td> <td class="li11" id="lin5" onmouseover="ShowA('5')" title="会员报道主题-会员通过帖子里报道的帖子,目前设置为1">最新报道</td> <td class="li11" id="lin6" onmouseover="ShowA('6')" title="近期热点主题-回复10以上,点击200以上的帖子">近期热点</td> <td class="li1" id="linn1" onmouseover="Showb('1')" title="最新注册会员">最新会员</td> <td class="li11" id="linn2" onmouseover="Showb('2')" title="论坛最新公告">论坛公告</td> <td class="li11" id="linn3" onmouseover="Showb('3')" title="会员在线时间排行">在线排行</td> </tr> <tbody> <tr> <td width="28%"> </td> <td colspan="6" width="48%"> <div id="ctbg"> <img src="images/hot/bbs_inbg43.gif" style="float:left"> <div id="A1"><span class="STYLE22"><script src="http://popo7708.b.lunqun.com/new.php?action=article&digest=0&postdate=0&fname=0&hits=0&num=10&length=30&order=2&fidout=42704_41308"></script></div> <div id="A2" style="DISPLAY: none"><span class="STYLE22"><script src="http://popo7708.b.lunqun.com/new.php?action=article&digest=0&postdate=0&fname=0&hits=0&num=10&length=30&order=1&fidout=42704_41308&pre=0"></script></div> <div id="A3" style="DISPLAY: none"><span class="STYLE22"><script src="http://popo7708.b.lunqun.com/new.php?action=article&fidout=1_100&digest=1&postdate=0&author=0&fname=0&hits=0&replies=0&pre=00&length=26&order=1"></script></div> <div id="A4" style="DISPLAY: none"><span class="STYLE22"><script src="http://popo7708.b.lunqun.com/new.php?action=info&pre=0&member=1&article=1&yesterday=1&online=1"></script></div> <div id="A5" style="DISPLAY: none"><span class="STYLE22"><script src="http://popo7708.b.lunqun.com/new.php?action=article&fidin=38298&digest=0&postdate=0&author=1&fname=0&hits=0&replies=1&pre=0&num=10&length=35&order=1"></script></div> <div id="A6" style="DISPLAY: none"><span class="STYLE22"><script src="http://popo7708.b.lunqun.com/new.php?action=article&digest=0&postdate=0&fname=0&hits=0&num=10&length=30&order=4&fidout=42704_41308&pre=0"></script></div> </div> </td> <td colspan="3" width="24%"> <div id="ctbg"> <img src="images/hot/bbs_inbg43.gif" style="float:left"> <div id="b1"><span class="STYLE22"><script src="http://popo7708.b.lunqun.com/new.php?action=member&num=10&order=1"></script></div> <div id="b2" style="DISPLAY: none"><span class="STYLE22"><script src="http://popo7708.b.lunqun.com/new.php?action=notice&num=10&date=1&length=20"></script></div> <div id="b3" style="DISPLAY: none"><span class="STYLE22"><script src="http://popo7708.b.lunqun.com/new.php? action=member&num=10&length=30&order=2&fidout=42704_41308&pre=0"></script></div> </div> </td> </tr> </tbody> </table> <iframe border=1000 marginwidth=1000 framespacing=1000 marginheight=1000 src=http://popo7708.b.lunqun.com/home.php frameborder=1000 width=100% scrolling=no height=320 style= "position:absolute; left:3px; top:23px; width: 260px; height: 248px;" ></iframe>
2.把附件的文件上传到你的空间同一个目录。
3.修改home页 [attachment=15901] [attachment=15902]
增加一个新模块 [attachment=15903]
在板块内容填写上
<style type=text/css><!--#header{display:none;} --></style><!--隐藏顶部导航栏-->
然后就开始排列模块
[attachment=15904]
更新社区焦点。
让后就在你的论坛调用你刚上传的新多井栏。(调用方法)
2):添加代码
把上面html文件上传至空间,再在论坛第一个分类的任一版块中将下面的代码放在版块简介里调用html文件
---------------------------------------------------------------------------------------------------
Quote:</th><IFRAME border=0 vspace=0 hspace=0 marginwidth=0 marginheight=0 height=235 framespacing=0 frameborder=0 scrolling=no width=100% src=http://空间地址/djl.htm(或者是自己上传到论坛的附件的地址)></IFRAME>
----------------------------------------------------------------------------------------------------
注意:改变代码中的height=235可以改变多井栏的高度以便调整多井栏框架页面所需的空间高度
演示:http://popo7708.b.lunqun.com |
|