Team:Peking/001
From 2010.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","#bb0011"); |
} | } | ||
else { | else { | ||
- | $('#headover ul li a[href$="' + path + '"]').addClass("curlink").css("color","# | + | $('#headover ul li a[href$="' + path + '"]').addClass("curlink").css("color","#bb0011"); |
} | } | ||
}); | }); | ||
Line 38: | Line 38: | ||
$('.listmain').mouseover(function(){ | $('.listmain').mouseover(function(){ | ||
$('.listmain').not('.curlink').css("color","#dddddd"); | $('.listmain').not('.curlink').css("color","#dddddd"); | ||
- | $(this).css("color","# | + | $(this).css("color","#bb0011"); |
}); | }); | ||
Line 173: | Line 173: | ||
top: 0px; | top: 0px; | ||
left: 0px; | left: 0px; | ||
- | background-color: # | + | background-color: #bb0011} |
#headpic { | #headpic { |
Revision as of 15:02, 10 April 2011