1 頁 (共 1 頁)

[問題] 有人可以提供"網頁左邊選單 mod"嗎?

發表於 : 2005-10-10 06:40
stric
我爬文爬了很久
找到這篇
http://phpbb-tw.net/phpbb/viewtopic.php?t=12926

但是連結已經失效
我想要裝這個java的選單\r
有人可以提供一下嗎??
若有人也有網頁左邊選單 for fiapple 的圖案的話\r
希望也能提供一下
謝謝

發表於 : 2005-10-10 07:00
kljian

發表於 : 2005-10-10 07:28
stric
kljian 寫:http://phpbb-tw.net/phpbb/viewtopic.php ... t=easysite

你要的應該是這個吧!
不是 我想要的是java的效果
觸碰式選單

發表於 : 2005-10-10 07:50
kljian
圖檔
圖檔
圖檔

代碼: 選擇全部

################################################################# 
## Mod Title: Menu MOD 
## Mod Version: 1.0.0 
## Author: Mowd 
## Description: 
## 
## Installation Level: Easy 
## Installation Time: 2 
## Files To Edit: overall_footer.tpl 
## Included Files: menu.gif , menub.gif , top.gif 

################################################################# 
## Security Disclaimer: This MOD Cannot Be Posted To Or Added At Any Non-Official phpBB Sites 
################################################################# 
## 
## Author Note: 
## Upload your default avatar pic into /template/subSilver/images/menu/ !!!!!!!!! 
## 
################################################################# 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
################################################################# 
# 
#-----[ COPY ]------------------------------------------ 
# 

templates/subSilver/images/menu/menu.gif 
templates/subSilver/images/menu/menub.gif 
templates/subSilver/images/menu/top.gif 

# 
#-----[ OPEN ]------------------------------------------ 
# 

overall_footer.tpl 

# 
#-----[ FIND ]------------------------------------------ 
# 

/body 
/html 

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
# 

style type="text/css" 
!-- 

#master      {position:absolute; width: 200px; top: 10px; left: -120px; z-index:2; visibility:visible;} 
#menu         {position:absolute; width: 18px; top: 20px; left: 120px; z-index:5; visibility:visible;} 
#top         {position:absolute; width: 120px; top: 20px; left: 0px; z-index:5; visibility:visible;} 
#screen      {position:absolute; width: 120px; top: 26px; left: 0px; z-index:5; visibility:visible;} 
#screenlinks   {position:absolute; width: 120px; top: 26px; left: 0px; z-index:5; visibility:visible;} 

-- 
/style 
style type="text/css" 
!-- 

.NavJump {font-family: arial; font-size: 10pt; color: #808080; text-decoration: none;} 
a:link.NavJump {color : #808080;} 
a:visited.NavJump {color : #808080;} 
a:active.NavJump {text-decoration: none; color: #c0c0c0;} 
a:hover.NavJump {text-decoration: none; color: #c0c0c0;} 

-- 
/style 
script language = "javascript" 
!-- 

var ie = document.all ? 1 : 0 
var ns = document.layers ? 1 : 0 

if(ie){ 
document.write('style type="text/css"') 
document.write("#screen   {filter:Alpha(Opacity=30);}") 
document.write("/style") 
} 

if(ns){ 
document.write('style type="text/css"') 
document.write("#master   {clip:rect(0,150,250,0);}") 
document.write("/style") 
} 

//-- 
/script 
script language = "javascript" 
!-- 

var ie = document.all ? 1 : 0 
var ns = document.layers ? 1 : 0 

var master = new Object("element") 
master.curLeft = -120;   master.curTop = 10; 
master.gapLeft = 0;      master.gapTop = 0; 
master.timer = null; 

function moveAlong(layerName, paceLeft, paceTop, fromLeft, fromTop){ 
clearTimeout(eval(layerName).timer) 

if(eval(layerName).curLeft != fromLeft){ 
     if((Math.max(eval(layerName).curLeft, fromLeft) - Math.min(eval(layerName).curLeft, fromLeft))  paceLeft){eval(layerName).curLeft = fromLeft} 
else if(eval(layerName).curLeft  fromLeft){eval(layerName).curLeft = eval(layerName).curLeft + paceLeft} 
else if(eval(layerName).curLeft  fromLeft){eval(layerName).curLeft = eval(layerName).curLeft - paceLeft} 
if(ie){document.all[layerName].style.left = eval(layerName).curLeft} 
if(ns){document[layerName].left = eval(layerName).curLeft} 
} 

if(eval(layerName).curTop != fromTop){ 
     if((Math.max(eval(layerName).curTop, fromTop) - Math.min(eval(layerName).curTop, fromTop))  paceTop){eval(layerName).curTop = fromTop} 
else if(eval(layerName).curTop  fromTop){eval(layerName).curTop = eval(layerName).curTop + paceTop} 
else if(eval(layerName).curTop  fromTop){eval(layerName).curTop = eval(layerName).curTop - paceTop} 
if(ie){document.all[layerName].style.top = eval(layerName).curTop} 
if(ns){document[layerName].top = eval(layerName).curTop} 
} 

eval(layerName).timer=setTimeout('moveAlong("'+layerName+'",'+paceLeft+','+paceTop+','+fromLeft+','+fromTop+')',30) 
} 

function setPace(layerName, fromLeft, fromTop, motionSpeed){ 
eval(layerName).gapLeft = (Math.max(eval(layerName).curLeft, fromLeft) - Math.min(eval(layerName).curLeft, fromLeft))/motionSpeed 
eval(layerName).gapTop = (Math.max(eval(layerName).curTop, fromTop) - Math.min(eval(layerName).curTop, fromTop))/motionSpeed 

moveAlong(layerName, eval(layerName).gapLeft, eval(layerName).gapTop, fromLeft, fromTop) 
} 

var expandState = 0 

function expand(){ 
if(expandState == 0){setPace("master", 0, 10, 10); if(ie){document.menutop.src = "templates/subSilver/images/menu/menub.gif"}; expandState = 1;} 
else{setPace("master", -120, 10, 10); if(ie){document.menutop.src = "templates/subSilver/images/menu/menu.gif"}; expandState = 0;} 
} 

//-- 
/script 

div id="master" 

div id="menu" 
<table border="0" width="18" cellspacing="0" cellpadding="0"> 
<tr><td width="100%">a href="javascript:expand()" onfocus="this.blur()" onmouseover="expand()" img name="menutop" border="0" src="templates/subSilver/images/menu/menu.gif" width="18" height="70"</a></td></tr> 
</table> 
/div 

div id="top" 
<table border="0" width="120" cellspacing="0" cellpadding="0"> 
<tr><td width="100%">img border="0" src="templates/subSilver/images/menu/top.gif" width="120" height="6"</td></tr> 
</table> 
/div 

div id="screen" 
<table border="0" width="120" cellspacing="0" cellpadding="5"> 
<tr><td width="100%" bgcolor="#00aaff"> 

<table border="0" width="100%" bgcolor="#00aaff" cellspacing="0" cellpadding="0"> 
<tr><td width="100%"> 

<table border="0" width="100%" cellspacing="1" cellpadding="5"> 
<tr><td width="100%" bgcolor="#FFFFFF"> 

<font class="NavJump">br</font><font class="NavJump">br</font> 

</td></tr> 
</table> 

</td></tr> 
</table> 

</td></tr> 
</table> 
/div 

div id="screenlinks" 
<table border="0" width="120" cellspacing="0" cellpadding="5"> 
<tr><td width="100%"> 

<table border="0" width="100%" bgcolor="#0000FF" cellspacing="0" cellpadding="0"> 
<tr><td width="100%"> 

<table border="0" width="100%" cellspacing="1" cellpadding="5"> 
<tr><td width="100%" bgcolor="#CCDDFF"> 

<a href="http://www.openfind.com.tw/" class="NavJump" target="_blank"><b>Openfind 網路資源搜尋</b></a>br 
<a href="http://phpbb-tw.net/phpbb/index.php" class="NavJump" target="_blank"><b>竹貓星球</b></a>br  
<a href="http://pb.idv.tw/phpBB2/index.php" class="NavJump" target="_blank"><b>PB聯合團隊</b></a>br 
<a href="http://starryhometown.net/forum/site.php" class="NavJump" target="_blank"><b>Starry Hometown</b></a>br 
<a href="http://www.laha.com.tw/" class="NavJump" target="_blank"><b>LAHA TEAM</b></a>br 

<font class="NavJump">尚在建?#93;中...</font> 

</td></tr> 
</table> 

</td></tr> 
</table> 

</td></tr> 
</table> 
/div 

/div 

script language = "javascript" 
!-- 

if(ie){var sidemenu = document.all.master;} 
if(ns){var sidemenu = document.master;} 

function FixY(){ 
if(ie){sidemenu.style.top = document.body.scrollTop+10} 
if(ns){sidemenu.top = window.pageYOffset+10} 
} 

setInterval("FixY()",100); 

//-- 
/script 

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# Eom 
是這個嗎?

發表於 : 2005-10-10 08:02
w2812451
我認為放在左邊有點怪~所以改在上面了
http://bnb.twbbs.org/
喜歡的話我提供方法~

發表於 : 2005-10-10 13:35
stric
kljian 寫:圖檔
圖檔
圖檔


是這個嗎?
我照你給的安裝方法
但是都會出現以下的錯誤
請問要怎解決?
圖檔

發表於 : 2005-10-10 13:36
stric
w2812451 寫:我認為放在左邊有點怪~所以改在上面了
http://bnb.twbbs.org/
喜歡的話我提供方法~
嗯 可以讓我參考看看嗎

發表於 : 2005-10-10 15:09
kljian
stric 寫: 我照你給的安裝方法
但是都會出現以下的錯誤
請問要怎解決?
看了一下張貼在竹貓版面上有部分 code 流失! 請用原稿修改:

http://www.kljian.why3s.net/dload.php?a ... file_id=11

發表於 : 2005-10-10 15:28
w2812451

發表於 : 2005-10-10 16:15
stric
kljian 寫:
stric 寫: 我照你給的安裝方法
但是都會出現以下的錯誤
請問要怎解決?
看了一下張貼在竹貓版面上有部分 code 流失! 請用原稿修改:

http://www.kljian.why3s.net/dload.php?a ... file_id=11
請問一下
為什麼我用了後
卻不會顯示中文字呢?

發表於 : 2005-10-11 14:17
stric
有人可以幫幫我嗎

發表於 : 2005-10-11 17:25
w2812451
stric 寫:有人可以幫幫我嗎
請看一下我頭上的第二天文章(我打的那篇)
那個網址點進去然後下載!那個是完整版的!

發表於 : 2005-10-11 21:15
stric
w2812451 寫:
stric 寫:有人可以幫幫我嗎
請看一下我頭上的第二天文章(我打的那篇)
那個網址點進去然後下載!那個是完整版的!
嗯 謝謝w2812451提供連結
但是裡面沒有安裝說明
能教教我嗎?

而kljian兄所提供的
我安裝後不能顯示中文

發表於 : 2005-10-11 21:23
w2812451
先上傳到你的子目錄!(index.php的那個目錄!)
上傳的檔案有
1.menu.gif
2.menub.gif
3.top-m.gif
4.menu.js
5.subSilver.css
-------------------------------------------------------
Untitled-1.htm不用那是給你看他的內容的!
-------------------------------------------------------
上傳後開啟
overall_header.tpl
找到\r
<title>
再<title>的前面加上

代碼: 選擇全部

<script language=javascript src="menu.js"></script>
存檔收工!
如果要修改它的內容請開啟
menu.js

document.write("<div id......................←超長的一句!
拉到中間的地方!修改連結和文字!就可以了!

↑這個地方沒辦法解說!請多多了解html語法!

發表於 : 2005-10-11 23:45
stric
謝謝您 我已經改好了