Team:Alberta/application.js

From 2010.igem.org

(Difference between revisions)
Line 5: Line 5:
   $('li.headlink ul').hover(
   $('li.headlink ul').hover(
     function() { $(this).slideDown(); },
     function() { $(this).slideDown(); },
-
     function() { $(this).slideUp() }
+
     function() { $(this).slideUp(); }
   );
   );
});
});

Revision as of 06:26, 22 October 2010

// This file for javascript that we want to include on all pages

$(document).ready(function(){

 // show the drop down list on hover
 $('li.headlink ul').hover(
   function() { $(this).slideDown(); },
   function() { $(this).slideUp(); }
 );

});