前端基礎之JS(二)

BOM瀏覽器對象模型 (Windows對象) 瀏覽器窗口內部高度的獲取: window.innerHeight 高度 window.innerWidth 寬度 兼容格式(IE): .document.documentElement.clientHeight; .document.documentElement.clientWidth; .document.body.clientHeight; .d
相關文章
相關標籤/搜索