The University of Arizona
UA Home


Drupal + jQuery = Amazing!!



 

Trick your theme using jQuery but it can also do so much more.

If you've wondered how drupal has those resizing text fields, it's autocomplete fields, and drag and drop interfaces we need to look no further than jQuery. It's what's making the magic happen.

jQuery provides us a powerful way to write snippets of JavaScript that can do a whole lot. They can update sections of an already loaded webpage or they can be used to create some advanced functionality.

I used jQuery to create the "What's New" Messages on this homepage. The script rotates nodes that have been published to the homepage and are set to 'sticky'.  It rotates through all the  nodes and displays them one at a time... each fading in and out.

Maybe add a Themeing, Part 2 workshop that includes jQuery???  Email me if you think you would like this type of workshop:  tracey@uainfo.arizona.edu.

Tracey

"jQuery: The Write Less Code, Do More, JavaScript Library"