Gracias
leoj90 Cita:
Iniciado por leoj90 Así debe ser, sin espacios:
<script>
function abrir()
{
window.open('pagina.htm','titulo_ventana','height= 390,width=550,scrollbars=no,reslizable=no, left=120,top=115');
}
</script>
Y con 1 error de "ortografía":
rezisable-->
reslizable ![apachar ojo](http://static.forosdelweb.com/fdwtheme/images/smilies/wink.png)
Pero tu código hace exactamente igual que el que yo ponía (dos popup, uno a toda pantalla y el otro con las dimensiones del JS (tanto con rezisable como con reslizable).
-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-
Gracias
caricatos, me ha servido tu código:
Cita:
Iniciado por caricatos <head>
<script language="JavaScript>
function abrir()
{
window.open('','titulo_ventana','height=390,width= 50,scrollbars=no,rezisable=no,left=120,top=115');
}
</script>
</head>
<body>
<a href="pagina.html" target="titulo_ventana" onclick=abrir();>POP UP</a>
</body>
Me ha quedado asi y funciona:
Cita: <head>
<script language="JavaScript">
function abrir()
{
window.open('','titulo_ventana','height=390, width=550,scrollbars=no,rezisable=no,
left = 120, top = 115');
}
</script>
</head>
<body>
<a href="creditos.html" target="titulo_ventana" onclick=abrir(); class="estilo1">· Créditos ·</a>
</body>
Muchas gracias a los dos, saludos