[box=orange]不允許轉貼.....請尊重版權![/box]
插件名稱:小JM小作品 - 對聯廣告...
適用版本:2.5/SP!
最後更新日期:18/11/05
作 者:jimmyjimmyqqq
修 改:/
程式指導:jimmyjimmqqq
數據升級:/
修改文件:/
修改模板:footer.htm
新增文件:leftad.js,rightad,js
新增模板:/
安裝難度:★☆☆☆☆
演 示:
http://www.hehazone.net/bbs/test.htm
+++++++++++++++++++++++++++++++++++
開始安裝
+++++++++++++++++++++++++++++++++++
打;開footer.htm
加在</body>前:
- <!--左對聯-->
- <div id="Layer1" style="position:absolute; left:0px; top:103px; width:50px; height:50px; z-index:1;">
- <table border="0" cellpadding="0" id="table11" cellpadding="0" style="border: 1 solid #aab6ba">
- <tr>
- <td align="left"><a href="javascript:MM_showHideLayers('Layer1','','hide','Layer2','','hide')">關閉</a></td>
- </tr>
- <tr>
- <td><script language="javascript" src="include/leftad.js"></script>
- </td>
- </tr>
- </table>
- </div>
- <!--右對聯-->
- <div id="Layer2" style="position:absolute; top:103px; width:78px; height:50px; z-index:2; left: 885;">
- <div align="right">
- <table border="0" cellpadding="0" cellpadding="0" id="table12" style="border: 1 solid #aab6ba">
- <tr>
- <td align="right"><a href="javascript:MM_showHideLayers('Layer1','','hide','Layer2','','hide')">關閉</a></td>
- </tr>
- <tr>
- <td><script language="javascript" src="include/rightad .js"></script>
- </td>
- </tr>
- </table>
- </div>
- </div>
- <SCRIPT language=JavaScript>
- <!--
- //如果解析度小於1024,不顯示對聯
- var layer2left;
- layer2left = window.screen.width-122;
- Layer2.style.left = layer2left;
- if (window.screen.width < 1024 )
- MM_showHideLayers('Layer1','','hide','Layer2','','hide');
- var PIAOPIAO_AD_LEFT="";
- var PIAOPIAO_AD_RIGHT="";
- function MM_showHideLayers(aa,bb,cc,dd,ee){
- document.getElementById("Layer1").style.display = "none";
- document.getElementById("Layer2").style.display = "none";
- }
- -->
- </script>
复制代码
自行更改JS碼吧.....
把附件的JS傳到include |