Looking at Objects

In the Microsoft Internet Explorer Object Model, each HTML element on the page is represented by an object in conjunction with other objects that are not explicitly declared in the HTML file, such as the window object and the document object. The following list provides a sample of some of the objects you'll encounter:

A BUTTON DIV document
event history IMG location
navigator screen selection SPAN
style TABLE userProfile window

In Appendix C, you'll find a complete list of all the standard objects that are a part of the Internet Explorer Object Model. Full descriptions of all the objects can be found on the SBN Workshop Web site and on the CD that accompanies this book. On the CD see Workshop (References) DHTML, HTML & CSS; DHTML References; Objects. To get to the online version, visit the MSDN Online Resource page at http://msdn.microsoft.com/resources/schurmandhtml.htm , or open the file named MSDN_OL.htm on the companion CD, and choose DHTML Objects. The Netscape Navigator Object Model is a little different from that of Internet Explorer. We'll cover many of the differences throughout the rest of this chapter.

NOTE
You can see from the preceding list of objects that the capitalization of object names varies. Objects shown in all uppercase letters (such as IMG and SPAN) are standard HTML elements. Objects shown in mixed case or lowercase letters are not HTML elements but are additional features of the overall Object Model—the screen object, for example, contains information about the end user's display, and the navigator object provides information about the version and type of browser being used.



Dynamic HTML in Action
Dynamic HTML in Action
ISBN: 0735605637
EAN: 2147483647
Year: 1999
Pages: 128

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net