隐藏使用 Galleria JQuery 插件制作的画廊
我正在使用 Galleria 在网站中构建我的画廊,它运行良好,但我想将其提升到一个新的水平。
我想知道这里是否有人尝试过仅在全屏模式下拥有 Galleria 实例。我想要一个按钮,当单击它时以全屏模式打开图库,当图库关闭时我想隐藏它。我尝试使用 jquery.hide() 隐藏 Galleria 使用的父 div,但首先图库仍然可见,其次,当我第二次单击按钮全屏打开它时,它会抛出错误。
有人成功做到这一点吗?
如果我说得不够清楚,请告诉我。
I'm using Galleria to build my gallery in a website and it works fine but I want to take it to the next level.
I would like to know if someone here has tried to have an instance of Galleria in full screen mode only. I want a button to open a gallery in full screen mode when it's clicked and when the gallery is closed I would like to hide it. I tried to use jquery.hide() to hide the parent div used by galleria but first the gallery is still visible and second, it throws an error the second time I click the button to open it full screen.
Has someone succeded doing this?
If I didn't make myself clear enough please let me know.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
// 点击后
// after click