Hallo Struppi.
<link rel="stylesheet" href="kein_js.css" media="screen">
<script type="text/javascript">
var o = document.getElementsByTagName('link');
if(o[0]) o[0].href="mit_js.css";
</script>
Zur Stelle „if(o[0])“:
Warum sollte das *darüber* notierte link-Element an dieser Stelle noch nicht existieren?
Einen schönen Montag noch.
Gruß, Ashura
--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
mathbr:del.icio.us/ mathbr:w00t/
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
mathbr:del.icio.us/ mathbr:w00t/