varselected=$('#fontcolor1').(”lect”)
})
$('#fontcolor').('lect').children('p').each(fun{
$(this).click(fun{
$('#fontcolor').val($(this).html)
$('#fontcolor').('lect').hide
$(”.yd_text2”).removeclass($('#fontcolor2').val)
$('#fontcolor2').val($(this).attr('class'))
$(”.yd_text2”).addclass($(this).attr('class'))
})
})
//文字颜色改变end
//保存按钮,恢复按钮
$(”#savebutton”).click(fun{
$.cookie('s',$('#s').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(fun{
$('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('s','',{path:'/',expires:date})
$.cookie('background','',{path:'/',expires:date})
$.cookie('fontsize','',{path:'/',expires:date})
$.cookie('fontcolor','',{path:'/',expires:date})
$.cookie('fontfamily','',{path:'/',expires:date})
$('#s').val('滚屏')
$('#background').val('阅读底色')
$('#background2').attr('value','#cccccc')
$('#fontcolor').val('字体色彩')
$('#fontcolor2').val('#ffffff')
$('#fontfamily').val('字体')
$('#fontfamily2').val('fa_song')
$('#fontsize').val('字体大小')
$('#fontsize2').val(཈px')
})
//保存按钮,恢复按钮end
//alert($('.yd_text2').height)
vardate=e
vartimestamp=(e)
(+(30*24*60*60*1000))
$.cookie('aid_'+154831,�|圣道修罗|4115496|第317章大阴谋|'+timestamp,{path:'/',expires:date})
articlearr=$.cookie('article')
if(articlearr==null){
$.cookie('article',�|圣道修罗|4115496|第317章大阴谋|0|'+timestamp+'',{path:'/',expires:date})
}else{
start=dexof(�')
if(start==-1){
$.cookie('article',�|圣道修罗|4115496|第317章大阴谋|0|'+timestamp+''+articlearr,{path:'/',expires:date})
}else{
end=dexof('',start)
end=end+1
articlesubstr=bstr(start,end)
articlearr=(articlesubstr,'')
$.cookie('article',�|圣道修罗|4115496|第317章大阴谋|0|'+timestamp+''+articlearr,{path:'/',expires:date})
}
}
scroefug
updatesrc
isbookrackjs(154831,'圣道修罗')
/**搜索相关*/
$(”#searchtext”).jsuggest({///aaa对应需要提示的文本框的id
minchar:1,//最少字符开始提示
opacity:1.0,//提示框的透明度
delay:1,//加载提示的延迟时间
loadingimg:””,
loadi:'cheg...',
url:”/searchlist/getsearfo?type=1&table=article_article&order=find_order”,///提示的内容
type:”get”,
data:”keys”,?searchquery=文本框中的值
autoge:true
})
/**搜索相关--end*/
varscrooopnum=0
varscroolheightnum=0
varadded=0
varopened=0
$.getscript(”?v1.0”,fun{
$(articlelist).each(fun{
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==4115496){
added=1
$(”#added”).val(”1”)
}
if(added==0){
scrooopnum+=1
$(”#scrooopnum”).val(scrooopnum)
}
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]stupdate)
varchaptertype=parseint(subchapter[ji].chaptertype)
varaclass=””
if(chapterid==4115496){
added=1
$(”#added”).val(”1”)
aclass=”class=\\”hover\\””
}
if(added==0){
scrooopnum+=1
$(”#scrooopnum”).val(scrooopnum)
}
if(isvip==1){
varcreateli=””+chaptername+””
}else{
varcreateli=””+chaptername+””
}
$(”#adlayer”).find(”ul”).append(createli)
}
}
}else{
scroolheightnum+=1
$(”#scroolheightnum”).val(scroolheightnum)
varaclass=””
if(chapterid==4115496){
added=1
$(”#added”).val(”1”)
aclass=”class=\\”hover\\””
}
if(added==0){
scrooopnum+=1
$(”#scrooopnum”).val(scrooopnum)
}
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(fun{
$(”.mulu_box_fc”).children(”ul”).height(parsefloat($(indo).height))
})
varrid=-1
dot.domain=””
funupdatesrc{
varpro=arch
arg=('&')
varurl=''
if(pro==''){
url=”/artinfo/updateinfo?aid=154831&cid=4115496”
}else{
url=”/artinfo/updateinfo”+pro+”&aid=154831&cid=4115496”
}
$.getscript(url)
}
varautoscroll=(fun{
vartop
vartimer
varactuaop
varspeed
funstarttimer{
timer=setinterval(scroll,40)
try{
if{
.empty
}else{
varsele=
}
}catch(e){}
}
funscroll{
top=dot.||dot.
speed=parseint($('#s').val)||1
if(speed!=null){
top=top+speed
}
(0,top)
actuaop=dot.||dot.
if(top!=actuaop){
stoptimer
}
}
funstoptimer{
clearinterval(timer)
}
return{
start:starttimer,
stop:stoptimer
}
})
jquery(dot).dblclick
jquery(dot).mousedon
})
\t\t', '\t')