Seite 1 von 1

Hypercell mit image

Verfasst: 11.12.2002 11:56
von camerino
Hallo zusammen,

ich möchte im Hypercell-MOD , den onMouseOut - Effekt so machen, dass eine image gezeigt wird und nicht eine andere Farbe.

Hier original:
<td class="row1" width="100%" onMouseOver="this.style.backgroundColor='{T_TD_COLOR1}'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="{T_TR_COLOR1}" 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 />
#
Hier meine Änderung die nicht funzt... muss ich noch was in die css schreiben?
<td class="row1" width="100%" onMouseOver="this.style.backgroundColor='{T_TD_COLOR1}'; this.style.cursor='hand';" onMouseOut="this.style.background: 'url(images/snow.jpg)';" 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 />
Danke für die Tip's

Re: Hypercell mit image

Verfasst: 11.12.2002 16:24
von saerdnaer
probier mal folgendes:
<td class="row1" width="100%" onMouseOver="this.style.backgroundColor='{T_TD_COLOR1}'; this.style.cursor='hand';this.style.backgroundImage = 'url(images/snow.jpg)';" onMouseOut=this.style.backgroundColor="{T_TR_COLOR1}" 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 />
#
ah

Verfasst: 11.12.2002 17:33
von camerino
Danke saerdnaer,

klappt aber leider nicht....

Verfasst: 03.01.2003 21:56
von Damian
wenn Du anstatt:

backgroundColor="{T_TR_COLOR1}"

folgendes schreibst:

backgroundImage="url(images/irgendwas.jpg)"

(also ohne ' ), dann klappt es. Hab ich grade selbst getestet...

Gruß

Damian