Template:Team:Glasgow/Header
From 2011.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
var last = path.split("/"); | var last = path.split("/"); | ||
if ( last[1] ) { | if ( last[1] ) { | ||
- | $('#headover ul li a[href$="' + path + '"]').addClass("curlink").css("color","# | + | $('#headover ul li a[href$="' + path + '"]').addClass("curlink").css("color","#bbffff"); |
} | } | ||
}); | }); | ||
Line 27: | Line 27: | ||
$('.listhead').mouseover(function(){ | $('.listhead').mouseover(function(){ | ||
$('.listhead').not('.curlink').css("color","#ffffff"); | $('.listhead').not('.curlink').css("color","#ffffff"); | ||
- | $(this).css("color","# | + | $(this).css("color","#bbffff"); |
$('#headover ul').css("display","none"); | $('#headover ul').css("display","none"); | ||
var vActive = $(this).attr("id"); | var vActive = $(this).attr("id"); | ||
Line 35: | Line 35: | ||
$('.listmain').mouseover(function(){ | $('.listmain').mouseover(function(){ | ||
$('.listmain').not('.curlink').css("color","#dddddd"); | $('.listmain').not('.curlink').css("color","#dddddd"); | ||
- | $(this).css("color","# | + | $(this).css("color","#bbffff"); |
}); | }); | ||
Revision as of 20:25, 20 July 2011