JQuery .position()

(.position()에서 넘어옴)

1 개요[ | ]

jQuery .position()
<br>
<br>
<span id='greet' style='background:orange'>Hello</span>

<script src="//code.jquery.com/jquery.min.js"></script>
<script>
var position = $("#greet").position();
console.log( 'left=', position.left );
console.log( 'top=', position.top );
</script>

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}