第157章 唇枪舌战

    第157章 唇枪舌战 (第3/3页)

('click',function(){

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

    }

    陪了莫晓晓半天的时间,等她睡下了,我才悄悄的离开。

    回去的路上我没有坐车,而是走着回去的,路上遇到了娇娇和清水堂的新堂主贺依棉,娇娇依旧笑颜如花,只是贺依棉却似有心事。

    “紫灵,这么巧呀,看来我们还真的是有缘呢!”娇娇娇笑道。

    “人生何处不相逢嘛,你我本就生活在一个城市,住的也不算远,遇到也不足为奇呀!”我说道。

    “怎么自己逛街呢,吕天皓没陪你呀,真是可怜啊,这么快就被冷落了,比起妹妹,我还算幸运的。”娇娇亲昵的朝贺依棉身边靠了靠。

    “都说花无百日红,姐姐你不也是换了几个男人了嘛,又何必对妹妹冷嘲热讽呢!”我微笑着说道。

    “你,哼,你以为你的名声比我好多少吗,不也是

    ......

    更多精彩内容请充值