Methods and Properties of the Image Object : JavaScript DHTML examples (example source code) » HTML » Image Img

JavaScript DHTML
C++
Java Products
Java Articles
JavaScript DHTML Home  »   HTML   » [  Image Img  ]   
 



Methods and Properties of the Image Object


/*
JavaScript Unleashed, Third Edition
by Richard Wagner and R. Allen Wyke 

ISBN: 067231763X
Publisher Sams CopyRight 2000



+---------+----------------+-------------------------------------------------+
   Type       Item           Description
+---------+----------------+-------------------------------------------------+
  Method
+---------+----------------+-------------------------------------------------+
           handleEvent()     This method invokes the handler for the specified 
                             event. This method was added in JavaScript 1.2.
+---------+----------------+-------------------------------------------------+
 Property
+---------+----------------+-------------------------------------------------+  
           border            Width of border around the image.
+---------+----------------+-------------------------------------------------+
           complete          Tells you if the image has finished loading.
+---------+----------------+-------------------------------------------------+
           height            Height of the image.
+---------+----------------+-------------------------------------------------+
           hspace            Padding on left and right of the image.
+---------+----------------+-------------------------------------------------+
           lowsrc            Alternate image for low-resolution displays.
+---------+----------------+-------------------------------------------------+
           name              Name of the image.
+---------+----------------+-------------------------------------------------+
           src               URL of the image.
+---------+----------------+-------------------------------------------------+
           vspace            Padding on top and bottom of the image.
+---------+----------------+-------------------------------------------------+
           width             Width of the image.
+---------+----------------+-------------------------------------------------+
          */
Related examples in the same category
1.  Monitors the load process and the display of pictures
2.  Image Animation
3.  Image array
4.  Replace image
5.  An animating image
6.  Mouse in image and out
7.  Scrolling Image
8.  Change the height of an image
9.  Change image
10.  Change image width
11.  Count images in a document
12.  Image Event Handling
13.  Testing an Image's align Property
14.  A Scripted Image Object and Rotating Images
15.  Scripting image.complete
16.  Changing Between Still and Motion Images
17.  Simple Image Replacement
18.  Image Error Finder
19.  Image element
20.  Image Roller Machine








Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.