![]() ![]() It therefore can not be used everywhere ActiveXObject is used. GeckoActiveXObject is limited to creating instances of Windows Media Player ActiveX controls.The name GeckoActiveXObject rather than ActiveXObject was introduced for two reasons: ![]() Below, some of the salient points are illustrated in a code snippet: if (window.ActiveXObject & ('Windows') != -1) ". Example 1: Client-side Detection Scripts Browser architecture supports: NetscapePluginĪ complete source code listing showing how that detection was done can be found here (devedge-temp). JavaScript will dynamically write out what browser you are running, and what kind of Windows Media Player technology you may have. The following JavaScript illustrates one approach using object detection of ActiveXObject and GeckoActiveXObject to determine if the Windows Media ActiveX control is supported and available for use. Netscape 7.1 introduces GeckoActiveXObject which can be used in a similar way to create instances of the Windows Media Player. Internet Explorer implements the ActiveXObject object to create new instances of ActiveX controls. Client-side Detection Using JavaScript Objects
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |