En una ventana, se abre una ventana nueva (popup) de 200x200
y kiero que esa ventana se cierre en unos 15 segundos.
aki tengo un demo, chekenlo, ya se abre la ventana nueva, pero me falta el codigo ke cierre.
Cita:
y aki esta el codigo de cerrado<html>
<head><script LANGUAGE="JavaScript">
<!-- AmazingPopUps.com -->
window.open("http://www.the-herps.ya.st", "null", "height=200,width=200,status=no,menubar=no,locatio n=no,resizable=yes,titlebar=no,scrollbars=yes,top= " + (screen.height/2-(950/2)) + ",left=" + (screen.width/2-(950/2)));
</script>
</head><script LANGUAGE="JavaScript">
<!-- AmazingPopUps.com -->
window.open("http://www.the-herps.ya.st", "null", "height=200,width=200,status=no,menubar=no,locatio n=no,resizable=yes,titlebar=no,scrollbars=yes,top= " + (screen.height/2-(950/2)) + ",left=" + (screen.width/2-(950/2)));
</script>
<body>
</body>
</html>
<head><script LANGUAGE="JavaScript">
<!-- AmazingPopUps.com -->
window.open("http://www.the-herps.ya.st", "null", "height=200,width=200,status=no,menubar=no,locatio n=no,resizable=yes,titlebar=no,scrollbars=yes,top= " + (screen.height/2-(950/2)) + ",left=" + (screen.width/2-(950/2)));
</script>
</head><script LANGUAGE="JavaScript">
<!-- AmazingPopUps.com -->
window.open("http://www.the-herps.ya.st", "null", "height=200,width=200,status=no,menubar=no,locatio n=no,resizable=yes,titlebar=no,scrollbars=yes,top= " + (screen.height/2-(950/2)) + ",left=" + (screen.width/2-(950/2)));
</script>
<body>
</body>
</html>
Cita:
<script language="javascript">setTimeout("self.close();",7 000)</script>
Como se acomodaria??