Fancybox causing slow load times in IE?

后端 未结 3 1604
心在旅途
心在旅途 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:01

    you could use firebug to profile your code

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2021-01-06 18:20

    I also had this problem with Fancybox in IE. For me it was a bug in jQuery introduced in v1.6.0. Upgrading to the latest jQuery version (1.6.4) fixed the issue.

    More details at the Fancybox google group

    0 讨论(0)
提交回复
热议问题