Seite 1 von 1

Hypercells

Verfasst: 04.11.2007 01:47
von Eisbär
Hallo,

gibt es eventuell auch die Hypercells für subsilver2?

Verfasst: 11.11.2007 02:36
von Eisbär
Hallo,

gibt es dafür noch keine Lösung?

Verfasst: 12.11.2007 08:16
von Dr.Death
Ich könnte Dir welche für prosilver anbieten....du müsstest sie evtl. nur für subsilver2 anpassen:

http://www.lpi-clan.de/viewtopic.php?f=26&t=2833

Verfasst: 12.11.2007 20:44
von Eisbär
Hallo Dr.Death,

vielen Dank erstmal, werde mal probieren, den Code umzubauen.

Verfasst: 18.11.2007 09:45
von Eisbär
Bekomme das wohl nicht allein hin, hat jemand ne´ Idee?

Verfasst: 27.12.2007 18:13
von Eisbär
Hallo,

hat eventuell schon jemand eine Lösung für subsilver2?

Verfasst: 30.12.2007 11:50
von Eisbär
Hallo,

ist das für subsilver gar nicht möglich?

Verfasst: 30.12.2007 17:02
von Eisbär
Habs doch hinbekommen:

Snippet-Autor: Eisbär
phpBB Version: 3.0.x (getestet)
Beschreibung: Mit diesem Code können Hypercells in den Style Subsilver2 eingefügt werden.
Die Farbe der Foren Tabellenreihe ändert sich bei Mouse-Over und die ganze Zelle fungiert als Link.

Öffne: styles/subsilver2/template/forumlist_body.html

Suche:

Code: Alles auswählen

			<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
			<td class="row1" width="100%">
				<!-- IF forumrow.FORUM_IMAGE -->
Ersetze mit:

Code: Alles auswählen

			<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
			<td class="row1" width="100%" onMouseOver="this.style.backgroundColor='#AAAAAA'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="#BBBBBB" onclick="window.location.href='{forumrow.U_VIEWFORUM}'">
				<!-- IF forumrow.FORUM_IMAGE -->
Wobei das #AAAAAA und #BBBBBB durch Eure Farben zu ersetzen sind.
Die erste Farbe (AAAAAA) ist die beim drüberfahren mit der Maus (muß angepasst werden)..
Die zweite Farbe (BBBBBB) ist Eure ursprüngliche Farbe in der Tabellenreihe (muß angepasst werden).


Hier noch für die viewforum_body.html:

Öffne: styles/subsilver2/template/viewforum_body.html

Suche:
Vorsicht der Code kommt zweimal vor, ich habe nur den unteren geändert !

Code: Alles auswählen

			<tr>
				<td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td>
				<!-- IF S_TOPIC_ICONS -->
					<td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td>
				<!-- ENDIF -->
				<td class="row1">
Ersetze mit:

Code: Alles auswählen

			<tr>
				<td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td>
				<!-- IF S_TOPIC_ICONS -->
					<td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td>
				<!-- ENDIF -->
				<td class="row1" onMouseOver="this.style.backgroundColor='#AAAAAA'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="#BBBBBB" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'">
					<!-- IF topicrow.TOPIC_TYPE --><strong><b>{topicrow.TOPIC_TYPE}</b></strong><!-- ENDIF -->
Hier gilt dasselbe für die Farbeinstellung.