Hintergrund bei Mouse over aktivieren

Du suchst einen bestimmten Mod, weißt aber nicht genau wo bzw. ob er überhaupt existiert? Wenn dir dieser Artikel nicht weiterhilft, kannst du hier den von dir gewünschten/gesuchten Mod beschreiben ...
Falls ein Mod-Autor eine der Anfragen hier aufnimmt um einen neuen Mod zu entwicklen, geht's in phpBB 2.0: Mods in Entwicklung weiter.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
beffi
Mitglied
Beiträge: 6
Registriert: 16.01.2009 10:29

Hintergrund bei Mouse over aktivieren

Beitrag von beffi »

Hallo, im phpbb 3 ändert sich beim Mouseover über die Forentitel auch der Hintergrund. Dies finde ich eine tolle Sache. Lässt sich das auch im phpbb2 einbauen?

Ich habe dazu das Hypercells Mod installiert. Wie lässt sich die Farbe änder? Bei Mouseover wird der Hintergrund weiss statt hellgrau. Da erkennt man leider kaum einen
Unterschied?

Code: Alles auswählen

######################################################## 
## 
## Title: Hypercells
## Version: 1.0.0 - final release 
## Author: Brewjah 
## Description: allows users to click anywhere in the cell to access the forum or a topic 
## and displays a hand cursor on mouse over even to SHOW that its clickable.. 
## 
## Installation Level: Easy 
## Installation Time: 2-5 Minutes 
## Files To Edit: 2 
##          -  index_body.tpl 
##          -  viewforum_body.tpl 
## 
## Included Files: none, cause we're cool like that 
## 
#########################################################

# 
#-----[ OPEN ]------------------------------------------ 
# 
   templates/subSilver/index_body.tpl 
# 
#-----[ 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%" onMouseOver="this.style.backgroundColor='{T_TD_COLOR1}'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="{T_TR_COLOR1}" 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 CLOSE UPLOAD ]--------------------------- 
# 
   templates/subSilver/index_body.tpl 
# 
#-----[ OPEN ]------------------------------------------ 
# 
   templates/subSilver/viewforum_body.tpl 
# 
#-----[ 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}'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="{T_TR_COLOR1}" 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 CLOSE UPLOAD ]-------------------------- 
# 
   viewforum_body.tpl 
# 
#-----[ EOM ]-------------------------------------------- 
jensdd
Mitglied
Beiträge: 82
Registriert: 16.08.2008 21:23
Wohnort: Dresden
Kontaktdaten:

Re: Hintergrund bei Mouse over aktivieren

Beitrag von jensdd »

Hallo beffi,

Du kannst statt {T_TD_COLOR1} eine beliebige Hintergrundfarbe im RGB-Format (#RRGGBB) eintragen. Für Hellgrau z.B. #cccccc.

Gruß Jens
beffi
Mitglied
Beiträge: 6
Registriert: 16.01.2009 10:29

Re: Hintergrund bei Mouse over aktivieren

Beitrag von beffi »

Vielen Dank, hat funktioniert! 8)
Antworten

Zurück zu „phpBB 2.0: Mod Suche/Anfragen“