Ver Mensaje Individual
  #5 (permalink)  
Antiguo 30/04/2013, 18:04
Avatar de JuJoGuAl
JuJoGuAl
 
Fecha de Ingreso: julio-2009
Ubicación: Venezuela
Mensajes: 754
Antigüedad: 14 años, 9 meses
Puntos: 19
Respuesta: Problemas de Superpocision de DIV

Lo hice con php y java, con el php cree una variable que tome el valor de 1 al cumplirse una condicion... y si esta variiable tenia el valor de 1 aplicaba el style overflow=hidden

Código PHP:
Ver original
  1. if ($tarde==1){
  2. echo'
  3. <script type="text/javascript">
  4.     document.getElementsByTagName("html")[0].style.overflow = "hidden";
  5.     document.getElementById("fondopantalla").style.display = "block";
  6.     document.getElementById("pantalla").style.display = "block";
  7. </script>
  8. ';
  9. }
  10. ?>