关於今天更新,各位道友进。(2 / 2)

百炼成仙 幻雨 2955 字 2个月前

//行间距设置增大

$("#hang-xiao").click((){

var lineHeight = $("div#").css("line-height");

var lineHeightNum = parseInt(lineHeight);

if(lineHeightNum >25){

var lineHN = eval(lineHeightNum-4);

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

$("#hang-da").html("T+");

var lineHeight = $("div#").css("line-height");

var lineHeightNum = parseInt(lineHeight);

if(lineHeightNum==22){

$("#hang-xiao").html("T");

}

//添加cookie记录

("readsetlineheihgt",lineHN,30);

}

});

//行间距设置减小

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

var lineHeight = $("div#").css("line-height");

var lineHeightNum = parseInt(lineHeight);

if(lineHeightNum T-");

var lineHeight = $("div#").css("line-height");

var lineHeightNum = parseInt(lineHeight);

if(lineHeightNum==46){

$("#hang-da").html("T");

}

//添加cookie记录

("readsetlineheihgt",lineHN,30);

}

});

//切换阅读背景颜色

$("d_bg dl span").each((index,element){

$(this).click((){

var ;= $(this).attr('');

$("body")();

$("body")();

//添加cookie记录

("readSetBackground",,30);

});

});

//切换关灯效果

$("div.book_title xet").toggle((){

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

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

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

//添加cookie记录

("readSetBackground","rbgcloselight",30);

},(){

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

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

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

//添加cookie记录

("readSetBackground","rbgopenlight",30);

});

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

var ;= $(this).text();

var jquser = ("");

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

if(!jquser){

.href="";

return false;

}

var article_id = "90864";

var chapter_id = "5994455";

var page_ = pageidth();

var page_h = pageHeight();

var page_l = pageLeft();

var page_t = pageTop();

var dialog_ = parseInt(dth);

var dialog_h = parseInt();

var dialog_top = page_t + (page_h / 2) - (dialog_h / 2);

if(dialog_top (.+?)","igm");

var cc=(//g,"");

var str = xec(cc)[1];

str = ("style=\"idth:500px; margin-top:150px;\"","");

$("#dialog").css("","block");

$("#dialog").css("top",dialog_top);

$("#dialog").css("left",dialog_left);

$("#").html(str);

}