Team:UCL E/js
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$(".contactlink").mouseover(function(){ | $(".contactlink").mouseover(function(){ | ||
+ | alert('h'); | ||
$(this).animate({color:'#73B9FF'},500); | $(this).animate({color:'#73B9FF'},500); | ||
}); | }); | ||
- | $(".contactlink"). | + | $(".contactlink").mouseout(function() { |
$(this).animate({color:'#000'},500); | $(this).animate({color:'#000'},500); | ||
}); | }); |
Revision as of 11:17, 20 July 2013
$(document).ready(function(){ $(".contactlink").mouseover(function(){
alert('h'); $(this).animate({color:'#73B9FF'},500); });
$(".contactlink").mouseout(function() {
$(this).animate({color:'#000'},500); });
});