IE8中的FancyBox问题

时间:2013-09-18 13:47:03

标签: javascript internet-explorer-8 fancybox

我们继承了一个在IE8中根本不起作用的网站(它会加载一个空白页面)。我们纠正了许多问题,但是仍有一些问题仍然存在,主要是主页右侧的特色产品选项卡在IE8中无法正常工作。它使用的是Fancybox 1.3.4。

这是页面上的原始代码:

<script type="text/javascript">
    $("div.tab").toggle(function(){
        $(this).animate({
            'marginRight': '230px'
        },800);
        $(this).removeClass("unselected");
        $(this).addClass("selected");
        $("div.featured_product").delay(800).fadeIn(800);
    },
    function(){
        $("div.featured_product").fadeOut(800);
            $(this).animate({
                'marginRight': '-70px'
            },800);
            $(this).removeClass("selected");
            $(this).addClass("unselected");
    });     
    $("a#single_image").fancybox();
</script>

1 个答案:

答案 0 :(得分:0)

fancybox正在工作, 你遇到的问题与css IE filter

有关
progid:DXImageTransform.Microsoft.BasicImage(rotation=3)

尝试删除它并将按钮更改为图像而不是旋转它(它也不能在IE 9中工作)

相关问题