第2120章 浴血的铠甲(4 / 5)

.click(function(){

varlineheight=$("div#readercontainer").css("line-height");

varlineheightnuparseint(lineheight);

if(lineheightnu25){

varlinehn=eval(lineheightnu4);

$("div#readercontainer").css("line-height",linehn+"px");

$("#hang-da").ht("t+");

varlineheight=$("div#readercontainer").css("line-height");

varlineheightnuparseint(lineheight);

if(lineheightnu=22){

$("#hang-xiao").ht("t");

}

//添加cookie记录

setcookie("readsetlineheihgt",linehn,30);

}

});

//行间距设置减小

$("#hang-da").click(function(){

varlineheight=$("div#readercontainer").css("line-height");

varlineheightnuparseint(lineheight);

if(lineheightnu-");

varlineheight=$("div#readercontainer").css("line-height");

varlineheightnuparseint(lineheight);

if(lineheightnu=46){

$("#hang-da").ht("t");

}

//添加cookie记录

setcookie("readsetlineheihgt",linehn,30);

}

});

//切换阅读背景颜色

$("d_bgdlspan").each(function(index,elent){

$(this).click(function(){

varbackcolorvalue=$(this).attr('class');

$("body").reveclass();

$("body").addclass(backcolorvalue);

//添加cookie记录

setcookie("readsetbackground",backcolorvalue,30);

});

});

//切换关灯效果

$("xet").le(function(){

$("#qiehuancss").attr('href',"-");

$("div#readercontainer").css("color","#666");

$(".lilighttxet").text('开灯');

//添加cookie记录

setcookie("readsetbackground","rbgcloselight",30);

},function(){

$("#qiehuancss").attr('href',"");

$("div#readercontainer").css("color","rgb(0,0,0)");

$(".lilighttxet").text('关灯');

//添加cookie记录

setcookie("readsetbackground","rbgopenlight",30);

});

$("#add_bookcase").click(function(){

vartextcontent=$(this).text();

varjquser=getcookie("jieqiuserinfo");

if(textcontent=='加入书架'){

本站所有小说均来源于会员自主上传,如侵犯你的权益请联系我们,我们会尽快删除。
本站所有小说为转载作品,所有章节均由网友上传,转载至本站只是为了宣传本书让更多读者欣赏。
Copyright © 2025 https://www.diedie2.com All Rights Reserved