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...

Advertisement
Category: WSE | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 2032 | Hits: 261

Similar Posts

  • Multiline strings in JavaScript more
  • jQuery.ui Sortable more
  • Adding Mouse Wheel support in Silverlight. The easy way. more
  • jQuery.position() on Invisible Elements fails more
  • Getting absolute coordinates from a DOM element more
  • An annoying IE position: Relative and OverFlow-Y Bug more
  • WebChart AJAX Zooming and Scrolling: How to get the most out of your data more
  • First Look at Silverlight 2 more
  • WebChart AJAX Zooming and Scrolling: How to get the most out of your data more
  • WebChart AJAX Zooming and Scrolling: How to get the most out of your data more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD