[英]Javascript not being used in 3.8
I'm getting an issue on http://bollywoodbang.ca/wp/ , it appears that my javascript files aren't working. 我在http://bollywoodbang.ca/wp/上遇到了问题,看来我的JavaScript文件无法正常工作。 I called them in
functions.php
using wp_enqueue_script()
. 我使用
wp_enqueue_script()
在functions.php
调用了它们。 The inspector says that the right files are getting called, however, the script that's in the files isn't being run. 检查员说正在调用正确的文件,但是文件中的脚本没有在运行。 Am I missing something obvious?
我是否缺少明显的东西?
The files that aren't working is to recreate this effect for the gallery. 无效的文件将为图库重新创建此效果。
That´sa problem of order, you are calling new Photostack but the js is not loaded yet. 那是一个顺序问题,您正在调用新的Photostack,但尚未加载js。 Put the new Photostack just behind photostack.js and see.
将新的Photostack放在photostack.js后面,看看。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.