
22/01/2003, 20:34
|
 | Colaborador | | Fecha de Ingreso: abril-2001
Mensajes: 353
Antigüedad: 23 años, 10 meses Puntos: 2 | |
Eso es con javascript
aqui te dejo el codigo:
<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>
Espero te sirva
Saludos
RIckoe |