-
Notifications
You must be signed in to change notification settings - Fork 3
/
test_toggle.html
46 lines (43 loc) · 1.24 KB
/
test_toggle.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
<!--
NaikSoftware.github.io project
@author Naik
-->
<!DOCTYPE html>
<html>
<head>
<title>Test N-toggle</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<script src="js/jquery/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/n-toggle.js"></script>
<script src="js/test_n-toggle.js"></script>
<link rel="stylesheet" type="text/css" href="css/n-toggle.css">
<style>
body {
width: 100%;
height: 100%;
}
html {
width: 100%;
height: 100%;
}
#func-val {
width: 5em;
}
.display {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
</style>
</head>
<body>
<div class="display">
<div id="func-val" class="n-toggle"></div>
</div>
<button id="btn_get_state" class="btn btn-danger">Get state</button>
</body>
</html>