七五读书

字:
关灯 护眼
七五读书 > 傲笑八部天龙 > 第五章 赴约

第五章 赴约

第五章 赴约 (第2/2页)

$('#fontFamily').parent().parent().children('.select').children('p').each(function(){
  
  $(this).click(function(){
  
  $('#fontFamily').val($(this).html());
  
  $('#fontFamily').parent().parent().children('.select').hide();
  
  $(".yd_text2").removeClass($('#fontFamily2').val());
  
  $('#fontFamily2').val($(this).attr('class'));
  
  $(".yd_text2").addClass($(this).attr('class'));
  
  });
  
  });
  
  //字体end
  
  //文字颜色改变
  
  $('#fontColor').click(function(){
  
  varselected=$('#fontColor').parent().parent().children(".select");
  
  ();
  
  });
  
  $('#fontColor1').click(function(){
  
  varselected=$('#fontColor1').parent().parent().children(".select");
  
  ();
  
  });
  
  $('#fontColor').parent().parent().children('.select').children('p').each(function(){
  
  $(this).click(function(){
  
  $('#fontColor').val($(this).html());
  
  $('#fontColor').parent().parent().children('.select').hide();
  
  $(".yd_text2").removeClass($('#fontColor2').val());
  
  $('#fontColor2').val($(this).attr('class'));
  
  $(".yd_text2").addClass($(this).attr('class'));
  
  });
  
  });
  
  //文字颜色改变end
  
  //保存按钮,恢复按钮
  
  $("#saveButton").click(function(){
  
  $.cookie('screen',$('#screen').val(),{path:'/',expires:date});
  
  $.cookie('background',$('#background2').val(),{path:'/',expires:date});
  
  $.cookie('fontSize',$('#fontSize2').val(),{path:'/',expires:date});
  
  $.cookie('fontColor',$('#fontColor2').val(),{path:'/',expires:date});
  
  $.cookie('fontFamily',$('#fontFamily2').val(),{path:'/',expires:date});
  
  alert('保存成功');
  
  });
  
  $("#recoveryButton").click(function(){
  
  $('body').removeClass($.cookie('background'));
  
  $('body').removeClass($('#background2').val());
  
  $('.ydleft').removeClass($('#background2').val());
  
  $('.ydleft').removeClass($.cookie('background'));
  
  $('body').attr('style','background:#E5F2F7');
  
  $('.ydleft').attr('style','background:#F2F8FB');
  
  $('.yd_text2').removeClass($('#fontSize2').val());
  
  $('.yd_text2').removeClass($.cookie('fontSize'));
  
  $('.yd_text2').removeClass($('#fontColor2').val())
  
  $('.yd_text2').removeClass($.cookie('fontColor'));
  
  $('.yd_text2').removeClass($('#fontFamily2').val());
  
  $('.yd_text2').removeClass($.cookie('fontFamily'));
  
  $.cookie('screen','',{path:'/',expires:date});
  
  $.cookie('background','',{path:'/',expires:date});
  
  $.cookie('fontSize','',{path:'/',expires:date});
  
  $.cookie('fontColor','',{path:'/',expires:date});
  
  $.cookie('fontFamily','',{path:'/',expires:date});
  
  $('#screen').val('滚屏');
  
  $('#background').val('阅读底色');
  
  $('#background2').attr('value','#CCCCCC');
  
  $('#fontColor').val('字体色彩');
  
  $('#fontColor2').val('#FFFFFF');
  
  $('#fontFamily').val('字体');
  
  $('#fontFamily2').val('fa_song');
  
  $('#fontSize').val('字体大小');
  
  $('#fontSize2').val('12px');
  
  });
  
  //保存按钮,恢复按钮end
  
  //alert($('.yd_text2').height());
  
  vardate=neDate();
  
  vartimestamp=(neDate());
  
  (()+(30*24*60*60*1000));
  
  $.cookie('aid_'+73279,'73279|傲笑八部天龙|2825245|第五章赴约|'+timestamp,{path:'/',expires:date});
  
  articleArr=$.cookie('article');
  
  if(articleArr==null){
  
  $.cookie('article','73279|傲笑八部天龙|2825245|第五章赴约|0|'+timestamp+'@',{path:'/',expires:date})
  
  }else{
  
  start=dexOf('73279');
  
  if(start==-1){
  
  $.cookie('article','73279|傲笑八部天龙|2825245|第五章赴约|0|'+timestamp+'@'+articleArr,{path:'/',expires:date});
  
  }else{
  
  end=dexOf('@',start);
  
  end=end+1;
  
  articleSubstr=bstr(start,end);
  
  articleArr=(articleSubstr,'');
  
  $.cookie('article','73279|傲笑八部天龙|2825245|第五章赴约|0|'+timestamp+'@'+articleArr,{path:'/',expires:date});
  
  }
  
  }
  
  scroeFuceng();
  
  updateSrc();
  
  isBookrackJs(73279,'傲笑八部天龙');
  
  /**搜索相关*/
  
  $("#searchText").jSuggest({///aaa对应需要提示的文本框的id
  
  minchar:1,//最少字符开始提示
  
  opacity:1.0,//提示框的透明度
  
  delay:1,//加载提示的延迟时间
  
  loadingImg:"",
  
  loadingText:'checking...',
  
  url:"/searchList/getSearchInfo?type=1&table=article_article&order=find_order",///提示的内容
  
  type:"GET",
  
  data:"keys",?searchquery=文本框中的值
  
  autoChange:true
  
  });
  
  /**搜索相关--end*/
  
  varscroolTopNum=0;
  
  varscroolHeightNum=0;
  
  varadded=0;
  
  varopened=0;
  
  $.getScript("?v1.0",function(){
  
  $(articleList).each(function(){
  
  varchapterid=parseInt(d);
  
  varchaptername=;
  
  varisvip=parseInt();
  
  varsize=parseInt(ze);
  
  varlastupdate=parseInt(date);
  
  varchaptertype=parseInt(ype);
  
  varsubChapter=b1;
  
  varclassname="";
  
  if(chaptertype==1){
  
  scroolHeightNum+=1;
  
  $("#scroolHeightNum").val(scroolHeightNum);
  
  if(chapterid==2825245){
  
  added=1;
  
  $("#added").val("1");
  
  }
  
  if(added==0){
  
  scroolTopNum+=1;
  
  $("#scroolTopNum").val(scroolTopNum);
  
  }
  
  classname="class=\"t\"";
  
  varcreateli=""+chaptername+"";
  
  $("#AdLayer").find("ul").append(createli);
  
  if(typeof(subChapter)!='undefined'){
  
  for(varjiinsubChapter){
  
  scroolHeightNum+=1;
  
  $("#scroolHeightNum").val(scroolHeightNum);
  
  varchapterid=parseInt(subChapter[ji].chapterid);
  
  varchaptername=subChapter[ji].chaptername;
  
  varisvip=parseInt(subChapter[ji].isvip);
  
  varsize=parseInt(subChapter[ji].size);
  
  varlastupdate=parseInt(subChapter[ji].lastupdate);
  
  varchaptertype=parseInt(subChapter[ji].chaptertype);
  
  varaclass="";
  
  if(chapterid==2825245){
  
  added=1;
  
  $("#added").val("1");
  
  aclass="class=\"hover\"";
  
  }
  
  if(added==0){
  
  scroolTopNum+=1;
  
  $("#scroolTopNum").val(scroolTopNum);
  
  }
  
  if(isvip==1){
  
  varcreateli=""+chaptername+"";
  
  }else{
  
  varcreateli=""+chaptername+"";
  
  }
  
  $("#AdLayer").find("ul").append(createli);
  
  }
  
  }
  
  }else{
  
  scroolHeightNum+=1;
  
  $("#scroolHeightNum").val(scroolHeightNum);
  
  varaclass="";
  
  if(chapterid==2825245){
  
  added=1;
  
  $("#added").val("1");
  
  aclass="class=\"hover\"";
  
  }
  
  if(added==0){
  
  scroolTopNum+=1;
  
  $("#scroolTopNum").val(scroolTopNum);
  
  }
  
  if(isvip==1){
  
  varcreateli=""+chaptername+"";
  
  }else{
  
  varcreateli=""+chaptername+"";
  
  }
  
  $("#AdLayer").find("ul").append(createli);
  
  }
  
  //alert(d+":::"+dinal);
  
  });
  
  });
  
  $(".mulu_box_fc").children("ul").height(parseFloat($(indo).height()));
  
  $(indo).resize(function(){
  
  $(".mulu_box_fc").children("ul").height(parseFloat($(indo).height()));
  
  });
  
  varrid=-1;
  
  document.domain="";
  
  functionupdateSrc(){
  
  varpro=.search;
  
  arg=('&');
  
  varurl='';
  
  if(pro==''){
  
  url="/artinfo/updateInfo?aid=73279&cid=2825245";
  
  }else{
  
  url="/artinfo/updateInfo"+pro+"&aid=73279&cid=2825245";
  
  }
  
  $.getScript(url);
  
  }
  
  varautoScroll=(function(){
  
  vartop;
  
  vartimer;
  
  varactualTop;
  
  varspeed;
  
  functionstartTimer(){
  
  timer=setInterval(scroll,40);
  
  try{
  
  if(){
  
  .empty();
  
  }else{
  
  varselection=();
  
  ();
  
  }
  
  }catch(e){}
  
  }
  
  functionscroll(){
  
  top=document.||document.;
  
  speed=parseInt($('#screen').val())||1;
  
  if(speed!=null){
  
  top=top+speed;
  
  }
  
  (0,top);
  
  actualTop=document.||document.;
  
  if(top!=actualTop){
  
  stopTimer();
  
  }
  
  }
  
  functionstopTimer(){
  
  clearInterval(timer);
  
  }
  
  return{
  
  start:startTimer,
  
  stop:stopTimer
  
  };
  
  })();
  
  jQuery(document).dblclick();
  
  jQuery(document).mousedon();
  
  });
『加入书签,方便阅读』
热门推荐
在木叶打造虫群科技树 情圣结局后我穿越了 修神外传仙界篇 韩娱之崛起 穿越者纵横动漫世界 不死武皇 妖龙古帝 残魄御天 宠妃难为:皇上,娘娘今晚不侍寝 杀手弃妃毒逆天