jQuery, AJAX, and JavaScript in Drupal 6
JavaScript: It's not just for calculators and image rollovers.
Drupal 6 is loaded with new features, and not all of them are implemented in PHP. This session will look at what can be done with JavaScript (and especially with jQuery) in Drupal 6. While the presentation will be geared toward those with development experience, JavaScript is often used in themes. For that reason, theme developers may find the track useful, as well.
UPDATE: I have attached the sample code that I presented. THIS IS NOT PRODUCTION-QUALITY CODE, but please feel free to use it as a reference for your own work.
Explore Drupal's JavaScript tools, and look at some pretty examples along the way. Specifically, we will see
- How to add effects using jQuery
- How to make use of JavaScript implementations of Drupal functions (like theme())
- How to use AJAX/JSON to build interactive features.
Experience writing JavaScript. Some experience with PHPTemplates (the Drupal template language) will help as well.
Learn what functionality the Drupal JavaScript libraries can provide, and see how JavaScript can be put to real work.
| Attachment | Size |
|---|---|
| jqshow-6.x-1.x.tar_.gz | 3.23 KB |


About the Attachment
The attached code is in the form of a Drupal 6 theme, and can be installed in the usual way.