Hallo Leute!
Ich hab da ein CSS + Javascript Menü welches toll im Internet Explorer, Opera und Netscape Navigator läuft.
Doch ab Netscape 6 bzw. bei allen exotischen Mozilla Varianten läufts nicht...
Errors gibts bei folgender Funktion:
function makeMenu(obj,nest){
nest=(!nest) ? '':'document.'+nest+'.'
this.css=(n) ? eval(nest+'document.'+obj):eval('document.all.'+obj+'.style')
this.ref=(n) ? eval(nest+'document.'+obj+'.document'):eval('document');
this.height=(n) ? this.ref.height:eval(obj+'.offsetHeight')
this.x=(n)? this.css.left:this.css.pixelLeft;this.y=(n)? this.css.top:this.css.pixelTop; this.hideIt=b_hideIt; this.showIt=b_showIt; this.vis=b_vis; this.moveIt=b_moveIt
return this
}
Die Variable n steht für Netscape Navigator. Weis jemand wie die Objekte beispielse für Mozilla aussehen???
Danke!
Markus