[latex]Mae govannen![/latex]
Das bereits bestehende Objekt "foo" wieder ... dann hat das Objekt "foo" zwar all die Eigenschaften und Methoden, die es haben sollte - allerdings kein Unterobjekt "bar" mehr. :-(
andere Möglichkeit, nicht XHTML-fähig:
foo.js:
document.write('<script type="text/javascript" src="bar.js"><\/script>');
document.write('<script type="text/javascript" src="baz.js"><\/script>');
var foo = {...};
dann muß im HTML-Head nur noch foo.html eingebunden werden.
Cü,
Kai
--
A workaround for an avoidable problem often adds clutter and overhead to the program which
could have been avoided by not creating the problem in the first place.(Garrett Smith/clj)
Foren-Stylesheet Site Selfzeug JS-Lookup
SelfCode: sh:( fo:| ch:? rl:( br:< n4:( ie:{ mo:| va:) js:| de:> zu:) fl:( ss:| ls:?
A workaround for an avoidable problem often adds clutter and overhead to the program which
could have been avoided by not creating the problem in the first place.(Garrett Smith/clj)
Foren-Stylesheet Site Selfzeug JS-Lookup
SelfCode: sh:( fo:| ch:? rl:( br:< n4:( ie:{ mo:| va:) js:| de:> zu:) fl:( ss:| ls:?