開啟 template/default/common/footer.htm
找到這一段(三種方式任選)
第三行</div>下
- </div>
- <!--{eval updatesession();}-->
- </div>
复制代码 或</body>上
- <!--{eval output();}-->
- </body>
- </html>
复制代码 或放在全局→網站資料→第三方統計
加入以下
- <div style="left:1px;position:absolute;top:1px">
- <style>
- .skin0{border-right:black 1px solid;border-top:black 1px solid;visibility:hidden;border-left:black 1px solid;width:180px;cursor:default;line-height:20px;border-bottom:black 1px solid;font-family:verdana;position:absolute;background-color:menu;text-align:left}
- .skin1{border-right:buttonhighlight 1px outset;border-top:buttonhighlight 1px outset;font-size:10pt;visibility:hidden;border-left:buttonhighlight 1px outset;width:180px;cursor:default;border-bottom:buttonhighlight 1px outset;font-family:arial, helvetica, sans-serif;position:absolute;background-color:menu;text-align:left}
- .menuitems{padding-right:10px;padding-left:15px;padding-top:5px}
- .menuitems2{padding-right:10px;padding-left:15px;padding-top:5px}
- </style>
- <script language=Javascript1.2>
- <!-- Begin
- var menuskin = "skin1"; // skin0, or skin1
- var display_url = 0; // Show URLs in status bar?
- function showmenuie7() {
- var rightedge = document.body.clientWidth-event.clientX;
- var bottomedge = document.body.clientHeight-event.clientY;
- if (rightedge< ie7menu.offsetWidth)
- ie7menu.style.left = document.body.scrollLeft + event.clientX - ie7menu.offsetWidth;
- else
- ie7menu.style.left = document.body.scrollLeft + event.clientX;
- if (bottomedge< ie7menu.offsetHeight)
- ie7menu.style.top = document.body.scrollTop + event.clientY - ie7menu.offsetHeight;
- else
- ie7menu.style.top = document.body.scrollTop + event.clientY;
- ie7menu.style.visibility = "visible";
- return false;
- }
- function hidemenuie7() {
- ie7menu.style.visibility = "hidden";
- }
- function highlightie7() {
- if (event.srcElement.className == "menuitems") {
- event.srcElement.style.backgroundColor = "highlight";
- event.srcElement.style.color = "white";
- if (display_url)
- window.status = event.srcElement.url;
- }
- }
- function lowlightie7() {
- if (event.srcElement.className == "menuitems") {
- event.srcElement.style.backgroundColor = "";
- event.srcElement.style.color = "black";
- window.status = "";
- }
- }
- function jumptoie7() {
- if (event.srcElement.className == "menuitems") {
- if (event.srcElement.getattribute("target") != null)
- window.open(event.srcElement.url, event.srcElement.getattribute("target"));
- else
- window.location = event.srcElement.url;
- }
- }
- // End -->
- </script>
- <div class=skin0 id=ie7menu onmouseover=highlightie7() onclick=jumptoie7(); onmouseout=lowlightie7()>
- <table cellspacing="0" cellpadding="0" width="100%" border="0">
- <tbody><tr><td align=middle width="10%" background="static/image/common/menubg.gif">一間客棧論壇選單</td>
- <td valign=center width="90%"><div class=menuitems2>歡迎您光臨一間客棧</div>
- <hr size="0"><div class=menuitems url="logging.php?action=login">會員登錄</div>
- <div class=menuitems url="home.php?mod=space&do=pm">收信匣</div>
- <hr size="0"><div class=menuitems url="javascript:history.back();">回上一頁</div>
- <div class=menuitems url="javascript:window.scroll(0,0);">回到頂部</div>
- <div class=menuitems url="index.php">回到首頁</div>
- <hr size="0"><div class=menuitems url="plugin.php?id=kez_mplay:kez_mplay">音樂模式</div>
- <hr size="0"><div class=menuitems url="member.php?mod=logging&action=logout&formhash=xxxxxxxx">登出社區</div></td></tr></tbody></table></div>
- <script language=Javascript1.2>
- if (document.all && window.print) {
- ie7menu.className = menuskin;
- document.oncontextmenu = showmenuie7;
- document.body.onclick = hidemenuie7;
- }
- </script>
- </div>
复制代码
menubg.gif 圖片自己弄一個吧!!並不會太難,圖片放到 static/image/common/ 裡。
|