(function(){ $('dd').filter(':nth-child(n+4)').addClass('hide'); $('dl').on('click', 'dt', function() { $(this).next().slideToggle(200); }); })(); "/>

jQuery可展开收起的问答FAQs手风琴切换特效

162
0
jQuery展开收起问答展开收起代码
推荐一款基于CSS3+jQuery实现,可展开收起的问答FAQs垂直手风琴问答列表效果,通常用于简短的网站FAQ问答展示,比较实用一款网页代码。
<script type="text/javascript">
	(function(){

	  $('dd').filter(':nth-child(n+4)').addClass('hide');

	  $('dl').on('click', 'dt', function() {
		  $(this).next().slideToggle(200);
		});
	  
	 })();
</script>