Web design software - JavaScript Programmer’s Reference OBJECT.align (Property) An alignment control

JavaScript Programmer’s Reference OBJECT.align (Property) An alignment control for an tag’s position with respect to its parent object. Availability: DOM level 1 JavaScript 1.5 JScript 3.0 Internet Explorer 4.0 Netscape 6.0 Property/method value type: String primitive JavaScript syntax: -myOBJECT.align The alignment of the ActiveX OBJECTobject with respect to its containing parent object is defined in this property. The expected and widely available set of alignment specifiers are available: . absbottom . absmiddle . baseline . bottom . center . left . middle . right . texttop . top OBJECT.altHtml (Property) A block of alternative HTML to be used if the tag fails to load its plugin correctly. Availability: JScript 3.0 Internet Explorer 4.0 Property/method value type: String primitive JavaScript syntax: IE myOBJECT.altHtml The alternative HTML is used in case the base tag experiences a problem when loading or the browser cannot use ActiveX objects as embeds. Of course if this property is accessible from the OBJECTobject during scripting, the browser must have parsed the tag, although it may still have had problems with the component. This HTML is enclosed between the and tags in the HTML document source. 1594

Leave a Reply