Jquery - Web Development Articles

Rearranging HTML list items in a Drupal menu using jQuery

At some point, you might find the need to rearrange or change the order of HTML unordered list items (<ul> <li>). There are a couple potential reasons: you might want to sort the list alphabetically, or, as in the case of a Drupal site we recently launched, you might need to turn an unordered list menu into columns.

Custom horizontal jQuery accordion menu

The products menu at ClarkDietrich.com is based on a custom-built horizontal accordion UI:

Tackling Hierarchical Menu Issues with Drupal and jQuery

One of the decisions we make when creating a hierarchical menu for a website is whether to create a "landing page" for each section. In other words, does each parent menu item have its own page?

There are three options. Each parent item can:

Inserting JavaScript and jQuery into Drupal

In a previous article, I showed how to track comments and contact form submissions using Google Analytics' goals.  The method I described involved adding jQuery.  So I thought I'd take a few minutes to show how to write custom jQuery or other JavaScript and include it on a Drupal page.

ROI: Tracking form submissions in Google Analytics

The most important role of any stats software like Google Analytics is tracking the return on investment of your web site.  One way to do this is through Analytics' "goals".  By setting custom goals for your site within Analytics, you can track how many times your web site fulfills its primary purpose of converting viewers into contacts or paying customers.