结局了555555
结局了555555 (第2/3页)
(fontbody);
if(fontsize > 16){
var nefont = eval(fontsize-2);
$("div#readercontainer").css("font-size",nefont+"px");
$("#ddplus").html("A+");
var fontbody = $("div#readercontainer").css("font-size");
var fontsize = parseInt(fontbody);
if(fontsize==16){
$("#ddminus").html("A");
}
//添加cookie记录
setCookie("readsetfontsize",nefont,30);
}
});
//增大字体
$("#ddplus").click(function(){
var fontbody = $("div#readercontainer").css("font-size");
var fontsize = parseInt(fontbody);
if(fontsize A-");
var fontbody = $("div#readercontainer").css("font-size");
var fontsize = parseInt(fontbody);
if(fontsize==28){
$("#ddplus").html("A");
}
//添加cookie记录
setCookie("readsetfontsize",nefont,30);
}
});
//行间距设置增大
$("#hang-xiao").click(function(){
var lineHeight = $("div#readercontainer").css("line-height");
var lineHeightNum = parseInt(lineHeight);
if(lineHeightNum >25){
var lineHN = eval(lineHeightNum-4);
$("div#readercontainer").css("line-height",lineHN+"px");
$("#hang-da").html("T+");
var lineHeight = $("div#readercontainer").css("line-height");
var lineHeightNum = parseInt(lineHeight);
if(lineHeightNum==22){
$("#hang-xiao").html("T");
}
//添加cookie记录
setCookie("readsetlineheihgt",lineHN,30);
}
});
//行间距设置减小
$("#hang-da").click(function(){
var lineHeight = $("div#readercontainer").css("line-height");
var lineHeightNum = parseInt(lineHeight);
if(lineHeightNum T-");
var lineHeight = $("div#readercontainer").css("line-height");
var lineHeightNum = parseInt(lineHeight);
if(lineHeightNum==46){
$("#h
(本章未完,请点击下一页继续阅读)