Foros del Web » Creando para Internet » Diseño web »

Problemas con los DIV

Estas en el tema de Problemas con los DIV en el foro de Diseño web en Foros del Web. HOLA A TODOS TENGO OTRO PORBLEMA EN EL SITE EN QUE ESTOY TRABAJANDO MOSTRAMOS UNA PELICUAL SWF DENTRO DE UN DIV QUE APARECE OCULTO... EL ...
  #1 (permalink)  
Antiguo 17/07/2008, 07:39
Avatar de nephigomez  
Fecha de Ingreso: mayo-2008
Mensajes: 4
Antigüedad: 15 años, 11 meses
Puntos: 0
Exclamación Problemas con los DIV

HOLA A TODOS TENGO OTRO PORBLEMA EN EL SITE EN QUE ESTOY TRABAJANDO MOSTRAMOS UNA PELICUAL SWF DENTRO DE UN DIV QUE APARECE OCULTO... EL PROBLEMA ES QUE INTERNET EXPLORER CUANDO CIERRO EL DIV EL AUDIO Y LA ANIMACION CONTINUAN EJECUTANDOSE EN CAMBIO EN FIREFOX NO PASA LO MISMO, NO SE COMO HACERLO: EL CODIGO Q TENGO ES EL SIGUIENTE:

<script>
function cerrar() {
div = document.getElementById('flotante');
div.style.display='none';
}
function mostrardiv() {

div = document.getElementById('flotante');
div.style.display = '';
}
</script>
</head>

<body>
<div id="mostrarDiv"><a href="javascript:mostrardiv();">Mostrar Div</a></div>
<div id="flotante" style="display:none;"><object width="600" height="400">
<param name="movie" value="../flashes/ejerciciotorre.swf">
<param name="quality" value="high">
<embed src="../flashes/ejerciciotorre.swf" quality="high" width="600" height="400"></embed>
</object><br><a href="javascript:cerrar();"> presiona aquí para cerrar</a> </div>

SI ALGUIEN TIENE UNA IDEA PARA QUE SE DEJE DE EJECUTAR LA ANIMACION CUANDO CIERRO EL DIV LE AGRADECERIA MUCHO
  #2 (permalink)  
Antiguo 17/07/2008, 07:51
Avatar de DragonX
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Funkyland
Mensajes: 8.433
Antigüedad: 21 años, 10 meses
Puntos: 177
Respuesta: Problemas con los DIV

probá con:
visibility='hidden';
en lugar de
display='none';

__________________
Desarrollos dosLotos
Calendario Maya, Meditación, Osho
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 12:27.