home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference

Image.height Property


Image.height Property---the height of an image


Navigator 3.0




The height property of the Image object is a read-only integer that specifies the height of image. It is set by the HEIGHT attribute of the <IMG> HTML tag.

The HEIGHT attribute is optional in HTML, but including it greatly improves the layout time of your pages. Also, because of a bug, in Navigator 2.0 all images in a page that contains JavaScript must have WIDTH and HEIGHT attributes specified (even though the Image object is not available in 2.0).

Previous Home Next
Image.complete Book Index Image.hspace

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell