-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
118 lines (86 loc) · 3.85 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Simple menu right</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="./css/BootSideMenu.css">
<!--[if lt IE 9]>
<script src="http://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv-printshiv.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style type="text/css">
.user {
padding: 5px;
margin-bottom: 5px;
text-align: center;
}
</style>
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="./js/BootSideMenu.js"></script>
</head>
<body>
<div class="container">
<div class="col-md-4">
</div>
</div>
</div>
<!--Test -->
<div id="test">
<div class="user">
<img src="https://placehold.it/150x150" alt="Produto" class="img-thumbnail"><br>
<a href="http://www.lombardoandrea.com" target="_blank" class="navbar-link">Nome do Produto</a>
</div>
<div class="list-group">
<a href="#item-1" class="list-group-item" data-toggle="collapse">Item 1</a>
<div class="list-group collapse" id="item-1">
<a href="#" class="list-group-item">Item 1 di 1</a>
<a href="#" class="list-group-item">Item 2 di 1</a>
<a href="#item-1-1" class="list-group-item" data-toggle="collapse">Item 3 di 1</a>
<div class="list-group collapse" id="item-1-1">
<a href="#" class="list-group-item">Item 1 di 1.3</a>
<a href="#" class="list-group-item">Item 2 di 1.3</a>
<a href="#" class="list-group-item">Item 3 di 1.3</a>
</div>
</div>
<a href="#item-2" class="list-group-item" data-toggle="collapse">Item 2</a>
<div class="list-group collapse" id="item-2">
<a href="#" class="list-group-item">Item 1 di 2</a>
<a href="#" class="list-group-item">Item 2 di 2</a>
<a href="#" class="list-group-item">Item 3 di 2</a>
</div>
<a href="#item-3" class="list-group-item" data-toggle="collapse">Item 3</a>
<div class="list-group collapse" id="item-3">
<a href="#" class="list-group-item">Item 1 di 3</a>
<a href="#" class="list-group-item">Item 2 di 3</a>
<a href="#item-3-1" class="list-group-item" data-toggle="collapse">Item 3 di 3</a>
<div class="list-group collapse" id="item-3-1">
<a href="#" class="list-group-item">Item 1 di 3.3</a>
<a href="#" class="list-group-item">Item 2 di 3.3</a>
<a href="#" class="list-group-item">Item 3 di 3.3</a>
</div>
</div>
<a href="#item-4" class="list-group-item" data-toggle="collapse">Item 4</a>
<div class="list-group collapse" id="item-4">
<a href="#" class="list-group-item">Item 1 di 4</a>
<a href="#" class="list-group-item">Item 2 di 4</a>
<a href="#" class="list-group-item">Item 3 di 4</a>
</div>
</div>
</div>
<!--/Test -->
<script type="text/javascript">
$(document).ready(function () {
$('#test').BootSideMenu({
side: "right",
pushBody: false,
remember: false
});
});
</script>
</body>
</html>