Problems with reliably retrieving DOM element bounds in FireFox

Posted by: Rick Strahls WebLog, on 30 May 2006 | View original | Bookmarked: 0 time(s)

I've been banging my head against the wall again with FireFart (as Peter Bromberg lovingly calls FireFox) DOM programming.   What I'm doing is simple enough – I dynamically load up a <div> tag with HTML via innerHTML property and then need to draw a related control with the same dimensions.     var Panel = $(Context.ControlId); Panel.innerHTML = Result;   // incorrect in FireFox, correct in IE var Height = Panel.offsetHeight;    ShowShadow(Panel.id);   where...

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

Similar Posts

  • Adding users to a TFS project when youre not on the domain more
  • From LINQ to XPath and Back Again more
  • JavaScript >> Get Any CSS Property Value of an Object using $style more
  • Data bound fields for Ajax forms more
  • ASP.NET AJAX 1.0 Beta 2: Basic DOM 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