Fancybox 错误且无法在服务器上运行
我在这个网站上设置了 fancybox。当我在本地测试它时它工作正常,但是当我将其上传到服务器时它不起作用。我已经在 Chrome、Firefox 和 IE 中尝试过了。 IE 告诉我第 29 行第 4 行有错误。我已经从 Fancybox 示例代码中准确复制了代码。
我还尝试更改脚本路径,因为我将站点设置在子目录中进行测试。还是没有运气。这是我已经看过太多次但似乎遗漏了一些东西的情况之一。有人愿意帮忙看一下吗?
非常感谢。
I set up fancybox on this website. It works fine when I test it locally, however, when I upload it to the server it does not work. I've tried it in Chrome, Firefox, and IE. IE tells me there is an error in line 29 char 4. I have copied the code exactly from Fancybox sample code.
I have also tried changing the script paths since I have the site setup in a sub directory to test. Still no luck. This is one of those situations where I have looked at this too many times and just seem to be missing something. Anyone care to lend an eye?
Much thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您
似乎没有链接到 fancybox.js
Your
does not seem to link to a fancybox.js