normal", "font-large", "font-xlarge", "font-xxlarge", "font-xxxlarge"],
level = sizes.length;
return {
set: fun(c){
sole.log(sizes[currentFont])
pagetent.toggleClass( sizes[currentFont] " " sizes[c] );
currentFont = c;
core.cookie("current-font", c, { expires: 3600 });
core.cookie("currentFontString", sizes[c], { expires: 3600 });
},
increase: fun(){
if( currentFont < level - 1 ) {
this.set(currentFont 1)
}
},
descrease: fun(){
if( currentFont > 0 ) {
this.set( currentFont - 1 );
}
},
day: fun(){
isNight = false;
body.removeClass("night");
core.cookie.removeCookie("night-mode", {});
},
night: fun(){
isNight = true;
body.addClass("night");
core.cookie("night-mode", true, { expires: 3600 });
}
}
}();
if( typeof saveFont !
== "undefined" ){
fo(saveFont * 1);
}
var isNight = !
!
core.cookie("night-mode");
if( isNight ){
font.night();
}
functio(){
var type = $(this).data("role");
if( type == "inc" ){
font.increase();
}else if( type == "des" ) {
font.descrease();
}else if( type == "mode" ){
if( isNight ){
font.day();
}else{
font.night();
}
}
}
core.Tabs( $(".chapter-reend .tab-choose a"), $(".chapter-reend ul") )
if( isTouch ){
chapterView.
on("touchstart MSPointerDown", ".fig span", fun(){
$(this).addClass("active");
}).
on("toud MSPointerUp", ".fig span", fun(){
$(this).removeClass("active");
});
chapterView.on("toud MSPointerUp", ".fig span", a)
}else if( isMouse ){
chapterView.on("click", ".fig span", a)
}
});
xia();tongji();xuanfu();
首页
排行
书库
全本