⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 view.js

📁 二月小说 看小说必备工具 默认的管理路径为:admin/index.asp 用户名:admin 密码:admin
💻 JS
字号:
function doZoom(size)
{
	document.getElementById('zoom').style.fontSize=size+'px';
}
function selectFont()
{
  var px = select1[select1.selectedIndex].value;
  if (px > 0)
  {
    document.getElementById('zoom').style.fontSize=px+'px';
    var now = new Date();
    now.setTime(now.getTime() + 2592000);
    var bg = select2[select2.selectedIndex].value;
    var font = select1[select1.selectedIndex].value;
    if (font==0) font=16;
    if (bg=="") bg="#E7F4FE";
    document.cookie = "Laos_Book:"+font+"-"+bg+"@;expires="+now.toGMTString()+";path=/";
  }
}

function selectBackground()
{
  var bg = select2[select2.selectedIndex].value;
  if (bg != "")
  {
    document.getElementById('content').style.background=bg;
    var now = new Date();
    now.setTime(now.getTime() + 2592000);
    var bg = select2[select2.selectedIndex].value;
    var font = select1[select1.selectedIndex].value;
    if (font==0) font=16;
    if (bg=="") bg="#E7F4FE";
    document.cookie = "Laos_Book:"+font+"-"+bg+"@;expires="+now.toGMTString()+";path=/";
  }
}



function click() {
if (event.button==2) {
    if(document.all.auto.status==true){document.all.auto.status=false;alert("自动滚屏已经停止了!")}
    scroller();
    }
}

document.onmousedown=click

var position = 0; 
function scroller() {
if (document.all.auto.status==true){ 
    position++; 
    scroll(0,position); 
    clearTimeout(timer); 
    var timer = setTimeout("scroller()",60); 
    timer;
    }
else{
    clearTimeout(timer);
    }
} 

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -