使用最新的灯箱时出现 JavaScript 错误
首先,我根本不擅长 JavaScript。我遵循了此页面上的所有说明: http://www.lokeshdhakar.com/projects/lightbox2/
视觉上一切加载正常。但是,Visual Studio 在运行时抛出此错误。如果我点击继续,一切似乎都加载正常。我看到所有按钮、动画等。我只能猜测有些东西没有正确加载。但不确定..
First of all, I'm not good with JavaScript at all. I followed all instructions on this page:
http://www.lokeshdhakar.com/projects/lightbox2/
Visually everything loads fine. However, visual studio throws this error while running. If I hit continue everything seems to be loading fine. I see all buttons, animation, etc. I can only guess that something not loading properly. But not sure..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想我也有同样的问题。最后,我决定使用这个版本的不同灯箱,因为它的工作原理类似于 jQuery 插件
http: //leandrovieira.com/projects/jquery/lightbox/
对我来说,我觉得它好多了,因为它使用 jQuery 作为插件,并且不依赖 6 个 js 文件!
I think i had the same problem as this. In the end I decided to go with this version of a different lightbox instead as it works like a jQuery plugin
http://leandrovieira.com/projects/jquery/lightbox/
For me I felt it was a lot nicer since it worked with jQuery as a Plugin, and didnt rely on the 6 js files!