Hallo!
Laß die Funktion weg. Falsch:
function set_style() {
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion.substring(0,1)) == "4"))
document.open(); document.write('<link rel="stylesheet" href="style2.css" type="text/css">'); document.close();
else document.open(); document.write('<link rel="stylesheet" href="style.css" type="text/css">'); document.close();
}
Richtig:
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion.substring(0,1)) == "4"))
document.open(); document.write('<link rel="stylesheet" href="style2.css" type="text/css">'); document.close();
else document.open(); document.write('<link rel="stylesheet" href="style.css" type="text/css">'); document.close();
OK, hab's nicht ausprobiert, sollte aber klappen.