Template:Team:KIT-Kyoto/UnderBar
From 2014.igem.org
(Difference between revisions)
(One intermediate revision not shown) | |||
Line 4: | Line 4: | ||
var SideMenuLine='<img src="https://static.igem.org/mediawiki/2014/4/40/KIT_pictures_line.png" class="line_d">'; | var SideMenuLine='<img src="https://static.igem.org/mediawiki/2014/4/40/KIT_pictures_line.png" class="line_d">'; | ||
// --> | // --> | ||
- | $(".s-menu li a").append(SideMenuLine).find(".line_d | + | $(".s-menu li a").append(SideMenuLine).find(".line_d",this).width(0).hide(); |
$(".s-menu a").hover(function(){ | $(".s-menu a").hover(function(){ | ||
if(!$(this).hasClass("select")){ | if(!$(this).hasClass("select")){ | ||
Line 15: | Line 15: | ||
} | } | ||
}); | }); | ||
+ | function nextNaviSet(contents){ | ||
+ | //ナビゲーションにクラスを付与 | ||
+ | $(".s-menu a.select .line_d").stop().width(0).hide(); | ||
+ | $(".s-menu a.select").removeClass("select"); | ||
+ | } | ||
</script> | </script> |
Latest revision as of 17:52, 20 May 2014