// $Id: script.js,v 1.1 2009/02/28 23:33:58 jwolf Exp $ Drupal.behaviors.tntBehavior = function (context) { // IE6 & less-specific functions // Add hover class to primary menu li elements on hover if ($.browser.msie && ($.browser.version < 7)) { $('.form-submit').hover(function() { $(this).addClass('hover'); }, function() { $(this).removeClass('hover'); }); $('#primary-menu li').hover(function() { $(this).addClass('hover'); }, function() { $(this).removeClass('hover'); }); $('span.button-wrapper').hover(function() { $(this).addClass('hover'); }, function() { $(this).removeClass('hover'); }); }; // Add label over login field $("#header-top label").overlabel(); };