js複習之BOM

1.什麼是BOM? BOM[Browser Object Model],瀏覽器對象模型 BOM提供與瀏覽器相關的API。 2.screen對象 width屬性 描述:返回顯示器分辨率的寬度 語法:screen.width height屬性 描述:返回顯示器分辨率的高度 語法:screen.height 3.history length屬性 描述:返回歷史的長度 語法:history.length
相關文章
相關標籤/搜索