卷十七 (第3/3页)
());
$('.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_'+2586,'2586|双龙侦探社|342742|卷十七|'+timestamp,{path:'/',expires:date});
articleArr=$.cookie('article');
if(articleArr==null){
$.cookie('article','2586|双龙侦探社|342742|卷十七|0|'+timestamp+'@',{path:'/',expires:date})
}else{
start=dexOf('2586');
if(start==-1){
$.cookie('article','2586|双龙侦探社|342742|卷十七|0|'+timestamp+'@'+articleArr,{path:'/',expires:date});
}else{
end=dexOf('@',start);
end=end+1;
articleSubstr=bstr(start,end);
articleArr=(articleSubstr,'');
$.cookie('article','2586|双龙侦探社|342742|卷十七|0|'+timestamp+'@'+articleArr,{path:'/',expires:date});
}
}
scroeFuceng();
updateSrc();
isBookrackJs(2586,'双龙侦探社');
/**搜索相关*/
$("#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==342742){
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==342742){
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==342742){
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=2586&cid=342742";
}else{
url="/artinfo/updateInfo"+pro+"&aid=2586&cid=342742";
}
$.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();
});