Message Thread: |
View All MessagesBack to WebFX |
Same thing should work in IE6/Mozilla. Just make sure you are using scrollTop on the correct element. (This can be either document.body or document.documentElement depending on the box model.) In Mozilla you can also use window.pageYOffset or window.scrollY since the scrollTop behavior has not been very stable over the last couple of releases. Instead of using doScroll just modify scrollTop. This works in /all/ browsers. erik |