“Shadowbox 未定义”错误提示 Shadowbox.init(shadowbox_conf)?
我遇到一个问题,我收到错误“Shadowbox 未定义”,它表明 Shadowbox.init(shadowbox_conf) 是问题所在。
我相信当我从 wordpress 3.3.0 更新到 3.3.1 时,这个问题就开始出现。
我不明白为什么这突然开始引起问题。不幸的是我缺乏 JavaScript 技能,所以如果您能给我任何帮助,我将不胜感激。
您可以在此处查看相关页面。 (请注意,我使用 Shadowbox JS 插件来使用 Shadowbox Lightbox,并且我还将其与 javascript 插件 isotope 集成,用于布局和过滤。
I am having a problem where i am getting the error "Shadowbox is not defined" and it suggests that Shadowbox.init(shadowbox_conf) is the problem.
I believe that this issue started occurring when I updated from wordpress 3.3.0 to 3.3.1.
I can't figure out why this has suddenly started to cause a problem. Unfortunately my javascript skills are lacking, so any help you could give me would be appreciated.
You can view the page in question here. (note I am using shadowbox JS plugin to use the shadowbox lightbox, and I have also integrated this with the javascript plugin isotope, which is use for layout and filtering.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我最终找到了解决办法。
我正在使用 Shadowbox JS 插件。事实证明,这个插件已从 WordPress 的存储库中删除,并且我错过了修复兼容性问题的最新更新。请点击下面的链接了解更多信息,并根据需要下载最新版本。
http://sivel.net/ 2011/12/shadowbox-js-plugin-pulled-from-the-wordpress-org-repository/
okay, i eventually tracked down the fix.
I am using the Shadowbox JS plugin. Turns out that this plugin has been removed from the repository at wordpress, and i had missed out on the latest update which fixed the compatibility issues. Follow the link below to find out more and download teh latest version if you require.
http://sivel.net/2011/12/shadowbox-js-plugin-pulled-from-the-wordpress-org-repository/