910 Part III . Document Objects Reference The classid property represents the CLASSIDattribute of the OBJECT element. IE for Windows uses this attribute to assign the Globally Unique ID (GUID) of an ActiveX control. For example, to load a (nearly) invisible Windows Media Player object into a page, the HTML is as follows: If your script then accesses the classidproperty of the medPlayerobject, the value returned is the complete string as assigned to the attribute: CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 Note that the CLSID:prefix is also part of the string value. Even if the object does not load (for example, because the object is missing or an error is in the long CLASSID string), the property value reports the value as assigned to the attribute. The HTML 4.0 specification indicates that the CLASSIDattribute be used for any kind of external class files, including Java applets. But in practice, IE wants applet URLs supplied to the CODEattribute (a non-HTML 4.0 attribute). Related Items: code property. code Value: String Read-Only NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . . The code property is the URL string of a Java class file that is to begin loading the applet (or the property may be the entire applet if it consists of a single class file). You cannot change the code assigned to an applet after the element has loaded (even if the applet code did not load successfully). Related Items: codeBase property. codeBase Value: String Read-Only NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . . The codeBase property is the string of the path on the server to the source of the applet or ActiveX control referenced by the CLASSID or CODE attributes. IE4+ also uses the CODEBASE attribute to specify a minimum version of control that is to OBJECT.codeBase Searching for affordable and proven webhost to host and run your servlet applications? Go to Linux Web Hosting services and you will find it.
This entry was posted
on Tuesday, February 26th, 2008 at 6:13 pm and is filed under JBOSS .
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response , or trackback from your own site.