Navigator 3.0
image.name
name is a read-only string property of the Image object. Its value is specified by the NAME attribute of the HTML <IMG> tag that creates the Image object. Image objects created with the Image() constructor function do not have names, and cannot have names assigned.
Images created in an HTML document with the <IMG> tag are listed in the document.images[] array in JavaScript. If an image is given a name, then the image is also stored in a property with that name in the document object. For example, an image with the attribute:
NAME="toggle_button"
document.toggle_button
file: /Techref/language/java/script/definitive/refp_169.htm, 4KB, , updated: 2019/10/14 15:00, local time: 2024/12/27 14:23,
52.14.148.63:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/language/java/script/definitive/refp_169.htm"> [Chapter 21] Reference: Image.name</A> |
Did you find what you needed? |