Hallo Robert,
wo befindet sich das location-Object eigentlich "offiziell"?
Die von mir jetzt gerade eben getesteten Browser (IE 6, Opera 7.53, Firefox 1.0, Mozilla 1.7.3, Netscape 4.77) kennen sowohl
document.location
als auch
window.locationAber welches ist denn jetzt richtig(er)?
Welches wird von Safari/Konqueror unterstützt (die kann ich mangels Hardware/OS nicht selber testen)?
Laut SELFHTML gibt es kein Objekt document.location:
http://de.selfhtml.org/javascript/objekte/document.htm
Also gehe ich mal davon aus dass window.location richtig ist.
Bis dann!
Marc Reichelt || http://www.marcreichelt.de/
--
Linux is like a wigwam - no windows, no gates and an Apache inside!
SELFCode: ie:{ fl:| br:> va:} ls:< fo:} rl:( n4:( ss:) de:> js:| ch:? sh:| mo:) zu:)
http://emmanuel.dammerer.at/selfcode.html
Linux is like a wigwam - no windows, no gates and an Apache inside!
SELFCode: ie:{ fl:| br:> va:} ls:< fo:} rl:( n4:( ss:) de:> js:| ch:? sh:| mo:) zu:)
http://emmanuel.dammerer.at/selfcode.html