jquery教程11:jquery制作下拉菜单实例
9、 jquery制作下拉菜单实例
例如: $(document).ready(function(){
$(".nav").mouseover(function(){
$(this).children(".subnav").show();
});
$(".nav").mouseout(function(){
$(this).children(".subnav").hide();
});
});
最终效果:
![]() |
豫公网安备 41010202002486号 | ICP备案:豫ICP备18044432号-1 |