lightbox-0.5 jquery兼容性问题 [英] lightbox-0.5 jquery compatibility issue

查看:66
本文介绍了lightbox-0.5 jquery兼容性问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从这里集成jquery灯箱插件: http://leandrovieira.com/projects / jquery / lightbox /

I am trying to integrate the jquery lightbox plugin from here: http://leandrovieira.com/projects/jquery/lightbox/

它正在运行,但仅适用于jquery 1.2.3

It is working but only with jquery 1.2.3

灯箱关闭并第二次启动,即下一个和上一个链接没有正确循环照片,

When the lightbox is closed and launched the second time, that is when the next and previous links don't cycle through photos properly,

如果我点击下一个链接,照片的顺序开始跳跃,而不是逐个浏览照片,点击它转1,3,5等等

If i click on the next link, the order of photos start to jump like instead of going through photos one by one on click it goes 1, 3, 5 and so on

顺便说一下,这个问题只发生当我尝试使用键盘箭头导航时,如果我使用鼠标然后它很好,但只有键盘

by the way, this problem happens only when i try to navigate with keyboard arrows, if i use mouse then its fine, but only with keyboard

奇怪,因为我试图解压缩原始提供的示例文件和我刚刚将jquery版本替换为新版本,这就是我发现这个问题的时候,

strange, because i tried to unzip the original provided sample files and I just replaced the jquery version to the newer one and that is when i discovered this problem,

我所做的就是将jquery版本从1.2.3更改为任何更新版本的o ne,这就是问题开始的时候

all I did is changed the jquery version from 1.2.3 to any newer one and this is when the problem started

我试图在Internet Explorer,firefox,chrome,safari甚至在不同的计算机上运行相同的html,但仍然是同样的问题

I tried to run the same html in internet explorer, firefox, chrome, safari and even on different computers, but still the same problem

推荐答案

您可以在网上发布问题页面的链接吗?

Can you post a link to the problem page on the web?

此外,您可以尝试将Lightbox换成 Slimbox2 - 它具有几乎相同的UI,但可以直接解决错误。

Also, you could try swapping Lightbox for Slimbox2 - it has a nearly identical UI, but may solve the error outright.

这篇关于lightbox-0.5 jquery兼容性问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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