阅读历史 |

第2123章 深夜来的惊人消息(4 / 5)

加入书签

e(&ot;readsetfontsize&ot;,nefont,30);

}

});

行间距设置增大

(&ot;hang-xiao&ot;)click(function(){

varleheight=(&ot;divreaderntaer&ot;)css(&ot;le-height&ot;);

varleheightnu=parset(leheight);

if(leheightnu25){

varlehn=eval(leheightnu-4);

(&ot;divreaderntaer&ot;)css(&ot;le-height&ot;,lehn+&ot;px&ot;);

(&ot;hang-da&ot;)htl(&ot;t+&ot;);

varleheight=(&ot;divreaderntaer&ot;)css(&ot;le-height&ot;);

varleheightnu=parset(leheight);

if(leheightnu==22){

(&ot;hang-xiao&ot;)htl(&ot;t&ot;);

}

添加okie记录

setokie(&ot;readsetleheihgt&ot;,lehn,30);

}

});

行间距设置减小

(&ot;hang-da&ot;)click(function(){

varleheight=(&ot;divreaderntaer&ot;)css(&ot;le-height&ot;);

varleheightnu=parset(leheight);

if(leheightnut-&ot;);

varleheight=(&ot;divreaderntaer&ot;)css(&ot;le-height&ot;);

varleheightnu=parset(leheight);

if(leheightnu==46){

(&ot;hang-da&ot;)htl(&ot;t&ot;);

}

添加okie记录

setokie(&ot;readsetleheihgt&ot;,lehn,30);

}

});

切换阅读背景颜色

(&ot;d_bgdlspan&ot;)each(function(dex,elent){

(this)click(function(){

varbacklorvae=(this)attr(&039;css&039;);

(&ot;body&ot;)reovecss();

(&ot;body&ot;)addcss(backlorvae);

添加okie记录

setokie(&ot;readsetbackground&ot;,backlorvae,30);

});

});

切换关灯效果

(&ot;xet&ot;)toggle(function(){

(&ot;qiehuancss&ot;)attr(&039;href&039;,&ot;-&ot;);

(&ot;divreaderntaer&ot;)css(&ot;lor&ot;,&ot;666&ot;);

(&ot;lilighttxet&ot;)text(&039;开灯&039;);

添加okie记录

setokie(&ot;readsetbackground&ot;,&ot;rbgcloselight&ot;,30);

},function(){

(&ot;qiehuancss&ot;)attr(&039;href&039;,&ot;&ot;);

(&ot;divreaderntaer&ot;)css(&ot;lor&ot;,&ot;rgb(0,0,0)&ot;);

(&ot;lilighttxet&ot;)text(&039;关灯&039;);

添加okie记录

setokie(&ot;readsetbackground&ot;,&ot

↑返回顶部↑

书页/目录