阅读历史 |

第2119章 边城“奇遇”(3 / 4)

加入书签

);

(&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;rbgopenlight&ot;,30);

});

(&ot;add_bookcase&ot;)click(function(){

vartextntent=(this)text();

varjser=tokie(&ot;jieqier&ot;);

if(textntent==&039;加入书架&039;){

if(!jser){

href=&ot;&ot;;

returnfalse;

}

vararticle_id=&ot;139205&ot;;

varchapter_id=&ot;8603276&ot;;

varpa_=p

↑返回顶部↑

书页/目录