Team:BIT-China/js/nav.js

From 2013.igem.org

Revision as of 02:09, 26 September 2013 by Singlewindy (Talk | contribs)

$(document).ready(function(){$("ul.subnav").parent().find("> a").append(""),$("ul.topnav li").hover(function(){$(this).parent().find("ul.subnav").hide(),$(this).find("ul.subnav").show(),$(this).hover(function(){},function(){$(this).find("ul.subnav").hide()})},function(){$(this).find("ul.subnav").hide()})})