Stefan Ernst: Mozilla-DOM - hilfe!!

Beitrag lesen

Hallo,

hab schon den Thread unten gelesen,
aber als akuter Doku-Nichtblicker
hilft er mir wenig :-/

Kann mir jemand einen Tipp geben,
wie ich dieses Script
auch für Mozilla lauffähig bekomme?

onmouseout="if (ie) this.style.backgroundColor = '';
window.status = ''"
onmouseover="if (ie) {this.style.backgroundColor = '#E3E9CA'; window.status = this.all.tags('a')[0].href}"
onclick="if (ie) window.location = this.all.tags('a')[0].href"

(das die if(ie)-Abfrage wegmuss, weiß ich selber :) )
Speziell hängt es an
this.all.tags
und this.style
ich hab mal versucht das per
var b = getElementById("element");
b.style zu ersetzen, aber so richtig
funktioniert das auch nicht - hilfe!!! :)

Grüsse

Stefan