[問題]我的' 標題列變色' 的感應區怪怪的

phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
Zhimin_Yah
星球公民
星球公民
文章: 62
註冊時間: 2003-04-19 06:59
來自: 台灣台中

[問題]我的' 標題列變色' 的感應區怪怪的

文章 Zhimin_Yah »

●架設主機作業系統:Windows Xp Pro
●快速架站程式:appserv-win32-2.5.1.exe
●免費空間連結: 無\r
●您的上網方式:SeedNet ADSL
●您安裝的程式:Apache + php + MySql (快速架站!)
●您的 phpBB2 版本:phpBB 2.0.10
●您的 domain(網域名稱) :localhost
●您的 phpBB2 連結網址: http://localhost/phpbb2/
●錯誤代碼:如下所述\r


問題外掛:Hypercells (標題列變色 - 整列變色)
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php?t=12138
使用版本:phpBB 2.0.10
網站位置:http://localhost/phpbb2/

狀況描述:
為了架和朋友同學間要用的論壇(將來可能放在學網或請一條專線),
所以我自己先在自己的PC上架架看...

然後, 我目前照著paza的這個外掛下去改...
因為我也不是公版風格, 改好後, 大致上來說是沒問題...

但是, 它變色的感應區... 怪怪的... 如下圖所示...
當我滑鼠移到版面那區塊時, 它並不會變色...
但它會在我移到... 主題, 文章, 最後發表那三個區塊時卻會變色...
一直很困擾說到底是什麼問題...

圖示

目前我的index_body.tpl的內容...

代碼: 選擇全部

<td valign="top"  onMouseOver="hL(this)" onMouseOut="dL(this)"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" /></td>
<td valign="top"  onMouseOver="hL(this)" onMouseOut="dL(this)"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
							  <span class="gensmall">{catrow.forumrow.FORUM_DESC}</span><br />
							  <span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
						</tr>
					  </table>									  								  
				  </td>
<td class="row1" align="center" onMouseOver="hL(this)" onMouseOut="dL(this)"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row1" align="center" onMouseOver="hL(this)" onMouseOut="dL(this)"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row1" align="center" onMouseOver="hL(this)" onMouseOut="dL(this)"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
				  </tr>
<!--- the following onMouseOver AND onMouseOut ADD by // Hypercells_MOD --->
但我在... 點進去版區後...
那邊的就一切正常...

如圖


viewforum_body.tpl 和此外掛相關的內容...

代碼: 選擇全部

<td class="row1" width="20" align="center" valign="middle" onMouseOver="hL(this)" onMouseOut="dL(this)"> 
			  
			  <img src="{topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
			  
<td class="row1" width="100%" onMouseOver="hL(this)" onMouseOut="dL(this)">
			  
			  <span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
				{topicrow.GOTO_PAGE}</span></td>

<td class="row1" align="center" valign="middle" nowrap="nowrap" onMouseOver="hL(this)" onMouseOut="dL(this)">
<span class="postdetails">{topicrow.REPLIES}</span></td>
<td class="row1" align="center" valign="middle" nowrap="nowrap" onMouseOver="hL(this)" onMouseOut="dL(this)"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
<td class="row1" align="center" valign="middle" onMouseOver="hL(this)" onMouseOut="dL(this)"><span class="postdetails">{topicrow.VIEWS}</span></td>
<td class="row1" align="center" valign="middle" nowrap="nowrap" onMouseOver="hL(this)" onMouseOut="dL(this)"> <span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
			</tr>
			
<!--- the following onMouseOver AND onMouseOut ADD by // Hypercells_MOD --->	
以上, 希望有人能提示我一下, 謝謝!
把自己 format , 忘了過去...
webspirit
竹貓忠實會員
竹貓忠實會員
文章: 1354
註冊時間: 2004-02-16 12:01
來自: 精靈國度

文章 webspirit »

你用的那個太麻煩\r
看了頭暈
試試這個 (以 subSilver 為例)

代碼: 選擇全部

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

templates/subSilver/index_body.tpl

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

      <td class="row1" width="100%" height="50">

#
#-----[ REPLACE WITH ]------------------------------------------
#

<td class="row1" width="100%" height="50" onMouseOver="this.style.backgroundColor='#DEE3E7';" onMouseOut="this.style.backgroundColor='#EFEFEF';">

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

templates/subSilver/viewforum_body.tpl

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

      <td class="row1" width="100%">

#
#-----[ REPLACE WITH ]------------------------------------------
#

<td class="row1" width="100%" onMouseOver="this.style.backgroundColor='#DEE3E7';" onMouseOut="this.style.backgroundColor='#EFEFEF';">

#
#-----[ END OF MOD ]---------------------
#
EOF
Zhimin_Yah
星球公民
星球公民
文章: 62
註冊時間: 2003-04-19 06:59
來自: 台灣台中

文章 Zhimin_Yah »

webspirit兄...

其實我以前也是用你那個...
但是它只能變一個區塊...

所以這次我才會想說用另一套來改...
變整條的...

希望還是有人救一下... =口=|||

謝謝!



此問題變討論了, 因為我又發現到有其它的小問題了...

放棄用這個好了... OTZ...
把自己 format , 忘了過去...
主題已鎖定

回到「外掛問題討論」