View Full Version : ActiveX
pilsjart
09-11-2002, 01:05 PM
Hello there...
Can anyone tell me how can I tell if a MSIE user can see a activeX feature (like style.filter=flipv())? And... does it work in Mc or just im Windows?
well... thank you
style.filter="flipv()" is javascript that manipulates css. its not activeX. if they have javascript enabled on their browser it should work in ie on win.... dont know about macs. i dont have one.
pilsjart
09-11-2002, 09:16 PM
This code may change the css, but still, this "filter" thing is an ActiveX feature. As far as I know, some property must be enabled in your browser in order to view something like "something.style.filter='(opacity=50,enabled=1)'";
So... is there anyone who can tell me how can I tell if the user is able to view that code or he isn't?
...thanks again...
filter is NOT activeX. it is an Internet Explorer css feature.
I think filter is used in IE5+
brothercake
09-12-2002, 10:34 AM
Actually opacity is IE4+ but most filters are IE5.5 (sp2) +
But eak is correct - it is nothing to do with activeX. If you want to detect filter support you need a two-stage check
if(typeof obj.filters !="unknown" && typeof obj.filters["filtername"] !="undefined") { ... filters are supported and the filter-property exists ... }
realisis
09-12-2002, 11:13 AM
Granted that filters can be defined via CSS and manipulated thereafter via JS... but I believe that when actually *rendering* the filter IE uses DirectX internally.
At least, that's what the syntax suggests...
STYLE="filter: progid: DXImageTransform.Microsoft.filtername(sProperties)"
...
pilstart, I know that Transitions can be enabled/disabled by the user, but not Filters as such (that I know of), though the two are related. The switch is in:
IE/Tools/Advanced/Browsing/Allow page Transitions
In my tests, Filters are enabled whether or not Transitions are enabled.
...
Also note that Mozilla and Netscape 6 implement (at least some) filters, but their performance can be somewhat problematic.
...
Also, here's a URL for you, if that's helpful:
http://msdn.microsoft.com/workshop/author/filter/filters.asp
...
Brothercake:
I've used typeof obj.filters["filtername"] !="undefined" to sniff out filters with (apparent) success, but not typeof obj.filters !="unknown" cuz it didn't seem needed. Am I missing something?
realisis
09-12-2002, 11:18 AM
PS: according to the URL I posted above, filters are WIN only - no MACs.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.