chris: nach appName automatisch auf css verweisen??

Beitrag lesen

Hallo Mirko!
meine datei sieht jetzt folgendermaßen aus!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
     "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>OaI - Otten angewandte Informatik</title>
<meta name="keywords" content="Glasverarbeitung, Glas Software, O A I, BDE, Zuschnittsoptimierung, microGlas">
<script LANGUAGE="JavaScript">
function autocss ()
{
if (navigator.appName=='Netscape');
 { document.write("<link rel="stylesheet" type=\text/css" href="cssvorlage.css">");
 }
if (navigator.appName=='Microsoft Internet Explorer');
 { document.write("<link rel="stylesheet" type=\text/css" href="cssvorlage_ie.css">");
 }
}
</script>
</head>
<frameset frameborder="0" framespacing="0" border="0" rows="190,*">
<frame src="kopf.htm" scrolling=no noresize NAME="oben">
<frame background-color="white" src="willk.htm" NAME="4">
<noframes></noframes>
</frameset>
</frameset>
</html>

Leider funktioniert es noch nicht! Woran liegt, es hast du ne Idee?
danke nochmals! mfg chris