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

JavaScript DHTML
C++
PHP
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.  Get the file name specified in the href or src property
2.  Image dynsrc
3.  Low resolution Image src
4.  Image Long Description
5.  Image width Example
6.  Does image download completely
7.  Alternative Information Example
8.  Image align Example
9.  Image 'src' Property
10.  'height' Example
11.  'readyState' Example
12.  'galleryImg' Example
13.  Monitors the load process and the display of picturesHas Download File
14.  Image Animation
15.  Image array
16.  Replace image
17.  An animating image
18.  Mouse in image and out
19.  Scrolling Image
20.  Change the height of an image
21.  Change image
22.  Change image width
23.  Count images in a document
24.  Image Event Handling
25.  Testing an Image's align Property
26.  A Scripted Image Object and Rotating Images
27.  Scripting image.complete
28.  Changing Between Still and Motion Images
29.  Simple Image Replacement
30.  Image Error Finder
31.  Image element
32.  Image Roller MachineHas Download File
























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