
30/12/2002, 06:12
|
 | | | Fecha de Ingreso: noviembre-2002
Mensajes: 160
Antigüedad: 22 años, 5 meses Puntos: 0 | |
Código:
function ocultarCapa(nombreCapa) {
if (document.getElementById && document.getElementById(nombreCapa) != null)
node = document.getElementById(nombreCapa).style.visibility='visible';
else if (document.layers && document.layers[nombreCapa] != null)
document.layers[nombreCapa].visibility = 'visible';
else if (document.all)
document.all[nombreCapa].style.visibility = 'visible';
}
function mostrarCapa(nombreCapa) {
if (document.getElementById && document.getElementById(nombreCapa) != null)
node = document.getElementById(nombreCapa).style.visibility='hidden';
else if (document.layers && document.layers[nombreCapa] != null)
document.layers[nombreCapa].visibility = 'hidden';
else if (document.all)
document.all[nombreCapa].style.visibility = 'hidden';
}
|