C H A P T E R  27

Working with the Window Object

The Window object has been added to the HTML specification as part of HTML5. Prior to this, it has been an unofficial standard; browsers have implemented roughly the same set of features in a broadly consistent way. With HTML5, the Window object in the specification incorporates the de facto functionality and a few enhancements. Implementation of this object is mixed; different browsers have different levels of compliance. This chapter focuses on the features that have a reasonable level of support.

Image NoteSome of the advanced features described in this chapter rely on DOM events, which are the ...

Get The Definitive Guide to HTML5 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.