Hallo!
Habe folgendes Script, warum kann ich beim oberen 'onmouseover' die Hintergrundfarbe nicht auslesen???
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<style type="text/css">
.test {
Background-color:Black;
}
</style>
</head>
<body>
<table>
<tr class="test" onmouseover="javascript:alert(this.style.backgroundColor)">
<td>test</td>
</tr>
<tr bgcolor="Gray" style="Background-Color=Black" onmouseover="javascript:alert(this.style.backgroundColor)">
<td>test</td>
</tr>
</table>
</body>
</html>
Vielen Dank für die Mühe!
B. Hopf