具有iframe跨域功能的Fancybox,使用Explorer10兼容模式部分渲染 [英] Fancybox with an iframe cross-domain, partially rendered with Explorer10 compatibility mode

查看:147
本文介绍了具有iframe跨域功能的Fancybox,使用Explorer10兼容模式部分渲染的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

打开fancybox iframe的站点,并且在i-frame中有其他域的apx-ajax页. 只是在兼容模式下使用IE10(其他浏览器都没有问题),页面才被部分渲染,并且当我单击按钮(例如更改包的颜色)时,页面是正确渲染的.

Site that open a fancybox iframe, and in the i-frame there is a aspx - ajax page of other domain. just with IE10 in compatibility mode (No problem with others browsers), the page is just partially rendered, and when I click on a button (example to change the color of the bag) the page is correctly rendered.

首次渲染:

点击橙色后:

更新:

1)在单独的iframe(没有fancybox)上,该页面可以正常运行.

1) On a separate iframe (without fancybox) the page works perfectly.

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

2) It's not a cross-domain issue, problem exists also on my pc.

推荐答案

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

Ok, it was a jQuery version problem. In the main web page, the version is 1.9.1 In the i-frame, I use the 1.4.4 version (due to an old plug-in used in the page) I upgrade version in the i-frame to 1.9.1 and the problem disappear. Thanks to everybody!

这篇关于具有iframe跨域功能的Fancybox,使用Explorer10兼容模式部分渲染的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆