Tema: magiczoom
Ver Mensaje Individual
  #13 (permalink)  
Antiguo 25/01/2013, 17:41
el_loco90
 
Fecha de Ingreso: julio-2012
Mensajes: 234
Antigüedad: 11 años, 9 meses
Puntos: 9
Respuesta: magiczoom

Cita:
Iniciado por fjrueda Ver Mensaje
Le falta ....

No esta marcando los identificadores que son, no esta utilizando la etiqueta <a> mas importante y sigue teniendo mal uso del evento Onmouseover.
ahi lo puse y tampoco anda
Código HTML:
Ver original
  1. function enterPhoto(photo)
  2. {
  3.     var takeUrl = photo.src;
  4.     var image290 = takeUrl.replace("90", "290");
  5.     var image1000 = takeUrl.replace("90", "1000");  
  6.     document.getElementById("imagen_mayor").src = image290;
  7.     document.getElementById("imagen_mayor").href = image1000;
  8. }
  9. </head>
  10. <div>
  11. <a href="<?php echo $foto2 ?>" rel="zoom-id:showcase" rev="<?php echo $foto2 ?>"><img src="<?php echo $foto2 ?>" alt="02" width="63" height="35" border="0" onmouseover="enterPhoto(this);"/></a>
  12. <a href="<?php echo $foto3 ?>" rel="zoom-id:showcase" rev="<?php echo $foto3 ?>"><img src="<?php echo $foto3 ?>" alt="03" width="63" height="35" border="0" onmouseover="enterPhoto(this);"/></a>
  13. <a href="<?php echo $foto4 ?>" rel="zoom-id:showcase" rev="<?php echo $foto4 ?>"><img src="<?php echo $foto4 ?>" alt="04" width="63" height="35" border="0" onmouseover="enterPhoto(this);"/></a>
  14. </div>
  15. <img src="<?php echo $foto2 ?>" name="imagen_mayor" width="533" height="327" id="imagen_mayor" />
Código HTML:
Ver original
  1. <a href="<?php echo $foto2 ?>" rel="zoom-id:showcase" rev="<?php echo $foto2 ?>"><img src="<?php echo $foto2 ?>" alt="02" width="63" height="35" border="0" onmouseover="enterPhoto(this);"/></a>

algo estoy haciendo mal y no me doy cuenta que