第135章 登徒子

    第135章 登徒子 (第3/3页)

#subs_expand_all').live('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});

    }

    雷星涛看向雷艾魅,点了点头,他感觉在雷艾魅的眼神中有一道温情,一道信任传来。

    “我支持雷星涛。”雷龙潜也开口,说这话的时候他的头抬的高高的,虽然是推荐自己的儿子,但是他没有一丝异样的神色,就是那简简单单的举贤不避亲,对于雷星涛这个儿子,他现在是从心里认可他。

    雷龙道也表了态,愿意支持雷星涛作为雷家的新任族长。接着便是几个小辈,最后一一表了态。

    雷星涛笑了,上午还在和莱恩家族的族长,夫人讨论将来雷家主事人,不料下午事情便定了下来,而且事情变得这么容易。雷星涛心中有些感慨。

    不过雷星涛明显看的出不是所有人的人都认可自己。对此,

    ......

    更多精彩内容请充值