kevin4byte/jQ.Mobi — Issue #2: .offset doesn't return correct width/height
Author: kevin4byte
Created: 2012-02-21 07:06:25+00:00
State: open

If no width/height property is set in CSS declaration, element.style.width would return "", then parseInt return NaN as the result.
I think it's better to use the window.getComputedStyle(element, null) to retrieve the width/height property.