Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/01/2007, 01:11
Avatar de seoista
seoista
 
Fecha de Ingreso: septiembre-2003
Ubicación: Pues leyéndote
Mensajes: 1.076
Antigüedad: 20 años, 9 meses
Puntos: 59
Re: enlazar un texto a una imagen en POPUP!

Hola kaos_diego, a ver si es esto lo que quieres (copia y pega este código):

Código:
<html>
<head>

<script type="text/javascript">
<!--
function detener(){
return true
}
window.onerror=detener

function ventanapopup(img, ancho, alto){
  derecha=(screen.width-ancho)/2;
  arriba=(550-alto)/2;
  

string="toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+ancho+",height="+alto+",left="+derecha+",top="+arriba+"";
  fin=window.open(img,"",string);
}
//-->
</script>

</head>

<body>

<a href="javascript:ventanapopup('LA PAGINA DONDE QUIERES PONER LA IMAGEN.html','500','600')">TEXTO QUE QUIERAS PONER</a>

</body>
</html> 
Nota: 500 / 600 = aquí puedes poner las medidas del POPUP que necesites.

Suerte y saludos

Última edición por seoista; 06/01/2007 a las 03:16