取得方法 | 幅(px) | 高さ(px) | 対応環境 |
---|---|---|---|
$(window).width() $(window).height() |
![]() ![]() ![]() ![]() ![]() |
||
$(window).innerWidth() $(window).innerHeight() |
![]() ![]() ![]() ![]() ![]() |
||
$(window).outerWidth() $(window).outerHeight() |
![]() ![]() ![]() ![]() ![]() |
||
window.width window.height |
|||
window.innerWidth window.innerHeight |
![]() ![]() ![]() ![]() ![]() |
||
window.outerWidth window.outerHeight |
![]() ![]() ![]() ![]() ![]() |
||
window.clientWidth window.clientHeight |