sorry, schon klar.
die css-dateien enthalten lediglich formatierungen wie die lanks und texte auszusehen haben
browser-detect.js
version = parseInt(navigator.appVersion);
name = navigator.appName;
IE3 = (name == "Microsoft Internet Explorer" && version < 4);
NN3 = (name == "Netscape" && version < 4);
NN4 = (name == "Netscape" && version == 4);
IE4 = (name == "Microsoft Internet Explorer" && version >= 4);
NN6 = (name == "Netscape" && version >= 6);
if (window.name=="druckansicht") {
document.write("<link REL='stylesheet' HREF='print.css' TYPE='text/css'>");
}
else if (IE4 || NN6) {
document.write("<link REL='stylesheet' HREF='enhanced.css' TYPE='text/css'>");
}
else {document.write("<link REL='stylesheet' HREF='basic.css' TYPE='text/css'>");
}
framedefinierende-html-datei
.
.
.
<script language="JavaScript" src="browser-detect.js" type="text/javascript">
</script>
<noscript><link REL='stylesheet' HREF='basic.css' TYPE='text/css'></noscript>
</head>
<frameset cols="200,*" frameborder="0" framespacing="0" border="0">
<frame NAME="navigator" src="navigation.html" scrolling="no" noresize>
<frame NAME="main" src="main.html" scrolling="auto" noresize>
<body>
navigation,
script wie oben
<a href="xyz.html taget="main">blabla</a>
so, das war's
eigentlich sollte das halt laufen, tuts aber nicht
ciao,
ZakZero