Re: [jquery-dev] Update the DOM prompting page refreshes, flicker to get correct calculations?

2010-01-07 Thread John Resig
Browsers don't provide height/width information for elements when they're display: none (or within a display: none element). There is no workaround for it - other than making the element not display: none. Sorry :-/ Naturally, if an alternative is ever developed for retrieving the height/width of

[jquery-dev] Update the DOM prompting page refreshes, flicker to get correct calculations?

2010-01-06 Thread average_user
Hi, I noticed that in the nightly builds, the function jQuery.swap() is still used internally in the jQuery.css() function to get the dimensions of an element. It hurts to see this unbelievable hack, apart from the obvious consequences: http://dev.jquery.com/ticket/5743 This function is used