Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/06/2006, 17:03
Avatar de el_javi
el_javi
 
Fecha de Ingreso: marzo-2005
Ubicación: MAdrid
Mensajes: 844
Antigüedad: 19 años, 10 meses
Puntos: 10
Buenas noches Dianaj90

Mirando lo que decias, se me ha ocurrido este pequeño script, basado en el que tu preparaste.

Mira a ver si te es util, y con lo que sea podemos ir mejorándolo para que se adapte a lo que buscas.

Código PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<
html>
<
head>
    <
title>Untitled</title>
    <
script language="JavaScript1.2" type="text/javascript">
        function 
habilita_equipos()
        {

            if(
document.formulario.caida_masiva.checked == true)
            {
                
document.getElementById("lista_equipos_red").style.display "inline";
            }
            else
            {
                
document.getElementById("lista_equipos_red").style.display "none";
            }
        }
    
</script>
</head>

<body style="margin:0px;padding:0px">
<table cellpadding="0" cellspacing="0" width="100%" style="height:100%" border="0">
    <tr>
        <td width="100%" height="100%" align="center" valign="top">
            <form name="formulario" action="javascript:void(null)" method="post">
            <table cellpadding="0" cellspacing="0" width="400" border="0">
                <tr>
                    <th class="left">Caida Masiva:</th>
                    <td class="right">"."<input type="checkbox" name="caida_masiva" value="0" onclick="javascript:habilita_equipos();">"."</td>
                </tr>
                <tr>
                    <th class="left">Equipo(s) de Red:</th>
                    <td class="right" bgcolor=white><IFRAME id=lista_equipos_red name=lista_equipos_red marginWidth=0 marginheight=0 src='../../ticket/ticket_equipos.php?caida_masiva=$caida_masiva' frameBorder='no' scrolling='auto' height=150 width=363 style="display:none"></IFRAME></td>
                </tr>
            </table>
            </form>
        </td>
    </tr>
</table>

</body>
</html> 
Creo que no es necesario comentar nada, mas que accedo al IFRAME por medio de su ID, dado que es la manera más estandar por los diferentes navegadores.

Espero que te sea util.. un saludo