Template:Template HD 1
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*="' + last[1] + '"]').addClass("curlink").css("color"," | + | $('#headover ul li a[href*="' + last[1] + '"]').addClass("curlink").css("color","BF7930"); |
} | } | ||
else { | else { | ||
- | $('#headover ul li a[href$="' + path + '"]').addClass("curlink").css("color","# | + | $('#headover ul li a[href$="' + path + '"]').addClass("curlink").css("color","#BF7930"); |
} | } | ||
}); | }); | ||
Line 23: | Line 23: | ||
$('#menu').mouseleave(function() { | $('#menu').mouseleave(function() { | ||
$('.listhead').not('.curlink').css("color","#ffffff"); | $('.listhead').not('.curlink').css("color","#ffffff"); | ||
- | $('.listmain').not('.curlink').css("color","# | + | $('.listmain').not('.curlink').css("color","#BF7930"); |
$('#headover ul').fadeOut(500); | $('#headover ul').fadeOut(500); | ||
$('#headover').stop().animate({height:'50px',top:'100px'},1000); | $('#headover').stop().animate({height:'50px',top:'100px'},1000); |
Revision as of 02:59, 4 July 2011