竹貓滑鼠移動會整欄色塊標起來 , 是要外掛 ? 還是mod
移動文章時 不像標準安裝的模式 只有文字變橘色而已\r
找很久了 ... 不曉得如何定義尋找關鍵字 ...
請大家協助
[外掛]竹貓滑鼠移動會整欄色塊標起來 , 是要外掛 ? 還是mod
版主: 版主管理群
Re: [外掛]竹貓滑鼠移動會整欄色塊標起來 , 是要外掛 ? 還是mo
如果只是顏色就這樣子而已\r87654321 寫:竹貓滑鼠移動會整欄色塊標起來 , 是要外掛 ? 還是mod
移動文章時 不像標準安裝的模式 只有文字變橘色而已\r
找很久了 ... 不曉得如何定義尋找關鍵字 ...
請大家協助
代碼: 選擇全部
<td onMouseOver="this.style.backgroundColor='#555555" onMouseOut="this.style.backgroundColor=''">可應用加入於 viewforum_body.tpl與index_body.tpl 檔案中\r
代碼: 選擇全部
<script language="JavaScript1.2">
<!--
function changeto(picname){
source=event.srcElement
if (source.tagName=="TR"||source.tagName=="TABLE")
return
while(source.tagName!="TD")
source=source.parentElement
if (source.style.backgroundImage!=picname&&source.id!="ignore")
source.style.backgroundImage='url(' + picname + ')'
}
function changeback(oripicname){
if (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")
return
if (event.toElement!=source)
source.style.backgroundImage='url(' + oripicname + ')'
}
function urlto(strurl,strtype){
form1.target=strtype
form1.action=strurl
form1.submit()
}
//-->
</script><td background="off.gif" onMouseOver="changeto('on.gif')" onMouseOut="changeback('off.gif')">
你可以設計二個背景圖off.gif 替換背景圖on.gif

Os: Windows 2003
Constitute: IIS.6 + php4 + MySql 4 + ODBC + phpMyAdmin2.6.0 + phpBB 2.0.23
url: http://oops.cafepark.com
-
CHIENLUNSU
- 星球普通子民

- 文章: 3
- 註冊時間: 2004-01-23 15:09
想放哪就放哪阿CHIENLUNSU 寫:<td onMouseOver="this.style.backgroundColor='#555555" onMouseOut="this.style.backgroundColor=''">
請問這要加在那邊??
也是viewforum_body.tpl與index_body.tpl 嗎?
阿...語法好像有誤..下面改一下
<td onMouseOver="this.style.backgroundColor=#想變換的顏色" onMouseOut="this.style.backgroundColor=#這裡空白或顏色隨便">

Os: Windows 2003
Constitute: IIS.6 + php4 + MySql 4 + ODBC + phpMyAdmin2.6.0 + phpBB 2.0.23
url: http://oops.cafepark.com
-
hello kitty
- 星球公民

- 文章: 116
- 註冊時間: 2003-12-26 08:33
[php]
#-----[ACTION: OPEN]------------------------------------------
#
index_body.tpl
#
#-----[ ACTION: FIND]------------------------------------------
#
#
<td class="row1" width="100%" height="50">
#
#-----[ ACTION: REPLACE WITH]------------------------------------------
#
<td class="row1" width="100%" height="50" onMouseOver="this.style.backgroundColor='#cccccc'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='#EFEFEF';" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'">
# NOTE: You can change the values for the color for the background, but to make it effective, make sure the OnMouseOut color is the same as the default table row color.
#
#-----[ ACTION: OPEN]------------------------------------------
#
viewforum_body.tpl
#
#-----[ ACTION: FIND]------------------------------------------
#
<td class="row1" width="100%">
#
#-----[ ACTION: REPLACE WITH]------------------------------------------
#
<td class="row1" width="100%" onMouseOver="this.style.backgroundColor='#cccccc'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='#EFEFEF';" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'">
# NOTE: You can change the values for the color for the background, but to make it effective, make sure the OnMouseOut color is the same as the default table row color.
#
#-----[ END OF MOD ]---------------------
#
EOF
[/php]
不好意思,我想不起在那裹看過才copy下來
試試這個吧 
#-----[ACTION: OPEN]------------------------------------------
#
index_body.tpl
#
#-----[ ACTION: FIND]------------------------------------------
#
#
<td class="row1" width="100%" height="50">
#
#-----[ ACTION: REPLACE WITH]------------------------------------------
#
<td class="row1" width="100%" height="50" onMouseOver="this.style.backgroundColor='#cccccc'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='#EFEFEF';" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'">
# NOTE: You can change the values for the color for the background, but to make it effective, make sure the OnMouseOut color is the same as the default table row color.
#
#-----[ ACTION: OPEN]------------------------------------------
#
viewforum_body.tpl
#
#-----[ ACTION: FIND]------------------------------------------
#
<td class="row1" width="100%">
#
#-----[ ACTION: REPLACE WITH]------------------------------------------
#
<td class="row1" width="100%" onMouseOver="this.style.backgroundColor='#cccccc'; this.style.cursor='hand';" onMouseOut="this.style.backgroundColor='#EFEFEF';" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'">
# NOTE: You can change the values for the color for the background, but to make it effective, make sure the OnMouseOut color is the same as the default table row color.
#
#-----[ END OF MOD ]---------------------
#
EOF
[/php]
不好意思,我想不起在那裹看過才copy下來
