jQuery之位置坐标图形相关方法

jQuery实例方法-位置图形

位置坐标图形大小相关方法:

.offset()

.position()

.scrollTop() 、.scrollLeft()

.width()、.height()

.innerWidth()、.outerWidth()、.innerHeight()、.outerWidth()

1、.offset()  即可取值又可赋值,一般是取值

2、.position()

3、.scrollTop() 、.scrollLeft()

4、.width()、.height()

.innerWidth()、.outerWidth()、.innerHeight()、.outerWidth()

猜你喜欢

转载自www.cnblogs.com/tianya-guoke/p/10555959.html