Cerrar popup pasados x segundos SIN ventana de confirmacion
Como cerrar popup pasados x segundos SIN ventana de confirmación gracias ?
incluye este script dentro <head> </head> del popup que quieres que se cierre
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
// ***********************************************
// AUTHOR: WWW.CGISCRIPT.NET, LLC
// URL: http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( http://www.cgiscript.net/scripts.htm )
// ***********************************************
var StayAlive = 15; // Number of seconds to keep window open
function KillMe(){
setTimeout("self.close()",StayAlive * 200);
}
</SCRIPT>
y esto en <body>
<body onload="KillMe();self.focus()">
con IE 6.1 y los browser mozzilla(netscape, firefox)funciona perfecto.
ATENCION:
no borres el copywright por respeto al credor del codigo.
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
// ***********************************************
// AUTHOR: WWW.CGISCRIPT.NET, LLC
// URL: http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( http://www.cgiscript.net/scripts.htm )
// ***********************************************
var StayAlive = 15; // Number of seconds to keep window open
function KillMe(){
setTimeout("self.close()",StayAlive * 200);
}
</SCRIPT>
y esto en <body>
<body onload="KillMe();self.focus()">
con IE 6.1 y los browser mozzilla(netscape, firefox)funciona perfecto.
ATENCION:
no borres el copywright por respeto al credor del codigo.
