und ich bräuchte noch ne andere art javaskript wo man ohne eine bestätigung das fenster automatisch sich schliesst nach einer weiterleitung hier ist der code...
<html>
<head>
<title>gdm|clan</title>
<SCRIPT language=JavaScript1.1>
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3))
{
alert ("copyright by
Service@gdm.derhoster.de");
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
</SCRIPT>
<STYLE type=text/css>BODY {
SCROLLBAR-FACE-COLOR: black; SCROLLBAR-HIGHLIGHT-COLOR: black; CURSOR: crosshair; SCROLLBAR-SHADOW-COLOR: black; SCROLLBAR-ARROW-COLOR: #445566; SCROLLBAR-TRACK-COLOR: #445566; SCROLLBAR-BASE-COLOR: black; scrollbar-3d-light-color: black; scrollbar-dark-shadow-color: black
}
A:link {
FONT-SIZE: 7pt; CURSOR: crosshair; COLOR: #cc9900; FONT-FAMILY: Verdana
}
A:visited {
FONT-SIZE: 7pt; CURSOR: crosshair; COLOR: #cc9900; FONT-FAMILY: Verdana
}
A:hover {
FONT-SIZE: 7pt; CURSOR: crosshair; COLOR: #cc9900; FONT-FAMILY: Verdana
}
</STYLE>
<meta http-equiv="refresh" content="0; URL=index2.htm">
</head>
<body bgcolor="#445566" onload=fullscrn() onUnload= "newWindow.close();">
<center>
</center>
<script>
<!--
function fullscrn(){
window.open("index2.htm","","fullscreen,scrollbars")
}
//-->
</script>
</body>
</html>
ich hoffe es gibt so was