}
})
行间距设置增大
("hang-xiao")click(function(){
var leheight = ("divreaderntaer")css("le-height")
var leheightnu = arset(leheight)
if(leheightnu 25){
var lehn = eval(leheightnu-4)
("divreaderntaer")css("le-height",lehn+"x")
("hang-da")htl("t+")
var leheight = ("divreaderntaer")css("le-height")
var leheightnu = arset(leheight)
if(leheightnu==22){
("hang-xiao")htl("t")
}
添加okie记录
setokie("readsetleheihgt",lehn,30)
}
})
行间距设置减小
("hang-da")click(function(){
var leheight = ("divreaderntaer")css("le-height")
var leheightnu = arset(leheight)
if(leheightnu t-")
var leheight = ("divreaderntaer")css("le-height")
var leheightnu = arset(leheight)
if(leheightnu==46){
("hang-da")htl("t")
}
添加okie记录
setokie("readsetleheihgt",lehn,30)
}
})
切换阅读背景颜色
("d_bg dl san")each(function(dex,elent){
(this)click(function(){
var backlorvae = (this)attr('css')
("body")reovecss()
("body")addcss(backlorvae)
添加okie记录
setokie("readsetbackground",backlorvae,30)
})
})
切换关灯效果
("divbook_title xet")toggle(function(){
("qiehuancss")attr('href',"-")
("divreaderntaer")css("lor","666")
("lilighttxet")text('开灯')
添加okie记录
setokie("readsetbackground","rbgcloselight",30)
},function(){
("qiehuancss")attr('href',"")
("divreaderntaer")css("lor","rgb(0, 0, 0)")
("lilighttxet")text('关灯')
添加okie记录
setokie("readsetbackground","rbgoenlight",30)
})
("add_bookcase")click(function(){
var textntent = (this)text()
var jser = getokie("jieqier")
if(textntent == '加入书架'){
if(!jser){
href=""
return false
}
var article_id = "26337"
var chater_id = "137502"
var age_ = ageidth()
var age_h = ageheight()
var age_l = ageleft()
var age_t = age()
var dialog_ = arset(dth)
var dialog_h = arset()
var dialog_ = age_t + (age_h 2) - (dialog_h 2)
if(dialog_ (+?)","ig")
var =(g,"")
var str = xec()[1]
str = ("style=\"idth:500x arg-:150x\"","")
("dialog")css("disy","block")
("dialog")css("",dialog_)
("dialog")css("left",dialog_left)
("dialog")htl(str)
}