-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (45 loc) · 1.93 KB
/
index.html
File metadata and controls
50 lines (45 loc) · 1.93 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link href='style.css' rel='stylesheet' type='text/css'>
</head>
<body>
<header>
<div id="List1" class="hs-Wrapper">
<nav class="hs-ListWrap">
<ul class="hs-List">
<li class="hs-Item"><a href="#">List item</a></li>
<li class="hs-Item"><a href="#">List item</a></li>
<li class="hs-Item"><a href="#">List item</a></li>
<li class="hs-Item"><a href="#">List item</a></li>
<li class="hs-Item"><a href="#">Link to somewhere special</a></li>
<li class="hs-Item"><a href="#">List item</a></li>
<li class="hs-Item"><a href="#">List item</a></li>
<li class="hs-Item"><a href="#">List item</a></li>
<li class="hs-Item"><a href="#">List item</a></li>
<li class="hs-Item"><a href="#">List item</a></li>
<li class="hs-Item"><a href="#">List item</a></li>
</ul>
</nav>
<button class="hs-Advancer hs-Advancer_Left" type="button">
<svg class="hs-Advancer_Icon" viewbox="0 0 100 100"><path class="arrow" d="M 50,0 L 60,10 L 20,50 L 60,90 L 50,100 L 0,50 Z" /></svg>
</button>
<button class="hs-Advancer hs-Advancer_Right" type="button">
<svg class="hs-Advancer_Icon" viewbox="0 0 100 100"><path class="arrow" d="M 50,0 L 60,10 L 20,50 L 60,90 L 50,100 L 0,50 Z" transform="translate(85,100) rotate(180)" /></svg>
</button>
</div>
</header>
<script type="text/javascript" src="hScroller.js"></script>
<script>
(function() {
var hScroller = new HorizontalScroller('List1');
window.onresize = function(event) {
hScroller.showHideAdvancers();
};
})();
</script>
</body>
</html>