Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/04/2002, 09:23
Avatar de Museki
Museki
 
Fecha de Ingreso: diciembre-2001
Ubicación: En algún lugar de la España...
Mensajes: 268
Antigüedad: 22 años, 3 meses
Puntos: 0
Re: ventana con tamaño determinado

Falta código por poner...
A ver hay que hacerlo en dos partes...

-Paso uno: [B]Copia este código en las etiquetas <head> y </head>[b]

Cita:
<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl +',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
// End -->
</script>
</HEAD>
-Paso dos: Copia este código en las etiquetas de <body> y </body>

Cita:
<BODY>

<!-- Put the URL inside the link's href="..." section, then carefully -->
<!-- change 'name' to a name for your popup window. The last three -->
<!-- items represent the popup window width, height, and scrollbars. -->

<a href="http://www.yahoo.com/" onclick="NewWindow(this.href,'name','400','40 0','yes');return false;">Popup Yahoo.com</a>

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size: 1.12 KB -->
</body>
Nada, espero haberte ayudado...

Museki dixit :cantar:

<a href='ir.asp?http://www.lostemplarios.cjb.net' target='_blank'>www.lostemplarios.cjb.net...</a>