Top level objects

Unit 21


The Window object represents the window, in which the xhtml document is displayed. It can be used as the root element to find the other objects in the model for the window, browser, document, and other related items.

Lab 6

In lab 6 you will build an Object.

Put your web page on the Internet

Put your page on the Internet.

Test your page

Validate your page before trying to get the JavaScript to work. Then make sure the JavaScript works.

Complete lab 6

You have done all the work for lab 6.
Now, send note to instructor.

Reading assignment

If you have a copy of JavaScript, The Definitive Guide by David Flanagan; O'Reilly, ISBN-13 978-0-596-10199-2.
Look at the Window Object. Look at the properties of the Window Object and the other objects they refer to.
To continue with JavaScript, beyond this beginning course, you need a copy of Flanagan's book.

Alternate reading assignments are in the text book, Java Script Concepts & Techniques Programming Interactive Web Sites, by Tina Spain McDuffie; Franklin, Beedle & Associates, ISBN 1-887902-45-7

Review Chapter 2 - figure 1.5. Cross-Browser DOM

Lecture notes

Do NOT read the lecture notes before hearing the lecture. If you do, you will find the lecture very boring. Read the lecture notes if you do not attend the lecture, or if you wish to review the material.