Template:OUC-China.CommonCSS
From 2011.igem.org
(Difference between revisions)
Line 242: | Line 242: | ||
$($(this).attr("href")).stop(true,true).animate({opacity:0.9}, 200); | $($(this).attr("href")).stop(true,true).animate({opacity:0.9}, 200); | ||
var bg = $($(this).attr("href")).attr("tag"); | var bg = $($(this).attr("href")).attr("tag"); | ||
- | $("#mainnav").animate({backgroundPosition:"(-"+tag+"px 0px)"}, {duration: | + | $("#mainnav").animate({backgroundPosition:"(-"+tag+"px 0px)"}, {duration:200}); |
}); | }); | ||
$(".navitem").click(function(){ | $(".navitem").click(function(){ |
Revision as of 05:19, 5 October 2011