
16/03/2007, 01:08
|
 | | | Fecha de Ingreso: septiembre-2003 Ubicación: Pues leyéndote
Mensajes: 1.076
Antigüedad: 21 años, 6 meses Puntos: 59 | |
Re: como hacer una ventana pop-up!!!!!!!!
Código:
<html>
<head>
<script type="text/javascript">
function ventanaSecundaria (URL){
window.open(URL,"ventana1","width=220,height=200,left=280,top=200,scrollbars=no" )
}
</script>
</head>
<body>
<a href="javascript:ventanaSecundaria('http://TU URL')">Nombre del pop up</a>
</body>
</html> Ya tu solo le vas calculando el valor que necesites de:
- width
- height
- left
- top
Saludos |