How can I do with JS
so that when I scroll down the div = Window disappears?
What if I scroll up to show up?
#Ventana {
height: 100px;
width: 100%;
background-color: red;
text-align: center;
line-height: 100px;
}
#OtroContenedor {
height: 1500px;
width: 100%;
background-color: purple;
}
<div id="Ventana">
Esto es mi ventana
</div>
<div id="OtroContenedor">
Este texto es de relleno
</div>