What is a BOM
- BOM is an abbreviation for the browser object model, referred to as the browser objects models
- The BOM provides an object that is independent of the content and interacts with the browser window
- since the BOM is primarily used to manage the communication between Windows and Windows, its core object is the window
- BOM, which is composed of a series of related objects. And each object provides many methods and properties
- BOM lacks standard, the standardization organization of JavaScript syntax is Ecma,dom's standardization organization is the web, the
- BOM was originally part of the Netscape browser standard
what you'll learn in the BOM section
In the BOM tutorial, students will learn some objects that interact with the browser window, such as a window object that can be moved, resize a browser, a location object and a History object that can be used for navigation, a browser, Navigator and screen objects for operating system and user screens, you can use document as a portal to access an HTML document, a
BOM structure
Window object, such as the frames object that manages the framework, is the top level (core) of the BOM object, all objects are extended through it, or can be called the child object of window
Because window is the top-level object, you can call its child objects without displaying the indicated window object, for example, the following two lines of code are the same:
example
Document
.
Write
(
"
www.dreamdu.com
"
)
;
window
.
Document
.
Write
(
"
www.dreamdu.com
"
)
;
BOM This post contains pictures