themes

Drupal 101: How to Add Custom jQuery

Full disclaimer here: I love jQuery – I use it all the time. jQuery has made my life as a designer/developer so much better. I use is it on all of my sites – which means I use it within Drupal. When I first got started developing sites with Drupal a few years ago, I remember thinking, “How the hell do I add my own JavaScript?!”. Needless to say, I’ve learned a lot since then.

There are a number of different ways to include jQuery plugins or one-off scripts into your sites/pages. Here’s an overview of some of the ways to do it. The solution you use will likely depend on your workflow or comfort working within the Drupal theme system.