Page 130 - DCAP202_Fundamentals of Web Programming
P. 130
Manpreet Kaur, Lovely Professional University Unit 10: Browser Objects
Unit 10: Browser Objects Notes
CONTENTS
Objectives
Introduction
10.1 Window Objects
10.1.1 JavaScript Window Objects Property
10.1.2 JavaScript Window Objects Methods
10.2 Navigator Objects
10.2.1 Navigator Objects – Properties
10.2.2 Navigator Objects – Methods
10.3 History Objects
10.3.1 History Objects – Properties
10.3.2 History Objects – Methods
10.4 Location Objects
10.4.1 Location Objects – Properties
10.4.2 Location Objects – Methods
10.5 Document Object
10.5.1 Document Object – Properties
10.5.2 Document Object – Methods
10.6 Summary
10.7 Keywords
10.8 Review Questions
10.9 Further Readings
Objectives
After studying this unit, you will be able to:
Discuss the Window objects
Explain the Navigator objects
Describe the History objects
Discuss the Location objects
Explain the Document object
Introduction
All browsers are split into different parts (objects) that can be accessed using Javascript.
Collectively, these parts are known as the Browser Object Model, or the BOM. At the very top of
this browser hierarchy is the Window object. This represents the entire browser, with its toolbars,
LOVELY PROFESSIONAL UNIVERSITY 123