scrollTo problem in IE (scrolling starts from 0 each time)

scrollTo problem in IE (scrolling starts from 0 each time)

Hey guys,

I'm developing an html/jq website in which I'm scrolling the $(document) on certain button clicks.

The problem is that in IE, each time when the scroll is triggered it starts from the document begin each time.

So imagine you are at some offset y: 1000 and want to scroll to y:2000. The stupid IE goes to y:0 and then scrolls to y:2000.

Any ideas on how to handle that one ? :/


Thanks in advance,
Martin