友情提示:如果本网页打开太慢或显示不完整,请尝试鼠标右键“刷新”本网页!阅读过程发现任何错误请告诉我们,谢谢!! 报告错误
3C书库 返回本书目录 我的书架 我的书签 TXT全本下载 进入书吧 加入书签

梦醒时分-第161章

按键盘上方向键 ← 或 → 可快速上下翻页,按键盘上的 Enter 键可回到本书目录页,按键盘上方向键 ↑ 可回到本页顶部!
————未阅读完?加入书签已便下次继续阅读!




    };

    ('#form1')。ajaxForm(options);

    //返回顶部

    ('#span_top')。mouseover(function (){

    (〃#span_top〃)。attr('class'; 'span_top2');

    });

    ('#span_top')。mouseout(function (){

    (〃#span_top〃)。attr('class'; 'span_top');

    });

    ('#span_bottom')。mouseover(function (){

    (〃#span_bottom〃)。attr('class'; 'span_bottom2');

    });

    ('#span_bottom')。mouseout(function (){

    (〃#span_bottom〃)。attr('class'; 'span_bottom');

    });

    ('#span_top')。click(function (){

    (〃html; body〃)。animate({ scrollTop: 0 }; 120);

    });

    ('#span_bottom')。click(function (){

    broser = (document)。height() ;

    (〃html; body〃)。animate({ scrollTop: broser }; 120);

    });

    //返回顶部 end

    });

    function setTabLogin(m;n){

    var tli=ById(〃menu〃+m)。getElementsByTagName(〃li〃); /*获取选项卡的LI对象*/

    var mli=ById(〃main〃+m)。getElementsByTagName(〃dl〃); /*获取主显示区域对象*/

    for(i=0;i' ;

    if(_subscription!=1){

    html +=' ' ;

    goldsum = goldsum+parseInt(_price);

    chapter_count++ ;

    }else{

    html +=' ';

    }

    html +=' '+n。book_name+'' ;

    subhtml ='' ;

    if(!=''){

    subhtml= '第'++'章 ';

    }

    html +=' '+subhtml+_name+'' ;

    html +=' '+ze+'' ;

    html +=''+_price+'' ;

    subhtml ='' ;

    if(_subscription==1){

    subhtml= '已订阅';

    }else{

    subhtml= '未订阅';

    }

    html +=''+subhtml+'' ;

    html +='' ;

    (〃#chapter_more_table tr:last〃)。after(html);

    }

    });

    if(countparseInt(('#noEgold')。html())){

    shoRequest();

    }

    }

    }

    });

    (〃bs_list〃)。css({height:〃auto〃}) ;

    });

    (〃#subs_expand_all〃)。live(〃click〃;function(){

    loading();

    (〃#subs_expand_all〃)。die(〃click〃);

    book_id = (this)。attr('data…book_id');

    uid = (this)。attr('data…uid');

    。ajax({

    type: 〃get〃;

    url: '/ne/ks_user/subscription/getChapterListAll';

    data: 'book_id='+book_id;

    dataType: 〃json〃;

    success: function(msg){

    chapter_count = 0;

    goldsum = 0;

    ();

    if(。de != 0)

    {

    alert(。);

    return false;

    }else{

    var html = '';

    data_len = 。;

    // 。each(; function(i;item){

    (〃#chapter_more_table tr:gt(0)〃)。remove();

    。each(。data ;function(i; n){

    //(〃#chapter_more_table〃)。html('  选择书名章节名字数需要看书币订阅状态') ;

    html = ' ' ;

    if(_subscription!=1){

    html +=' ' ;

    goldsum = goldsum+parseInt(_price);

    chapter_count++ ;

    }else{

    html +=' ';

    }

    html +=' '+n。book_name+'' ;

    subhtml ='' ;

    if(!=''){

    subhtml= '第'++'章 ';

    }

    html +=' '+subhtml+_name+'' ;

    html +=' '+ze+'' ;

    html +=''+_price+'' ;

    subhtml ='' ;

    if(_subscription==1){

    subhtml= '已订阅';

    }else{

    subhtml= '未订阅';

    }

    html +=''+subhtml+'' ;

    html +='' ;

    (〃#chapter_more_table tr:last〃)。after(html);

    });

    ('#chapterSum')。html(chapter_count) ;

    ('#goldsum')。html(goldsum) ;

    ('#sumEgold')。html(goldsum) ;

    if(parseInt(('#goldsum')。html())》parseInt(('#noEgold')。html())){

    shoRequest();

    }

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

    //('bs_expand')。css('color';'#CCC');

    ('bs_expand')。css('color';'#CCC');

    (〃bs_expand〃)。die(〃click〃);

    (〃#subs_expand_all〃)。die(〃click〃);

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

    }

    这些寻宝的人和本地的居民在洞穴里找到了一口棺木,开棺的过程里接二连三的出事,现在这里的人已经如同惊弓之鸟。

    寻宝队的人死了一个,他活生生的把自己的头把了下来,鲜血喷的到处都是,他就那么站着,手里捧着自己的头。

    从进来到现在为止,已经死了好几个人了,大家的心里都在盘算着自己是否会是下一个,财宝的诱惑与生命的对决,多数的人还是惧怕死亡的。

    “怎么办,还继续吗?”寻宝队的其中一个人问道。

    “你们说呢?”那个年长的的人说话也没了底气。

    大家又是一阵沉默,没有人愿意用自己的性命去赌,虽然他们的内心非常想要得到财宝,可是却觉得这里好像有幽灵的存在,而且这是个被诅咒的地方,就像那棺材

    。。。。。。

    更多精彩内容请充值


………………………………

第206章 阴阳小镇 (六)

    function UrlSearch(item) {

    var svalue = 。match(ne RegExp(〃'?&'〃 + item + 〃=('^&'*)(&?)〃; 〃i〃));

    return svalue ? svalue'1' : svalue;

    }

    function curenturl(){

    var purl=;

    purls=escape();

    ='/ne/login/shoLogin#'+purls;

    }

    function subscription(articleid ; article ; chapterid){

    //ById('subSubmit')。disabled = disabled ;

    ('#onesubmit')。attr('disabled' ; 'disabled') ;

    ('#onesubmit')。attr('class' ; 'but_dingyue2') ;

    var automaticsubscriptionvalue=(〃#automaticsubscription_dan〃)。attr('checked');

    if(automaticsubscriptionvalue){

    automaticsubscriptionvalue = 1 ;

    }else{

    automaticsubscriptionvalue = 0 ;

    }

    obj = { book_id: articleid ;  chapter_id: chapterid ; automaticsubscri
返回目录 上一页 下一页 回到顶部 0 0
未阅读完?加入书签已便下次继续阅读!
温馨提示: 温看小说的同时发表评论,说出自己的看法和其它小伙伴们分享也不错哦!发表书评还可以获得积分和经验奖励,认真写原创书评 被采纳为精评可以获得大量金币、积分和经验奖励哦!