trunx: dynamische Tabelle

Beitrag lesen

okay, danke, sieht jetzt wie folgt aus:

<!--[if lte IE 7]>
<script language="javascript">

window.onload = function att() {
var i = document.getElementsByTagName("tr");
for (var j = 0; j < i.length; j++) {
if (i[j].className == "tn") {
i[j].onmouseover = function an() {
var k = this.firstChild;
while (k != null) {
k.firstChild.style.color="#ff0000";
k = k.nextSibling;
} }
i[j].onmouseout = function aus() {
var k = this.firstChild;
while (k != null) {
k.firstChild.style.color="#0000ff";
k = k.nextSibling;
} } } } }

</script>
<![endif]-->

bye trunx