Foros del Web » Programando para Internet » Javascript »

imagen no carga en explorer

Estas en el tema de imagen no carga en explorer en el foro de Javascript en Foros del Web. me guié por este tema http://www.forosdelweb.com/f13/mostrar-gif-cargando-mientras-carga-imagen-611757/ la imagen gif me carga en FireFox, pero en explorer hay UNA imagen especifica que no abre (y las ...
  #1 (permalink)  
Antiguo 19/01/2011, 13:57
 
Fecha de Ingreso: enero-2011
Mensajes: 46
Antigüedad: 13 años, 3 meses
Puntos: 2
imagen no carga en explorer

me guié por este tema

http://www.forosdelweb.com/f13/mostrar-gif-cargando-mientras-carga-imagen-611757/

la imagen gif me carga en FireFox, pero en explorer hay UNA imagen especifica que no abre (y las que abren se quedan estaticas) intenté cambiandole el nombre, modificandola y aún nada.
coloco el codigo a ver si alguien puede ayudarme

Código HTML:
Ver original
  1. <body onload="carga()">
  2.  
  3. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  4.  
  5. <div id="espere" style="width:320px; height:auto; background-color:#FFFFFF; display:none; margin-left:auto; margin-right:auto; " >
  6.                 <table width="320px" border="0" cellpadding="0" cellspacing="0" align="center">
  7.                     <tr height="10">
  8.                         <td style="background:url(img/cajita_over/corner.png) top left no-repeat; width:10px; height:10px;" width="10" height="10">
  9.                             <img src="img/spacer_trans.png" width="10" height="10" /></td>
  10.                         <td width="300" height="10" style="background:url(img/cajita_over/bg_others.png) top left repeat;">
  11.                             <img src="img/spacer_trans.png" width="10" height="10" /></td>
  12.                         <td width="10" height="10" style="background:url(img/cajita_over/corner.png) top right no-repeat; width:10px; height:10px;">
  13.                             <img src="img/spacer_trans.png" width="10px" height="10px" /></td>
  14.                     </tr>
  15.                    
  16.                     <tr>
  17.                         <td style="background:url(img/cajita_over/bg_others.png) repeat;" width="10" height="10">
  18.                             <img src="img/spacer_trans.png" width="10px" height="10px" /></td>
  19.                         <td height="170" valign="middle" align="center" style="border:1px #555555 solid;">
  20.                             <div align="center" class="conTenido" style="text-align:center; width:75%; margin-left:auto; margin-right:auto; font-size:12px;">
  21.                                 <img src="img/logoBase.png" style="margin-bottom:10px;"/><br />
  22.                                  Espere un momento, sus imagenes están siendo cargadas al sistema<br />
  23.                                 <img src="img/ajax-loaderhypno.gif" style="margin-bottom:10px;" />  
  24.                             </div>
  25.                         </td>
  26.                         <td style="background:url(img/cajita_over/bg_others.png) repeat;"><img src="img/spacer_trans.png" width="10px" height="10px" /></td>
  27.                     </tr>
  28.                     <tr height="10">
  29.                         <td style="background:url(img/cajita_over/corner.png) bottom left no-repeat;" height="10"><img src="img/spacer_trans.png" width="10px" height="10px" /></td>
  30.                         <td style="background:url(img/cajita_over/bg_others.png) repeat;" height="10"><img src="img/spacer_trans.png" width="10" height="10" /></td>
  31.                         <td style="background:url(img/cajita_over/corner.png) bottom right no-repeat;" height="10"><img src="img/spacer_trans.png" width="10px" height="10px" /></td>
  32.                     </tr>
  33.                 </table>
  34.             </div>
  35.  
  36. XXXXXXXXXXXXXXXXXX
  37.  
  38. </body>

Código Javascript:
Ver original
  1. <script>
  2. function carga() {                 
  3.     document.getElementById("espere").style.display = "none";
  4.     document.getElementById("campitos").style.display = "block";
  5. }</script>
  #2 (permalink)  
Antiguo 19/01/2011, 14:00
 
Fecha de Ingreso: enero-2011
Mensajes: 46
Antigüedad: 13 años, 3 meses
Puntos: 2
Respuesta: imagen no carga en explorer

la idea es la siguiente. mientras carga una imagen el me muestra un cuadro "Espere un momento, sus imagenes están siendo cargadas al sistema" con el gif ajax-loader (en este caso dice ajax-loaderhypno ya que este si la carga).
  #3 (permalink)  
Antiguo 20/01/2011, 09:59
 
Fecha de Ingreso: enero-2011
Mensajes: 46
Antigüedad: 13 años, 3 meses
Puntos: 2
Respuesta: imagen no carga en explorer

ya puedo ver la imagen. ahora tengo un lio..... el gif se mantiene estatico.... por favor habrá alguien que me pueda echar una mano
  #4 (permalink)  
Antiguo 21/01/2011, 07:37
 
Fecha de Ingreso: enero-2011
Mensajes: 46
Antigüedad: 13 años, 3 meses
Puntos: 2
Respuesta: imagen no carga en explorer

ya que no pude, no me quedó de otra y le coloqué un Flash...................


listo!!!!!!!!!!!!!!!!!!!!!!

Etiquetas: carga, explorer
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 18:41.