开发者

"Shadowbox is not defined" but there is here?

In our project,when I try to call Shadowbox.init in html,it didn't work.

$(window).load(function() {
Shadowbox.init({
    skipSetup: true
});

I declared :

{js src="linkzutils.js,shadowbox/shadowbox.js"}

There is a correct fol开发者_开发百科der and path, but firebug returns;

Shadowbox is not defined

Note:Our server folder/file permissions are true.

Why it can't work ?


If you're running a newer version of WordPress you might see this issue. It's most likely because it has not been updated. Read here on why and grab a current copy of the plugin.

http://sivel.net/2011/12/shadowbox-js-plugin-pulled-from-the-wordpress-org-repository/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜