[latex]Mae govannen![/latex]
ich möche bei nichtaktiviertem JavaScript eine spezielle CSS-Datei laden.
Gibt es eine Möglichkeit, das W3C-konform hinzubekommen?
Binde die noJS.css als Standard ein und erzeuge per Javascript das link-Element zur erweiterten CSS-Datei.
Ob du das Link-Element für die noJS.css per JS rechtzeitig (d.h. vor der Anwendung) entfernen kannst, weiß ich gerade nicht, ansonsten mußt du in der erweiterten css-datei die Werte explizit wieder überschreiben.
Cü,
Kai
--
The frog was a prince, the prince was a brick, the brick was an egg, the egg
was a bird. Hadn't you heard? Yes, we're happy as fish and gorgeous as geese,
and wonderfully clean in the morning.
selfcode sh:( fo:| ch:? rl:( br:< n4:# ie:{ mo:| va:) js:) de:> zu:) fl:( ss:| ls:?
The frog was a prince, the prince was a brick, the brick was an egg, the egg
was a bird. Hadn't you heard? Yes, we're happy as fish and gorgeous as geese,
and wonderfully clean in the morning.
selfcode sh:( fo:| ch:? rl:( br:< n4:# ie:{ mo:| va:) js:) de:> zu:) fl:( ss:| ls:?