OnMouseOver mod, netals dit forum, lukt niet
Geplaatst: 20 apr 2003, 21:52
ik heb de mod al 3 keer geinstalleed, maar hij wil niet lukken.
can some one help me
index_body
vieuwforum_body.tpl
hij maar niet lukken, kan iemand het voor me fixen.
het is ook niet wat er precies staat dat ik moet verangen. mijn template is FIsybsilver
kleur van mijn cells : #EAEDF4
kleu dat hij moet veranderen: #CEDCEC
hij wil echt niet lukken
can some one help me
Code: Selecteer alles
#################################################################
## Mod Title: PhpBB - OnMouseOver Hack
## Mod Version: 1.0.0
## PhpBB Version: 2.xx
## Author: Robin de Boer <webbie@chibitrunks.nl> - http://www.chibitrunks.nl
##
## Installation Level: (easy)
## Installation Time: 1 Minutes
## Files To Edit:
## forumroot/templates/template-xxx/index-body.tpl
## forumroot/templates/template-xxx/viewforum_body.tpl
##
## Included Files: (n/a, or list of included/required files)
#################################################################
## Security Disclaimer: This MOD Cannot Be Posted To Or Added At Any Non-Official phpBB Sites
#################################################################
##
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
-------- >>> Open templates/template-xxx/index-body.tpl --------
------------------------
Find:
------------------------
<td class="row1" width="100%"><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='#--01--'; this.style.cursor='default';" onMouseOut="this.style.backgroundColor='#--02--';"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
------------------------
Edit in this line:
------------------------
--01-- to the color you want to give the highlight
--02-- should be the color of the normal table-cell
-------- >>> Open templates/template-xxx/viewforum_body.tpl --------
------------------------
Find:
------------------------
<td class="row1" width="100%"><span class="gensmall"><b>{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="gensmall">{topicrow.TOPIC_TITLE}</a></b></span><span class="gensmall"><br />
------------------------
Replace with:
------------------------
<td class="row1" width="100%" onMouseOver="this.style.backgroundColor='#--01--'; this.style.cursor='default';" onMouseOut="this.style.backgroundColor='#--02--';"><span class="gensmall"><b>{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="gensmall">{topicrow.TOPIC_TITLE}</a></b></span><span class="gensmall"><br />
------------------------
Edit in this line:
------------------------
--01-- to the color you want to give the highlight
--02-- should be the color of the normal table-cell
------------------------
Sace/Close All Files
------------------------
Code: Selecteer alles
<td class="row1" width="100%"><a href="{catrow.forumrow.U_VIEWFORUM}" class="nav">{catrow.forumrow.FORUM_NAME}</a><br />
vieuwforum_body.tpl
Code: Selecteer alles
<td class="row1" width="100%">{topicrow.NEWEST_POST_IMG}<span class="topictitle">{topicrow.TOPIC_TYPE}</span><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a><span class="gensmall"><br />
het is ook niet wat er precies staat dat ik moet verangen. mijn template is FIsybsilver
kleur van mijn cells : #EAEDF4
kleu dat hij moet veranderen: #CEDCEC
hij wil echt niet lukken
