Fancybox causing slow load times in IE?

后端 未结 3 1626
心在旅途
心在旅途 2021-01-06 17:36

I\'m using Fancybox v.1.3.4 to display videos in an iframe on this page. The Fancybox and the videos display fine, but the problem is that, since adding the code, I\'m getti

3条回答
  •  自闭症患者
    2021-01-06 18:14

    I've experienced a similiar problem with fancybox and IE before. If you look in the CSS file, there are a tonne of IE specific filters:

    /* IE6 */
    
    .fancybox-ie6 #fancybox-close { background: transparent; filter: 
    progid:DXImageTransform.Microsoft.AlphaImageLoader
    (src='fancybox/fancy_close.png', sizingMethod='scale'); }
    
    /* and so on */
    

    In my project, I removed all of these IE specific rules and the freezing problem goes away. See if that resolves it; else the problem may be somewhere else.

提交回复
热议问题