09/04/2002, 07:46
|
| | Fecha de Ingreso: febrero-2001
Mensajes: 292
Antigüedad: 24 años Puntos: 0 | |
Re: Tamaño de Ventana Esto es lo que necesitás?
Código:
<html>
<head>
<title> New Document </title>
<script language="javascript">
var win = null;
function nuevaVentana(pagina,nombre,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
estilo =
'height=' + h + ',width=' + w + ',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(pagina,nombre,estilo)
}
</script>
</head>
<body>
<a href="javascript:;" onClick="nuevaVentana('images/maqB.jpg','sizewindow','300','200','yes');return false">
<img alt=Ampliar border=2 src="images/maqB.jpg" width=50>
</a>
</body>
</html>
<hr noshade size=1><img src="http://www.gograph.com/Images-8712/ClipArt/cat03.gif" height="50" border=0 align="absmiddle"> <font size="2" face="verdana" color="#000000"> bet[/CODE] |