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()