简体   繁体   中英

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. I called them in functions.php using wp_enqueue_script() . 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. Put the new Photostack just behind photostack.js and see.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM