Returns the version and platform of scriptlet container object DLL for DHTML scriptlets.
Syntax
version = window.external.version
Remarks
This property is read-only. Version is returned in the format N.nnnn platform where N is an integer representing the major version number, nnnn is any number of characters (except a space) representing the minor version number, and platform is the platform (win32, mac, alpha, and so on). The following is an example version number:
1.0a win32
You can use the version
property to determine whether the page is being used as a DHTML scriptlet or as a stand-alone Web page. Use a statement such as the following:
controlMode = ( typeof( window.external.version) == "string" )
If the value of controlMode
is true after this statement has executed, the page is being used as a DHTML scriptlet. Otherwise the page is being used as a stand-alone page.