908 Part III . Document Objects Reference About (Hosting web)

908 Part III . Document Objects Reference About this object The OBJECT element is intended to be the primary way to add external content (that is, content that the browser itself does not render) to a page. For example, IE/Windows uses it to load ActiveX controls (whether from the server or locally). The OBJECT element is also destined to replace usage of the APPLET and EMBED elements. As with the APPLET element object, scripts can frequently control the programs and plug-ins that get loaded into the browser through the OBJECT tag. Chapter 44 shows you how to do that for common objects. The property listings here are merely for the properties of the element, most of which mimic the attributes available for the OBJECT element. Even though the properties are exposed, they are very rarely scripted, except perhaps to adjust the size of the space occupied by a media controller. Most properties are read-only after their values are set by attributes in the element s tag. But if your scripts are creating the OBJECT element anew, then scripts can set the property values the first time to initialize the object. In the list of properties that begins this object s coverage, several are marked with an asterisk (*). These properties are defined in the W3C DOM Level 2 specification, and placeholders are included in the NN6 code. But as of this writing, there is no indication that these properties are connected. A large set of event handlers for this element (all but onLoadand onScroll) is related to the application of IE/Windows data binding for PARAM elements nested inside an OBJECT element. These events fire when a variety of actions occur to the data source or recordset associated with the program associated with the element. For more about applying data binding to an OBJECT element, see http://msdn. microsoft.com/workshop/author/databind/dataconsumer.asp. Properties align Value: String Read/Write NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . . The align property controls either the horizontal or vertical alignment of the element with regard to surrounding content. String values of leftor rightcause the object rectangle to cling to the left or right edges of its next outermost positioning context. String values of absbottom, absmiddle, baseline, bottom, middle, texttop, or top influence the vertical alignment with respect to adjacent text, with the same kind of results as corresponding values of the style.verticalAlign property. Related Items: style.verticalAlign property. OBJECT.align
In case you need affordable webhost to host your website, our recommendation is ecommerce web host services.

Leave a Reply