jQuery.position() on Invisible Elements fails

Posted by: Rick Strahls WebLog, on 20 Sep 2008 | View original | Bookmarked: 0 time(s)

Ah, just ran into a tricky issue with jQuerys .position() function. position() returns the top and left position relative to its offset parent. For absolutely positioned elements in most cases this allows you retrieve the document relative position of the element to get an absolute page relative position. I use this function in many places of my internal library to move things around and resize them its a handy function that Im glad was integrated into the jQuery core. So to retrieve the current...

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: JavaScript | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1646 | Hits: 456

Similar Posts

  • An annoying IE position: Relative and OverFlow-Y Bug more
  • TemplatePanel (aka MasterPage) for Silverlight more
  • jQuery Intellisense in VS 2008 more
  • jQuery Intellisense Updates from Microsoft more
  • Making Element Position Absolute with jQuery more
  • A simple jQuery Client Centering Plugin more
  • Inclusion of JavaScript Files more
  • jQuery CoDe Magazine Editorial Posted more
  • jQuery Selectors more
  • Microsoft AJAX Library: Sys.UI.DomElement 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