第515章 族长现身
$('#subs_expand_all.html('展开全部章节;
$('#subs_expand_all.live('click',function{
shochapterAll;
});
$("#chapter_more_tabletr:visible").each(function(i,n){
if($(this).children.children(":checkbox").attr('disabled==false&&$(this).children.children(":checkbox").attr('checked&&i!=0){
goldsum=goldsum+parseInt($(this).children('td:eq(4).children.html);
chapter_count++;
}
functionhiddenchapterAll{
loading;
settimeout('hiddenchapterAlltimeout',1000);
//hiddenchapterAlltimeout;
}
});
$('#chapterSum.html(chapter_count);
$('#goldsum.html(goldsum);
$('#sumEgold.html(goldsum);
$("#subs_expand_all").die("click");
functionhiddenchapterAlltimeout{
$("#chapter_more_tabletr:gt(4)").hide;
$("#chapter_more_tabletr:gt(4):checkbox").attr('checked',false);
goldsum=0;
chapter_count=0;