Team:Alberta/application.js

From 2010.igem.org

(Difference between revisions)
Line 7: Line 7:
     function() { $('ul', this).css('display', 'none'); });
     function() { $('ul', this).css('display', 'none'); });
   });
   });
 +
 +
  alert("it works");
});
});

Revision as of 05:20, 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').hover(
   function() { $('ul', this).css('display', 'block'); },
   function() { $('ul', this).css('display', 'none'); });
 });
 alert("it works");

});