Fancybox v.2.1.2无法在IE7上打开 [英] Fancybox v.2.1.2 not opening on IE7

查看:51
本文介绍了Fancybox v.2.1.2无法在IE7上打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Wordpress中使用Fancybox v.2.1.2(不是插件).在IE7中,我有负载,但它根本没有打开任何东西.

I am using Fancybox v.2.1.2 in Wordpress (not a plugin). In IE7, I have the loading but it does not opening anything at all.

这是我的JS代码

<!-- Add fancyBox main JS and CSS files -->
<script type="text/javascript" src="/path/to/fancybox/source/jquery.fancybox.js?v=2.1.2"></script>
<link rel="stylesheet" type="text/css" href="/path/to/fancybox/source/jquery.fancybox.css?v=2.1.2" media="screen" />
<script>
jQuery(document).ready(function() {
     jQuery("a.fancybox").fancybox({
        padding : 0
    });  
});
</script>

这是我在页面中的代码:

And here is my code in my page :

<a href="/path/to/images/P1050615.jpg" class="fancybox" rel="gallery[283]"></a>
<div class="hidden">
 <a class="fancybox" href="/path/to/images/P1050616.jpg" rel="gallery[283]"><img src="/path/to/images/P1050616.jpg"></a>
 <a class="fancybox" href="/path/to/images/P1050617.jpg" rel="gallery[283]"><img src="/path/to/images/P1050617.jpg"></a>
</div>

我正在使用HTML5 Doctype,但是即使更改它,它也不会改变任何内容.

I am using the HTML5 Doctype but even when I am changing it, it does not change anything.

推荐答案

恐怕这是一个错误(不是您的错,不是您的代码).

I am afraid that this is a bug (it's not your fault, it's not your code).

我已经直接与开发人员联系,他向我确认,该问题有望在下一次提交中得到解决.

I have contacted directly the developer and he confirmed to me that the issue is expecting to be fixed in the next commit.

与此同时,您可以回滚到v2.1.1版本.

You may rollback to version v2.1.1 in the meantime.

更新:Fancybox v2.1.3已发布

UPDATE : Fancybox v2.1.3 has been released

变更日志 2.1.3版-2012年10月23日

Changelog Version 2.1.3 - October 23, 2012

  • 已修复#426-IE7损坏
  • 已修复#423-iOS上的背景闪烁
  • 固定#418-自动增长/缩小和居中
  • 更新了脚本,使其可与jQuery 1.6一起使用
  • 媒体助手支持YouTube视频系列

这篇关于Fancybox v.2.1.2无法在IE7上打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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