Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/81.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery Fancybox具有iframe跨域,部分使用Explorer10兼容模式渲染_Jquery_Asp.net_Iframe_Fancybox_Internet Explorer 10 - Fatal编程技术网

Jquery Fancybox具有iframe跨域,部分使用Explorer10兼容模式渲染

Jquery Fancybox具有iframe跨域,部分使用Explorer10兼容模式渲染,jquery,asp.net,iframe,fancybox,internet-explorer-10,Jquery,Asp.net,Iframe,Fancybox,Internet Explorer 10,打开fancybox iframe的站点,在i-frame中有一个其他域的aspx-ajax页面。 只要IE10处于兼容模式(与其他浏览器没有问题),页面就只是部分呈现,当我单击按钮(例如更改包的颜色)时,页面就会正确呈现 首次呈现: 单击橙色后: 更新: 1) 在单独的iframe(没有fancybox)上,页面可以完美地工作 2) 这不是跨域问题,我的电脑上也存在此问题。请尝试禁用iframe preload类似的功能 $(".fancybox").fancybox({ widt

打开fancybox iframe的站点,在i-frame中有一个其他域的aspx-ajax页面。 只要IE10处于兼容模式(与其他浏览器没有问题),页面就只是部分呈现,当我单击按钮(例如更改包的颜色)时,页面就会正确呈现

首次呈现:

单击橙色后:

更新:

1) 在单独的iframe(没有fancybox)上,页面可以完美地工作


2) 这不是跨域问题,我的电脑上也存在此问题。

请尝试禁用
iframe preload
类似的功能

$(".fancybox").fancybox({
    width: 800, // or whatever
    height: 570,
    type: 'iframe',
    // solve issues with iframes and IE
    iframe : {
        preload: false
    }
});

好的,这是jQuery版本的问题。 在主网页中,版本为1.9.1 在i-frame中,我使用1.4.4版本(由于页面中使用了旧插件) 我将I-frame中的版本升级到1.9.1,问题就消失了。 谢谢大家