1 頁 (共 1 頁)

[外掛]竹貓滑鼠移動會整欄色塊標起來 , 是要外掛 ? 還是mod

發表於 : 2003-10-12 18:00
87654321
竹貓滑鼠移動會整欄色塊標起來 , 是要外掛 ? 還是mod

移動文章時 不像標準安裝的模式 只有文字變橘色而已\r

找很久了 ... 不曉得如何定義尋找關鍵字 ...

請大家協助

發表於 : 2003-10-12 19:08
H.T.Demon
你指的是Hypercells (標題列變色 - 整列變色)吧~

[外掛]

發表於 : 2003-10-13 01:56
87654321
H.T.Demon 寫:你指的是Hypercells (標題列變色 - 整列變色)吧~
是的

看了一下 實在是麻煩透頂
考慮以後升級可能會碰到問題 ... 誰知道將來會發生什麼事 ?

放棄了

不過還是說聲謝了 :-))[/img]

[閒聊]污烏烏污dff gfdf烏烏污烏烏污f dfff f

發表於 : 2003-10-14 14:19
87654321
tyntynty

test

Re: [外掛]竹貓滑鼠移動會整欄色塊標起來 , 是要外掛 ? 還是mo

發表於 : 2003-10-15 08:43
Artemas
87654321 寫:竹貓滑鼠移動會整欄色塊標起來 , 是要外掛 ? 還是mod
移動文章時 不像標準安裝的模式 只有文字變橘色而已\r
找很久了 ... 不曉得如何定義尋找關鍵字 ...
請大家協助
如果只是顏色就這樣子而已\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

發表於 : 2004-01-25 02:26
CHIENLUNSU
<td onMouseOver="this.style.backgroundColor='#555555" onMouseOut="this.style.backgroundColor=''">

請問這要加在那邊??
也是viewforum_body.tpl與index_body.tpl 嗎?

發表於 : 2004-01-25 16:12
Artemas
CHIENLUNSU 寫:<td onMouseOver="this.style.backgroundColor='#555555" onMouseOut="this.style.backgroundColor=''">

請問這要加在那邊??
也是viewforum_body.tpl與index_body.tpl 嗎?
想放哪就放哪阿 :mrgreen:

阿...語法好像有誤..下面改一下

<td onMouseOver="this.style.backgroundColor=#想變換的顏色" onMouseOut="this.style.backgroundColor=#這裡空白或顏色隨便">

發表於 : 2004-01-25 18:23
hello kitty
[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下來 :roll: 試試這個吧 :roll: