innerhtml - Problem bei Netscape
bugfix
- javascript
Hi, ich will einen Text auf einen Layer schreiben, der 100 Pixel breit ist. Im IE kein Problem:
with (infotext_div.style) {width=100;}
document.all.infotext_div.innerHTML = 'Text1'
Im NS schreibt man:
document.infotext_lay.document.open();
document.infotext_lay.document.write(Text1');
document.infotext_lay.document.close();
Aber wenn ich die Breite mit:
document.infotext_lay.width = 100;
eingeben will, geht das nicht!
Kann mir wer helfen?
Aber wenn ich die Breite mit:
document.infotext_lay.width = 100;
eingeben will, geht das nicht!
Kann mir wer helfen?
du musst document.infotext_lay.clip.width = 100; schreiben.
ALEX