offsetParent: function() {
return this.map(function(){
var parent = this.offsetParent || document.body
while (parent && !rootNodeRE.test(parent.nodeName) && $(parent).css("position") == "static")
parent = parent.offsetParent
return parent
})
}
这个是zepto封装的函数,用来取offsetParent的。
什么情况下,$(parent).css("position") == "static"会是true呢?