-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (53 loc) · 1.8 KB
/
index.html
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
52
53
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>GPDP</title>
<link rel="stylesheet" href="dist/css/dp.min.css">
<style>
body {
width: 100%;
height: 100%;
}
.test-tank {
width: 450px;
margin: 50px auto;
}
.demo-box {
width: 150px;
}
.margin-top-50 {
margin-top: 50px;
}
</style>
</head>
<body>
<a href="https://github.com/gucheen/gpdp"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
<div class="test-tank">
<h1>GPDP Dropdown Selector</h1>
<h2>Google plus like dropdown selector</h2>
<p>pure JavaScript</p>
<p><a href="doc/index.html">Docs</a></p>
<div class="demo-box margin-top-50">
<div class="dp-container" data-key="" data-value="">
<div class="dp-unit">
<div class="dp-span">Year</div>
<ul class="dp-menu">
<li class="dp-item" data-value="2013">2013</li>
<li class="dp-item" data-value="2014">2014</li>
<li class="dp-item" data-value="2015">2015</li>
</ul>
</div>
</div>
<div class="margin-top-50">result: <span class="test-result"></span></div>
</div>
<div class="margin-top-50">
<div class="demo-box test2"></div>
<div class="margin-top-50">result: <span class="test2-result"></span></div>
</div>
<p class="margin-top-50">Written by <a href="http://guchengf.me">Guc</a></p>
</div>
<script src="src/js/dp.js"></script>
<script src="demo.js"></script>
</body>
</html>