第五百一十六章 靖难之役

    第五百一十六章 靖难之役 (第3/3页)

    hiddenChapterAll() ;

    }) ;

    //$('#subs_expand_all').css('color','#CCC');

    //去掉展开更多章节的提示

    page=9999;

    }

    }

    });

    $("bs_list").css({height:"auto"}) ;

    });

    })

    //隐藏章节

    function hiddenChapterAll(){

    loading();

    setTimeout('hiddenChapterAllTimeOut()' , 1000) ;

    //hiddenChapterAllTimeOut() ;

    }

    function hiddenChapterAllTimeOut(){

    $("#chapter_more_table tr:gt(4)").hide() ;

    $("#chapter_more_table tr:gt(4) :checkbox").attr('checked',false) ;

    /*

    $("#chapter_more_table tr:gt(0)").each(function(i, n){

    if(i>3){

    $(this).hide();

    }

    });

    */

    goldsum = 0 ;

    chapter_count = 0 ;

    $("#chapter_more_table tr: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++ ;

    }

    });

    $('#chapterSum').html(chapter_count) ;

    $('#goldsum').html(goldsum) ;

    $('#sumEgold').html(goldsum) ;

    $("#subs_expand_all").die("click");

    $('#subs_expand_all').html('展开全部章节') ;

    $('#subs_expand_all').live('click',function(){

    shoChapterAll() ;

    }) ;

    $("bs_expand").die("click");

    $('bs_expand').css('color','#0099FF');

    $('bs_expand').live('click',function(){

    shoChapterMore() ;

    }) ;

    if(parseInt($('#goldsum').html())3){

    if(k>clickMpre){

    clickMpre = 9 ;

    count_num++ ;

    return false;

    }

    if($(this).is(":hidden")){

    $(this).sho();

    k++ ;

    }

    }

    if($(this).children().children(":checkbox").attr('disabled')==false){

    goldsum = goldsum+parseInt($(this).children('td:eq(4)').children().html());

    $(this).children().children(":checkbox").attr('checked',true) ;

    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();

    }

    });

    */

    }

    //显示章节

    function shoChapterAll(){

    loading();

    setTimeout('shoChapterAllTimeOut()' , 1000) ;

    }

    function shoChapterAllTimeOut(){

    $("#chapter_more_table tr:gt(4)").sho() ;

    chapter_count = parseInt($('#chapterSum').html()) ;

    goldsum = parseInt($('#goldsum').html()) ;

    $("#chapter_more_table tr: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_table tr:gt(0)").each(function(i, n){

    if(i>3){

    $(this).sho();

    }

    });

    */

    $('#chapterSum').html(chapter_count) ;

    $('#goldsum').html(goldsum) ;

    $('#sumEgold').html(goldsum) ;

    $("#subs_expand_all").die("click");

    $('#subs_expand_all').html('收起章节列表') ;

    $('#subs_expand_all').live('click',function(){

    hiddenChapterAll() ;

    }) ;

    $('bs_expand').css('color','#CCC');

    $("bs_expand").die("click");

    if(parseInt($('#goldsum').html())>parseInt($('#noEgold').html())){

    shoRequest();

    }

    ();

    }

    function loading(){

    var msg = '';

    msg += '';

    msg+= '请稍等...';

    msg+= ' ';

    msg+= ' 请稍等......';

    msg+= '';

    msg+= '';

    msg+= '';

    firmInfo({btn:'',icoCls:'',msgCls:'confirm',message:msg,titleBar:false,useSlide:true,autoClose:false,idth:340,height:160});

    }

    “既然你坚持。”朱允炆说,“那我也就不勉强。”

    他又吩咐随从道:“我们走!”

    朱允炆带着随从们出了饭店,往宫中而去。

    众人纷纷议论敖亮,说他是个傻子。而敖亮则长舒了一口气。

    他又与第三名又把酒言欢多时,才散了场。

    他们姐弟三离开饭店,到了郊外,此时天色已经有些暗了。

    敖亮突然道:“你们俩回去吧,我暂时不回去了。”

    敖兰惊道:“你要干什么?”

    “我等晚上去找那个有趣的皇帝。”他笑着说。

    “要找也是云姝去找。”敖兰取笑他说,“你找他干什么!”

    敖云姝立刻恼道:“好端端的怎么又带上我了!”

    “你不是很喜欢他吗?”敖兰取笑她说。

    “你明知道不是那种喜

    ......

    更多精彩内容请充值