Seite 1 von 3

wegen mouseover effect , kurze hilfe bitte

Verfasst: 29.11.2002 10:41
von S.Huckele
also vorab , schande über mich !

der mouseover effect bei dem sich die Hintergrundfarbe der Spalten änndert , war eines meiner ersten mod s habe aber leider vergessen wie das ging. :oops: :oops: :oops: :oops:

kann mir da jemand helfen , habe nähmlich gerade mein subsilver upgedatet mit allen MODS.

http://www.7n-forum.de

Verfasst: 29.11.2002 10:46
von M@ster
Meinst du den Hypercell Mod?

Code: Alles auswählen

######################################################## 

## 

## Hack Title:      Hypercells RC-3 & CVS v1.0 

## Hack Version:    1.0 - final release 

## Author:          Scotty 

## Website:         http://www.phpbb2-users.de/phpBB/ 

## Mail:            scotty@phpbb2-users.de 

## Description:     allows users to click anywhere in the 

##                  cell to access the forum or a topic. 

##                  Works with latest CVS-Code and RC-3! RC-2  

##                  not supported. Get the hack from psychopathic 

##                  & Clonedout for RC-2. 

## 

## Installation Level:  Easy! 

## Installation Time:   2-5 Minutes 

## Files To Edit:       2 (index_body.tpl) (viewforum_body.tpl) 

## Included Files:      not needed 

## 

######################################################## 

## 

## History: 

## 

## no history available;) 

## 

######################################################## 

# 

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

# 

# index_body.tpl  (located in the templates folder) 

# 

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

# 

# <td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br /> 

# 

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

# 

# <td class="row1" width="100%" height="50" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor=""  onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br /> 

# 

#-----[ SAVE AND CLOSE: ]------------------------------------------ 

# 

# index_body.tpl 

# 

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

# 

# viewforum_body.tpl  (also a template) 

# 

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

# 

# <td class="row1" width="100%"><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 /> 

# 

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

# 

# <td class="row1" width="100%" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'"><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 /> 

# 

#-----[ SAVE AND CLOSE: ]------------------------------------------ 

# 

# viewforum_body.tpl 

# 

#----------------------------------------------- 

# 

# If you want to use another colour for the cells replace the {T_TD_COLOR1} 

# with the colour code you need (#DEE3E7 for example). 

EOF

Verfasst: 29.11.2002 17:27
von S.Huckele
ja


danke

Verfasst: 08.08.2004 22:59
von GnRFans
Wenn ich meine Farben da eintrage, ändert sich nix.
Wenn ich alles so lasse funzt der MOD nur sind die Farben total fehl am platz.
Woran kann das liegen?

Hab phpbb2 2.0.8

Verfasst: 08.08.2004 23:05
von Markus67
Hi ...

poste mal den Teil wenn du die Farben eingetragen hast ...

Markus

Verschoben

Verfasst: 08.08.2004 23:05
von Markus67
Verschoben von Administration und Benutzung nach Styles, Templates und Grafiken

Verfasst: 10.08.2004 10:43
von zorb!
hi,
ich habe mir den effekt gestern eingebaut, doch leider merke ich nicht
die gewünschte änderung :-( normalerweise soll sich ja die farbe ändern
beim rüberfahren mit der mouse, doch das ist nicht so.

siehe hier

Verfasst: 10.08.2004 11:04
von TheRealKoston
von dem File viewforum_body.tpl vorher ein Backup machen!

Finde:

Code: Alles auswählen

# <td class="row1" width="100%" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'"><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 /> 
Ist das # ein Fehler?
Falls ja lösch das # mal vorne weg und schau, obs geht

Ersetzte mit:

Code: Alles auswählen

<td class="row1" width="100%" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'"><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 />

Verfasst: 10.08.2004 11:29
von zorb!
das war leider nicht der fehler :-(

ich habe die dateien mal hier gepostet.

index_body.tpl
viewforum_body.tpl

vielleicht kann mir ja jemand helfen.

Verfasst: 10.08.2004 11:43
von TheRealKoston
nimm mal ne andere Farbe, vllt. sind die Farben gleich 8)
Aber ansonsten müsste der Hack richtig eingebaut sein