("onmousemove" iindow);
var chapterView = $("#ChapterView"), body = $("body");
var pageContent = chapterView.find(".page-content"), saveFont = core.cookie("current-font"), currentFont = 1;
var font = function(){
//font size;
var sizes = ["font-normal", "font-large", "font-xlarge", "font-xxlarge", "font-xxxlarge"],
level = sizes.length;
return {
set: function(c){
console.log(sizes[currentFont])
pageContent.toggleClass( sizes[currentFont] + " " + sizes[c] );
currentFont = c;
core.cookie("current-font", c, { expires: 3600 });
core.cookie("currentFontString", sizes[c], { expires: 3600 });
},
increase: function(){
if( currentFont < level - 1 ) {
this.set(currentFont + 1)
}
},
descrease: function(){
if( currentFont > 0 ) {
this.set( currentFont - 1 );
}
},
day: function(){
isNight = false;
body.removeClass("night");
core.cookie.removeCookie("night-mode", {});
},
night: function(){
isNight = true;
body.addClass("night");
core.cookie("night-mode", true, { expires: 3600 });
}
}
}();
if( typeof saveFont !
== "undefined" ){
font.set(saveFont * 1);
}
var isNight = !
!
core.cookie("night-mode");
if( isNight ){
font.night();
}
functioction(){
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-recommend .tab-choose a"), $(".chapter-recommend ul") )
if( isTouch ){
chapterView
.on("touchstart MSPointerDown", ".config span", function(){
$(this).addClass("active");
})
.on("touchend MSPointerUp", ".config span", function(){
$(this).removeClass("active");
});
chapterView.on("touchend MSPointerUp", ".config span", action)
}else if( isMouse ){
chapterView.on("click", ".config span", action)
}
});
xia();tongji();xuanfu();
首页
排行
书库
全本
阅读记录
版权声明:本站小说为转载作品,所有章节均由网友上传,转载至本站只是为了宣传本书让更多读者欣赏。
var lastread=new LastRead();lastread.set('28586', '703468', '欣径自然量', '【欣径自然量】(14)','布丁风行者','0','连载中');
<!
--[if IE]>
<!
[endif]-->
functiohange_code(){
var verify=document.getElementById('showcode');
verify.setAttribute('src','/code999.php?'+Math.random());
}
functioheck_code(){
$.post('',{'_17mb_code':$('#code').val()},function(e){
e = $.trim(e);
if(e == 'success'){
location.reload();
}else{
$('#code_tip').html('验证码错误');
}
})
}
// is_cut
$.post('',{'j':'1'},function(e){
$('.neirong').append(e);
});发布地址: <ref="<a href="http://www.kanqita.com"" target="_blank">http://www.kanqita.com"</a> target="_blank"><a href="http://www.kanqita.com</a>" target="_blank">www.kanqita.com</a></a> 收藏不迷路!