HyperCell-Mod funzt, aber wie hand bei mouse-over????

Alles zu Styles, Templates, Icons und Smilies für phpBB 2.0, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
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
Benutzeravatar
mephisto
Mitglied
Beiträge: 48
Registriert: 05.12.2002 22:49

HyperCell-Mod funzt, aber wie hand bei mouse-over????

Beitrag von mephisto »

hallo,

also ich habe den HyperCell-Mod installiert und alles geht wunderbar. leider wird das maus-symbol aber nicht zur hand. das find ich ein wenig störend! kann mir jemand sagen wie ich das noch hinbekomme?

ich weiß nicht ob ich mich deutlich genug ausgedrückt habe. hier einmal der code den ich eingefügt habe:

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">&nbsp;<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">&nbsp;<a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a></span></td> 

# 
#-----[ CLOSE ]------------------------------------------ 
# 

/yourphpdir/templates/subSilver/privmsgs_body.tpl 

# 
#------[Upload and impress!]----------------------------- 
# 
danke
makue
Mitglied
Beiträge: 282
Registriert: 18.07.2002 07:58
Wohnort: Böblingen
Kontaktdaten:

Beitrag von makue »

Hin

bei dem onMouseOver noch das: this.style.cursor='hand' ergänzen, also etwa so:

Code: Alles auswählen

...onMouseOver=this.style.cursor='hand'; this.style.backgroundColor...
Antworten

Zurück zu „phpBB 2.0: Styles, Templates und Grafiken“