My Lady Fairy

Chapter 797

eadx(); Previous| Index| Next

>

《My Lady Fairy》all content from the Internet, or users upload, Our purpose is to promote the original author of the novel. Welcome to reading and collection 《My Lady Fairy》 latest chapter.

? Copyright Novelhall.Com. All Rights Reserved. All Novel | Sitemap | DMCA | Privacy Policy | Book seeking

.go_top { z-index: 4; width: 32px; height: 32px; border-radius: 1.5rem; background: rgba(0,0,0,0.4); position: fixed; right: 0.5rem; bottom: 4.5rem; color: #fff; cursor: pointer; text-align: center; } .go_top i { font-size: 20px; padding: 4px; } .booktag2 { margin-bottom: 5px; margin-top: 5px; } .booktag2 span{margin-right:5px;} .booktag2 a { font: 12px/22px PingFangSC-Regular, '-apple-system', Simsun; display: inline-block; overflow: hidden; padding: 0 10px; height: 25px; text-align: center; vertical-align: middle; border-width: 1px; border-style: solid; border-radius: 3px; text-decoration: none } $(function () { // 设置历史记录 var articleid = $('body').attr('article-id') || 0, chapterid = $('body').attr('chapter-id') || 0; var book = {name:$('#bookname').text(),author:$('#author').text(),dataid:$('body').attr('data-id')||0,articleid:articleid,articleurl:$('body').attr('article-url')||'',articlethumb:$('body').attr('article-thumb')||'',chapterurl:$('body').attr('chapter-url')||'',readid:chapterid,readname:$('#chapter h1').text(),readtime:$.now()}; window.localStorage.setItem('book_'+articleid, JSON.stringify(book)); var book = JSON.parse(window.localStorage.getItem('book_'+articleid)); console.log(book); size = $.cookie("size"); setSize(size); night = $.cookie('night'); setNight(night); $('.bigger').click(function () { setSize((parseInt($("#htmlContent").css("fontSize").replace("px", "")) + 1) + "px"); }); $('.smaller').click(function () { setSize((parseInt($("#htmlContent").css("fontSize").replace("px", "")) - 1) + "px"); }); $(".light").click(function () { if ($.cookie('night') == 1) { setNight(0); } else { setNight(1); } }); $('.trash').click(function () { $.removeCookie('night', { path: '/' }); $.removeCookie('size', { path: '/' }); window.location.reload(); }); }); function setSize(size) { $("#htmlContent").css("fontSize", size); $.cookie("size", size, { path: '/', expires: 365 }); } function setNight(night) { if (night==1){ $('body').css("backgroundColor", "#111111"); $('div').css("backgroundColor", "#111111"); $('article').css("background", "none"); $('#footer').css("backgroundColor", "#111111"); $(".nav-single").css("backgroundColor", "#111111"); $(".nav-single").css("background", "none"); $('div,a').css("color", "#939392"); $.cookie("night", 1, { path: '/', expires: 365 }); $('.showlight').text('Turn on'); } else { $('body').css("backgroundColor", "#f5f5f5"); $('div').css("backgroundColor", ""); $('article').css("background", "url(https://www.novelhall.com/statics/default/images/basic_bg.edf95.png) repeat"); $('#footer').css("backgroundColor", "#fff"); $(".nav-single").css("background-image", "url(https://www.novelhall.com/statics/default/images/basic_bg.edf95.png)"); $(".nav-single").css("background-repeat", "repeat"); $(".nav-single").css("backgroundColor", ""); $('div,a').css("color", ""); $('.showlight').text('Turn off'); $.cookie("night", 0, { path: '/', expires: 365 }); } } function b() { h = $(window).height(); t = $(document).scrollTop(); if(t > 500) { $('.go_top').show(); } else { $('.go_top').hide(); } } $('.go_top').click(function() { $(document).scrollTop(0); }) $(window).scroll(function(e) { b(); })