JavaScript Programmer’s Reference Barn() (Filter/transition) A transition effect

JavaScript Programmer’s Reference Barn() (Filter/transition) A transition effect with the appearance of barn doors opening or closing. Availability: JScript 5.5 Internet Explorer 5.5 Refer to: Filter Barn() BASE object (Object/HTML) Represents the HTML tag that describes a base URL for the document. Availability: DOM level 1 JavaScript 1.5 JScript 3.0 Internet Explorer 4.0 Netscape 6.0 Inherits from: Element object IE myBASE = myDocument.all.anElementID IE myBASE = myDocument.all.tags(”BASE”)[anIndex] IE myBASE = myDocument.all[aName] -myBASE = myDocument.getElementById(anElementID) -myBASE = myDocument.getElementsByName(aName)[anIndex] JavaScript syntax: -myBASE = myDocument.getElementsByTagName (”BASE”)[anIndex] HTML syntax: anIndex A valid reference to an item in the collection aName The name attribute of an element Argument list: anElementID The ID attribute of an element Object properties: href,target Event handlers: The <> tag must appear inside the <> block of a document and is used to define a base URL for the document, this can be useful if the document is not served from the same server that subsequent pages need to be served from. onClick,onDblClick,onHelp,onKeyDown,onKeyPress, onKeyUp,onMouseDown,onMouseMove,onMouseOut, onMouseOver,onMouseUp See also: Element object

Leave a Reply