728x90
300x250
SMALL
부모 좌표 노드 구하기
- $대상.offsetParent()
https://moo-you.tistory.com/864
지역 좌표 위치 다루기
지역 좌표 위치 구하기
- $대상.position().left
- $대상.position().top
지역 좌표 위치 설정하기
- 대상.css({"left",위치값})
- 대상.css({"top",위치값})
- 대상.css({left:위치값, top:위치값})
https://moo-you.tistory.com/865
전역 좌표 위치 다루기
전역 좌표 위치 구하기
- $대상.offset().left
- $대상.offset().top
전역 좌표 위치 설정하기
- 대상.offset({left:위치값, top:위치값})
https://moo-you.tistory.com/868
728x90
반응형
LIST
'javaScript > jQuery' 카테고리의 다른 글
$(window).width(), $(document).width() 차이 (0) | 2023.04.10 |
---|---|
[jQuery] 크기 구하기, 변경하기(width(), innerWidth(), outerWidth(), outerWidth(true)) (0) | 2023.04.09 |
스크롤 위치 설정, 스크롤 자동으로 움직이기 (0) | 2023.04.07 |
크기 변경하기 width/height || innerWidth/innerHeight (0) | 2023.04.05 |
[jQuery]margin 영역 제외 오른쪽으로 붙이기 (0) | 2023.04.04 |
댓글