Fancy Box Overlay not working in IE8

2019-08-23 05:56发布

I am having an issue with FancyBox and IE8. For some reason IE8 does not recognize the background transparency on fancybox's overlay. It works in IE7 and older and Chrome, Safari, and Firefox.

You can see the problem at: http://seabagsc.nexcess.net/tote-bags/kevlar-tote.html

Any help would be much appreciated.

Thanks!

Chuck

2条回答
姐就是有狂的资本
2楼-- · 2019-08-23 06:31

I've had some issues in the past with FancyBox and IEx. Normally it's got something to do with freezing the browser tab when you have images on your page that are still loading. Since then, I've been using ColorBox, which is, IMO, a better alternative with fewer problems:

http://colorpowered.com/colorbox/

查看更多
贼婆χ
3楼-- · 2019-08-23 06:54

Old question, but in case anyone runs across this, I ended up fixing my IE8 problems with FancyBox by setting

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

at the top of the page. After that the overlay worked just fine.

查看更多
登录 后发表回答