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

phpBB 2 Style Support
討論的範圍包含版面排列、樣式、配置;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
87654321

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

文章 87654321 »

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

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

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

請大家協助
頭像
H.T.Demon
竹貓忠實會員
竹貓忠實會員
文章: 368
註冊時間: 2002-09-26 00:24
聯繫:

文章 H.T.Demon »

你指的是Hypercells (標題列變色 - 整列變色)吧~
87654321

[外掛]

文章 87654321 »

H.T.Demon 寫:你指的是Hypercells (標題列變色 - 整列變色)吧~
是的

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

放棄了

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

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

文章 87654321 »

tyntynty

test
Artemas
竹貓忠實會員
竹貓忠實會員
文章: 489
註冊時間: 2003-08-23 03:18
來自: NorthBlue
聯繫:

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

文章 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
圖檔
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 嗎?
Artemas
竹貓忠實會員
竹貓忠實會員
文章: 489
註冊時間: 2003-08-23 03:18
來自: NorthBlue
聯繫:

文章 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=#這裡空白或顏色隨便">
圖檔
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

文章 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:
主題已鎖定

回到「風格問題討論」