A Anchor() (Constructor) Property JavaScript JScript N (Shared web hosting)
A Anchor() (Constructor) Property JavaScript JScript N IE Opera DOM HTML Notes search 1.2 + 3.0 + 4.0 + 4.0 + Warning shape 1.5 + 5.0 + 6.0 + 5.0 + 1 + - tabIndex 1.5 + 3.0 + 6.0 + 4.0 + 1 + - target 1.2 + 3.0 + 4.0 + 4.0 + 1 + Warning text 1.2 + 4.0 + Warning, ReadOnly type 1.5 + 3.0 + 6.0 + 4.0 + 1 + - urn 3.0 + 4.0 + - x 1.2 + 4.0 + Warning, ReadOnly y 1.2 + 4.0 + Warning, ReadOnly Method JavaScript JScript N IE Opera DOM HTML Notes blur() 1.5 + 3.0 + 6.0 + 4.0 + 1 + - focus() 1.5 + 3.0 + 6.0 + 4.0 + 1 + - Event name JavaScript JScript N IE Opera DOM HTML Notes onClick 1.2+ 3.0 + 4.0 + 4.0 + 3.0 + 4.0 + Warning onMouseDown 1.2 + 3.0 + 4.0 + 4.0 + 3.0 + 4.0 + Warning onMouseOut 1.2 + 3.0 + 4.0 + 4.0 + 3.0 + 4.0 + Warning onMouseOver 1.2 + 3.0 + 4.0 + 4.0 + 3.0 + 4.0 + Warning onMouseUp 1.2 + 3.0 + 4.0 + 4.0 + 3.0 + 4.0 + Warning Anchor() (Constructor) You can construct new Anchorobjects in Netscape. Availability: JavaScript 1.2 Netscape 4.0 Property/method value type: Anchor object N new Anchor N new Anchor() JavaScript syntax: N new myAnchor.constructor Although you can construct new anchors in Netscape, inserting them into a document is somewhat problematic since the correct way to do that would be to rewrite a fragment of HTML. You may find that replacing an anchor object in the document.anchors array links your new object to the HTML tag at the appropriate location in the document.