trunx: dynamische Tabelle

Beitrag lesen

Hi,

Für IE<=6 nimm halt JS!

naja wollte ich nicht, aber was soll man machen :-( hier für Leute, die die (js)Lösung haben wollen, noch der code:

css: wie oben

javascript:
<!--[if lt IE 7]>
<script language="javascript">
function an(i)
{
var k = i.firstChild;
while (k != null) {
k.firstChild.style.color="#ff0000";
k = k.nextSibling;
}
}
function aus(i)
{
var k = i.firstChild;
while (k != null) {
k.firstChild.style.color="#0000aa";
k = k.nextSibling;
}
}
</script>
<![endif]-->

html:
<tr onmouseover="an(this)" onmouseout="aus(this)">
 <td><a href="">Sp 1</a></td>
 <td><a href="">Sp 2</a></td>
...
 <td><a href="">Sp n</a></td>
</tr>

trotzdem vielen Dank

bye trunx