
Re: Accessing from local machine triggers ActiveX warning
mark.t.macdonald wrote:
Incidentally, did you think about trying to make PIE in JavaScript? I don't know it it's possible, but .htc behaviours do seem like a somewhat ugly fix to an equally ugly problem!
Well, the behavior file itself is almost all JavaScript, plus a tiny bit of wrapper for hooking up events etc. I do plan at some point on reorganizing the code a bit so that the build can create a standalone .js file which authors could call manually. See
http://github.com/lojjic/PIE/issues#issue/19. This would be in addition to the .htc, not in place of it, because .htc just has so many advantages over standalone JS: automatic attachment/detachment as elements are added/removed in the DOM, asynchronous loading, doesn't have to wait for DOMReady, etc.