厚盒画廊同时显示两张相同的图像
我遇到一个问题,有时会加载两个相同的图像,一个在另一个之上,所以两个都显示。这种情况仅发生在加载的第一个图像上并且非常间歇性。有其他人在使用 Thickbox 时遇到过这个问题吗?有谁知道如何修复它?谢谢
I am having a problem where occasionally two of the same images will load up, one on top of the other so both are showing. This only happens on the first image that loads up and is very intermittent. Has anyone else run into this problem using thickbox? Does anyone know how to fix it? Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我知道这是一个老问题,但我遇到了同样的问题并且刚刚解决了它。
我们在一个页面上有多个画廊,所有画廊均由
rel='' 标签
分隔以进行分组。我们也遇到了
“第一次点击两张图像”
问题。我们的 php 代码不够聪明,无法意识到它多次包含 javascript。因此,只需在页面上包含一次 .js 文件,问题就解决了。
也许这不是您的解决方案,但它对我们有用,所以我想我会分享。
I know this is an old question, but I had the same problem and just solved it.
We had multiple galleries on one page, all seperated by the
rel='' tag
to group them.We ran into the
"two images on first click"
problem as well.Our php code was not smart enough to realize it was including the javascript more than once. So by only including the .js files once on the page, the problem was solved.
Maybe this is not a solution for you but it worked for us so I thougt I'd share.