标签:
The Browser Object Model(BOM) is based on the window object, which represents the browser window and the viewable page area. The window object doubles as the ECMAScript Global object, so all global variables and functions become properties of it, and all native constructors and functions exist on it initially. This chapter discussed the following elements of the BOM:
Two other objects available in the BOM perform very limited functions. The screen object provides the information about the client display. This information is typically used in metrics gathering for web sites. The history object offers a limited peek into the browser‘s history stack, allowing developers to determine how many sites are in the history stack and giving them the ability to go back or forward to any page in the history.
标签:
原文地址:http://www.cnblogs.com/linxd/p/4516748.html