/[drupal]/contributions/themes/acquia_slate/script.js
ViewVC logotype

Contents of /contributions/themes/acquia_slate/script.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Sat Feb 28 23:33:58 2009 UTC (8 months, 4 weeks ago) by jwolf
Branch: MAIN
CVS Tags: DRUPAL-6--1-4, DRUPAL-6--1-0, DRUPAL-6--1-1, DRUPAL-6--1-2, DRUPAL-6--1-3, HEAD
Branch point for: DRUPAL-6--1, DRUPAL-6--2
File MIME type: text/javascript
initial commit of Acquia Slate theme
1 // $Id$
2
3 Drupal.behaviors.tntBehavior = function (context) {
4 // IE6 & less-specific functions
5 // Add hover class to primary menu li elements on hover
6 if ($.browser.msie && ($.browser.version < 7)) {
7 $('.form-submit').hover(function() {
8 $(this).addClass('hover');
9 }, function() {
10 $(this).removeClass('hover');
11 });
12 $('#primary-menu li').hover(function() {
13 $(this).addClass('hover');
14 }, function() {
15 $(this).removeClass('hover');
16 });
17 $('span.button-wrapper').hover(function() {
18 $(this).addClass('hover');
19 }, function() {
20 $(this).removeClass('hover');
21 });
22 };
23 // Add label over login field
24 $("#header-top label").overlabel();
25 };

  ViewVC Help
Powered by ViewVC 1.1.2