Team:Alberta/application.js

From 2010.igem.org

Revision as of 00:17, 26 October 2010 by Stjahns (Talk | contribs)

// 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(); }
 );

$('.achieve-link').click(function(){

   document.location="https://2010.igem.org/Team:Alberta/Achievements";
   alert("HEY!");

});