M Map object (Object/HTML) Map (Best web hosting site) object (Object/HTML)

M Map object (Object/HTML) Map object (Object/HTML) An object that represents a tag. Availability: DOM level 1 JavaScript 1.5 JScript 3.0 Internet Explorer 4.0 Netscape 6.0 Inherits from: Element object IE myMap = myDocument.all.anElementID IE myMap = myDocument.all.tags(”MAP”)[anIndex] IE myMap = myDocument.all[aName] -myMap = myDocument.getElementById(anElementID) -myMap = myDocument.getElementsByName(aName) [anIndex] JavaScript syntax: -myMap = myDocument.getElementsByTagName (”MAP”)[anIndex] HTML syntax: anIndex A reference to an element in a collection aName An associative array reference Argument list: anElementID The ID value of an Element object Object properties: Event handlers: Collections: name, target onClick, onDblClick, onHelp, onKeyDown, onKeyPress, onKeyUp, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp areas[] The tag in the HTML document source is a container for the tags. These all belong to a parent Mapobject. This is a means of componentizing a client-side image map and building complex non-rectangular shaped areas. See also: A object, Area object, Element object, Location object Property JavaScript JScript N IE Opera DOM HTML Notes name 1.5 + 3.0 + 6.0 + 4.0 + 1 + - target 1.5 + 3.0 + 6.0 + 4.0 + - 1383

Leave a Reply