("divnavxt")hide();
}
});
页面功能引导区
var erreadset = tkie("erreadset");
if(!erreadset){
setkie("erreadset",1,30);
}
判断背景颜色设置 kie是否保存 如果存在恢复设置
if(readsetkgrd){
if(readsetkgrd == 'rlselight'){
("lilighttxet")text('开灯');
("divreaderntaer")ss("lr","666");
}else if(readsetkgrd == 'rpenlight'){
("lilighttxet")text('关灯');
("divreaderntaer")ss("lr","rg0, 0, 0)");
}
}
判断本字体大小设置 kie是否保存 如果存在恢复设置
var readsetfntsize = tkie("readsetfntsize");
if(readsetfntsize){
("divreaderntaer")ss("fnt-size",readsetfntsize+"px");
}
判断本行间距设置 kie是否保存 如果存在恢复设置
var readsetleheihgt = tkie("readsetleheihgt");
if(readsetleheihgt){
("divreaderntaer")ss("le-height",readsetleheihgt+"px");
}
减小字体
("dd")lik(ftin(){
var fntd= ("divreaderntaer")ss("fnt-size");
var fntsize = parset(fntd;
if(fntsize > 16){
var nefnt = eval(fntsize-2);
("divreaderntaer")ss("fnt-size",nefnt+"px");
("ddps")htl("a+");
var fntd= ("divreaderntaer")ss("fnt-size");
var fntsize = parset(fntd;
if(fntsize==16){
("dd")htl("a");
}
添加kie记录
setkie("readsetfntsize",nefnt,30);
}
});
增大字体
("ddps")lik(ftin(){
var fntd= ("divreaderntaer")ss("fnt-size");