Ver Mensaje Individual
  #4 (permalink)  
Antiguo 14/03/2003, 08:42
dr. attach
 
Fecha de Ingreso: febrero-2003
Mensajes: 795
Antigüedad: 21 años, 3 meses
Puntos: 2
Pon este codigo en tu pagina, y con eso cada vez que levantes una foto el POP UP sera del mismo tamaño, espero te sirva (:

<html>
<head>
<!-- Copiar dentro del tag HEAD -->
<script LANGUAGE="JavaScript">
<!--
function CargarFoto(img, ancho, alto){
derecha=(screen.width-ancho)/2;
arriba=(screen.height-alto)/2;
string="toolbar=0,scrollbars=0,location=0,statusba r=0,menubar=0,resizable=1,width="+ancho+",height=" +alto+",left="+derecha+",top="+arriba+"";
fin=window.open(img,"",string);
}
// -->
</script>
</head>
</head>

<body>
<!-- Copiar dentro del tag BODY -->
<!-- imagen.jpg es el nombre del archivo, 240 es el ancho de la imagen y 350 el alto -->

<a href="javascript:CargarFoto('imagen.jpg','240','35 0')">Abrir imagen</a>
</body>
</html>

Cualquier duda te dejo mi mail:

[email protected]
__________________
Carlo Rodríguez
florerias en lima