Team:UCL E/js

From 2013.igem.org

(Difference between revisions)
(Created page with "$(document).ready(function(){ $("ucligem nav a").on('hover', function(e) { if(e.type == 'mouseenter') { $(this).animate({color:'#73B9FF'},500); } else { $(th...")
Line 1: Line 1:
$(document).ready(function(){
$(document).ready(function(){
-
$("ucligem nav a").on('hover', function(e) {
+
$("a").on('hover', function(e) {
     if(e.type == 'mouseenter') {
     if(e.type == 'mouseenter') {
       $(this).animate({color:'#73B9FF'},500);
       $(this).animate({color:'#73B9FF'},500);

Revision as of 11:06, 20 July 2013

$(document).ready(function(){

$("a").on('hover', function(e) {

   if(e.type == 'mouseenter') {
     $(this).animate({color:'#73B9FF'},500);
   } else {
     $(this).animate({color:'#000'},500);
   }

});​


});