Commit 8bdbfd27 by doszhang

dos

parent f4a88bff
......@@ -63,6 +63,7 @@ preloadimages(preloadImageList, function () {}, function (progress) {});
$(document).ready(function () {
carousel(100);
document.addEventListener('touchstart', function () {}, false);
$(window).on('scroll', pageOnScroll);
// for (let i = 0; i < 21; i++) {
// $('.read' + i).show().addClass('read');
// $('.link' + i).hide();
......@@ -130,6 +131,10 @@ function showRead(event) {
$('.read' + index).show();
}
function pageOnScroll(event) {
console.log(event)
}
function carousel(time) {
let index = 1;
setInterval(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment