VML / Active X Object Installl test

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Aaron Gray

    VML / Active X Object Installl test

    I have been trying to work out how to detect if the VML Active X Object is
    installed ?

    <head>
    <object id="VMLRender"
    classid="CLSID: 10072CEC-8CC1-11D1-986E-00A0C955B42E">
    </object>
    <style>
    vml\:* { behavior: url(#VMLRender) }
    </style>
    </head>

    Testing 'VMLRender' with typeof always reveal an object though whether an
    Active X Object is there or not :(

    Aaron


  • Martin Honnen

    #2
    Re: VML / Active X Object Installl test

    Aaron Gray wrote:
    I have been trying to work out how to detect if the VML Active X Object is
    installed ?
    >
    <head>
    <object id="VMLRender"
    classid="CLSID: 10072CEC-8CC1-11D1-986E-00A0C955B42E">
    </object>
    <style>
    vml\:* { behavior: url(#VMLRender) }
    </style>
    </head>
    >
    Testing 'VMLRender' with typeof always reveal an object though whether an
    Active X Object is there or not :(
    IE exposes ided elements as global variables thus with
    <object id="VMLRenderer "></object>
    that object element is exposed as a global variable meaning
    typeof VMLRenderer
    or
    typeof window.VMLRende rer
    yields 'object'. That does not depend on whether the object has a
    classid pointing to some ActiveX.


    --

    Martin Honnen

    Comment

    Working...