<label class="bg3"></label>
<label class="bg4"></label>
<label class="bg5"></label>
<label class="bg6"></label>
<label class="bg7"></label>
<label class="bg8">夜</label>
<label class="bg9">夜+</label>
<label class="bg10">黑</label>
</dd>
</dl>
</section>
</div>
<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script>
document.getElementById('nr').onclick = function(){
document.getElementById('Menu').style = 'display:block;';
$('#nr').click(function(){
$('#Menu').css('display', 'block');
});
$('#Menu').click(function(){
$(this).css('display', 'none');
});
$('section').click(function(event){
event.stopPropagation();
});
$('.bgmenu dd label').click(function(){
var _class = $(this).attr('class');
$('#nr_body').attr('class', _class);
document.cookie="bgcolor="+_class+";path=/";
});
var strCookie=document.cookie;
var arrCookie=strCookie.split("; ");
for(var i=0;i<arrCookie.length;i++){
var arr=arrCookie[i].split("=");
if("bgcolor"==arr[0]){
bgcolor=arr[1];
$('#nr_body').attr('class', arr[1]);
break;
}
//加的效果
$(".add").click(function(){
var n=$(this).prev().val();
var num=parseInt(n)+1;
if(num==0){ return;}
$(this).prev().val(num);
document.getElementById('nr1').style.fontSize = num + 'px';
document.cookie = 'fontsize=' + num;
});
//减的效果
$(".jian").click(function(){
var n=$(this).next().val();
var num=parseInt(n)-1;
if(num==0){ return}
$(this).next().val(num);
document.getElementById('nr1').style.fontSize = num + 'px';
document.cookie = 'fontsize=' + num;
});
var cookiefontsize;
var fontsize = parseInt($('#fongsizenum').val());
for(var i=0; i<arrCookie.length; i++){
var arr = arrCookie[i].split("=");
if("fontsize" == arr[0]){
cookiefontsize = arr[1];
break;
}
if (!cookiefontsize)
document.cookie = 'fontsize=' + fontsize;
else
$('#fongsizenum').val(cookiefontsize);
document.getElementById('nr1').style.fontSize = cookiefontsize + 'px';
var aid = "174006";
var cid = "50318631";
if (localStorage.getItem('booklist'))
var list = localStorage.getItem('booklist').split("_");
if (list.length > 8)
{
var shift = list.pop();
localStorage.removeItem(shift);
localStorage.setItem('booklist', list.join('_'));
}
if (list.indexOf(aid) >= 0) //存在此篇小说id,更改章节id
{
localStorage.setItem(aid, aid + '#' + cid + '#' + '异世界宗教胜利居然如此简单?#第40章 教材的编写');
}
else
{
localStorage.setItem('booklist', aid + '_' + localStorage.getItem('booklist'));
localStorage.setItem(aid, aid + '#' + cid + '#' + '异世界宗教胜利居然如此简单?#第40章 教材的编写');
}
else
localStorage.setItem('booklist', aid);
localStorage.setItem(aid, aid + '#' + cid + '#' + '异世界宗教胜利居然如此简单?#第40章 教材的编写');
</script>
<div id="foot" class="foot">
<a href="#">御宅屋</a>
</div>
<img src="/baidu.png"/>
<img src="/baidu.png"/>
<img src="/baidu.png"/>
<div style="display: none;">
<script src="/js/all.js"></script>
</div>
<!--<div style="margin-top:280px;float: left;">