
Accessing PIE.htc from a different domain than the host doc?
Hi. First off, I want to give a huge thanks to Jason for writing this amazing piece of code, giving it to us, and working so hard to answer questions in the forums. Now to my issue...
I'm trying to use PIE with a hosted app (Shopify) that places all asset urls (images, css, js, htc, etc) on a cdn. So, while my html document's location may be at
http://www.twelvedays.com, the PIE.htc file will be at a url like
http://static.shopify.com/s/files/1/005 ... 1281106516.
So, in my html I'm calling PIE like so:
<!--[if IE]>
<style>
.my_crazy_div { behavior: url(
http://static.shopify.com/s/files/1/005 ... 1281106516); }
</style>
<![endif]-->
Shopify is serving the .htc file with the correct content-type, but IE is giving me an "access denied" error when I load the page. I suspect this is due to the .htc file residing on a different domain than the host document. Has anyone come across this issue? I haven't been able to find many relevant articles when I google ".htc crossdomain" and such.
Also, btw, I've tried it without the ?128... query string (Shopify uses this as a cache-buster for updated files). That doesn't make a difference.
Thanks for your time.