Template:OUC-China.CommonCSS
From 2011.igem.org
(Difference between revisions)
Line 196: | Line 196: | ||
var hideSubNav = function(){ | var hideSubNav = function(){ | ||
$(".navmenus").stop(true,true).animate({opacity:0}, 200); | $(".navmenus").stop(true,true).animate({opacity:0}, 200); | ||
- | + | if(window.location.match("Team:OUC-China/Team"){ | |
- | + | $("#mainnav").css("background","url(https://static.igem.org/mediawiki/2011/c/c0/OUC-China.team.jpg) top center no-repeat"); | |
- | + | }else if(window.location.match("Team:OUC-China/Project"){ | |
$("#mainnav").css("background","url(https://static.igem.org/mediawiki/2011/4/41/OUC-China.project.jpg) top center no-repeat"); | $("#mainnav").css("background","url(https://static.igem.org/mediawiki/2011/4/41/OUC-China.project.jpg) top center no-repeat"); | ||
}else if(window.location.match("Team:OUC-China/Result"){ | }else if(window.location.match("Team:OUC-China/Result"){ |
Revision as of 03:22, 5 October 2011