jq代码
$('#fenlei_title span').click(function() {
$("#fenlei_title span").eq($(this).index()).addClass("current").siblings().removeClass('current');
$(".J_pic").hide().eq($(this).index()).show();
});
或者是
$('#fenlei_title span').click(function(event) {
$(this).addClass('current').siblings().removeClass('current');
$('.J_pic').eq($(this).index()).show().siblings('.J_pic').hide();
});