[JqueryMobile] - 현재화면의 가로세로 사이즈 구하기
Jquery & Mobile 2011. 8. 22. 12:08반응형
var client_width = "";
var client_height = "";
$(function(){
report();
});
function report() {
$('#display').html(
$('#load').width()+'x'+$('#load').height()
);
client_width = $('#load').width() + "px";
client_height = $('#load').height() + "px";
}
반응형
'Jquery & Mobile' 카테고리의 다른 글
[Mobile] - 모바일 웹에서 바탕화면 아이콘 추가소스 (0) | 2011.09.19 |
---|---|
[JqueryMobile] - JqueryMobile Device 가로세로 길이구하는 소스 예제 (0) | 2011.09.01 |
[JqueryMobile] - 화면의 가로, 세로 사이즈 구하는 방법 (0) | 2011.08.04 |
[Jquery] - 웹디자이너분들 참고할만한 Jquery 사이트 (0) | 2011.08.01 |
[Jquery] - 스르륵 열리는 알림창 사용법 및 소스(자세한 사항은 댓글로 문의하세요) (2) | 2011.08.01 |