chapter_count++;
}
});
$(#chapterSum)。html(chapter_count);
$(#goldsum)。html(goldsum);
$(#sumEgold)。html(goldsum);
if(parseInt($(#goldsum)。html())>parseInt($(#noEgold)。html())){
shoRequest();
}
if((count_num==1&&k>6)||(count_num>1&&k3){
$(this)。hide();
}
});
*
}
显示章节
functionshoChapterAll(){
loading();
setTimeout(shoChapterAllTimeOut(),1000);
}
functionshoChapterAllTimeOut(){
$("#chapter_more_tabletr:gt(4)")。sho();
chapter_count=parseInt($(#chapterSum)。html());
goldsum=parseInt($(#goldsum)。html());
$("#chapter_more_tabletr:visible")。each(function(i,n){
if($(this)。children()。children(":checkbox")。attr(disabled)==false&&$(this)。children()。children(":checkbox")。attr(checked)==false){
$(this)。children()。children(":checkbox")。attr(checked,true);
goldsum=goldsum+parseInt($(this)。children(td:eq(4))。children()。html());
chapter_count++;
}
});
*
$("#chapter_more_tabletr:gt(0)")。each(function(i,n){
if(i>3){
$(this)。sho();
}
});
*
$(#chapterSum)。html(chapter_count);
$(#goldsum)。html(goldsum);