具有适当的后退按钮支持的jQuery Lightbox [英] jQuery Lightbox with proper back button support

查看:114
本文介绍了具有适当的后退按钮支持的jQuery Lightbox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行一些可用性测试后,我发现参与者打开了 jQuery Lightbox 进行查看较大的图像.然后,他们只需单击浏览器的后退按钮,而不是单击关闭"按钮.这样会将它们发送到最后一页,而不是关闭灯箱.

After running some usability tests, I found that participants opened a jQuery Lightbox to view larger images. Then rather than clicking the 'close' button they simply hit the browser back button. That sends them to the last page rather than closing the lightbox.

有人知道支持所描述的后退按钮行为的jQuery照片库吗?还是有人修改了他们的jQuery Lightbox来做到这一点?

Does anyone know a jQuery photo gallery that supports the described back button behavior? Or has anyone modified their jQuery Lightbox to do so?

推荐答案

尝试使用jQuery 历史插件这里.您可能必须添加一些自定义的挂钩函数才能修改Lightbox的行为,但这并不难.

Try the jQuery history plugin here. You will probably have to add some custom hook function to modify the behavior of Lightbox, but it shouldn't be too hard.

这篇关于具有适当的后退按钮支持的jQuery Lightbox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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