Retrieving Browser Scroll Position in JavaScript

Posted by: Rick Strahls WebLog, on 24 Feb 2006 | View original | 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
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: WSE | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 2620 | Hits: 265

Similar Posts

  • An annoying IE position: Relative and OverFlow-Y Bug more
  • jQuery.position() on Invisible Elements fails more
  • Adding Mouse Wheel support in Silverlight. The easy way. more
  • jQuery.ui Sortable more
  • First Look at Silverlight 2 more
  • Getting absolute coordinates from a DOM element more
  • Multiline strings in JavaScript more
  • Silverlight Adventures more
  • How to work around the "Access denied" cross-domain frame issue in ASP.NET Ajax 1.0 more
  • Microsoft AJAX Library: Sys.UI.DomEvent Remarks 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