Team:Alberta/application.js
From 2011.igem.org
(Difference between revisions)
m |
m |
||
Line 6: | Line 6: | ||
/*function() { $('ul', this).show(); }, | /*function() { $('ul', this).show(); }, | ||
function() { $('ul', this).hide(); }*/ | function() { $('ul', this).hide(); }*/ | ||
- | function() { $('ul', this).css('display', ' | + | function() { $('ul', this).css('display', 'list-item') }, |
function() { $('ul', this).css('display', 'none') } | function() { $('ul', this).css('display', 'none') } | ||
); | ); | ||
}); | }); |
Revision as of 06:08, 5 July 2011
// 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(); }*/ function() { $('ul', this).css('display', 'list-item') }, function() { $('ul', this).css('display', 'none') } );
});