hello forum ninjas!

i tried to ad a bit of jquery to a pane in webpage under:


problem: the scrolling of the division does not stop at the bottom of the page, or, only chrome: at opening of the page, the division scrolls automatic to bottom of the page.

the code is very little:

$(window).scroll(function() {
.animate({top: $(document).scrollTop()},'slow','easeOutQuad');

it works in the example page of the book. why not in my case?

thanks for any help!