好看小说网 > 玄幻奇幻 > 圣道修罗 > 正文 第三百一十七章 大阴谋

正文 第三百一十七章 大阴谋(2 / 2)

varselected=$(&#039#fontcolor1&#039).(”lect”)

})

$(&#039#fontcolor&#039).(&#039lect&#039).children(&#039p&#039).each(fun{

$(this).click(fun{

$(&#039#fontcolor&#039).val($(this).html)

$(&#039#fontcolor&#039).(&#039lect&#039).hide

$(”.yd_text2”).removeclass($(&#039#fontcolor2&#039).val)

$(&#039#fontcolor2&#039).val($(this).attr(&#039class&#039))

$(”.yd_text2”).addclass($(this).attr(&#039class&#039))

})

})

//文字颜色改变end

//保存按钮,恢复按钮

$(”#savebutton”).click(fun{

$.cookie(&#039s&#039,$(&#039#s&#039).val,{path:&#039/&#039,expires:date})

$.cookie(&#039background&#039,$(&#039#background2&#039).val,{path:&#039/&#039,expires:date})

$.cookie(&#039fontsize&#039,$(&#039#fontsize2&#039).val,{path:&#039/&#039,expires:date})

$.cookie(&#039fontcolor&#039,$(&#039#fontcolor2&#039).val,{path:&#039/&#039,expires:date})

$.cookie(&#039fontfamily&#039,$(&#039#fontfamily2&#039).val,{path:&#039/&#039,expires:date})

alert(&#039保存成功&#039)

})

$(”#recoverybutton”).click(fun{

$(&#039body&#039).removeclass($.cookie(&#039background&#039))

$(&#039body&#039).removeclass($(&#039#background2&#039).val)

$(&#039.ydleft&#039).removeclass($(&#039#background2&#039).val)

$(&#039.ydleft&#039).removeclass($.cookie(&#039background&#039))

$(&#039body&#039).attr(&#039style&#039,&#039background:#e5f2f7&#039)

$(&#039.ydleft&#039).attr(&#039style&#039,&#039background:#f2f8fb&#039)

$(&#039.yd_text2&#039).removeclass($(&#039#fontsize2&#039).val)

$(&#039.yd_text2&#039).removeclass($.cookie(&#039fontsize&#039))

$(&#039.yd_text2&#039).removeclass($(&#039#fontcolor2&#039).val)

$(&#039.yd_text2&#039).removeclass($.cookie(&#039fontcolor&#039))

$(&#039.yd_text2&#039).removeclass($(&#039#fontfamily2&#039).val)

$(&#039.yd_text2&#039).removeclass($.cookie(&#039fontfamily&#039))

$.cookie(&#039s&#039,&#039&#039,{path:&#039/&#039,expires:date})

$.cookie(&#039background&#039,&#039&#039,{path:&#039/&#039,expires:date})

$.cookie(&#039fontsize&#039,&#039&#039,{path:&#039/&#039,expires:date})

$.cookie(&#039fontcolor&#039,&#039&#039,{path:&#039/&#039,expires:date})

$.cookie(&#039fontfamily&#039,&#039&#039,{path:&#039/&#039,expires:date})

$(&#039#s&#039).val(&#039滚屏&#039)

$(&#039#background&#039).val(&#039阅读底色&#039)

$(&#039#background2&#039).attr(&#039value&#039,&#039#cccccc&#039)

$(&#039#fontcolor&#039).val(&#039字体色彩&#039)

$(&#039#fontcolor2&#039).val(&#039#ffffff&#039)

$(&#039#fontfamily&#039).val(&#039字体&#039)

$(&#039#fontfamily2&#039).val(&#039fa_song&#039)

$(&#039#fontsize&#039).val(&#039字体大小&#039)

$(&#039#fontsize2&#039).val(&#03912px&#039)

})

//保存按钮,恢复按钮end

//alert($(&#039.yd_text2&#039).height)

vardate=e

vartimestamp=(e)

(+(30*24*60*60*1000))

$.cookie(&#039aid_&#039+154831,&#039154831|圣道修罗|4115496|第317章大阴谋|&#039+timestamp,{path:&#039/&#039,expires:date})

articlearr=$.cookie(&#039article&#039)

if(articlearr==null){

$.cookie(&#039article&#039,&#039154831|圣道修罗|4115496|第317章大阴谋|0|&#039+timestamp+&#039&#039,{path:&#039/&#039,expires:date})

}else{

start=dexof(&#039154831&#039)

if(start==-1){

$.cookie(&#039article&#039,&#039154831|圣道修罗|4115496|第317章大阴谋|0|&#039+timestamp+&#039&#039+articlearr,{path:&#039/&#039,expires:date})

}else{

end=dexof(&#039&#039,start)

end=end+1

articlesubstr=bstr(start,end)

articlearr=(articlesubstr,&#039&#039)

$.cookie(&#039article&#039,&#039154831|圣道修罗|4115496|第317章大阴谋|0|&#039+timestamp+&#039&#039+articlearr,{path:&#039/&#039,expires:date})

}

}

scroefug

updatesrc

isbookrackjs(154831,&#039圣道修罗&#039)

/**搜索相关*/

$(”#searchtext”).jsuggest({///aaa对应需要提示的文本框的id

minchar:1,//最少字符开始提示

opacity:1.0,//提示框的透明度

delay:1,//加载提示的延迟时间

loadingimg:””,

loadi:&#039cheg...&#039,

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)!=&#039undefined&#039){

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=(&#039&&#039)

varurl=&#039&#039

if(pro==&#039&#039){

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($(&#039#s&#039).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')

最新小说: 洪荒:我四清太初,请天道退位! 猎人:我死了也变强了 护林:我真不想当御兽师啊 红龙之下 凡人修仙之问道长生 多子多福,我子孙就是一个宗门! 乡村少年修仙梦 天天造反,你们搁这儿打卡呢? 斩神,精神病院有天庭 刚成斗战胜佛,聊天群才来