Anyone have ideas for solving the “n items remaining” problem on Internet Explorer?

前端 未结 7 1591
灰色年华
灰色年华 2021-01-30 17:22

In my ASP.Net app, which is javascript and jQuery heavy, but also uses master pages and .Net Ajax pieces, I am consistently seeing on the status bar of IE 6 (and occasionally IE

7条回答
  •  轮回少年
    2021-01-30 17:46

    I found a solution for most of my projects.

    I'm using jQuery Fancybox plugin almost in every project. If you're using Fancybox and having "x items remaining" issue then here's the solution:

    In fancybox's css file close to the end of the file there's a bunch of IE filters for semitransparent png's to load properly. Something like this:

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

    As you can notice the path in the src attribute is wrong.

    Just fix the paths for all filters (there's about 20 of them) and the problem will be solved!

    I recommend to put a path relative to the root, like this:

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

提交回复
热议问题