setOffset in Chrome with hidden objects
I want to setOffset on items before they are shown. However, as offset() always returns {top:0,left:0} on items with display: none, this doesn't work.
I suggest not using the curTop and curLeft values if the offset is 0,0 and the item !is(:visible)