Kann mir mal jemand sagen warum das nicht funktioniert habe ich da einen fehler drin oder was ?????
dies ist test.html
<html>
<head>
<title>test</title>
<script type="text/javascript">
<!--
function besucher() {
window.location.href = "t.html";
}
//-->
</script>
</head>
<body onunload="besucher()">
<p>testtest</p>
</html>und t.html ist im gleichen Verzeichniss.
bin mir nicht sicher aber probier es mal so:
window.location.href("t.html");