You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
text: 'Check me out! I\'m a sticky notice. You\'ll have to close me yourself.',
15
15
hide: false
16
16
});
17
-
$.pnotify({
17
+
newPNotify({
18
18
title: 'See Through Notice',
19
19
text: 'No one ever pays attention to me. Why should they? I\'m practically invisible.',
20
20
opacity: .8
21
21
});
22
-
$.pnotify({
22
+
newPNotify({
23
23
title: 'No Shadow Notice',
24
24
text: 'I don\'t have a shadow. (It\'s cause I\'m a vampire or something. Or is that reflections...)',
25
25
shadow: false
26
26
});
27
-
$.pnotify('Check me out! I\'m a notice.');
27
+
newPNotify('Check me out! I\'m a notice.');
28
28
29
-
$.pnotify(Math.round(Math.random()*9999));
29
+
newPNotify(Math.round(Math.random()*9999));
30
30
31
-
$.pnotify({
31
+
newPNotify({
32
32
title: 'PIcon Notice',
33
33
text: 'I have an icon that uses the PIcon styles.',
34
34
icon: 'picon picon-mail-unread-new'
35
35
});
36
36
37
-
$.pnotify({
37
+
newPNotify({
38
38
title: 'jQuery UI Icon Notice',
39
39
text: 'I have an icon that uses the jQuery UI icon styles.',
40
40
icon: 'ui-icon ui-icon-mail-closed'
41
41
});
42
42
43
-
$.pnotify({
43
+
newPNotify({
44
44
title: 'Bootstrap Icon Notice',
45
45
text: 'I have an icon that uses the Bootstrap icon styles.',
46
46
icon: 'glyphicon glyphicon-envelope'
47
47
});
48
48
49
-
$.pnotify({
49
+
newPNotify({
50
50
title: 'No Icon Notice',
51
51
text: 'I have no icon.',
52
52
icon: false
53
53
});
54
54
55
-
$.pnotify({
55
+
newPNotify({
56
56
title: 'Bootstrap Notice',
57
57
text: 'Look at my beautiful styling! ^_^',
58
58
styling: 'bootstrap3'
59
59
});
60
-
$.pnotify({
60
+
newPNotify({
61
61
title: 'Bootstrap Info',
62
62
text: 'Look at my beautiful styling! ^_^',
63
63
type: 'info',
64
64
styling: 'bootstrap3'
65
65
});
66
-
$.pnotify({
66
+
newPNotify({
67
67
title: 'Bootstrap Success',
68
68
text: 'Look at my beautiful styling! ^_^',
69
69
type: 'success',
70
70
styling: 'bootstrap3'
71
71
});
72
-
$.pnotify({
72
+
newPNotify({
73
73
title: 'Bootstrap Error',
74
74
text: 'Look at my beautiful styling! ^_^',
75
75
type: 'error',
76
76
styling: 'bootstrap3'
77
77
});
78
-
$.pnotify({
78
+
newPNotify({
79
79
title: 'jQuery UI Notice',
80
80
text: 'Look at my beautiful styling! ^_^',
81
81
styling: 'jqueryui'
82
82
});
83
-
$.pnotify({
83
+
newPNotify({
84
84
title: 'jQuery UI Info',
85
85
text: 'Look at my beautiful styling! ^_^',
86
86
type: 'info',
87
87
styling: 'jqueryui'
88
88
});
89
-
$.pnotify({
89
+
newPNotify({
90
90
title: 'jQuery UI Success',
91
91
text: 'Look at my beautiful styling! ^_^',
92
92
type: 'success',
93
93
styling: 'jqueryui'
94
94
});
95
-
$.pnotify({
95
+
newPNotify({
96
96
title: 'jQuery UI Error',
97
97
text: 'Look at my beautiful styling! ^_^',
98
98
type: 'error',
99
99
styling: 'jqueryui'
100
100
});
101
-
$.pnotify({
101
+
newPNotify({
102
102
title: 'Font Awesome Notice',
103
103
text: 'Look at my beautiful styling! ^_^',
104
104
styling: 'fontawesome'
105
105
});
106
-
$.pnotify({
106
+
newPNotify({
107
107
title: 'Font Awesome Info',
108
108
text: 'Look at my beautiful styling! ^_^',
109
109
type: 'info',
110
110
styling: 'fontawesome'
111
111
});
112
-
$.pnotify({
112
+
newPNotify({
113
113
title: 'Font Awesome Success',
114
114
text: 'Look at my beautiful styling! ^_^',
115
115
type: 'success',
116
116
styling: 'fontawesome'
117
117
});
118
-
$.pnotify({
118
+
newPNotify({
119
119
title: 'Font Awesome Error',
120
120
text: 'Look at my beautiful styling! ^_^',
121
121
type: 'error',
122
122
styling: 'fontawesome'
123
123
});
124
124
125
-
$.pnotify({
125
+
newPNotify({
126
126
title: 'New Thing',
127
127
text: 'Just to let you know, something happened.',
128
128
type: 'info'
129
129
});
130
130
131
-
$.pnotify({
131
+
newPNotify({
132
132
title: 'Sticky Info',
133
133
text: 'Sticky info, you know, like a newspaper covered in honey.',
134
134
type: 'info',
135
135
hide: false
136
136
});
137
137
138
-
$.pnotify({
138
+
newPNotify({
139
139
title: 'See Through Info',
140
140
text: 'Not only does it not matter, but I don\'t even care if you see this info.',
141
141
type: 'info',
142
142
opacity: .8
143
143
});
144
144
145
-
$.pnotify({
145
+
newPNotify({
146
146
title: 'No Shadow Success',
147
147
text: 'I don\'t have a shadow. (It\'s cause I\'m a vampire or something. Or is that reflections...)',
148
148
type: 'success',
149
149
shadow: false
150
150
});
151
151
152
-
$.pnotify({
152
+
newPNotify({
153
153
title: 'PIcon Success',
154
154
text: 'We reached the moon first! See, we planted a flag.',
155
155
type: 'success',
156
156
icon: 'picon picon-flag-green'
157
157
});
158
158
159
-
$.pnotify({
159
+
newPNotify({
160
160
title: 'Oh No!',
161
161
text: 'Something terrible happened.',
162
162
type: 'error'
163
163
});
164
164
165
-
$.pnotify({
165
+
newPNotify({
166
166
title: 'No Icon Error',
167
167
text: 'I have no icon.',
168
168
type: 'error',
169
169
icon: false
170
170
});
171
171
172
-
$.pnotify({
172
+
newPNotify({
173
173
title: 'No Sticky Button Notice',
174
174
text: 'Check me out! I\'m a sticky notice with no unsticky button. You\'ll have to close me yourself.',
175
175
hide: false,
176
-
sticker: false
176
+
buttons: {
177
+
sticker: false
178
+
}
177
179
});
178
180
179
-
$.pnotify({
181
+
newPNotify({
180
182
title: 'No Mouse Reset Notice',
181
183
text: 'I don\'t care if you move your mouse over me, I\'ll disappear when I want.',
182
184
mouse_reset: false
183
185
});
184
186
185
-
$.pnotify({
187
+
newPNotify({
186
188
title: '<em>Escaped Notice</em>',
187
189
title_escape: true,
188
190
text: $('#evil_html').html(),
189
191
text_escape: true
190
192
});
191
193
192
-
$.pnotify({
194
+
newPNotify({
193
195
title: 'Non-Blocking Notice',
194
196
text: 'I\'m a special kind of notice called "non-blocking". When you hover over me I\'ll fade to show the elements underneath. Feel free to click any of them just like I wasn\'t even here.\n\nNote: HTML links don\'t trigger in some browsers, due to security settings.',
195
-
nonblock: true,
196
-
nonblock_opacity: .2
197
+
nonblock: {
198
+
nonblock: true,
199
+
nonblock_opacity: .2
200
+
}
197
201
});
198
202
199
-
$.pnotify({
203
+
newPNotify({
200
204
title: 'Custom Styling',
201
205
text: 'I have an additional class that\'s used to give me special styling. I always wanted to be pretty.',
202
206
addclass: 'custom',
203
207
icon: 'picon picon-32 picon-fill-color',
204
208
opacity: .8,
205
-
nonblock: true,
206
-
nonblock_opacity: .2
209
+
nonblock: {
210
+
nonblock: true,
211
+
nonblock_opacity: .2
212
+
}
207
213
});
208
214
209
-
$.pnotify({
215
+
newPNotify({
210
216
title: "PNotify Stacks",
211
217
text: "Stacks are used to position notices and determine where new notices will go when they're created. Each notice that's placed into a stack will be positioned related to the other notices in that stack. There is no limit to the number of stacks, and no limit to the number of notices in each stack.",
0 commit comments