-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (47 loc) · 1.07 KB
/
index.html
File metadata and controls
51 lines (47 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<title>bScroll Test</title>
<style>
#sample {
width: 800px;
margin: auto;
height: 500px;
padding: 15px;
}
#sample img {
display: block;
}
#sample2 {
width: 50%;
height: 300px;
}
.bs-container {
border: 1px solid green;
}
</style>
<link rel="stylesheet" href="css/bscroll.css">
</head>
<body>
<div id="sample">
<div id="sample2">
<img src="img/baccano.jpg">
</div>
<img src="img/baccano.jpg">
</div>
<script src="min/jquery.min.js"></script>
<script src="src/jquery.mousewheel.js"></script>
<script src="src/jquery.bscroll.js"></script>
<script>
$(document).ready(function() {
$("#sample").bScroll();
$("#sample2").bScroll({
events: {
arrows: false
},
propagate: true
});
});
</script>
</body>
</html>