}
}
判断文本字体大小设置 okie是否保存 如果存在恢复设置
var readsetfontsize = getokie("readsetfontsize")
if(readsetfontsize){
("divreaderntaer")css("font-size",readsetfontsize+"x")
}
判断文本行间距设置 okie是否保存 如果存在恢复设置
var readsetleheihgt = getokie("readsetleheihgt")
if(readsetleheihgt){
("divreaderntaer")css("le-height",readsetleheihgt+"x")
}
减小字体
("dd")click(function(){
var fontbody = ("divreaderntaer")css("font-size")
var fontsize = arset(fontbody)
if(fontsize 16){
var nefont = eval(fontsize-2)
("divreaderntaer")css("font-size",nefont+"x")
("dds")htl("a+")
var fontbody = ("divreaderntaer")css("font-size")
var fontsize = arset(fontbody)
if(fontsize==16){
("dd")htl("a")
}
添加okie记录
setokie("readsetfontsize",nefont,30)
}
})
增大字体
("dds")click(function(){
var fontbody = ("divreaderntaer")css("font-size")
var fontsize = arset(fontbody)
if(fontsize a-")
var fontbody = ("divreaderntaer")css("font-size")
var fontsize = arset(fontbody)
if(fontsize==28){
("dds")htl("a")
}
添加okie记录
setokie("readsetfontsize",nefont,30)
}
})
行间距设置增大
("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(){