摘要:
研究了一上午的图片滑动事件,有点小成。css代码是这样的: Swipe this picture, left or right! Come on! Swipe the picture! Really! Please swipe the picture Well? Are you gonna swipe?! 然后要实现图片的轮流切换,在网上找了一下, //左右滑动图片的事件。 var startX, startY, endX, endY; document.getElementById("ulImages").addEventListener("touchstart 阅读全文