912 Part III . Document Objects Reference attributes

912 Part III . Document Objects Reference attributes in the tag, these properties can adjust the size of the padding around the element after the fact in IE5+. Related Items: height, width properties. name Value: String Read-Only NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . . The name property represents the NAMEattribute of the OBJECT element. The better form is to assign an ID to the OBJECT element and use accepted reference syntax for element ids. Related Items: None. object Value: External Object Read-Only NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . . The object property returns a reference to the object contained by the OBJECT element. This property is essential if the program running inside the OBJECT element has the same property or method names as the OBJECT element itself. For example, consider a Java applet loaded into the OBJECT element as follows: If the applet code contained a public variable called height, an attempt to read or write that property through the OBJECT element will cause the element s properties to be read, and not the applet s properties. Therefore, if you insert the object property in the reference, the script reaches into the applet object for the property: document.getElementById( myAPPLET ).object.height = 40 If there is no ambiguity between element and object property and method names, the browser looks first at the element and then the object to find a match. Related Items: None. OBJECT.object
We recommend cheap and reliable webhost to host and run your web applications: Coldfusion Web Hosting services.

Leave a Reply