
30/04/2005, 13:16
|
(Desactivado) | | Fecha de Ingreso: febrero-2005 Ubicación: Azcapotzalco
Mensajes: 299
Antigüedad: 20 años, 1 mes Puntos: 2 | |
Código:
<html>
<head>
<style>
.activo {
overflow : scroll ;
}
.oculto {
overflow : hidden ;
}
</style>
<script>
function activa(a){
if(a)
document.getElementById("pagina").className="activo";
else
document.getElementById("pagina").className="oculto";
}
</script>
</head>
<body id="pagina" class="oculto">
<input type="button" value="mostrar" onclick="activa(1)">
<input type="button" value="ocultar" onclick="activa(0)">
</body>
</html>
|