Ver Mensaje Individual
  #12 (permalink)  
Antiguo 05/09/2006, 07:18
Avatar de piero19
piero19
 
Fecha de Ingreso: marzo-2003
Ubicación: Lima - Perú
Mensajes: 322
Antigüedad: 21 años, 1 mes
Puntos: 1
Hola, tambien puedes usar este script sencillo solo reemplazas donde se ubican las fotos.

Código HTML:
<html>
<head>
</script>
<script language="javascript">
var ventana
var cont=0
var titulopordefecto = "Defecto"

function foto(cual,titulo){
if(cont==1){ventana.close();ventana=null}
if(titulo==null){titulo=titulopordefecto}
ventana=window.open('','ventana','resizable=yes,scrollbars=no')
ventana.document.write('<html><head><title>' + titulo + '</title></head><body style="overflow:hidden" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" scroll="no" onUnload="opener.cont=0"><img src="' + cual + '" onLoad="opener.redimensionar(this.width, this.height)">')
ventana.document.close()
cont++}
function redimensionar(ancho,alto){
ventana.resizeTo(ancho+12,alto+28)
ventana.moveTo((screen.width-ancho)/2,(screen.height-alto)/2)}
</script>
</head>

<body>

<table width="80" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="80" height="70" valign="top"><a href="directorio/tufotos2.jpg" onClick="foto('directorio/tufotos2.jpg','titulo de la ventana');return false"><img src="directorio/tufoto1.jpg" width="80" height="70" border="0"></a></td>
  </tr>
</table>
</body>
</html> 
saludos..
__________________
I-Media Network :: Hosting Perú ::
Hosting, Resellers y Streaming. Realmente Económicos