|
|
操作方法:
1,下载安装包。QQ。RAR直接解压到论坛的根目录下,比如我的论坛装在BBS目录下,解压后即BBS/QQ
2,到bbs/template/wind/下找到index.htm
在最后加入以下代码:
-
- <!-- 左隐藏菜单开始 -->
- <SCRIPT language=JavaScript1.2>
- function move(x, y) {
- if (document.all) {
- object1.style.pixelLeft += x;
- object1.style.pixelTop += y;}
- else
- if (document.layers) {
- document.object1.left += x;
- document.object1.top += y;
- }};
- function position() {
- document.object1.left += -200;
- document.object1.top += 0;
- document.object1.visibility = "show"
- };
- function makeStatic() {
- if (document.all) {object1.style.pixelTop=document.body.scrollTop+140}
- else {eval('document.object1.top=eval(window.pageYOffset+20)');}
- setTimeout("makeStatic()",0);}
- </SCRIPT>
- <!-- 左隐藏菜单结束 -->
- <!-- 左隐藏菜单BIG -->
- <LAYER class=NS onmouseout="move(-580, 0)" onmouseover="move(580,0)" left="0" name="object1" top="20" visibility="hide">
- <SCRIPT language=JavaScript1.2>
- if (document.all)
- document.write('<DIV ID="object1" style="Position : Absolute ;Left : -195px ;Top : 20px ;Width : 0px ;Z-Index : 20">')
- </SCRIPT>
- <TABLE width="195" border=0 cellPadding=2 cellSpacing=1 onmouseover=move(195,0) onmouseout="move(-195, 0)">
- <TBODY>
- <TR>
- <TD width="180" valign="top">
- <!--DWLayoutTable-->
- <table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td height="268" align="left" valign="top" >
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="left" valign="top"><script language="javascript" type="text/javascript" src="qq/qq.asp"></script>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </TD>
- <TD align=middle valign="top">
- <table width="25" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td height="124"><img src="qq/images/kefu.gif" width="20" height="109"> </td>
- </tr>
- </table>
- </TD>
- </TR>
- </table>
- <SCRIPT language=JavaScript1.2>
- <!--
- if (document.all||document.layers)
- makeStatic();
- if (document.layers) {
- window.onload=position;
- }
- var sitems=new Array();
- var sitemlinks=new Array();
- function hl(n) {
- n.className='hl'}
- function n(h) {
- h.className='n'}
- //--></SCRIPT>
- <SCRIPT language=JavaScript1.2>
- if (document.all)
- document.write('<\/DIV>')
- </SCRIPT>
- </LAYER>
-
- <!-- 左隐藏菜单END -->
复制代码 |
|