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");
本章未完,请点击下一页继续阅读! 第5页/共6页