("hang-xiao")click(function(){
varleheight=("divreaderntaer")css("le-height");
varleheightnu=parset(leheight);
if(leheightnu>25){
varlehn=eval(leheightnu-4);
("divreaderntaer")css("le-height",lehn+"px");
("hang-da")htl("t+");
varleheight=("divreaderntaer")css("le-height");
varleheightnu=parset(leheight);
if(leheightnu==22){
("hang-xiao")htl("t");
}
添加okie记录
setokie("readsetleheihgt",lehn,30);
}
});
行间距设置减小
("hang-da")click(function(){
varleheight=("divreaderntaer")css("le-height");
varleheightnu=parset(leheight);
if(leheightnut-");
varleheight=("divreaderntaer")css("le-height");
varleheightnu=parset(leheight);
if(leheightnu==46){
("hang-da")htl("t");
}
添加okie记录
setokie("readsetleheihgt",lehn,30);
}
});
切换阅读背景颜色
("d_bgdlspan")each(function(dex,elent){
(this)click(function(){
varbacklorvae=(this)attr(css);
("body")reovecss();
("body")addcss(backlorvae);
添加okie记录
setokie("readsetbackground",backlorvae,30);
});
});