chcialem sobie napisac prostego scroola - ktory bedzie przesuwa diva ustawiajac mu inna wartosc top - czyli bedzie sie chowal za innym divem. Ale nie dziala ... kompletnie nic ...

Kod
<div style="width:200px;height:150px;background-color:red;overflow:hidden">

  <div id="_1" style="width:130px;height:1500px;background-color:gray;position:relative;top:0px">
  s
  </div>

</div>

<script type="text/javascript">
var a;
function powt ()
{  
    i = document.getElementById("_1").style.top + 1;

    if( i < 1000 )
    {
        document.getElementById("_1").style.top = i + "px";
    }
}

if( document.getElementById("_1").style.top < 1000 )
a = setInterval(powt, 100);
else
clearInterval(a);

</script>