[eluser]helloworldly[/eluser]
Hi,
I had the same problem. I did a lot of trouble shooting and found that if I put the fancybox example code (ie, the test index.html as well as all js and css files) in the root directory everything worked as it should for all browsers.
But if one of my views within my Codeigniter "system" and "application" folders was calling in fancybox css and fancybox js from the public root, that's when the craziness ensued on IE.
Andrew Stilliard's trick of commenting out in the css all that IE-specific alpha channel info (filter: progid
XImageTransform.Microsoft.AlphaImageLoader etc) works for IE7 and IE8.
And it would be ok if it just didn't display transparencies properly in IE6 -- but instead IE6 is crashing or slowing to crawl when clicking a fancybox-enabled image.
And yet fancybox works perfectly fine in IE6 when not used within CodeIgniter.
I tried to bypass some of the IE6-specific rules within the fancybox js by setting the following to null:
Code:
isIE6 = !$.support.opacity && !window.XMLHttpRequest,
But IE6 would still crash browser when you select a fancybox-enabled image.
Anyone have any experience in this? And what CodeIgniter process could be interfering with FancyBox's normal operations? Codeigniter sanitizing?