Team:Alberta/application.js

From 2010.igem.org

(Difference between revisions)
Line 4: Line 4:
   // show the drop down list on hover
   // show the drop down list on hover
   $('li.headlink').hover(
   $('li.headlink').hover(
-
     function() { $('ul', this).slideDown(); },
+
     function() { $('ul', this).show(); },
     function() { $('ul', this).hide(); }
     function() { $('ul', this).hide(); }
   );
   );
});
});

Revision as of 21:03, 24 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').hover(
   function() { $('ul', this).show(); },
   function() { $('ul', this).hide(); }
 );

});