VML / Active X Object Installl test

A

Aaron Gray

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
 
M

Martin Honnen

Aaron said:
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.VMLRenderer
yields 'object'. That does not depend on whether the object has a
classid pointing to some ActiveX.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top