-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
184 lines (184 loc) · 4.24 KB
/
example.html
File metadata and controls
184 lines (184 loc) · 4.24 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
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!DOCTYPE html>
<html>
<head>
<title>jQuery PopMessage Example</title>
<meta charset="UTF-8" />
<meta name="author" content="Choko" />
<meta name="license" content="GPLv3" />
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<style type="text/css">
body {
font-family: sans-serif;
font-size: 10pt;
}
div.center {
margin-left: auto;
margin-right: auto;
width: 50%;
margin-top: 50px;
}
div.center table {
width: 100%;
text-align: center;
}
div#container {
width: 50%;
margin-left: auto;
margin-right: auto;
margin-top: 150px;
border: 1px solid #aaa;
height: 150px;
position: relative;
}
</style>
<link rel="stylesheet" type="text/css" href="./jquery.popmessage.css" />
<link rel="stylesheet" type="text/css" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" />
<script type="text/javascript" src="./jquery.popmessage.js">
</script>
</head>
<body>
<div class="pop pop-success pop-top-left">
<div class="pop-title">
Success !
</div>
<div class="pop-body">
This is success message !
</div>
</div>
<div class="pop pop-danger pop-top-right">
<div class="pop-title">
Danger !
</div>
<div class="pop-body">
This is an error message !
</div>
</div>
<div class="pop pop-warning pop-bottom-left">
<div class="pop-title">
Warning !
</div>
<div class="pop-body">
This is a warning message !
</div>
</div>
<div class="pop pop-info pop-bottom-right">
<div class="pop-icon">
<i class="fa fa-info-circle fa-2x"></i>
</div>
<div class="pop-title">
Information
</div>
<div class="pop-body">
Waouh ! It works !
</div>
</div>
<div class="pop pop-success pop-top-wide">
<div class="pop-title">
Success !
</div>
<div class="pop-body">
This is wide success message !
</div>
</div>
<div class="pop pop-info pop-bottom-wide" id="pop-me">
<div class="pop-title">
Yihaa !!!!
</div>
<div class="pop-body">
I am <strong>POP ME</strong> !!!
</div>
</div>
<div class="pop pop-top-wide" id="pop-noformat">
<div class="pop-title">
I am not formatted...
</div>
<div class="pop-body">
... and I like it !
</div>
</div>
<div id="container" class="pop-container">
<div class="pop pop-info pop-top-left" id="pop-me-container">
<div class="pop-title">
Container POP
</div>
<div class="pop-body">
<em>I am a pop message inside a container</em>
</div>
</div>
</div>
<div class="center">
<table>
<tbody>
<tr>
<td>
<button data-trigger="pop" data-pop-class="pop-top-left">
Show Top-Left Corner Pop
</button>
</td>
</tr>
<tr>
<td>
<button data-trigger="pop" data-pop-class="pop-top-right">
Show Top-Right Corner Pop
</button>
</td>
</tr>
<tr>
<td>
<button data-trigger="pop" data-pop-class="pop-bottom-left">
Show Bottom-Left Corner Pop
</button>
</td>
</tr>
<tr>
<td>
<button data-trigger="pop" data-pop-class="pop-bottom-right">
Show Bottom-Right Corner Pop
</button>
</td>
</tr>
<tr>
<td>
<button data-trigger="pop" data-pop-class="pop-top-wide">
Show Top wide Pop
</button>
</td>
</tr>
<tr>
<td>
<button data-trigger="pop" data-pop-class="pop-bottom-wide">
Show Bottom wide Pop
</button>
</td>
</tr>
<tr>
<td>
<button data-trigger="pop" data-pop-id="pop-me">
Show "Pop-Me" pop.
</button>
</td>
</tr>
<tr>
<td>
<button data-trigger="pop" data-pop-id="pop-noformat" data-pop-delay="0">
Show No-format pop
</button>
</td>
</tr>
<tr>
<td>
<button data-trigger="pop" data-pop-delay="0" data-pop-id="pop-me-container">
Pop in container
</button>
</td>
<td>
<button data-trigger="pop" data-pop-delay="0" data-pop-id="pop-me" data-pop-container="container">
Pop me in container
</button>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>