摘要: <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=320,user-scalab 阅读全文
posted @ 2015-06-08 11:21 surfaces 阅读(1499) 评论(2) 推荐(0) 编辑
摘要: 惯性滚动 关于惯性滚动速度 方法一 //speed = ( 结束时候手的位置 - 起点的位置 ) / ( 结束时候的时间 - 开始时的时间 ) speed = (endY - startY) / (endTime - startTime); 方法二 iSpeedX = touchs.pageX - 阅读全文
posted @ 2015-06-08 11:17 surfaces 阅读(3555) 评论(0) 推荐(0) 编辑