Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/11/2011, 16:51
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: hover sobre texto?

vas a necesitar de javascript, algo asi

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <title>titulo</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6.  
  7. <style type="text/css">
  8. /*<![CDATA[*/
  9.  
  10. div.contiene_foto{
  11. width: auto;
  12. height:auto;
  13. float: left;
  14. }
  15. div.contiene_foto{
  16. width:200px;
  17. height:200px;
  18. float: left;
  19. }
  20. /*]]>*/
  21. </head>
  22. <div class="contiene_foto">
  23. <img src="fotopordefecto.jpg" alt="" id="foto" width="200" height="200" />
  24. </div>
  25. <div class="contiene_menu">
  26. <ul>
  27. <li><a href="#" onmouseover="document.getElementById('foto').src='dos.jpg';"  onmouseout="document.getElementById('foto').src='fotopordefecto.jpg';">item menu</a></li>
  28. </ul>
  29. </div>
  30. </body>
  31. </html>

Saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.