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

作品:《岳青婴裴元灏小说全文免费阅读

ntainer").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=='加入书架'){

if(!jquser){

.href="";

returnfalse