JQuery Lightbox 2 插件问题

发布于 08-08 05:29 字数 289 浏览 14 评论 0原文

我正在开发一个画廊,它使用 jQuery Lighbox 2(插件页面)。我有问题,当选择图像时,导航条目也可见(参见示例在这里)。对于导航,我使用 css 菜单。有人可以告诉我,选择图像时如何使实体不可见吗?

I'm working on a gallery, which use jQuery Lighbox 2 (plugin page). I have the problem, that the navigation entries are also visible, when an image is selected (see example here). For the navigation i'm using css menu. Can someone tell me, how to make the enties invisible, when an image was selected?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

葬シ愛2024-08-15 05:29:00

在 lightbox.css 文件中将 z-index 设置为 5000。

示例:

#lightbox {
    left:0;
    line-height:0;
    position:absolute;
    text-align:center;
    width:100%;
    z-index:5000; /* move the lightbox above all other elements */
}

Set z-index to 5000. in the file lightbox.css

Example:

#lightbox {
    left:0;
    line-height:0;
    position:absolute;
    text-align:center;
    width:100%;
    z-index:5000; /* move the lightbox above all other elements */
}
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文