Ver Mensaje Individual
  #6 (permalink)  
Antiguo 22/05/2009, 14:00
Avatar de buzu
buzu
 
Fecha de Ingreso: octubre-2006
Ubicación: San Francisco, CA
Mensajes: 2.168
Antigüedad: 18 años, 4 meses
Puntos: 122
Respuesta: Onmouseover en IMG

El error está en otro lado, acabo de probar el código tal como lo tienes y no me ha dado problema alguno:
Código html:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2.        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4.     <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  5.     <title>\</title>
  6.     <script language="javascript">
  7. window.onload = function()
  8. {
  9. var lis = document.getElementsByTagName("img");
  10.  
  11. for (var i=0;i<lis.length;i++) {
  12. lis[i].onmouseover = function()
  13. {
  14. this.src='http://static.forosdelweb.com/fdwtheme/images/reputation/reputation_pos.gif';
  15. };
  16. }
  17. };
  18. </head>
  19. <img src="http://static.forosdelweb.com/fdwtheme/images/reputation/reputation_off.gif" alt="" /><br />
  20. <img src="http://static.forosdelweb.com/fdwtheme/images/reputation/reputation_off.gif" alt="" /><br />
  21. <img src="http://static.forosdelweb.com/fdwtheme/images/reputation/reputation_off.gif" alt="" /><br />
  22. <img src="http://static.forosdelweb.com/fdwtheme/images/reputation/reputation_off.gif" alt="" /><br />
  23. <img src="http://static.forosdelweb.com/fdwtheme/images/reputation/reputation_off.gif" alt="" /><br />
  24. <img src="http://static.forosdelweb.com/fdwtheme/images/reputation/reputation_off.gif" alt="" /><br />
  25. <img src="http://static.forosdelweb.com/fdwtheme/images/reputation/reputation_off.gif" alt="" /><br />
  26. <img src="http://static.forosdelweb.com/fdwtheme/images/reputation/reputation_off.gif" alt="" /><br />
  27. <img src="http://static.forosdelweb.com/fdwtheme/images/reputation/reputation_off.gif" alt="" /><br />
  28. </body>
  29. </html>

Probado en Firefox
__________________
twitter: @imbuzu