Retrieving Browser Scroll Position in JavaScript
Posted by: Rick Strahls WebLog,
on 24 Feb 2006 |
View original | NEW Bookmarked: 0 time(s)
Man what a pain in the ass this is. I'm still working out some additional details that were pointed out to me with the wwHoverPanel control. The main problem is that reliably getting the scroll position is very fickle.
Originally I had tried to rely on document.body.scrollTop which works fine for the original demos I created, but it fails when running in a MasterPage. I don't think it's the master page per se that is making this different, but probably the containership inside of the...