下面来到为各位介绍jquery 1.7和1.9的position方法对固定(fixed)元素的区别,希望这篇文章能够帮助到各位朋友。
在jquery的position方法,官方是这样说明的:
Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.The .position() method allows us to retrieve the current position of an element relative to the offset parent. Contrast...