Seite 1 von 1
Bei mouseover hervoheben
Verfasst: 08.12.2002 16:01
von SuperGURU
Ich weis net obs das schon gab aber bei
http://www.welnet4u.de/wf/index.php?&weluser=superguru wird sobald man mit der Maus über ein Forum geht, das forum hervorgehoben, sieht eigentlich ganz gut aus.
Meine Frage wie macht man das wenn ich das auch bei mir haben will?
Sorry habs schon gefunden auf
http://www.phpbbhacks.com/popular.php?version=2

Verfasst: 09.12.2002 00:30
von esperitox
Dafür gibt es eine Mod:
Code: Alles auswählen
##############################################################
## Mod Title: HyperCell's for all pages
## Mod Version: 1.0.0
## Author: Corey Touchet (Lewt Haxxor on phpbb.com)
## Description: This is a mod to have hypercells work on all of your phpBB2 pages where it'll be usefull.
## CREDIT: Goes to the original author if I ever found out who he was and me for making sure this worked :)
##
## Installation Level: (easy)
## Installation Time: 10 Minutes
## Files To Edit: search_results_topics.tpl, index_body.tpl, viewforum_body.tpl, privmsgs_body.tpl
## Included Files: (n/a)
##############################################################
##############################################################
## For Security Purposes, This MOD Cannot Be Posted Or Added At Any Non-Official phpBB Site
##############################################################
##############################################################
## Author Note: Please backup any files before you change them!
##
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
/yourphpdir/templates/subSilver/search_results_topics.tpl
#
#-----[ FIND ]------------------------------------------
#
<td class="row2"><span class="topictitle">{searchresults.NEWEST_POST_IMG}{searchresults.TOPIC_TYPE}<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a></span><br /><span class="gensmall">{searchresults.GOTO_PAGE}</span></td>
#
#-----[ REPLACE WITH ]------------------------------------------
#
#
#NOTE: sometimes it's easier to comment out the line with a <!-- line to replace --> so you can easily restore files
# via a telnet session if having to fix a forum from a remote place and dont have the backup with you.
<td class="row2" onMouseOver=this.style.backgroundColor="{{T_TD_COLOR1}}" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{searchresults.U_VIEW_TOPIC}'"><span class="topictitle">{searchresults.NEWEST_POST_IMG}{searchresults.TOPIC_TYPE}<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a></span><br /><span class="gensmall">{searchresults.GOTO_PAGE}</span></td>
#NOTE: this.style.backgroundColor="{T_TD_COLOR1}" can be changed to any color to suit your forum.
# Just replace the {T_TD_COLOR1} with any color code you want.
# Hard codes such as #FFFFFF can be used but it is best to use the template system codes for colors.
#
#-----[ CLOSE ]------------------------------------------
#
/yourphpdir/templates/subSilver/search_results_topics.tpl
#
#-----[ OPEN ]------------------------------------------
#
/yourphpdir/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%" 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 />
#
#-----[ CLOSE ]------------------------------------------
#
/yourphpdir/templates/subSilver/index_body.tpl
#
#-----[ OPEN ]------------------------------------------
#
/yourphpdir/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}" 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 />
#
#-----[ CLOSE ]------------------------------------------
#
/yourphpdir/templates/subSilver/viewforum_body.tpl
#
#-----[ OPEN ]------------------------------------------
#
/yourphpdir/templates/subSilver/privmsgs_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td width="55%" valign="middle" class="{listrow.ROW_CLASS}"><span class="topictitle"> <a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a></span></td>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<td width="55%" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{listrow.U_READ}'"><span class="topictitle"> <a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a></span></td>
#
#-----[ CLOSE ]------------------------------------------
#
/yourphpdir/templates/subSilver/privmsgs_body.tpl
#
#------[Upload and impress!]-----------------------------
#
esperitox
Verfasst: 09.12.2002 07:13
von Guido
@esperitox:

den wollte ich auch posten, doch dann habe ich ich im letzten Moment den EDIT Teil gelesen........

Verfasst: 09.12.2002 17:32
von SuperGURU

Jaja genau es gibt ja noch leute die mitdenken
Ich gehöre nicht zu denen, hab es zu spät entdeckt hatte nach Highlight oder sowas gesucht aber auf keinen Fall nach Hypercells
Trotzdem danke funzt sogar!