If you’ve ever used Fancybox you’ll know it’s a great jQuery plugin for lightboxes that you can pass local web pages to and also documents like pdfs. But it’s hard to fix when it breaks!
So oh my did I ever need this answer on stack overflow! It shows how to set preloading to false, which ie8 doesn’t like; and has the side benefit of actually loading the document faster. Might be my fast internet connection at work but who knows.
if (jQuery().fancybox) {
jQuery('.openfancybox').fancybox({
iframe: {
preload: false // fixes possible issues with iframes and IE
}
});
}
Glad I found this.