$("#left article .t").each(function(){ $(this).nextAll().hide(); $(this).click(function(){ $(this).nextAll().slideToggle(500); }); }); $("#left article .t").eq(0).nextAll().show(); $("#sub_nav a").eq(0).addClass("now").siblings().removeClass("now"); $("#sub_nav a").each(function(i){ $(this).click(function(){ $(this).addClass("now").siblings().removeClass("now"); $("#left article .t").nextAll().hide(); $("#left article .t").eq(i).nextAll().slideToggle(500); }); });
$("#count").html("canvas 属性+方法 总共有 <mark> "+($(".table tr").length-1)+"</mark> 条信息.");
零七网部分新闻及文章转载自互联网,供读者交流和学习,若有涉及作者版权等问题请及时与我们联系,以便更正、删除或按规定办理。感谢所有提供资讯的网站,欢迎各类媒体与零七网进行文章共享合作。