Hallo NG,
hab jetzt etwas "zusammengefrickelt" was auch mit NS funktioniert, könnte ich mal schauen, ob ich den code noch verbessern könnte?
vielen Dank
Johann
<body onLoad="if (document.all || document.layers ||document.getElementById) redir()">
<script language="JavaScript1.2" type="text/javascript">
<!--
function redir()
{
var FBreite = 0;
var FHoehe = 0;
if (document.all) {
FBreite = document.body.clientWidth;
FHoehe = document.body.clientHeight;
}
else if (document.layers) {
FBreite = window.innerWidth;
FHoehe = window.innerHeight;
}
else if (document.getElementById){
FBreite = document.body.clientWidth;
FHoehe = document.body.clientHeight;
}
if (FBreite < 640 || FHoehe < 450)
self.location.href = '../01/210/01210007.asp';
else if (FBreite < 800 && FHoehe < 550)
self.location.href = '../01/220/01220007.asp';
else if (FBreite < 1024 && FHoehe < 700)
self.location.href = '../01/230/01230007.asp';
else
self.location.href = '../01/230/01230007.asp';
}
// -->
</script>