用i帧跨域的fancybox,局部Explorer10保持兼容模式呈现 [英] Fancybox with an i-frame cross-domain, partially rendered with Explorer10 compability mode

查看:168
本文介绍了用i帧跨域的fancybox,局部Explorer10保持兼容模式呈现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

站点打开一个的fancybox i帧,并在第i帧有一个的aspx - 其他域的Ajax页面。
只是在IE10模式保持兼容(与其他浏览器没有问题),页面只是部分呈现,当我点击一个按钮(例如更改包包的颜​​色)的页面正确呈现。

Site that open a fancybox i-frame, and in the i-frame there is a aspx - ajax page of other domain. just with IE10 in compability 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)在一个单独的I帧(没有的fancybox)的页面完美的作品。

1) On a separate i-frame (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帧版本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!

这篇关于用i帧跨域的fancybox,局部Explorer10保持兼容模式呈现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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