Hi,
Ich habe hier folgenden Tabellenzellenlink :
<TD class=row2
onmouseover="this.style.backgroundColor='#EFEFEF'; this.style.cursor='hand';"
onclick="window.location.href='http://www.google.de'"
onmouseout='this.style.backgroundColor="#DEE3E7"' width="100%">
Google</TD>
Warum nicht
<td class="row2"><a href="http://www.google.de" target="_blank">Google</a></td>
und im CSS:
.row2 a:link, .row2 a:visited { display:block; background-color:#dee3e7; width:100%; text-align:center; }
.row2 a:hover { background-color:#efefef; }
Dann funktioniert das ganze auch ohne Javascript.
hand ist außerdem kein gültiger Wert für die CSS-Eigenschaft cursor.
cu,
Andreas
--
Der Optimist: Das Glas ist halbvoll. - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/
Der Optimist: Das Glas ist halbvoll. - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/