弹出窗口内的 jQuery 图片库
我只是想寻求帮助
http://anonymousmind.site40.net/veryint/index.html< /a>
尝试单击图库并单击图像缩略图。我的问题是弹出窗口位置没有保留在中心。仅在您单击第二次后才起作用。我不知道这里出了什么问题。感谢您的帮助。
I just want to ask for help
http://anonymousmind.site40.net/veryint/index.html
Try to click on the gallery and click on the image thumbnail. My problem is that the popup windows position does not retain on center. It works only after you click the second time. I can't figure out whats wrong here.. Thanks for the help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
元素“popup-wrap”最初占据左上方位置,下次它会正确占据该位置。找出造成这种情况的原因。它会解决问题。
问候..
The element 'popup-wrap' initially takes a higher left position, and next time it takes the position correctly. Find the cause for that. It would resolve the problem.
Regards..
通过 firebug 查看您的网站,我发现您的 div id="popup-wrap" 的样式
显示:块;顶部:179 像素; z 指数:9500; left: 646px;
属性
left: 646px;
似乎是将图像设置到最右侧的最初原因。再次单击图像后,图片以
left:348px;
为中心,希望这能为您提供解决问题的起点。
Looking at your site through firebug, and I see that your div id="popup-wrap" is styled
display: block; top: 179px; z-index: 9500; left: 646px;
The property
left: 646px;
seems to be the initial cause for setting the image to the far right.After I click on the image again, the pic centers itself at
left:348px;
Hope this gives you a starting point for trouble shooting.