Click to return to the Reusing Browser Technology home page    
IHTMLAppBehavior::get_win...     IHTMLAreaElement::blur Me...     Interfaces and Scripting ...    
Web Workshop  |  Reusing Browser Technology

IHTMLAreaElement Interface


This interface specifies the shape of a hot spot in a client-side image MAP.

IHTMLAreaElement Methods

blur Causes the element to lose the focus and executes the code specified by get_onblur.
focus Causes the element to receive the focus and executes the onfocus event.
get_alt Retrieves the optional text as an alternative to the graphic for rendering in nongraphical environments. Alternate text should be provided whenever the graphic is not rendered.
get_coords Retrieves the coordinates that define the hot spot's shape.
get_hash Retrieves the string stored in the hash property of the AREA object.
get_host Retrieves the host name and the optional port information of the location or URL.
get_hostname Retrieves the host-name part of the location or URL.
get_href Retrieves the destination URL or anchor point.
get_noHref Retrieves the value that indicates whether clicks in this region should cause any action.
get_onblur Retrieves a pointer to the event handler function associated with the onblur event on the AREA element.
get_onfocus Retrieves a pointer to the event handler function associated with the onfocus event on the AREA element.
get_pathname Retrieves the file or object path from the URL for the current browser location.
get_port Retrieves the port number from the URL.
get_protocol Retrieves the protocol portion of the URL. The protocol portion, which indicates the access method, includes the initial substring of the URL up to and including the first colon.
get_search Retrieves the substring that follows the question mark (?) symbol in the href property of the AREA object.
get_shape Retrieves the type of shape used in the image map.
get_tabIndex Retrieves the tab index for the object.
get_target Retrieves the target window or frame.
put_alt Sets the optional text, which is used as an alternative to the graphic for rendering in nongraphical environments. Alternate text should be provided whenever the graphic is not rendered. Alternate text is mandatory for Level 0 documents.
put_hash Sets the string associated with the hash property of the AREA object.
put_host Sets the host name and the optional port information of the location or URL.
put_hostname Sets the host-name portion of the location or URL.
put_href Sets the destination URL or anchor point.
put_noHref Sets the value that indicates whether clicks in this region should cause any action.
put_onblur Sets a pointer to the event handler function associated with the onblur event for the AREA element.
put_onfocus Sets a pointer to the event handler function associated with the onfocus event for the AREA element.
put_pathname Sets the file or object path of the URL.
put_port Sets the port number in a URL.
put_protocol Sets the initial substring up to and including the first colon, which indicates the URL's access method.
put_search Sets the substring that follows the question mark (?) symbol in the href property of the AREA object. This is the query string or form data.
put_shape Sets the type of shape used in the image map.
put_tabIndex Sets the tab index for the object.
put_target Sets the target window or frame.

Interface Information

Implementation System (Mshtml.dll)
Inherits from IDispatch
Header and IDL files Mshtml.h, Mshtml.idl
Minimum availability Internet Explorer 4.0
Minimum operating systems Windows 95, Windows NT 4.0

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.