Chapter 14. Learning About an Object


In Chapter 12, we looked at how to turn an element defined by HTML tags into an object that can then be addressed by the Document Object Model. The DOM allows you to find out information about the objectsuch as its size, location, and whether it is visibleusing JavaScript.

All the information gained about the environment in Chapter 13 was derived from asking the browser questions, such as its type and screen size. In this chapter, we will be looking at what information can be gained by querying objects in the browser window for information about themselves.




CSS, DHTML and Ajax. Visual QuickStart Guide
CSS, DHTML, and Ajax, Fourth Edition
ISBN: 032144325X
EAN: 2147483647
Year: 2006
Pages: 230

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