<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<link rel="stylesheet" type="text/css" href="css/swiper.css" />
<style type="text/css">
* {
margin: 0;
padding: 0;
}
.a {
border: 1px solid #000;
box-sizing: border-box;
white-space: nowrap;
overflow: auto;
}
.b {
width: 90%;
height: 62px;
border: 1px solid #000;
display: inline-block;
line-height: 1;
margin-right: 15px;
vertical-align: top;
}
</style>
</head>
</style>
<body>
<div class="a">
<div class="b">
</div>
<div class="b">
</div>
<div class="b">
</div>
<div class="b">
</div>
<div class="b">
</div>
<div class="b">
</div>
<div class="b">
</div>
<div class="b">
</div>
<div class="b">
</div>
<div class="b">
</div>
<div class="b">
</div>
<div class="b">
</div>
<div class="b">
</div>
</div>
</body>
<script src="zepto.js" type="text/javascript" charset="utf-8"></script>
<script src="touch.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
$(".b").swipeDown(function(){
var length=$(".b").length;
alert(length);
})
</script>
</html>