Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 134847

rdelrossi on "Using javascript libraries in my site"

$
0
0

Hi all -- Real newbie here, so please pardon what's probably a silly question. I've just got my web site up and running hosted through Webfaction.

I've been hunting around the web and found some neat looking Javascript libraries like two.js (see http://jonobr1.github.io/two.js).

While I've been able to run some simple Javascript that I've embedded into pages of my Wordpress site, I've been unable to get two.js running. I've downloaded the script files from their web site and I've confirmed through Chrome's Javascript Console that it's loaded, but I get no output.

My question isn't really about using two.js. I realize that's probably beyond the scope of what you all can help me with (though I'd be happy to hear from any of you that are using it successfully). What I really want to know is, are there any pointers I should consult for including third-party Javascript libraries in my Wordpress site?

I'm sure there's a right way to do it and a wrong way, and I want to stay on the right path. Some of the articles I've found through Google talk about incorporating Javascript into themes, but I'm not building a theme, just trying to add some functionality to regular pages on my site.

Thanks in advance for any guidance.

-- Robert


Viewing all articles
Browse latest Browse all 134847

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>