Seite 1 von 1
Effekt von Classic Style in Sub Silver einbauen?
Verfasst: 13.04.2004 23:48
von Eisiku
Kann man diesen (ich glaub hover nennt man das?) Effekt, der im Classic Style die Tabellen heller macht, wenn man mit der Maus drüberfährt, in Sub Silver einbauen?
Wenn ja, könnte mit bitte jemand den Code dafür geben oder kurz erklären, wie ich das mache?
Wär ganz toll!
Verfasst: 14.04.2004 00:24
von Markus67
hi ...
hier gibts den mod ....
http://www.phpbbhacks.com/download.php?id=722
läuft auch sauber mit 2.0.8 ....
markus
Verfasst: 14.04.2004 09:59
von Eisiku
Super! Danke für die schnelle Hilfe!

Ich werde es heute Abend gleich einbauen.
Ihr seid echt ein klasse Supportforum!
Verfasst: 14.04.2004 21:45
von Eisiku
Hmm, leider funzt das nicht....
Vielleicht liegt's auch daran, dass mein Code etwas anders aussieht als der, den ich laut Anleitung ersetzen muss?
Für die index-body.tpl
Code: Alles auswählen
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 />
So sieht mein Original Code aus:
Code: Alles auswählen
<td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
und so der geänderte:
Code: Alles auswählen
<td class="row1" width="100%" onmouseover="this.style.backgroundColor='#--FEF6E8--'; this.style.cursor='default';" onmouseout="this.style.backgroundColor='#--FFEFD5--';"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
In der viewforum_body.tpl sieht es noch viel schlimmer aus
Code: Alles auswählen
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 />
Mein Original:
Code: Alles auswählen
<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 />
und der geänderte Code:
Code: Alles auswählen
<td class="row1" width="100%" onmouseover="this.style.backgroundColor='#--FEF6E8--'; this.style.cursor='default';" onmouseout="this.style.backgroundColor='#--FFEFD5--';"><span class="topictitle"><b>{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></b></span><span class="gensmall"><br />
Was hab ich falsch gemacht?
Verfasst: 14.04.2004 21:54
von Markus67
hi eisiku ...
sieht so jetzt deine datei aus ?
Code: Alles auswählen
<td class="row1" width="100%" onmouseover="this.style.backgroundColor='#--FEF6E8--'; this.style.cursor='default';" onmouseout="this.style.backgroundColor='#--FFEFD5--';"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
dann mach mal die ganzen striche weg
ändern in
dann müsste es klappen ....
markus
Verfasst: 14.04.2004 22:27
von Eisiku
Mein Gott ist das peinlich......
Funzt jetzt, vielen Dank!

Verfasst: 14.04.2004 22:29
von Markus67
hi eisiku ....
hauptsache es funzt
markus