var pre = '/63/63419/55368810.html';
var nex = '/63/63419/55395686.html';
var currentpos, timer;
function initialize() {
timer = setInterval("scrollwindow()", 20);
}
function sc() {
clearInterval(timer);
}
function scrollwindow() {
window.scrollBy(0, 1);
}
$(function () {
document.onmousedown = sc;
document.ondblclick = initialize;
$(window).keydown(function (e) {
var c = e.keyCode;
if (c == 37) {
location.href = pre;
} else if (c == 39) {
location.href = nex;
}
});
});
更多推荐
鼠标双击文章自动向上滚动 (键盘左右)上一页下一页
发布评论