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


JavaScript: The Definitive Guide

Previous Appendix C
Differences between Navigator 2.0 and 3.0
Next
 

C.4 Image Manipulation

Navigator 3.0 supports image manipulation with the following powerful new features. Chapter 16, Special Effects with Images, has complete details.

  • The Image object represents an image, either on-screen or off. Setting the src property of an Image object will cause it to load (and display if it is an on-screen image) the image stored at the specfied URL.

  • The Document.images[] array contains a complete list of the images displayed within a document.

  • The Image() constructor allows the creation of off-screen images, which can be used to preload images that will be required for animations or other image manipulation techniques.

  • The onload(), onerror(), and onabort() event handlers of the Image object help determine the status of images that are loading.

  • The complete property of the Image object specified whether it is still being loaded or not.


Previous Home Next
JavaScript Security Book Index The Window Object

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