Responsive Lightbox & Gallery - Version 1.3.3

Version Description

  • New: Triggering lightbox on custom jquery events option
  • Tweak: UI imporovements for WP 3.8
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Responsive Lightbox & Gallery
Version 1.3.3
Comparing to
See all releases

Code changes from version 1.3.2 to 1.3.3

assets/fancybox/jquery.fancybox-1.3.4.css CHANGED
@@ -1,359 +1,359 @@
1
- /*
2
- * FancyBox - jQuery Plugin
3
- * Simple and fancy lightbox alternative
4
- *
5
- * Examples and documentation at: http://fancybox.net
6
- *
7
- * Copyright (c) 2008 - 2010 Janis Skarnelis
8
- * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
9
- *
10
- * Version: 1.3.4 (11/11/2010)
11
- * Requires: jQuery v1.3+
12
- *
13
- * Dual licensed under the MIT and GPL licenses:
14
- * http://www.opensource.org/licenses/mit-license.php
15
- * http://www.gnu.org/licenses/gpl.html
16
- */
17
-
18
- #fancybox-loading {
19
- position: fixed;
20
- top: 50%;
21
- left: 50%;
22
- width: 40px;
23
- height: 40px;
24
- margin-top: -20px;
25
- margin-left: -20px;
26
- cursor: pointer;
27
- overflow: hidden;
28
- z-index: 1104;
29
- display: none;
30
- }
31
-
32
- #fancybox-loading div {
33
- position: absolute;
34
- top: 0;
35
- left: 0;
36
- width: 40px;
37
- height: 480px;
38
- background-image: url('fancybox.png');
39
- }
40
-
41
- #fancybox-overlay {
42
- position: absolute;
43
- top: 0;
44
- left: 0;
45
- width: 100%;
46
- z-index: 1100;
47
- display: none;
48
- }
49
-
50
- #fancybox-tmp {
51
- padding: 0;
52
- margin: 0;
53
- border: 0;
54
- overflow: auto;
55
- display: none;
56
- }
57
-
58
- #fancybox-wrap {
59
- position: absolute;
60
- top: 0;
61
- left: 0;
62
- padding: 20px;
63
- z-index: 1101;
64
- outline: none;
65
- display: none;
66
- }
67
-
68
- #fancybox-outer {
69
- position: relative;
70
- width: 100%;
71
- height: 100%;
72
- background: #fff;
73
- }
74
-
75
- #fancybox-content {
76
- width: 0;
77
- height: 0;
78
- padding: 0;
79
- outline: none;
80
- position: relative;
81
- overflow: hidden;
82
- z-index: 1102;
83
- border: 0px solid #fff;
84
- }
85
-
86
- #fancybox-hide-sel-frame {
87
- position: absolute;
88
- top: 0;
89
- left: 0;
90
- width: 100%;
91
- height: 100%;
92
- background: transparent;
93
- z-index: 1101;
94
- }
95
-
96
- #fancybox-close {
97
- position: absolute;
98
- top: -15px;
99
- right: -15px;
100
- width: 30px;
101
- height: 30px;
102
- background: transparent url('fancybox.png') -40px 0px;
103
- cursor: pointer;
104
- z-index: 1103;
105
- display: none;
106
- }
107
-
108
- #fancybox-error {
109
- color: #444;
110
- font: normal 12px/20px Arial;
111
- padding: 14px;
112
- margin: 0;
113
- }
114
-
115
- #fancybox-img {
116
- width: 100%;
117
- height: 100%;
118
- padding: 0;
119
- margin: 0;
120
- border: none;
121
- outline: none;
122
- line-height: 0;
123
- vertical-align: top;
124
- }
125
-
126
- #fancybox-frame {
127
- width: 100%;
128
- height: 100%;
129
- border: none;
130
- display: block;
131
- }
132
-
133
- #fancybox-left, #fancybox-right {
134
- position: absolute;
135
- bottom: 0px;
136
- height: 100%;
137
- width: 35%;
138
- cursor: pointer;
139
- outline: none;
140
- background: transparent url('blank.gif');
141
- z-index: 1102;
142
- display: none;
143
- }
144
-
145
- #fancybox-left {
146
- left: 0px;
147
- }
148
-
149
- #fancybox-right {
150
- right: 0px;
151
- }
152
-
153
- #fancybox-left-ico, #fancybox-right-ico {
154
- position: absolute;
155
- top: 50%;
156
- left: -9999px;
157
- width: 30px;
158
- height: 30px;
159
- margin-top: -15px;
160
- cursor: pointer;
161
- z-index: 1102;
162
- display: block;
163
- }
164
-
165
- #fancybox-left-ico {
166
- background-image: url('fancybox.png');
167
- background-position: -40px -30px;
168
- }
169
-
170
- #fancybox-right-ico {
171
- background-image: url('fancybox.png');
172
- background-position: -40px -60px;
173
- }
174
-
175
- #fancybox-left:hover, #fancybox-right:hover {
176
- visibility: visible; /* IE6 */
177
- }
178
-
179
- #fancybox-left:hover span {
180
- left: 20px;
181
- }
182
-
183
- #fancybox-right:hover span {
184
- left: auto;
185
- right: 20px;
186
- }
187
-
188
- .fancybox-bg {
189
- position: absolute;
190
- padding: 0;
191
- margin: 0;
192
- border: 0;
193
- width: 20px;
194
- height: 20px;
195
- z-index: 1001;
196
- }
197
-
198
- #fancybox-bg-n {
199
- top: -20px;
200
- left: 0;
201
- width: 100%;
202
- background-image: url('fancybox-x.png');
203
- }
204
-
205
- #fancybox-bg-ne {
206
- top: -20px;
207
- right: -20px;
208
- background-image: url('fancybox.png');
209
- background-position: -40px -162px;
210
- }
211
-
212
- #fancybox-bg-e {
213
- top: 0;
214
- right: -20px;
215
- height: 100%;
216
- background-image: url('fancybox-y.png');
217
- background-position: -20px 0px;
218
- }
219
-
220
- #fancybox-bg-se {
221
- bottom: -20px;
222
- right: -20px;
223
- background-image: url('fancybox.png');
224
- background-position: -40px -182px;
225
- }
226
-
227
- #fancybox-bg-s {
228
- bottom: -20px;
229
- left: 0;
230
- width: 100%;
231
- background-image: url('fancybox-x.png');
232
- background-position: 0px -20px;
233
- }
234
-
235
- #fancybox-bg-sw {
236
- bottom: -20px;
237
- left: -20px;
238
- background-image: url('fancybox.png');
239
- background-position: -40px -142px;
240
- }
241
-
242
- #fancybox-bg-w {
243
- top: 0;
244
- left: -20px;
245
- height: 100%;
246
- background-image: url('fancybox-y.png');
247
- }
248
-
249
- #fancybox-bg-nw {
250
- top: -20px;
251
- left: -20px;
252
- background-image: url('fancybox.png');
253
- background-position: -40px -122px;
254
- }
255
-
256
- #fancybox-title {
257
- font-family: Helvetica;
258
- font-size: 12px;
259
- z-index: 1102;
260
- }
261
-
262
- .fancybox-title-inside {
263
- padding-bottom: 10px;
264
- text-align: center;
265
- color: #333;
266
- background: #fff;
267
- position: relative;
268
- }
269
-
270
- .fancybox-title-outside {
271
- padding-top: 10px;
272
- color: #fff;
273
- }
274
-
275
- .fancybox-title-over {
276
- position: absolute;
277
- bottom: 0;
278
- left: 0;
279
- color: #FFF;
280
- text-align: left;
281
- }
282
-
283
- #fancybox-title-over {
284
- padding: 10px;
285
- background-image: url('fancy_title_over.png');
286
- display: block;
287
- }
288
-
289
- .fancybox-title-float {
290
- position: absolute;
291
- left: 0;
292
- bottom: -20px;
293
- height: 32px;
294
- }
295
-
296
- #fancybox-title-float-wrap {
297
- border: none;
298
- border-collapse: collapse;
299
- width: auto;
300
- }
301
-
302
- #fancybox-title-float-wrap td {
303
- border: none;
304
- white-space: nowrap;
305
- }
306
-
307
- #fancybox-title-float-left {
308
- padding: 0 0 0 15px;
309
- background: url('fancybox.png') -40px -90px no-repeat;
310
- }
311
-
312
- #fancybox-title-float-main {
313
- color: #FFF;
314
- line-height: 29px;
315
- font-weight: bold;
316
- padding: 0 0 3px 0;
317
- background: url('fancybox-x.png') 0px -40px;
318
- }
319
-
320
- #fancybox-title-float-right {
321
- padding: 0 0 0 15px;
322
- background: url('fancybox.png') -55px -90px no-repeat;
323
- }
324
-
325
- /* IE6 */
326
-
327
- .fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_close.png', sizingMethod='scale'); }
328
-
329
- .fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_left.png', sizingMethod='scale'); }
330
- .fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_right.png', sizingMethod='scale'); }
331
-
332
- .fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
333
- .fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_left.png', sizingMethod='scale'); }
334
- .fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_main.png', sizingMethod='scale'); }
335
- .fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_right.png', sizingMethod='scale'); }
336
-
337
- .fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
338
- height: expression(this.parentNode.clientHeight + "px");
339
- }
340
-
341
- #fancybox-loading.fancybox-ie6 {
342
- position: absolute; margin-top: 0;
343
- top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');
344
- }
345
-
346
- #fancybox-loading.fancybox-ie6 div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_loading.png', sizingMethod='scale'); }
347
-
348
- /* IE6, IE7, IE8 */
349
-
350
- .fancybox-ie .fancybox-bg { background: transparent !important; }
351
-
352
- .fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
353
- .fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
354
- .fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
355
- .fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
356
- .fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
357
- .fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
358
- .fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
359
  .fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }
1
+ /*
2
+ * FancyBox - jQuery Plugin
3
+ * Simple and fancy lightbox alternative
4
+ *
5
+ * Examples and documentation at: http://fancybox.net
6
+ *
7
+ * Copyright (c) 2008 - 2010 Janis Skarnelis
8
+ * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
9
+ *
10
+ * Version: 1.3.4 (11/11/2010)
11
+ * Requires: jQuery v1.3+
12
+ *
13
+ * Dual licensed under the MIT and GPL licenses:
14
+ * http://www.opensource.org/licenses/mit-license.php
15
+ * http://www.gnu.org/licenses/gpl.html
16
+ */
17
+
18
+ #fancybox-loading {
19
+ position: fixed;
20
+ top: 50%;
21
+ left: 50%;
22
+ width: 40px;
23
+ height: 40px;
24
+ margin-top: -20px;
25
+ margin-left: -20px;
26
+ cursor: pointer;
27
+ overflow: hidden;
28
+ z-index: 1104;
29
+ display: none;
30
+ }
31
+
32
+ #fancybox-loading div {
33
+ position: absolute;
34
+ top: 0;
35
+ left: 0;
36
+ width: 40px;
37
+ height: 480px;
38
+ background-image: url('fancybox.png');
39
+ }
40
+
41
+ #fancybox-overlay {
42
+ position: absolute;
43
+ top: 0;
44
+ left: 0;
45
+ width: 100%;
46
+ z-index: 1100;
47
+ display: none;
48
+ }
49
+
50
+ #fancybox-tmp {
51
+ padding: 0;
52
+ margin: 0;
53
+ border: 0;
54
+ overflow: auto;
55
+ display: none;
56
+ }
57
+
58
+ #fancybox-wrap {
59
+ position: absolute;
60
+ top: 0;
61
+ left: 0;
62
+ padding: 20px;
63
+ z-index: 1101;
64
+ outline: none;
65
+ display: none;
66
+ }
67
+
68
+ #fancybox-outer {
69
+ position: relative;
70
+ width: 100%;
71
+ height: 100%;
72
+ background: #fff;
73
+ }
74
+
75
+ #fancybox-content {
76
+ width: 0;
77
+ height: 0;
78
+ padding: 0;
79
+ outline: none;
80
+ position: relative;
81
+ overflow: hidden;
82
+ z-index: 1102;
83
+ border: 0px solid #fff;
84
+ }
85
+
86
+ #fancybox-hide-sel-frame {
87
+ position: absolute;
88
+ top: 0;
89
+ left: 0;
90
+ width: 100%;
91
+ height: 100%;
92
+ background: transparent;
93
+ z-index: 1101;
94
+ }
95
+
96
+ #fancybox-close {
97
+ position: absolute;
98
+ top: -15px;
99
+ right: -15px;
100
+ width: 30px;
101
+ height: 30px;
102
+ background: transparent url('fancybox.png') -40px 0px;
103
+ cursor: pointer;
104
+ z-index: 1103;
105
+ display: none;
106
+ }
107
+
108
+ #fancybox-error {
109
+ color: #444;
110
+ font: normal 12px/20px Arial;
111
+ padding: 14px;
112
+ margin: 0;
113
+ }
114
+
115
+ #fancybox-img {
116
+ width: 100%;
117
+ height: 100%;
118
+ padding: 0;
119
+ margin: 0;
120
+ border: none;
121
+ outline: none;
122
+ line-height: 0;
123
+ vertical-align: top;
124
+ }
125
+
126
+ #fancybox-frame {
127
+ width: 100%;
128
+ height: 100%;
129
+ border: none;
130
+ display: block;
131
+ }
132
+
133
+ #fancybox-left, #fancybox-right {
134
+ position: absolute;
135
+ bottom: 0px;
136
+ height: 100%;
137
+ width: 35%;
138
+ cursor: pointer;
139
+ outline: none;
140
+ background: transparent url('blank.gif');
141
+ z-index: 1102;
142
+ display: none;
143
+ }
144
+
145
+ #fancybox-left {
146
+ left: 0px;
147
+ }
148
+
149
+ #fancybox-right {
150
+ right: 0px;
151
+ }
152
+
153
+ #fancybox-left-ico, #fancybox-right-ico {
154
+ position: absolute;
155
+ top: 50%;
156
+ left: -9999px;
157
+ width: 30px;
158
+ height: 30px;
159
+ margin-top: -15px;
160
+ cursor: pointer;
161
+ z-index: 1102;
162
+ display: block;
163
+ }
164
+
165
+ #fancybox-left-ico {
166
+ background-image: url('fancybox.png');
167
+ background-position: -40px -30px;
168
+ }
169
+
170
+ #fancybox-right-ico {
171
+ background-image: url('fancybox.png');
172
+ background-position: -40px -60px;
173
+ }
174
+
175
+ #fancybox-left:hover, #fancybox-right:hover {
176
+ visibility: visible; /* IE6 */
177
+ }
178
+
179
+ #fancybox-left:hover span {
180
+ left: 20px;
181
+ }
182
+
183
+ #fancybox-right:hover span {
184
+ left: auto;
185
+ right: 20px;
186
+ }
187
+
188
+ .fancybox-bg {
189
+ position: absolute;
190
+ padding: 0;
191
+ margin: 0;
192
+ border: 0;
193
+ width: 20px;
194
+ height: 20px;
195
+ z-index: 1001;
196
+ }
197
+
198
+ #fancybox-bg-n {
199
+ top: -20px;
200
+ left: 0;
201
+ width: 100%;
202
+ background-image: url('fancybox-x.png');
203
+ }
204
+
205
+ #fancybox-bg-ne {
206
+ top: -20px;
207
+ right: -20px;
208
+ background-image: url('fancybox.png');
209
+ background-position: -40px -162px;
210
+ }
211
+
212
+ #fancybox-bg-e {
213
+ top: 0;
214
+ right: -20px;
215
+ height: 100%;
216
+ background-image: url('fancybox-y.png');
217
+ background-position: -20px 0px;
218
+ }
219
+
220
+ #fancybox-bg-se {
221
+ bottom: -20px;
222
+ right: -20px;
223
+ background-image: url('fancybox.png');
224
+ background-position: -40px -182px;
225
+ }
226
+
227
+ #fancybox-bg-s {
228
+ bottom: -20px;
229
+ left: 0;
230
+ width: 100%;
231
+ background-image: url('fancybox-x.png');
232
+ background-position: 0px -20px;
233
+ }
234
+
235
+ #fancybox-bg-sw {
236
+ bottom: -20px;
237
+ left: -20px;
238
+ background-image: url('fancybox.png');
239
+ background-position: -40px -142px;
240
+ }
241
+
242
+ #fancybox-bg-w {
243
+ top: 0;
244
+ left: -20px;
245
+ height: 100%;
246
+ background-image: url('fancybox-y.png');
247
+ }
248
+
249
+ #fancybox-bg-nw {
250
+ top: -20px;
251
+ left: -20px;
252
+ background-image: url('fancybox.png');
253
+ background-position: -40px -122px;
254
+ }
255
+
256
+ #fancybox-title {
257
+ font-family: Helvetica;
258
+ font-size: 12px;
259
+ z-index: 1102;
260
+ }
261
+
262
+ .fancybox-title-inside {
263
+ padding-bottom: 10px;
264
+ text-align: center;
265
+ color: #333;
266
+ background: #fff;
267
+ position: relative;
268
+ }
269
+
270
+ .fancybox-title-outside {
271
+ padding-top: 10px;
272
+ color: #fff;
273
+ }
274
+
275
+ .fancybox-title-over {
276
+ position: absolute;
277
+ bottom: 0;
278
+ left: 0;
279
+ color: #FFF;
280
+ text-align: left;
281
+ }
282
+
283
+ #fancybox-title-over {
284
+ padding: 10px;
285
+ background-image: url('fancy_title_over.png');
286
+ display: block;
287
+ }
288
+
289
+ .fancybox-title-float {
290
+ position: absolute;
291
+ left: 0;
292
+ bottom: -20px;
293
+ height: 32px;
294
+ }
295
+
296
+ #fancybox-title-float-wrap {
297
+ border: none;
298
+ border-collapse: collapse;
299
+ width: auto;
300
+ }
301
+
302
+ #fancybox-title-float-wrap td {
303
+ border: none;
304
+ white-space: nowrap;
305
+ }
306
+
307
+ #fancybox-title-float-left {
308
+ padding: 0 0 0 15px;
309
+ background: url('fancybox.png') -40px -90px no-repeat;
310
+ }
311
+
312
+ #fancybox-title-float-main {
313
+ color: #FFF;
314
+ line-height: 29px;
315
+ font-weight: bold;
316
+ padding: 0 0 3px 0;
317
+ background: url('fancybox-x.png') 0px -40px;
318
+ }
319
+
320
+ #fancybox-title-float-right {
321
+ padding: 0 0 0 15px;
322
+ background: url('fancybox.png') -55px -90px no-repeat;
323
+ }
324
+
325
+ /* IE6 */
326
+
327
+ .fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_close.png', sizingMethod='scale'); }
328
+
329
+ .fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_left.png', sizingMethod='scale'); }
330
+ .fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_right.png', sizingMethod='scale'); }
331
+
332
+ .fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
333
+ .fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_left.png', sizingMethod='scale'); }
334
+ .fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_main.png', sizingMethod='scale'); }
335
+ .fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_right.png', sizingMethod='scale'); }
336
+
337
+ .fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
338
+ height: expression(this.parentNode.clientHeight + "px");
339
+ }
340
+
341
+ #fancybox-loading.fancybox-ie6 {
342
+ position: absolute; margin-top: 0;
343
+ top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');
344
+ }
345
+
346
+ #fancybox-loading.fancybox-ie6 div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_loading.png', sizingMethod='scale'); }
347
+
348
+ /* IE6, IE7, IE8 */
349
+
350
+ .fancybox-ie .fancybox-bg { background: transparent !important; }
351
+
352
+ .fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
353
+ .fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
354
+ .fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
355
+ .fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
356
+ .fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
357
+ .fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
358
+ .fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
359
  .fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }
assets/fancybox/jquery.fancybox-1.3.4.js CHANGED
@@ -1,1177 +1,1177 @@
1
- /*
2
- * FancyBox - jQuery Plugin
3
- * Simple and fancy lightbox alternative
4
- *
5
- * Examples and documentation at: http://fancybox.net
6
- *
7
- * Copyright (c) 2008 - 2010 Janis Skarnelis
8
- * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
9
- *
10
- * Version: 1.3.4 (11/11/2010)
11
- * Requires: jQuery v1.3+
12
- *
13
- * Dual licensed under the MIT and GPL licenses:
14
- * http://www.opensource.org/licenses/mit-license.php
15
- * http://www.gnu.org/licenses/gpl.html
16
- */
17
-
18
- ;(function($) {
19
- var tmp, loading, overlay, wrap, outer, content, close, title, nav_left, nav_right,
20
-
21
- videoToShow = '',
22
-
23
- selectedIndex = 0, selectedOpts = {}, selectedArray = [], currentIndex = 0, currentOpts = {}, currentArray = [],
24
-
25
- ajaxLoader = null, imgPreloader = new Image(), imgRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i, swfRegExp = /[^\.]\.(swf)\s*$/i,
26
-
27
- loadingTimer, loadingFrame = 1,
28
-
29
- titleHeight = 0, titleStr = '', start_pos, final_pos, busy = false, fx = $.extend($('<div/>')[0], { prop: 0 }),
30
-
31
- isIE6 = $.browser.msie && $.browser.version < 7 && !window.XMLHttpRequest,
32
-
33
- /*
34
- * Private methods
35
- */
36
-
37
- _abort = function() {
38
- loading.hide();
39
-
40
- imgPreloader.onerror = imgPreloader.onload = null;
41
-
42
- if (ajaxLoader) {
43
- ajaxLoader.abort();
44
- }
45
-
46
- tmp.empty();
47
- },
48
-
49
- _error = function() {
50
- if (false === selectedOpts.onError(selectedArray, selectedIndex, selectedOpts)) {
51
- loading.hide();
52
- busy = false;
53
- return;
54
- }
55
-
56
- selectedOpts.titleShow = false;
57
-
58
- selectedOpts.width = 'auto';
59
- selectedOpts.height = 'auto';
60
-
61
- tmp.html( '<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>' );
62
-
63
- _process_inline();
64
- },
65
-
66
- _is_video = function(videoURL) {
67
- var matchesYoutube = videoURL.match(/(?:(?:http|https):\/\/)?(?:www\.)?youtube.com\/watch\?v=([a-zA-Z0-9\-_]+)/);
68
-
69
- if(matchesYoutube) {
70
- videoToShow = 'http://www.youtube.com/embed/'+matchesYoutube[1];
71
- return true;
72
- }
73
-
74
- var matchesVimeo = videoURL.match(/(?:(?:http|https):\/\/)?(?:www\.)?vimeo.com\/([0-9]+)/);
75
-
76
- if (matchesVimeo){
77
- videoToShow = 'http://player.vimeo.com/video/'+matchesVimeo[1];
78
- return true;
79
- }
80
-
81
- return false;
82
- },
83
-
84
- _start = function() {
85
- var obj = selectedArray[ selectedIndex ],
86
- href,
87
- type,
88
- title,
89
- str,
90
- emb,
91
- ret;
92
-
93
- _abort();
94
-
95
- selectedOpts = $.extend({}, $.fn.fancybox.defaults, (typeof $(obj).data('fancybox') == 'undefined' ? selectedOpts : $(obj).data('fancybox')));
96
-
97
- ret = selectedOpts.onStart(selectedArray, selectedIndex, selectedOpts);
98
-
99
- if (ret === false) {
100
- busy = false;
101
- return;
102
- } else if (typeof ret == 'object') {
103
- selectedOpts = $.extend(selectedOpts, ret);
104
- }
105
-
106
- title = selectedOpts.title || (obj.nodeName ? $(obj).attr('title') : obj.title) || '';
107
-
108
- if (obj.nodeName && !selectedOpts.orig) {
109
- selectedOpts.orig = $(obj).children("img:first").length ? $(obj).children("img:first") : $(obj);
110
- }
111
-
112
- if (title === '' && selectedOpts.orig && selectedOpts.titleFromAlt) {
113
- title = selectedOpts.orig.attr('alt');
114
- }
115
-
116
- href = selectedOpts.href || (obj.nodeName ? $(obj).attr('href') : obj.href) || null;
117
-
118
- if ((/^(?:javascript)/i).test(href) || href == '#') {
119
- href = null;
120
- }
121
-
122
- if (selectedOpts.type) {
123
- type = selectedOpts.type;
124
-
125
- if (!href) {
126
- href = selectedOpts.content;
127
- }
128
-
129
- } else if (selectedOpts.content) {
130
- type = 'html';
131
-
132
- } else if (href) {
133
- if (href.match(imgRegExp)) {
134
- type = 'image';
135
-
136
- } else if (href.match(swfRegExp)) {
137
- type = 'swf';
138
-
139
- } else if ($(obj).hasClass('iframe') || _is_video($(obj).attr('href'))) {
140
- type = 'iframe';
141
-
142
- } else if (href.indexOf("#") === 0) {
143
- type = 'inline';
144
-
145
- } else {
146
- type = 'ajax';
147
- }
148
- }
149
-
150
- if (!type) {
151
- _error();
152
- return;
153
- }
154
-
155
- if (type == 'inline') {
156
- obj = href.substr(href.indexOf("#"));
157
- type = $(obj).length > 0 ? 'inline' : 'ajax';
158
- }
159
-
160
- selectedOpts.type = type;
161
- selectedOpts.href = href;
162
- selectedOpts.title = title;
163
-
164
- if (selectedOpts.autoDimensions) {
165
- if (selectedOpts.type == 'html' || selectedOpts.type == 'inline' || selectedOpts.type == 'ajax') {
166
- selectedOpts.width = 'auto';
167
- selectedOpts.height = 'auto';
168
- } else {
169
- selectedOpts.autoDimensions = false;
170
- }
171
- }
172
-
173
- if (selectedOpts.modal) {
174
- selectedOpts.overlayShow = true;
175
- selectedOpts.hideOnOverlayClick = false;
176
- selectedOpts.hideOnContentClick = false;
177
- selectedOpts.enableEscapeButton = false;
178
- selectedOpts.showCloseButton = false;
179
- }
180
-
181
- selectedOpts.padding = parseInt(selectedOpts.padding, 10);
182
- selectedOpts.margin = parseInt(selectedOpts.margin, 10);
183
-
184
- tmp.css('padding', (selectedOpts.padding + selectedOpts.margin));
185
-
186
- $('.fancybox-inline-tmp').unbind('fancybox-cancel').bind('fancybox-change', function() {
187
- $(this).replaceWith(content.children());
188
- });
189
-
190
- switch (type) {
191
- case 'html' :
192
- tmp.html( selectedOpts.content );
193
- _process_inline();
194
- break;
195
-
196
- case 'inline' :
197
- if ( $(obj).parent().is('#fancybox-content') === true) {
198
- busy = false;
199
- return;
200
- }
201
-
202
- $('<div class="fancybox-inline-tmp" />')
203
- .hide()
204
- .insertBefore( $(obj) )
205
- .bind('fancybox-cleanup', function() {
206
- $(this).replaceWith(content.children());
207
- }).bind('fancybox-cancel', function() {
208
- $(this).replaceWith(tmp.children());
209
- });
210
-
211
- $(obj).appendTo(tmp);
212
-
213
- _process_inline();
214
- break;
215
-
216
- case 'image':
217
- busy = false;
218
-
219
- $.fancybox.showActivity();
220
-
221
- imgPreloader = new Image();
222
-
223
- imgPreloader.onerror = function() {
224
- _error();
225
- };
226
-
227
- imgPreloader.onload = function() {
228
- busy = true;
229
-
230
- imgPreloader.onerror = imgPreloader.onload = null;
231
-
232
- _process_image();
233
- };
234
-
235
- imgPreloader.src = href;
236
- break;
237
-
238
- case 'swf':
239
- selectedOpts.scrolling = 'no';
240
-
241
- str = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + selectedOpts.width + '" height="' + selectedOpts.height + '"><param name="movie" value="' + href + '"></param>';
242
- emb = '';
243
-
244
- $.each(selectedOpts.swf, function(name, val) {
245
- str += '<param name="' + name + '" value="' + val + '"></param>';
246
- emb += ' ' + name + '="' + val + '"';
247
- });
248
-
249
- str += '<embed src="' + href + '" type="application/x-shockwave-flash" width="' + selectedOpts.width + '" height="' + selectedOpts.height + '"' + emb + '></embed></object>';
250
-
251
- tmp.html(str);
252
-
253
- _process_inline();
254
- break;
255
-
256
- case 'ajax':
257
- busy = false;
258
-
259
- $.fancybox.showActivity();
260
-
261
- selectedOpts.ajax.win = selectedOpts.ajax.success;
262
-
263
- ajaxLoader = $.ajax($.extend({}, selectedOpts.ajax, {
264
- url : href,
265
- data : selectedOpts.ajax.data || {},
266
- error : function(XMLHttpRequest, textStatus, errorThrown) {
267
- if ( XMLHttpRequest.status > 0 ) {
268
- _error();
269
- }
270
- },
271
- success : function(data, textStatus, XMLHttpRequest) {
272
- var o = typeof XMLHttpRequest == 'object' ? XMLHttpRequest : ajaxLoader;
273
- if (o.status == 200) {
274
- if ( typeof selectedOpts.ajax.win == 'function' ) {
275
- ret = selectedOpts.ajax.win(href, data, textStatus, XMLHttpRequest);
276
-
277
- if (ret === false) {
278
- loading.hide();
279
- return;
280
- } else if (typeof ret == 'string' || typeof ret == 'object') {
281
- data = ret;
282
- }
283
- }
284
-
285
- tmp.html( data );
286
- _process_inline();
287
- }
288
- }
289
- }));
290
-
291
- break;
292
-
293
- case 'iframe':
294
- _show();
295
- break;
296
- }
297
- },
298
-
299
- _process_inline = function() {
300
- var
301
- w = selectedOpts.width,
302
- h = selectedOpts.height;
303
-
304
- if (w.toString().indexOf('%') > -1) {
305
- w = parseInt( ($(window).width() - (selectedOpts.margin * 2)) * parseFloat(w) / 100, 10) + 'px';
306
-
307
- } else {
308
- w = w == 'auto' ? 'auto' : w + 'px';
309
- }
310
-
311
- if (h.toString().indexOf('%') > -1) {
312
- h = parseInt( ($(window).height() - (selectedOpts.margin * 2)) * parseFloat(h) / 100, 10) + 'px';
313
-
314
- } else {
315
- h = h == 'auto' ? 'auto' : h + 'px';
316
- }
317
-
318
- tmp.wrapInner('<div style="width:' + w + ';height:' + h + ';overflow: ' + (selectedOpts.scrolling == 'auto' ? 'auto' : (selectedOpts.scrolling == 'yes' ? 'scroll' : 'hidden')) + ';position:relative;"></div>');
319
-
320
- selectedOpts.width = tmp.width();
321
- selectedOpts.height = tmp.height();
322
-
323
- _show();
324
- },
325
-
326
- _process_image = function() {
327
- selectedOpts.width = imgPreloader.width;
328
- selectedOpts.height = imgPreloader.height;
329
-
330
- $("<img />").attr({
331
- 'id' : 'fancybox-img',
332
- 'src' : imgPreloader.src,
333
- 'alt' : selectedOpts.title
334
- }).appendTo( tmp );
335
-
336
- _show();
337
- },
338
-
339
- _show = function() {
340
- var pos, equal;
341
-
342
- loading.hide();
343
-
344
- if (wrap.is(":visible") && false === currentOpts.onCleanup(currentArray, currentIndex, currentOpts)) {
345
- $.event.trigger('fancybox-cancel');
346
-
347
- busy = false;
348
- return;
349
- }
350
-
351
- busy = true;
352
-
353
- $(content.add( overlay )).unbind();
354
-
355
- $(window).unbind("resize.fb scroll.fb");
356
- $(document).unbind('keydown.fb');
357
-
358
- if (wrap.is(":visible") && currentOpts.titlePosition !== 'outside') {
359
- wrap.css('height', wrap.height());
360
- }
361
-
362
- currentArray = selectedArray;
363
- currentIndex = selectedIndex;
364
- currentOpts = selectedOpts;
365
-
366
- if (currentOpts.overlayShow) {
367
- overlay.css({
368
- 'background-color' : currentOpts.overlayColor,
369
- 'opacity' : currentOpts.overlayOpacity,
370
- 'cursor' : currentOpts.hideOnOverlayClick ? 'pointer' : 'auto',
371
- 'height' : $(document).height()
372
- });
373
-
374
- if (!overlay.is(':visible')) {
375
- if (isIE6) {
376
- $('select:not(#fancybox-tmp select)').filter(function() {
377
- return this.style.visibility !== 'hidden';
378
- }).css({'visibility' : 'hidden'}).one('fancybox-cleanup', function() {
379
- this.style.visibility = 'inherit';
380
- });
381
- }
382
-
383
- overlay.show();
384
- }
385
- } else {
386
- overlay.hide();
387
- }
388
-
389
- final_pos = _get_zoom_to();
390
-
391
- _process_title();
392
-
393
- if (wrap.is(":visible")) {
394
- $( close.add( nav_left ).add( nav_right ) ).hide();
395
-
396
- pos = wrap.position(),
397
-
398
- start_pos = {
399
- top : pos.top,
400
- left : pos.left,
401
- width : wrap.width(),
402
- height : wrap.height()
403
- };
404
-
405
- equal = (start_pos.width == final_pos.width && start_pos.height == final_pos.height);
406
-
407
- content.fadeTo(currentOpts.changeFade, 0.3, function() {
408
- var finish_resizing = function() {
409
- content.html( tmp.contents() ).fadeTo(currentOpts.changeFade, 1, _finish);
410
- };
411
-
412
- $.event.trigger('fancybox-change');
413
-
414
- content
415
- .empty()
416
- .removeAttr('filter')
417
- .css({
418
- 'border-width' : currentOpts.padding,
419
- 'width' : final_pos.width - currentOpts.padding * 2,
420
- 'height' : selectedOpts.autoDimensions ? 'auto' : final_pos.height - titleHeight - currentOpts.padding * 2
421
- });
422
-
423
- if (equal) {
424
- finish_resizing();
425
-
426
- } else {
427
- fx.prop = 0;
428
-
429
- $(fx).animate({prop: 1}, {
430
- duration : currentOpts.changeSpeed,
431
- easing : currentOpts.easingChange,
432
- step : _draw,
433
- complete : finish_resizing
434
- });
435
- }
436
- });
437
-
438
- return;
439
- }
440
-
441
- wrap.removeAttr("style");
442
-
443
- content.css('border-width', currentOpts.padding);
444
-
445
- if (currentOpts.transitionIn == 'elastic') {
446
- start_pos = _get_zoom_from();
447
-
448
- content.html( tmp.contents() );
449
-
450
- wrap.show();
451
-
452
- if (currentOpts.opacity) {
453
- final_pos.opacity = 0;
454
- }
455
-
456
- fx.prop = 0;
457
-
458
- $(fx).animate({prop: 1}, {
459
- duration : currentOpts.speedIn,
460
- easing : currentOpts.easingIn,
461
- step : _draw,
462
- complete : _finish
463
- });
464
-
465
- return;
466
- }
467
-
468
- if (currentOpts.titlePosition == 'inside' && titleHeight > 0) {
469
- title.show();
470
- }
471
-
472
- content
473
- .css({
474
- 'width' : final_pos.width - currentOpts.padding * 2,
475
- 'height' : selectedOpts.autoDimensions ? 'auto' : final_pos.height - titleHeight - currentOpts.padding * 2
476
- })
477
- .html( tmp.contents() );
478
-
479
- wrap
480
- .css(final_pos)
481
- .fadeIn( currentOpts.transitionIn == 'none' ? 0 : currentOpts.speedIn, _finish );
482
- },
483
-
484
- _format_title = function(title) {
485
- if (title && title.length) {
486
- if (currentOpts.titlePosition == 'float') {
487
- return '<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">' + title + '</td><td id="fancybox-title-float-right"></td></tr></table>';
488
- }
489
-
490
- return '<div id="fancybox-title-' + currentOpts.titlePosition + '">' + title + '</div>';
491
- }
492
-
493
- return false;
494
- },
495
-
496
- _process_title = function() {
497
- titleStr = currentOpts.title || '';
498
- titleHeight = 0;
499
-
500
- title
501
- .empty()
502
- .removeAttr('style')
503
- .removeClass();
504
-
505
- if (currentOpts.titleShow === false) {
506
- title.hide();
507
- return;
508
- }
509
-
510
- titleStr = $.isFunction(currentOpts.titleFormat) ? currentOpts.titleFormat(titleStr, currentArray, currentIndex, currentOpts) : _format_title(titleStr);
511
-
512
- if (!titleStr || titleStr === '') {
513
- title.hide();
514
- return;
515
- }
516
-
517
- title
518
- .addClass('fancybox-title-' + currentOpts.titlePosition)
519
- .html( titleStr )
520
- .appendTo( 'body' )
521
- .show();
522
-
523
- switch (currentOpts.titlePosition) {
524
- case 'inside':
525
- title
526
- .css({
527
- 'width' : final_pos.width - (currentOpts.padding * 2),
528
- 'marginLeft' : currentOpts.padding,
529
- 'marginRight' : currentOpts.padding
530
- });
531
-
532
- titleHeight = title.outerHeight(true);
533
-
534
- title.appendTo( outer );
535
-
536
- final_pos.height += titleHeight;
537
- break;
538
-
539
- case 'over':
540
- title
541
- .css({
542
- 'marginLeft' : currentOpts.padding,
543
- 'width' : final_pos.width - (currentOpts.padding * 2),
544
- 'bottom' : currentOpts.padding
545
- })
546
- .appendTo( outer );
547
- break;
548
-
549
- case 'float':
550
- title
551
- .css('left', parseInt((title.width() - final_pos.width - 40)/ 2, 10) * -1)
552
- .appendTo( wrap );
553
- break;
554
-
555
- default:
556
- title
557
- .css({
558
- 'width' : final_pos.width - (currentOpts.padding * 2),
559
- 'paddingLeft' : currentOpts.padding,
560
- 'paddingRight' : currentOpts.padding
561
- })
562
- .appendTo( wrap );
563
- break;
564
- }
565
-
566
- title.hide();
567
- },
568
-
569
- _set_navigation = function() {
570
- if (currentOpts.enableEscapeButton || currentOpts.enableKeyboardNav) {
571
- $(document).bind('keydown.fb', function(e) {
572
- if (e.keyCode == 27 && currentOpts.enableEscapeButton) {
573
- e.preventDefault();
574
- $.fancybox.close();
575
-
576
- } else if ((e.keyCode == 37 || e.keyCode == 39) && currentOpts.enableKeyboardNav && e.target.tagName !== 'INPUT' && e.target.tagName !== 'TEXTAREA' && e.target.tagName !== 'SELECT') {
577
- e.preventDefault();
578
- $.fancybox[ e.keyCode == 37 ? 'prev' : 'next']();
579
- }
580
- });
581
- }
582
-
583
- if (!currentOpts.showNavArrows) {
584
- nav_left.hide();
585
- nav_right.hide();
586
- return;
587
- }
588
-
589
- if ((currentOpts.cyclic && currentArray.length > 1) || currentIndex !== 0) {
590
- nav_left.show();
591
- }
592
-
593
- if ((currentOpts.cyclic && currentArray.length > 1) || currentIndex != (currentArray.length -1)) {
594
- nav_right.show();
595
- }
596
- },
597
-
598
- _finish = function () {
599
- if (!$.support.opacity) {
600
- content.get(0).style.removeAttribute('filter');
601
- wrap.get(0).style.removeAttribute('filter');
602
- }
603
-
604
- if (selectedOpts.autoDimensions) {
605
- content.css('height', 'auto');
606
- }
607
-
608
- wrap.css('height', 'auto');
609
-
610
- if (titleStr && titleStr.length) {
611
- title.show();
612
- }
613
-
614
- if (currentOpts.showCloseButton) {
615
- close.show();
616
- }
617
-
618
- _set_navigation();
619
-
620
- if (currentOpts.hideOnContentClick) {
621
- content.bind('click', $.fancybox.close);
622
- }
623
-
624
- if (currentOpts.hideOnOverlayClick) {
625
- overlay.bind('click', $.fancybox.close);
626
- }
627
-
628
- $(window).bind("resize.fb", $.fancybox.resize);
629
-
630
- if (currentOpts.centerOnScroll) {
631
- $(window).bind("scroll.fb", $.fancybox.center);
632
- }
633
-
634
- if (currentOpts.type == 'iframe') {
635
- $('<iframe id="fancybox-frame" name="fancybox-frame' + new Date().getTime() + '" frameborder="0" hspace="0" ' + ($.browser.msie ? 'allowtransparency="true""' : '') + ' scrolling="' + selectedOpts.scrolling + '" src="' + (videoToShow !== '' ? videoToShow : currentOpts.href) + '"></iframe>').appendTo(content);
636
-
637
- videoToShow = ''
638
- }
639
-
640
- wrap.show();
641
-
642
- busy = false;
643
-
644
- $.fancybox.center();
645
-
646
- currentOpts.onComplete(currentArray, currentIndex, currentOpts);
647
-
648
- _preload_images();
649
- },
650
-
651
- _preload_images = function() {
652
- var href,
653
- objNext;
654
-
655
- if ((currentArray.length -1) > currentIndex) {
656
- href = currentArray[ currentIndex + 1 ].href;
657
-
658
- if (typeof href !== 'undefined' && href.match(imgRegExp)) {
659
- objNext = new Image();
660
- objNext.src = href;
661
- }
662
- }
663
-
664
- if (currentIndex > 0) {
665
- href = currentArray[ currentIndex - 1 ].href;
666
-
667
- if (typeof href !== 'undefined' && href.match(imgRegExp)) {
668
- objNext = new Image();
669
- objNext.src = href;
670
- }
671
- }
672
- },
673
-
674
- _draw = function(pos) {
675
- var dim = {
676
- width : parseInt(start_pos.width + (final_pos.width - start_pos.width) * pos, 10),
677
- height : parseInt(start_pos.height + (final_pos.height - start_pos.height) * pos, 10),
678
-
679
- top : parseInt(start_pos.top + (final_pos.top - start_pos.top) * pos, 10),
680
- left : parseInt(start_pos.left + (final_pos.left - start_pos.left) * pos, 10)
681
- };
682
-
683
- if (typeof final_pos.opacity !== 'undefined') {
684
- dim.opacity = pos < 0.5 ? 0.5 : pos;
685
- }
686
-
687
- wrap.css(dim);
688
-
689
- content.css({
690
- 'width' : dim.width - currentOpts.padding * 2,
691
- 'height' : dim.height - (titleHeight * pos) - currentOpts.padding * 2
692
- });
693
- },
694
-
695
- _get_viewport = function() {
696
- return [
697
- $(window).width() - (currentOpts.margin * 2),
698
- $(window).height() - (currentOpts.margin * 2),
699
- $(document).scrollLeft() + currentOpts.margin,
700
- $(document).scrollTop() + currentOpts.margin
701
- ];
702
- },
703
-
704
- _get_zoom_to = function () {
705
- var view = _get_viewport(),
706
- to = {},
707
- resize = currentOpts.autoScale,
708
- double_padding = currentOpts.padding * 2,
709
- ratio;
710
-
711
- if (currentOpts.width.toString().indexOf('%') > -1) {
712
- to.width = parseInt((view[0] * parseFloat(currentOpts.width)) / 100, 10);
713
- } else {
714
- to.width = currentOpts.width + double_padding;
715
- }
716
-
717
- if (currentOpts.height.toString().indexOf('%') > -1) {
718
- to.height = parseInt((view[1] * parseFloat(currentOpts.height)) / 100, 10);
719
- } else {
720
- to.height = currentOpts.height + double_padding;
721
- }
722
-
723
- if (resize && (to.width > view[0] || to.height > view[1])) {
724
- if (selectedOpts.type == 'image' || selectedOpts.type == 'swf') {
725
- ratio = (currentOpts.width ) / (currentOpts.height );
726
-
727
- if ((to.width ) > view[0]) {
728
- to.width = view[0];
729
- to.height = parseInt(((to.width - double_padding) / ratio) + double_padding, 10);
730
- }
731
-
732
- if ((to.height) > view[1]) {
733
- to.height = view[1];
734
- to.width = parseInt(((to.height - double_padding) * ratio) + double_padding, 10);
735
- }
736
-
737
- } else {
738
- to.width = Math.min(to.width, view[0]);
739
- to.height = Math.min(to.height, view[1]);
740
- }
741
- }
742
-
743
- to.top = parseInt(Math.max(view[3] - 20, view[3] + ((view[1] - to.height - 40) * 0.5)), 10);
744
- to.left = parseInt(Math.max(view[2] - 20, view[2] + ((view[0] - to.width - 40) * 0.5)), 10);
745
-
746
- return to;
747
- },
748
-
749
- _get_obj_pos = function(obj) {
750
- var pos = obj.offset();
751
-
752
- pos.top += parseInt( obj.css('paddingTop'), 10 ) || 0;
753
- pos.left += parseInt( obj.css('paddingLeft'), 10 ) || 0;
754
-
755
- pos.top += parseInt( obj.css('border-top-width'), 10 ) || 0;
756
- pos.left += parseInt( obj.css('border-left-width'), 10 ) || 0;
757
-
758
- pos.width = obj.width();
759
- pos.height = obj.height();
760
-
761
- return pos;
762
- },
763
-
764
- _get_zoom_from = function() {
765
- var orig = selectedOpts.orig ? $(selectedOpts.orig) : false,
766
- from = {},
767
- pos,
768
- view;
769
-
770
- if (orig && orig.length) {
771
- pos = _get_obj_pos(orig);
772
-
773
- from = {
774
- width : pos.width + (currentOpts.padding * 2),
775
- height : pos.height + (currentOpts.padding * 2),
776
- top : pos.top - currentOpts.padding - 20,
777
- left : pos.left - currentOpts.padding - 20
778
- };
779
-
780
- } else {
781
- view = _get_viewport();
782
-
783
- from = {
784
- width : currentOpts.padding * 2,
785
- height : currentOpts.padding * 2,
786
- top : parseInt(view[3] + view[1] * 0.5, 10),
787
- left : parseInt(view[2] + view[0] * 0.5, 10)
788
- };
789
- }
790
-
791
- return from;
792
- },
793
-
794
- _animate_loading = function() {
795
- if (!loading.is(':visible')){
796
- clearInterval(loadingTimer);
797
- return;
798
- }
799
-
800
- $('div', loading).css('top', (loadingFrame * -40) + 'px');
801
-
802
- loadingFrame = (loadingFrame + 1) % 12;
803
- };
804
-
805
- /*
806
- * Public methods
807
- */
808
-
809
- $.fn.fancybox = function(options) {
810
- if (!$(this).length) {
811
- return this;
812
- }
813
-
814
- $(this)
815
- .data('fancybox', $.extend({}, options, ($.metadata ? $(this).metadata() : {})))
816
- .unbind('click.fb')
817
- .bind('click.fb', function(e) {
818
- e.preventDefault();
819
-
820
- if (busy) {
821
- return;
822
- }
823
-
824
- busy = true;
825
-
826
- $(this).blur();
827
-
828
- selectedArray = [];
829
- selectedIndex = 0;
830
-
831
- var rel = $(this).attr('rel') || '';
832
-
833
- if (!rel || rel == '' || rel === 'nofollow') {
834
- selectedArray.push(this);
835
- } else {
836
- selectedArray = $('a[rel="'+rel+'"], area[rel="'+rel+'"]');
837
- selectedIndex = selectedArray.index(this);
838
- }
839
-
840
- _start();
841
-
842
- return;
843
- });
844
-
845
- return this;
846
- };
847
-
848
- $.fancybox = function(obj) {
849
- var opts;
850
-
851
- if (busy) {
852
- return;
853
- }
854
-
855
- busy = true;
856
- opts = typeof arguments[1] !== 'undefined' ? arguments[1] : {};
857
-
858
- selectedArray = [];
859
- selectedIndex = parseInt(opts.index, 10) || 0;
860
-
861
- if ($.isArray(obj)) {
862
- for (var i = 0, j = obj.length; i < j; i++) {
863
- if (typeof obj[i] == 'object') {
864
- $(obj[i]).data('fancybox', $.extend({}, opts, obj[i]));
865
- } else {
866
- obj[i] = $({}).data('fancybox', $.extend({content : obj[i]}, opts));
867
- }
868
- }
869
-
870
- selectedArray = jQuery.merge(selectedArray, obj);
871
-
872
- } else {
873
- if (typeof obj == 'object') {
874
- $(obj).data('fancybox', $.extend({}, opts, obj));
875
- } else {
876
- obj = $({}).data('fancybox', $.extend({content : obj}, opts));
877
- }
878
-
879
- selectedArray.push(obj);
880
- }
881
-
882
- if (selectedIndex > selectedArray.length || selectedIndex < 0) {
883
- selectedIndex = 0;
884
- }
885
-
886
- _start();
887
- };
888
-
889
- $.fancybox.showActivity = function() {
890
- clearInterval(loadingTimer);
891
-
892
- loading.show();
893
- loadingTimer = setInterval(_animate_loading, 66);
894
- };
895
-
896
- $.fancybox.hideActivity = function() {
897
- loading.hide();
898
- };
899
-
900
- $.fancybox.next = function() {
901
- return $.fancybox.pos( currentIndex + 1);
902
- };
903
-
904
- $.fancybox.prev = function() {
905
- return $.fancybox.pos( currentIndex - 1);
906
- };
907
-
908
- $.fancybox.pos = function(pos) {
909
- if (busy) {
910
- return;
911
- }
912
-
913
- pos = parseInt(pos);
914
-
915
- selectedArray = currentArray;
916
-
917
- if (pos > -1 && pos < currentArray.length) {
918
- selectedIndex = pos;
919
- _start();
920
-
921
- } else if (currentOpts.cyclic && currentArray.length > 1) {
922
- selectedIndex = pos >= currentArray.length ? 0 : currentArray.length - 1;
923
- _start();
924
- }
925
-
926
- return;
927
- };
928
-
929
- $.fancybox.cancel = function() {
930
- if (busy) {
931
- return;
932
- }
933
-
934
- busy = true;
935
-
936
- $.event.trigger('fancybox-cancel');
937
-
938
- _abort();
939
-
940
- selectedOpts.onCancel(selectedArray, selectedIndex, selectedOpts);
941
-
942
- busy = false;
943
- };
944
-
945
- // Note: within an iframe use - parent.$.fancybox.close();
946
- $.fancybox.close = function() {
947
- if (busy || wrap.is(':hidden')) {
948
- return;
949
- }
950
-
951
- busy = true;
952
-
953
- if (currentOpts && false === currentOpts.onCleanup(currentArray, currentIndex, currentOpts)) {
954
- busy = false;
955
- return;
956
- }
957
-
958
- _abort();
959
-
960
- $(close.add( nav_left ).add( nav_right )).hide();
961
-
962
- $(content.add( overlay )).unbind();
963
-
964
- $(window).unbind("resize.fb scroll.fb");
965
- $(document).unbind('keydown.fb');
966
-
967
- content.find('iframe').attr('src', isIE6 && /^https/i.test(window.location.href || '') ? 'javascript:void(false)' : 'about:blank');
968
-
969
- if (currentOpts.titlePosition !== 'inside') {
970
- title.empty();
971
- }
972
-
973
- wrap.stop();
974
-
975
- function _cleanup() {
976
- overlay.fadeOut('fast');
977
-
978
- title.empty().hide();
979
- wrap.hide();
980
-
981
- $.event.trigger('fancybox-cleanup');
982
-
983
- content.empty();
984
-
985
- currentOpts.onClosed(currentArray, currentIndex, currentOpts);
986
-
987
- currentArray = selectedOpts = [];
988
- currentIndex = selectedIndex = 0;
989
- currentOpts = selectedOpts = {};
990
-
991
- busy = false;
992
- }
993
-
994
- if (currentOpts.transitionOut == 'elastic') {
995
- start_pos = _get_zoom_from();
996
-
997
- var pos = wrap.position();
998
-
999
- final_pos = {
1000
- top : pos.top ,
1001
- left : pos.left,
1002
- width : wrap.width(),
1003
- height : wrap.height()
1004
- };
1005
-
1006
- if (currentOpts.opacity) {
1007
- final_pos.opacity = 1;
1008
- }
1009
-
1010
- title.empty().hide();
1011
-
1012
- fx.prop = 1;
1013
-
1014
- $(fx).animate({ prop: 0 }, {
1015
- duration : currentOpts.speedOut,
1016
- easing : currentOpts.easingOut,
1017
- step : _draw,
1018
- complete : _cleanup
1019
- });
1020
-
1021
- } else {
1022
- wrap.fadeOut( currentOpts.transitionOut == 'none' ? 0 : currentOpts.speedOut, _cleanup);
1023
- }
1024
- };
1025
-
1026
- $.fancybox.resize = function() {
1027
- if (overlay.is(':visible')) {
1028
- overlay.css('height', $(document).height());
1029
- }
1030
-
1031
- $.fancybox.center(true);
1032
- };
1033
-
1034
- $.fancybox.center = function() {
1035
- var view, align;
1036
-
1037
- if (busy) {
1038
- return;
1039
- }
1040
-
1041
- align = arguments[0] === true ? 1 : 0;
1042
- view = _get_viewport();
1043
-
1044
- if (!align && (wrap.width() > view[0] || wrap.height() > view[1])) {
1045
- return;
1046
- }
1047
-
1048
- wrap
1049
- .stop()
1050
- .animate({
1051
- 'top' : parseInt(Math.max(view[3] - 20, view[3] + ((view[1] - content.height() - 40) * 0.5) - currentOpts.padding)),
1052
- 'left' : parseInt(Math.max(view[2] - 20, view[2] + ((view[0] - content.width() - 40) * 0.5) - currentOpts.padding))
1053
- }, typeof arguments[0] == 'number' ? arguments[0] : 200);
1054
- };
1055
-
1056
- $.fancybox.init = function() {
1057
- if ($("#fancybox-wrap").length) {
1058
- return;
1059
- }
1060
-
1061
- $('body').append(
1062
- tmp = $('<div id="fancybox-tmp"></div>'),
1063
- loading = $('<div id="fancybox-loading"><div></div></div>'),
1064
- overlay = $('<div id="fancybox-overlay"></div>'),
1065
- wrap = $('<div id="fancybox-wrap"></div>')
1066
- );
1067
-
1068
- outer = $('<div id="fancybox-outer"></div>')
1069
- .append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>')
1070
- .appendTo( wrap );
1071
-
1072
- outer.append(
1073
- content = $('<div id="fancybox-content"></div>'),
1074
- close = $('<a id="fancybox-close"></a>'),
1075
- title = $('<div id="fancybox-title"></div>'),
1076
-
1077
- nav_left = $('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),
1078
- nav_right = $('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>')
1079
- );
1080
-
1081
- close.click($.fancybox.close);
1082
- loading.click($.fancybox.cancel);
1083
-
1084
- nav_left.click(function(e) {
1085
- e.preventDefault();
1086
- $.fancybox.prev();
1087
- });
1088
-
1089
- nav_right.click(function(e) {
1090
- e.preventDefault();
1091
- $.fancybox.next();
1092
- });
1093
-
1094
- if ($.fn.mousewheel) {
1095
- wrap.bind('mousewheel.fb', function(e, delta) {
1096
- if (busy) {
1097
- e.preventDefault();
1098
-
1099
- } else if ($(e.target).get(0).clientHeight == 0 || $(e.target).get(0).scrollHeight === $(e.target).get(0).clientHeight) {
1100
- e.preventDefault();
1101
- $.fancybox[ delta > 0 ? 'prev' : 'next']();
1102
- }
1103
- });
1104
- }
1105
-
1106
- if (!$.support.opacity) {
1107
- wrap.addClass('fancybox-ie');
1108
- }
1109
-
1110
- if (isIE6) {
1111
- loading.addClass('fancybox-ie6');
1112
- wrap.addClass('fancybox-ie6');
1113
-
1114
- $('<iframe id="fancybox-hide-sel-frame" src="' + (/^https/i.test(window.location.href || '') ? 'javascript:void(false)' : 'about:blank' ) + '" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(outer);
1115
- }
1116
- };
1117
-
1118
- $.fn.fancybox.defaults = {
1119
- padding : 10,
1120
- margin : 40,
1121
- opacity : false,
1122
- modal : false,
1123
- cyclic : false,
1124
- scrolling : 'auto', // 'auto', 'yes' or 'no'
1125
-
1126
- width : 560,
1127
- height : 340,
1128
-
1129
- autoScale : true,
1130
- autoDimensions : true,
1131
- centerOnScroll : false,
1132
-
1133
- ajax : {},
1134
- swf : { wmode: 'transparent' },
1135
-
1136
- hideOnOverlayClick : true,
1137
- hideOnContentClick : false,
1138
-
1139
- overlayShow : true,
1140
- overlayOpacity : 0.7,
1141
- overlayColor : '#777',
1142
-
1143
- titleShow : true,
1144
- titlePosition : 'float', // 'float', 'outside', 'inside' or 'over'
1145
- titleFormat : null,
1146
- titleFromAlt : false,
1147
-
1148
- transitionIn : 'fade', // 'elastic', 'fade' or 'none'
1149
- transitionOut : 'fade', // 'elastic', 'fade' or 'none'
1150
-
1151
- speedIn : 300,
1152
- speedOut : 300,
1153
-
1154
- changeSpeed : 300,
1155
- changeFade : 'fast',
1156
-
1157
- easingIn : 'swing',
1158
- easingOut : 'swing',
1159
-
1160
- showCloseButton : true,
1161
- showNavArrows : true,
1162
- enableEscapeButton : true,
1163
- enableKeyboardNav : true,
1164
-
1165
- onStart : function(){},
1166
- onCancel : function(){},
1167
- onComplete : function(){},
1168
- onCleanup : function(){},
1169
- onClosed : function(){},
1170
- onError : function(){}
1171
- };
1172
-
1173
- $(document).ready(function() {
1174
- $.fancybox.init();
1175
- });
1176
-
1177
  })(jQuery);
1
+ /*
2
+ * FancyBox - jQuery Plugin
3
+ * Simple and fancy lightbox alternative
4
+ *
5
+ * Examples and documentation at: http://fancybox.net
6
+ *
7
+ * Copyright (c) 2008 - 2010 Janis Skarnelis
8
+ * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
9
+ *
10
+ * Version: 1.3.4 (11/11/2010)
11
+ * Requires: jQuery v1.3+
12
+ *
13
+ * Dual licensed under the MIT and GPL licenses:
14
+ * http://www.opensource.org/licenses/mit-license.php
15
+ * http://www.gnu.org/licenses/gpl.html
16
+ */
17
+
18
+ ;(function($) {
19
+ var tmp, loading, overlay, wrap, outer, content, close, title, nav_left, nav_right,
20
+
21
+ videoToShow = '',
22
+
23
+ selectedIndex = 0, selectedOpts = {}, selectedArray = [], currentIndex = 0, currentOpts = {}, currentArray = [],
24
+
25
+ ajaxLoader = null, imgPreloader = new Image(), imgRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i, swfRegExp = /[^\.]\.(swf)\s*$/i,
26
+
27
+ loadingTimer, loadingFrame = 1,
28
+
29
+ titleHeight = 0, titleStr = '', start_pos, final_pos, busy = false, fx = $.extend($('<div/>')[0], { prop: 0 }),
30
+
31
+ isIE6 = $.browser.msie && $.browser.version < 7 && !window.XMLHttpRequest,
32
+
33
+ /*
34
+ * Private methods
35
+ */
36
+
37
+ _abort = function() {
38
+ loading.hide();
39
+
40
+ imgPreloader.onerror = imgPreloader.onload = null;
41
+
42
+ if (ajaxLoader) {
43
+ ajaxLoader.abort();
44
+ }
45
+
46
+ tmp.empty();
47
+ },
48
+
49
+ _error = function() {
50
+ if (false === selectedOpts.onError(selectedArray, selectedIndex, selectedOpts)) {
51
+ loading.hide();
52
+ busy = false;
53
+ return;
54
+ }
55
+
56
+ selectedOpts.titleShow = false;
57
+
58
+ selectedOpts.width = 'auto';
59
+ selectedOpts.height = 'auto';
60
+
61
+ tmp.html( '<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>' );
62
+
63
+ _process_inline();
64
+ },
65
+
66
+ _is_video = function(videoURL) {
67
+ var matchesYoutube = videoURL.match(/(?:(?:http|https):\/\/)?(?:www\.)?youtube.com\/watch\?v=([a-zA-Z0-9\-_]+)/);
68
+
69
+ if(matchesYoutube) {
70
+ videoToShow = 'http://www.youtube.com/embed/'+matchesYoutube[1];
71
+ return true;
72
+ }
73
+
74
+ var matchesVimeo = videoURL.match(/(?:(?:http|https):\/\/)?(?:www\.)?vimeo.com\/([0-9]+)/);
75
+
76
+ if (matchesVimeo){
77
+ videoToShow = 'http://player.vimeo.com/video/'+matchesVimeo[1];
78
+ return true;
79
+ }
80
+
81
+ return false;
82
+ },
83
+
84
+ _start = function() {
85
+ var obj = selectedArray[ selectedIndex ],
86
+ href,
87
+ type,
88
+ title,
89
+ str,
90
+ emb,
91
+ ret;
92
+
93
+ _abort();
94
+
95
+ selectedOpts = $.extend({}, $.fn.fancybox.defaults, (typeof $(obj).data('fancybox') == 'undefined' ? selectedOpts : $(obj).data('fancybox')));
96
+
97
+ ret = selectedOpts.onStart(selectedArray, selectedIndex, selectedOpts);
98
+
99
+ if (ret === false) {
100
+ busy = false;
101
+ return;
102
+ } else if (typeof ret == 'object') {
103
+ selectedOpts = $.extend(selectedOpts, ret);
104
+ }
105
+
106
+ title = selectedOpts.title || (obj.nodeName ? $(obj).attr('title') : obj.title) || '';
107
+
108
+ if (obj.nodeName && !selectedOpts.orig) {
109
+ selectedOpts.orig = $(obj).children("img:first").length ? $(obj).children("img:first") : $(obj);
110
+ }
111
+
112
+ if (title === '' && selectedOpts.orig && selectedOpts.titleFromAlt) {
113
+ title = selectedOpts.orig.attr('alt');
114
+ }
115
+
116
+ href = selectedOpts.href || (obj.nodeName ? $(obj).attr('href') : obj.href) || null;
117
+
118
+ if ((/^(?:javascript)/i).test(href) || href == '#') {
119
+ href = null;
120
+ }
121
+
122
+ if (selectedOpts.type) {
123
+ type = selectedOpts.type;
124
+
125
+ if (!href) {
126
+ href = selectedOpts.content;
127
+ }
128
+
129
+ } else if (selectedOpts.content) {
130
+ type = 'html';
131
+
132
+ } else if (href) {
133
+ if (href.match(imgRegExp)) {
134
+ type = 'image';
135
+
136
+ } else if (href.match(swfRegExp)) {
137
+ type = 'swf';
138
+
139
+ } else if ($(obj).hasClass('iframe') || _is_video($(obj).attr('href'))) {
140
+ type = 'iframe';
141
+
142
+ } else if (href.indexOf("#") === 0) {
143
+ type = 'inline';
144
+
145
+ } else {
146
+ type = 'ajax';
147
+ }
148
+ }
149
+
150
+ if (!type) {
151
+ _error();
152
+ return;
153
+ }
154
+
155
+ if (type == 'inline') {
156
+ obj = href.substr(href.indexOf("#"));
157
+ type = $(obj).length > 0 ? 'inline' : 'ajax';
158
+ }
159
+
160
+ selectedOpts.type = type;
161
+ selectedOpts.href = href;
162
+ selectedOpts.title = title;
163
+
164
+ if (selectedOpts.autoDimensions) {
165
+ if (selectedOpts.type == 'html' || selectedOpts.type == 'inline' || selectedOpts.type == 'ajax') {
166
+ selectedOpts.width = 'auto';
167
+ selectedOpts.height = 'auto';
168
+ } else {
169
+ selectedOpts.autoDimensions = false;
170
+ }
171
+ }
172
+
173
+ if (selectedOpts.modal) {
174
+ selectedOpts.overlayShow = true;
175
+ selectedOpts.hideOnOverlayClick = false;
176
+ selectedOpts.hideOnContentClick = false;
177
+ selectedOpts.enableEscapeButton = false;
178
+ selectedOpts.showCloseButton = false;
179
+ }
180
+
181
+ selectedOpts.padding = parseInt(selectedOpts.padding, 10);
182
+ selectedOpts.margin = parseInt(selectedOpts.margin, 10);
183
+
184
+ tmp.css('padding', (selectedOpts.padding + selectedOpts.margin));
185
+
186
+ $('.fancybox-inline-tmp').unbind('fancybox-cancel').bind('fancybox-change', function() {
187
+ $(this).replaceWith(content.children());
188
+ });
189
+
190
+ switch (type) {
191
+ case 'html' :
192
+ tmp.html( selectedOpts.content );
193
+ _process_inline();
194
+ break;
195
+
196
+ case 'inline' :
197
+ if ( $(obj).parent().is('#fancybox-content') === true) {
198
+ busy = false;
199
+ return;
200
+ }
201
+
202
+ $('<div class="fancybox-inline-tmp" />')
203
+ .hide()
204
+ .insertBefore( $(obj) )
205
+ .bind('fancybox-cleanup', function() {
206
+ $(this).replaceWith(content.children());
207
+ }).bind('fancybox-cancel', function() {
208
+ $(this).replaceWith(tmp.children());
209
+ });
210
+
211
+ $(obj).appendTo(tmp);
212
+
213
+ _process_inline();
214
+ break;
215
+
216
+ case 'image':
217
+ busy = false;
218
+
219
+ $.fancybox.showActivity();
220
+
221
+ imgPreloader = new Image();
222
+
223
+ imgPreloader.onerror = function() {
224
+ _error();
225
+ };
226
+
227
+ imgPreloader.onload = function() {
228
+ busy = true;
229
+
230
+ imgPreloader.onerror = imgPreloader.onload = null;
231
+
232
+ _process_image();
233
+ };
234
+
235
+ imgPreloader.src = href;
236
+ break;
237
+
238
+ case 'swf':
239
+ selectedOpts.scrolling = 'no';
240
+
241
+ str = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + selectedOpts.width + '" height="' + selectedOpts.height + '"><param name="movie" value="' + href + '"></param>';
242
+ emb = '';
243
+
244
+ $.each(selectedOpts.swf, function(name, val) {
245
+ str += '<param name="' + name + '" value="' + val + '"></param>';
246
+ emb += ' ' + name + '="' + val + '"';
247
+ });
248
+
249
+ str += '<embed src="' + href + '" type="application/x-shockwave-flash" width="' + selectedOpts.width + '" height="' + selectedOpts.height + '"' + emb + '></embed></object>';
250
+
251
+ tmp.html(str);
252
+
253
+ _process_inline();
254
+ break;
255
+
256
+ case 'ajax':
257
+ busy = false;
258
+
259
+ $.fancybox.showActivity();
260
+
261
+ selectedOpts.ajax.win = selectedOpts.ajax.success;
262
+
263
+ ajaxLoader = $.ajax($.extend({}, selectedOpts.ajax, {
264
+ url : href,
265
+ data : selectedOpts.ajax.data || {},
266
+ error : function(XMLHttpRequest, textStatus, errorThrown) {
267
+ if ( XMLHttpRequest.status > 0 ) {
268
+ _error();
269
+ }
270
+ },
271
+ success : function(data, textStatus, XMLHttpRequest) {
272
+ var o = typeof XMLHttpRequest == 'object' ? XMLHttpRequest : ajaxLoader;
273
+ if (o.status == 200) {
274
+ if ( typeof selectedOpts.ajax.win == 'function' ) {
275
+ ret = selectedOpts.ajax.win(href, data, textStatus, XMLHttpRequest);
276
+
277
+ if (ret === false) {
278
+ loading.hide();
279
+ return;
280
+ } else if (typeof ret == 'string' || typeof ret == 'object') {
281
+ data = ret;
282
+ }
283
+ }
284
+
285
+ tmp.html( data );
286
+ _process_inline();
287
+ }
288
+ }
289
+ }));
290
+
291
+ break;
292
+
293
+ case 'iframe':
294
+ _show();
295
+ break;
296
+ }
297
+ },
298
+
299
+ _process_inline = function() {
300
+ var
301
+ w = selectedOpts.width,
302
+ h = selectedOpts.height;
303
+
304
+ if (w.toString().indexOf('%') > -1) {
305
+ w = parseInt( ($(window).width() - (selectedOpts.margin * 2)) * parseFloat(w) / 100, 10) + 'px';
306
+
307
+ } else {
308
+ w = w == 'auto' ? 'auto' : w + 'px';
309
+ }
310
+
311
+ if (h.toString().indexOf('%') > -1) {
312
+ h = parseInt( ($(window).height() - (selectedOpts.margin * 2)) * parseFloat(h) / 100, 10) + 'px';
313
+
314
+ } else {
315
+ h = h == 'auto' ? 'auto' : h + 'px';
316
+ }
317
+
318
+ tmp.wrapInner('<div style="width:' + w + ';height:' + h + ';overflow: ' + (selectedOpts.scrolling == 'auto' ? 'auto' : (selectedOpts.scrolling == 'yes' ? 'scroll' : 'hidden')) + ';position:relative;"></div>');
319
+
320
+ selectedOpts.width = tmp.width();
321
+ selectedOpts.height = tmp.height();
322
+
323
+ _show();
324
+ },
325
+
326
+ _process_image = function() {
327
+ selectedOpts.width = imgPreloader.width;
328
+ selectedOpts.height = imgPreloader.height;
329
+
330
+ $("<img />").attr({
331
+ 'id' : 'fancybox-img',
332
+ 'src' : imgPreloader.src,
333
+ 'alt' : selectedOpts.title
334
+ }).appendTo( tmp );
335
+
336
+ _show();
337
+ },
338
+
339
+ _show = function() {
340
+ var pos, equal;
341
+
342
+ loading.hide();
343
+
344
+ if (wrap.is(":visible") && false === currentOpts.onCleanup(currentArray, currentIndex, currentOpts)) {
345
+ $.event.trigger('fancybox-cancel');
346
+
347
+ busy = false;
348
+ return;
349
+ }
350
+
351
+ busy = true;
352
+
353
+ $(content.add( overlay )).unbind();
354
+
355
+ $(window).unbind("resize.fb scroll.fb");
356
+ $(document).unbind('keydown.fb');
357
+
358
+ if (wrap.is(":visible") && currentOpts.titlePosition !== 'outside') {
359
+ wrap.css('height', wrap.height());
360
+ }
361
+
362
+ currentArray = selectedArray;
363
+ currentIndex = selectedIndex;
364
+ currentOpts = selectedOpts;
365
+
366
+ if (currentOpts.overlayShow) {
367
+ overlay.css({
368
+ 'background-color' : currentOpts.overlayColor,
369
+ 'opacity' : currentOpts.overlayOpacity,
370
+ 'cursor' : currentOpts.hideOnOverlayClick ? 'pointer' : 'auto',
371
+ 'height' : $(document).height()
372
+ });
373
+
374
+ if (!overlay.is(':visible')) {
375
+ if (isIE6) {
376
+ $('select:not(#fancybox-tmp select)').filter(function() {
377
+ return this.style.visibility !== 'hidden';
378
+ }).css({'visibility' : 'hidden'}).one('fancybox-cleanup', function() {
379
+ this.style.visibility = 'inherit';
380
+ });
381
+ }
382
+
383
+ overlay.show();
384
+ }
385
+ } else {
386
+ overlay.hide();
387
+ }
388
+
389
+ final_pos = _get_zoom_to();
390
+
391
+ _process_title();
392
+
393
+ if (wrap.is(":visible")) {
394
+ $( close.add( nav_left ).add( nav_right ) ).hide();
395
+
396
+ pos = wrap.position(),
397
+
398
+ start_pos = {
399
+ top : pos.top,
400
+ left : pos.left,
401
+ width : wrap.width(),
402
+ height : wrap.height()
403
+ };
404
+
405
+ equal = (start_pos.width == final_pos.width && start_pos.height == final_pos.height);
406
+
407
+ content.fadeTo(currentOpts.changeFade, 0.3, function() {
408
+ var finish_resizing = function() {
409
+ content.html( tmp.contents() ).fadeTo(currentOpts.changeFade, 1, _finish);
410
+ };
411
+
412
+ $.event.trigger('fancybox-change');
413
+
414
+ content
415
+ .empty()
416
+ .removeAttr('filter')
417
+ .css({
418
+ 'border-width' : currentOpts.padding,
419
+ 'width' : final_pos.width - currentOpts.padding * 2,
420
+ 'height' : selectedOpts.autoDimensions ? 'auto' : final_pos.height - titleHeight - currentOpts.padding * 2
421
+ });
422
+
423
+ if (equal) {
424
+ finish_resizing();
425
+
426
+ } else {
427
+ fx.prop = 0;
428
+
429
+ $(fx).animate({prop: 1}, {
430
+ duration : currentOpts.changeSpeed,
431
+ easing : currentOpts.easingChange,
432
+ step : _draw,
433
+ complete : finish_resizing
434
+ });
435
+ }
436
+ });
437
+
438
+ return;
439
+ }
440
+
441
+ wrap.removeAttr("style");
442
+
443
+ content.css('border-width', currentOpts.padding);
444
+
445
+ if (currentOpts.transitionIn == 'elastic') {
446
+ start_pos = _get_zoom_from();
447
+
448
+ content.html( tmp.contents() );
449
+
450
+ wrap.show();
451
+
452
+ if (currentOpts.opacity) {
453
+ final_pos.opacity = 0;
454
+ }
455
+
456
+ fx.prop = 0;
457
+
458
+ $(fx).animate({prop: 1}, {
459
+ duration : currentOpts.speedIn,
460
+ easing : currentOpts.easingIn,
461
+ step : _draw,
462
+ complete : _finish
463
+ });
464
+
465
+ return;
466
+ }
467
+
468
+ if (currentOpts.titlePosition == 'inside' && titleHeight > 0) {
469
+ title.show();
470
+ }
471
+
472
+ content
473
+ .css({
474
+ 'width' : final_pos.width - currentOpts.padding * 2,
475
+ 'height' : selectedOpts.autoDimensions ? 'auto' : final_pos.height - titleHeight - currentOpts.padding * 2
476
+ })
477
+ .html( tmp.contents() );
478
+
479
+ wrap
480
+ .css(final_pos)
481
+ .fadeIn( currentOpts.transitionIn == 'none' ? 0 : currentOpts.speedIn, _finish );
482
+ },
483
+
484
+ _format_title = function(title) {
485
+ if (title && title.length) {
486
+ if (currentOpts.titlePosition == 'float') {
487
+ return '<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">' + title + '</td><td id="fancybox-title-float-right"></td></tr></table>';
488
+ }
489
+
490
+ return '<div id="fancybox-title-' + currentOpts.titlePosition + '">' + title + '</div>';
491
+ }
492
+
493
+ return false;
494
+ },
495
+
496
+ _process_title = function() {
497
+ titleStr = currentOpts.title || '';
498
+ titleHeight = 0;
499
+
500
+ title
501
+ .empty()
502
+ .removeAttr('style')
503
+ .removeClass();
504
+
505
+ if (currentOpts.titleShow === false) {
506
+ title.hide();
507
+ return;
508
+ }
509
+
510
+ titleStr = $.isFunction(currentOpts.titleFormat) ? currentOpts.titleFormat(titleStr, currentArray, currentIndex, currentOpts) : _format_title(titleStr);
511
+
512
+ if (!titleStr || titleStr === '') {
513
+ title.hide();
514
+ return;
515
+ }
516
+
517
+ title
518
+ .addClass('fancybox-title-' + currentOpts.titlePosition)
519
+ .html( titleStr )
520
+ .appendTo( 'body' )
521
+ .show();
522
+
523
+ switch (currentOpts.titlePosition) {
524
+ case 'inside':
525
+ title
526
+ .css({
527
+ 'width' : final_pos.width - (currentOpts.padding * 2),
528
+ 'marginLeft' : currentOpts.padding,
529
+ 'marginRight' : currentOpts.padding
530
+ });
531
+
532
+ titleHeight = title.outerHeight(true);
533
+
534
+ title.appendTo( outer );
535
+
536
+ final_pos.height += titleHeight;
537
+ break;
538
+
539
+ case 'over':
540
+ title
541
+ .css({
542
+ 'marginLeft' : currentOpts.padding,
543
+ 'width' : final_pos.width - (currentOpts.padding * 2),
544
+ 'bottom' : currentOpts.padding
545
+ })
546
+ .appendTo( outer );
547
+ break;
548
+
549
+ case 'float':
550
+ title
551
+ .css('left', parseInt((title.width() - final_pos.width - 40)/ 2, 10) * -1)
552
+ .appendTo( wrap );
553
+ break;
554
+
555
+ default:
556
+ title
557
+ .css({
558
+ 'width' : final_pos.width - (currentOpts.padding * 2),
559
+ 'paddingLeft' : currentOpts.padding,
560
+ 'paddingRight' : currentOpts.padding
561
+ })
562
+ .appendTo( wrap );
563
+ break;
564
+ }
565
+
566
+ title.hide();
567
+ },
568
+
569
+ _set_navigation = function() {
570
+ if (currentOpts.enableEscapeButton || currentOpts.enableKeyboardNav) {
571
+ $(document).bind('keydown.fb', function(e) {
572
+ if (e.keyCode == 27 && currentOpts.enableEscapeButton) {
573
+ e.preventDefault();
574
+ $.fancybox.close();
575
+
576
+ } else if ((e.keyCode == 37 || e.keyCode == 39) && currentOpts.enableKeyboardNav && e.target.tagName !== 'INPUT' && e.target.tagName !== 'TEXTAREA' && e.target.tagName !== 'SELECT') {
577
+ e.preventDefault();
578
+ $.fancybox[ e.keyCode == 37 ? 'prev' : 'next']();
579
+ }
580
+ });
581
+ }
582
+
583
+ if (!currentOpts.showNavArrows) {
584
+ nav_left.hide();
585
+ nav_right.hide();
586
+ return;
587
+ }
588
+
589
+ if ((currentOpts.cyclic && currentArray.length > 1) || currentIndex !== 0) {
590
+ nav_left.show();
591
+ }
592
+
593
+ if ((currentOpts.cyclic && currentArray.length > 1) || currentIndex != (currentArray.length -1)) {
594
+ nav_right.show();
595
+ }
596
+ },
597
+
598
+ _finish = function () {
599
+ if (!$.support.opacity) {
600
+ content.get(0).style.removeAttribute('filter');
601
+ wrap.get(0).style.removeAttribute('filter');
602
+ }
603
+
604
+ if (selectedOpts.autoDimensions) {
605
+ content.css('height', 'auto');
606
+ }
607
+
608
+ wrap.css('height', 'auto');
609
+
610
+ if (titleStr && titleStr.length) {
611
+ title.show();
612
+ }
613
+
614
+ if (currentOpts.showCloseButton) {
615
+ close.show();
616
+ }
617
+
618
+ _set_navigation();
619
+
620
+ if (currentOpts.hideOnContentClick) {
621
+ content.bind('click', $.fancybox.close);
622
+ }
623
+
624
+ if (currentOpts.hideOnOverlayClick) {
625
+ overlay.bind('click', $.fancybox.close);
626
+ }
627
+
628
+ $(window).bind("resize.fb", $.fancybox.resize);
629
+
630
+ if (currentOpts.centerOnScroll) {
631
+ $(window).bind("scroll.fb", $.fancybox.center);
632
+ }
633
+
634
+ if (currentOpts.type == 'iframe') {
635
+ $('<iframe id="fancybox-frame" name="fancybox-frame' + new Date().getTime() + '" frameborder="0" hspace="0" ' + ($.browser.msie ? 'allowtransparency="true""' : '') + ' scrolling="' + selectedOpts.scrolling + '" src="' + (videoToShow !== '' ? videoToShow : currentOpts.href) + '"></iframe>').appendTo(content);
636
+
637
+ videoToShow = ''
638
+ }
639
+
640
+ wrap.show();
641
+
642
+ busy = false;
643
+
644
+ $.fancybox.center();
645
+
646
+ currentOpts.onComplete(currentArray, currentIndex, currentOpts);
647
+
648
+ _preload_images();
649
+ },
650
+
651
+ _preload_images = function() {
652
+ var href,
653
+ objNext;
654
+
655
+ if ((currentArray.length -1) > currentIndex) {
656
+ href = currentArray[ currentIndex + 1 ].href;
657
+
658
+ if (typeof href !== 'undefined' && href.match(imgRegExp)) {
659
+ objNext = new Image();
660
+ objNext.src = href;
661
+ }
662
+ }
663
+
664
+ if (currentIndex > 0) {
665
+ href = currentArray[ currentIndex - 1 ].href;
666
+
667
+ if (typeof href !== 'undefined' && href.match(imgRegExp)) {
668
+ objNext = new Image();
669
+ objNext.src = href;
670
+ }
671
+ }
672
+ },
673
+
674
+ _draw = function(pos) {
675
+ var dim = {
676
+ width : parseInt(start_pos.width + (final_pos.width - start_pos.width) * pos, 10),
677
+ height : parseInt(start_pos.height + (final_pos.height - start_pos.height) * pos, 10),
678
+
679
+ top : parseInt(start_pos.top + (final_pos.top - start_pos.top) * pos, 10),
680
+ left : parseInt(start_pos.left + (final_pos.left - start_pos.left) * pos, 10)
681
+ };
682
+
683
+ if (typeof final_pos.opacity !== 'undefined') {
684
+ dim.opacity = pos < 0.5 ? 0.5 : pos;
685
+ }
686
+
687
+ wrap.css(dim);
688
+
689
+ content.css({
690
+ 'width' : dim.width - currentOpts.padding * 2,
691
+ 'height' : dim.height - (titleHeight * pos) - currentOpts.padding * 2
692
+ });
693
+ },
694
+
695
+ _get_viewport = function() {
696
+ return [
697
+ $(window).width() - (currentOpts.margin * 2),
698
+ $(window).height() - (currentOpts.margin * 2),
699
+ $(document).scrollLeft() + currentOpts.margin,
700
+ $(document).scrollTop() + currentOpts.margin
701
+ ];
702
+ },
703
+
704
+ _get_zoom_to = function () {
705
+ var view = _get_viewport(),
706
+ to = {},
707
+ resize = currentOpts.autoScale,
708
+ double_padding = currentOpts.padding * 2,
709
+ ratio;
710
+
711
+ if (currentOpts.width.toString().indexOf('%') > -1) {
712
+ to.width = parseInt((view[0] * parseFloat(currentOpts.width)) / 100, 10);
713
+ } else {
714
+ to.width = currentOpts.width + double_padding;
715
+ }
716
+
717
+ if (currentOpts.height.toString().indexOf('%') > -1) {
718
+ to.height = parseInt((view[1] * parseFloat(currentOpts.height)) / 100, 10);
719
+ } else {
720
+ to.height = currentOpts.height + double_padding;
721
+ }
722
+
723
+ if (resize && (to.width > view[0] || to.height > view[1])) {
724
+ if (selectedOpts.type == 'image' || selectedOpts.type == 'swf') {
725
+ ratio = (currentOpts.width ) / (currentOpts.height );
726
+
727
+ if ((to.width ) > view[0]) {
728
+ to.width = view[0];
729
+ to.height = parseInt(((to.width - double_padding) / ratio) + double_padding, 10);
730
+ }
731
+
732
+ if ((to.height) > view[1]) {
733
+ to.height = view[1];
734
+ to.width = parseInt(((to.height - double_padding) * ratio) + double_padding, 10);
735
+ }
736
+
737
+ } else {
738
+ to.width = Math.min(to.width, view[0]);
739
+ to.height = Math.min(to.height, view[1]);
740
+ }
741
+ }
742
+
743
+ to.top = parseInt(Math.max(view[3] - 20, view[3] + ((view[1] - to.height - 40) * 0.5)), 10);
744
+ to.left = parseInt(Math.max(view[2] - 20, view[2] + ((view[0] - to.width - 40) * 0.5)), 10);
745
+
746
+ return to;
747
+ },
748
+
749
+ _get_obj_pos = function(obj) {
750
+ var pos = obj.offset();
751
+
752
+ pos.top += parseInt( obj.css('paddingTop'), 10 ) || 0;
753
+ pos.left += parseInt( obj.css('paddingLeft'), 10 ) || 0;
754
+
755
+ pos.top += parseInt( obj.css('border-top-width'), 10 ) || 0;
756
+ pos.left += parseInt( obj.css('border-left-width'), 10 ) || 0;
757
+
758
+ pos.width = obj.width();
759
+ pos.height = obj.height();
760
+
761
+ return pos;
762
+ },
763
+
764
+ _get_zoom_from = function() {
765
+ var orig = selectedOpts.orig ? $(selectedOpts.orig) : false,
766
+ from = {},
767
+ pos,
768
+ view;
769
+
770
+ if (orig && orig.length) {
771
+ pos = _get_obj_pos(orig);
772
+
773
+ from = {
774
+ width : pos.width + (currentOpts.padding * 2),
775
+ height : pos.height + (currentOpts.padding * 2),
776
+ top : pos.top - currentOpts.padding - 20,
777
+ left : pos.left - currentOpts.padding - 20
778
+ };
779
+
780
+ } else {
781
+ view = _get_viewport();
782
+
783
+ from = {
784
+ width : currentOpts.padding * 2,
785
+ height : currentOpts.padding * 2,
786
+ top : parseInt(view[3] + view[1] * 0.5, 10),
787
+ left : parseInt(view[2] + view[0] * 0.5, 10)
788
+ };
789
+ }
790
+
791
+ return from;
792
+ },
793
+
794
+ _animate_loading = function() {
795
+ if (!loading.is(':visible')){
796
+ clearInterval(loadingTimer);
797
+ return;
798
+ }
799
+
800
+ $('div', loading).css('top', (loadingFrame * -40) + 'px');
801
+
802
+ loadingFrame = (loadingFrame + 1) % 12;
803
+ };
804
+
805
+ /*
806
+ * Public methods
807
+ */
808
+
809
+ $.fn.fancybox = function(options) {
810
+ if (!$(this).length) {
811
+ return this;
812
+ }
813
+
814
+ $(this)
815
+ .data('fancybox', $.extend({}, options, ($.metadata ? $(this).metadata() : {})))
816
+ .unbind('click.fb')
817
+ .bind('click.fb', function(e) {
818
+ e.preventDefault();
819
+
820
+ if (busy) {
821
+ return;
822
+ }
823
+
824
+ busy = true;
825
+
826
+ $(this).blur();
827
+
828
+ selectedArray = [];
829
+ selectedIndex = 0;
830
+
831
+ var rel = $(this).attr('rel') || '';
832
+
833
+ if (!rel || rel == '' || rel === 'nofollow') {
834
+ selectedArray.push(this);
835
+ } else {
836
+ selectedArray = $('a[rel="'+rel+'"], area[rel="'+rel+'"]');
837
+ selectedIndex = selectedArray.index(this);
838
+ }
839
+
840
+ _start();
841
+
842
+ return;
843
+ });
844
+
845
+ return this;
846
+ };
847
+
848
+ $.fancybox = function(obj) {
849
+ var opts;
850
+
851
+ if (busy) {
852
+ return;
853
+ }
854
+
855
+ busy = true;
856
+ opts = typeof arguments[1] !== 'undefined' ? arguments[1] : {};
857
+
858
+ selectedArray = [];
859
+ selectedIndex = parseInt(opts.index, 10) || 0;
860
+
861
+ if ($.isArray(obj)) {
862
+ for (var i = 0, j = obj.length; i < j; i++) {
863
+ if (typeof obj[i] == 'object') {
864
+ $(obj[i]).data('fancybox', $.extend({}, opts, obj[i]));
865
+ } else {
866
+ obj[i] = $({}).data('fancybox', $.extend({content : obj[i]}, opts));
867
+ }
868
+ }
869
+
870
+ selectedArray = jQuery.merge(selectedArray, obj);
871
+
872
+ } else {
873
+ if (typeof obj == 'object') {
874
+ $(obj).data('fancybox', $.extend({}, opts, obj));
875
+ } else {
876
+ obj = $({}).data('fancybox', $.extend({content : obj}, opts));
877
+ }
878
+
879
+ selectedArray.push(obj);
880
+ }
881
+
882
+ if (selectedIndex > selectedArray.length || selectedIndex < 0) {
883
+ selectedIndex = 0;
884
+ }
885
+
886
+ _start();
887
+ };
888
+
889
+ $.fancybox.showActivity = function() {
890
+ clearInterval(loadingTimer);
891
+
892
+ loading.show();
893
+ loadingTimer = setInterval(_animate_loading, 66);
894
+ };
895
+
896
+ $.fancybox.hideActivity = function() {
897
+ loading.hide();
898
+ };
899
+
900
+ $.fancybox.next = function() {
901
+ return $.fancybox.pos( currentIndex + 1);
902
+ };
903
+
904
+ $.fancybox.prev = function() {
905
+ return $.fancybox.pos( currentIndex - 1);
906
+ };
907
+
908
+ $.fancybox.pos = function(pos) {
909
+ if (busy) {
910
+ return;
911
+ }
912
+
913
+ pos = parseInt(pos);
914
+
915
+ selectedArray = currentArray;
916
+
917
+ if (pos > -1 && pos < currentArray.length) {
918
+ selectedIndex = pos;
919
+ _start();
920
+
921
+ } else if (currentOpts.cyclic && currentArray.length > 1) {
922
+ selectedIndex = pos >= currentArray.length ? 0 : currentArray.length - 1;
923
+ _start();
924
+ }
925
+
926
+ return;
927
+ };
928
+
929
+ $.fancybox.cancel = function() {
930
+ if (busy) {
931
+ return;
932
+ }
933
+
934
+ busy = true;
935
+
936
+ $.event.trigger('fancybox-cancel');
937
+
938
+ _abort();
939
+
940
+ selectedOpts.onCancel(selectedArray, selectedIndex, selectedOpts);
941
+
942
+ busy = false;
943
+ };
944
+
945
+ // Note: within an iframe use - parent.$.fancybox.close();
946
+ $.fancybox.close = function() {
947
+ if (busy || wrap.is(':hidden')) {
948
+ return;
949
+ }
950
+
951
+ busy = true;
952
+
953
+ if (currentOpts && false === currentOpts.onCleanup(currentArray, currentIndex, currentOpts)) {
954
+ busy = false;
955
+ return;
956
+ }
957
+
958
+ _abort();
959
+
960
+ $(close.add( nav_left ).add( nav_right )).hide();
961
+
962
+ $(content.add( overlay )).unbind();
963
+
964
+ $(window).unbind("resize.fb scroll.fb");
965
+ $(document).unbind('keydown.fb');
966
+
967
+ content.find('iframe').attr('src', isIE6 && /^https/i.test(window.location.href || '') ? 'javascript:void(false)' : 'about:blank');
968
+
969
+ if (currentOpts.titlePosition !== 'inside') {
970
+ title.empty();
971
+ }
972
+
973
+ wrap.stop();
974
+
975
+ function _cleanup() {
976
+ overlay.fadeOut('fast');
977
+
978
+ title.empty().hide();
979
+ wrap.hide();
980
+
981
+ $.event.trigger('fancybox-cleanup');
982
+
983
+ content.empty();
984
+
985
+ currentOpts.onClosed(currentArray, currentIndex, currentOpts);
986
+
987
+ currentArray = selectedOpts = [];
988
+ currentIndex = selectedIndex = 0;
989
+ currentOpts = selectedOpts = {};
990
+
991
+ busy = false;
992
+ }
993
+
994
+ if (currentOpts.transitionOut == 'elastic') {
995
+ start_pos = _get_zoom_from();
996
+
997
+ var pos = wrap.position();
998
+
999
+ final_pos = {
1000
+ top : pos.top ,
1001
+ left : pos.left,
1002
+ width : wrap.width(),
1003
+ height : wrap.height()
1004
+ };
1005
+
1006
+ if (currentOpts.opacity) {
1007
+ final_pos.opacity = 1;
1008
+ }
1009
+
1010
+ title.empty().hide();
1011
+
1012
+ fx.prop = 1;
1013
+
1014
+ $(fx).animate({ prop: 0 }, {
1015
+ duration : currentOpts.speedOut,
1016
+ easing : currentOpts.easingOut,
1017
+ step : _draw,
1018
+ complete : _cleanup
1019
+ });
1020
+
1021
+ } else {
1022
+ wrap.fadeOut( currentOpts.transitionOut == 'none' ? 0 : currentOpts.speedOut, _cleanup);
1023
+ }
1024
+ };
1025
+
1026
+ $.fancybox.resize = function() {
1027
+ if (overlay.is(':visible')) {
1028
+ overlay.css('height', $(document).height());
1029
+ }
1030
+
1031
+ $.fancybox.center(true);
1032
+ };
1033
+
1034
+ $.fancybox.center = function() {
1035
+ var view, align;
1036
+
1037
+ if (busy) {
1038
+ return;
1039
+ }
1040
+
1041
+ align = arguments[0] === true ? 1 : 0;
1042
+ view = _get_viewport();
1043
+
1044
+ if (!align && (wrap.width() > view[0] || wrap.height() > view[1])) {
1045
+ return;
1046
+ }
1047
+
1048
+ wrap
1049
+ .stop()
1050
+ .animate({
1051
+ 'top' : parseInt(Math.max(view[3] - 20, view[3] + ((view[1] - content.height() - 40) * 0.5) - currentOpts.padding)),
1052
+ 'left' : parseInt(Math.max(view[2] - 20, view[2] + ((view[0] - content.width() - 40) * 0.5) - currentOpts.padding))
1053
+ }, typeof arguments[0] == 'number' ? arguments[0] : 200);
1054
+ };
1055
+
1056
+ $.fancybox.init = function() {
1057
+ if ($("#fancybox-wrap").length) {
1058
+ return;
1059
+ }
1060
+
1061
+ $('body').append(
1062
+ tmp = $('<div id="fancybox-tmp"></div>'),
1063
+ loading = $('<div id="fancybox-loading"><div></div></div>'),
1064
+ overlay = $('<div id="fancybox-overlay"></div>'),
1065
+ wrap = $('<div id="fancybox-wrap"></div>')
1066
+ );
1067
+
1068
+ outer = $('<div id="fancybox-outer"></div>')
1069
+ .append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>')
1070
+ .appendTo( wrap );
1071
+
1072
+ outer.append(
1073
+ content = $('<div id="fancybox-content"></div>'),
1074
+ close = $('<a id="fancybox-close"></a>'),
1075
+ title = $('<div id="fancybox-title"></div>'),
1076
+
1077
+ nav_left = $('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),
1078
+ nav_right = $('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>')
1079
+ );
1080
+
1081
+ close.click($.fancybox.close);
1082
+ loading.click($.fancybox.cancel);
1083
+
1084
+ nav_left.click(function(e) {
1085
+ e.preventDefault();
1086
+ $.fancybox.prev();
1087
+ });
1088
+
1089
+ nav_right.click(function(e) {
1090
+ e.preventDefault();
1091
+ $.fancybox.next();
1092
+ });
1093
+
1094
+ if ($.fn.mousewheel) {
1095
+ wrap.bind('mousewheel.fb', function(e, delta) {
1096
+ if (busy) {
1097
+ e.preventDefault();
1098
+
1099
+ } else if ($(e.target).get(0).clientHeight == 0 || $(e.target).get(0).scrollHeight === $(e.target).get(0).clientHeight) {
1100
+ e.preventDefault();
1101
+ $.fancybox[ delta > 0 ? 'prev' : 'next']();
1102
+ }
1103
+ });
1104
+ }
1105
+
1106
+ if (!$.support.opacity) {
1107
+ wrap.addClass('fancybox-ie');
1108
+ }
1109
+
1110
+ if (isIE6) {
1111
+ loading.addClass('fancybox-ie6');
1112
+ wrap.addClass('fancybox-ie6');
1113
+
1114
+ $('<iframe id="fancybox-hide-sel-frame" src="' + (/^https/i.test(window.location.href || '') ? 'javascript:void(false)' : 'about:blank' ) + '" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(outer);
1115
+ }
1116
+ };
1117
+
1118
+ $.fn.fancybox.defaults = {
1119
+ padding : 10,
1120
+ margin : 40,
1121
+ opacity : false,
1122
+ modal : false,
1123
+ cyclic : false,
1124
+ scrolling : 'auto', // 'auto', 'yes' or 'no'
1125
+
1126
+ width : 560,
1127
+ height : 340,
1128
+
1129
+ autoScale : true,
1130
+ autoDimensions : true,
1131
+ centerOnScroll : false,
1132
+
1133
+ ajax : {},
1134
+ swf : { wmode: 'transparent' },
1135
+
1136
+ hideOnOverlayClick : true,
1137
+ hideOnContentClick : false,
1138
+
1139
+ overlayShow : true,
1140
+ overlayOpacity : 0.7,
1141
+ overlayColor : '#777',
1142
+
1143
+ titleShow : true,
1144
+ titlePosition : 'float', // 'float', 'outside', 'inside' or 'over'
1145
+ titleFormat : null,
1146
+ titleFromAlt : false,
1147
+
1148
+ transitionIn : 'fade', // 'elastic', 'fade' or 'none'
1149
+ transitionOut : 'fade', // 'elastic', 'fade' or 'none'
1150
+
1151
+ speedIn : 300,
1152
+ speedOut : 300,
1153
+
1154
+ changeSpeed : 300,
1155
+ changeFade : 'fast',
1156
+
1157
+ easingIn : 'swing',
1158
+ easingOut : 'swing',
1159
+
1160
+ showCloseButton : true,
1161
+ showNavArrows : true,
1162
+ enableEscapeButton : true,
1163
+ enableKeyboardNav : true,
1164
+
1165
+ onStart : function(){},
1166
+ onCancel : function(){},
1167
+ onComplete : function(){},
1168
+ onCleanup : function(){},
1169
+ onClosed : function(){},
1170
+ onError : function(){}
1171
+ };
1172
+
1173
+ $(document).ready(function() {
1174
+ $.fancybox.init();
1175
+ });
1176
+
1177
  })(jQuery);
assets/nivo/changelog.txt CHANGED
@@ -1,12 +1,12 @@
1
- *** Nivo Lightbox Changelog ***
2
-
3
- 2013.12.11 - version 1.1
4
- * [New] Added the clickOverlayToClose setting
5
- * [New] Uppercase image extensions are now supported
6
- * [Fixed] Can't click anywhere after opening video bug
7
- * [Fixed] Doesn't work in iOS bug
8
- * [Fixed] Youtube hyphen in URL bug
9
- * [Fixed] Inline content overflow bug
10
-
11
- 2013.08.01 - version 1.0
12
  * Initial release
1
+ *** Nivo Lightbox Changelog ***
2
+
3
+ 2013.12.11 - version 1.1
4
+ * [New] Added the clickOverlayToClose setting
5
+ * [New] Uppercase image extensions are now supported
6
+ * [Fixed] Can't click anywhere after opening video bug
7
+ * [Fixed] Doesn't work in iOS bug
8
+ * [Fixed] Youtube hyphen in URL bug
9
+ * [Fixed] Inline content overflow bug
10
+
11
+ 2013.08.01 - version 1.0
12
  * Initial release
assets/nivo/license.txt CHANGED
@@ -1,22 +1,22 @@
1
- Copyright (c) 2013 Dev7studios
2
-
3
- Permission is hereby granted, free of charge, to any person
4
- obtaining a copy of this software and associated documentation
5
- files (the "Software"), to deal in the Software without
6
- restriction, including without limitation the rights to use,
7
- copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- copies of the Software, and to permit persons to whom the
9
- Software is furnished to do so, subject to the following
10
- conditions:
11
-
12
- The above copyright notice and this permission notice shall be
13
- included in all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
- OTHER DEALINGS IN THE SOFTWARE.
1
+ Copyright (c) 2013 Dev7studios
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
assets/nivo/nivo-lightbox.js ADDED
@@ -0,0 +1,359 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Nivo Lightbox v1.1
3
+ * http://dev7studios.com/nivo-lightbox
4
+ *
5
+ * Copyright 2013, Dev7studios
6
+ * Free to use and abuse under the MIT license.
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ */
9
+
10
+ ;(function($, window, document, undefined){
11
+
12
+ var pluginName = 'nivoLightbox',
13
+ defaults = {
14
+ effect: 'fade',
15
+ theme: 'default',
16
+ keyboardNav: true,
17
+ clickOverlayToClose: true,
18
+ onInit: function(){},
19
+ beforeShowLightbox: function(){},
20
+ afterShowLightbox: function(lightbox){},
21
+ beforeHideLightbox: function(){},
22
+ afterHideLightbox: function(){},
23
+ onPrev: function(element){},
24
+ onNext: function(element){},
25
+ errorMessage: 'The requested content cannot be loaded. Please try again later.'
26
+ };
27
+
28
+ function NivoLightbox(element, options){
29
+ this.el = element;
30
+ this.$el = $(this.el);
31
+
32
+ this.options = $.extend({}, defaults, options);
33
+
34
+ this._defaults = defaults;
35
+ this._name = pluginName;
36
+
37
+ this.init();
38
+ }
39
+
40
+ NivoLightbox.prototype = {
41
+
42
+ init: function(){
43
+ var $this = this;
44
+
45
+ // Need this so we don't use CSS transitions in mobile
46
+ if(!$('html').hasClass('nivo-lightbox-notouch')) $('html').addClass('nivo-lightbox-notouch');
47
+ if('ontouchstart' in document) $('html').removeClass('nivo-lightbox-notouch');
48
+
49
+ // Setup the click
50
+ this.$el.on('click', function(e){
51
+ e.preventDefault();
52
+ $this.showLightbox();
53
+ });
54
+
55
+ // keyboardNav
56
+ if(this.options.keyboardNav){
57
+ $('body').off('keyup').on('keyup', function(e){
58
+ var code = (e.keyCode ? e.keyCode : e.which);
59
+ // Escape
60
+ if(code == 27) $this.destructLightbox();
61
+ // Left
62
+ if(code == 37) $('.nivo-lightbox-prev').trigger('click');
63
+ // Right
64
+ if(code == 39) $('.nivo-lightbox-next').trigger('click');
65
+ });
66
+ }
67
+
68
+ this.options.onInit.call(this);
69
+
70
+ },
71
+
72
+ showLightbox: function(){
73
+ var $this = this;
74
+ this.options.beforeShowLightbox.call(this);
75
+
76
+ var lightbox = this.constructLightbox();
77
+ if(!lightbox) return;
78
+ var content = lightbox.find('.nivo-lightbox-content');
79
+ if(!content) return;
80
+ var currentLink = this.$el;
81
+ $('body').addClass('nivo-lightbox-body-effect-'+ this.options.effect);
82
+
83
+ // Add content
84
+ this.processContent(content, currentLink);
85
+
86
+ // Nav
87
+ if(this.$el.attr('data-lightbox-gallery')){
88
+ var $this = this,
89
+ galleryItems = $('[data-lightbox-gallery="'+ this.$el.attr('data-lightbox-gallery') +'"]');
90
+
91
+ $('.nivo-lightbox-nav').show();
92
+
93
+ // Prev
94
+ $('.nivo-lightbox-prev').off('click').on('click', function(e){
95
+ e.preventDefault();
96
+ var index = galleryItems.index(currentLink);
97
+ currentLink = galleryItems.eq(index - 1);
98
+ if(!$(currentLink).length) currentLink = galleryItems.last();
99
+ $this.processContent(content, currentLink);
100
+ $this.options.onPrev.call(this, [ currentLink ]);
101
+ });
102
+
103
+ // Next
104
+ $('.nivo-lightbox-next').off('click').on('click', function(e){
105
+ e.preventDefault();
106
+ var index = galleryItems.index(currentLink);
107
+ currentLink = galleryItems.eq(index + 1);
108
+ if(!$(currentLink).length) currentLink = galleryItems.first();
109
+ $this.processContent(content, currentLink);
110
+ $this.options.onNext.call(this, [ currentLink ]);
111
+ });
112
+ }
113
+
114
+ setTimeout(function(){
115
+ lightbox.addClass('nivo-lightbox-open');
116
+ $this.options.afterShowLightbox.call(this, [ lightbox ]);
117
+ }, 1); // For CSS transitions
118
+ },
119
+
120
+ processContent: function(content, link){
121
+ var $this = this;
122
+ var href = link.attr('href');
123
+ content.html('').addClass('nivo-lightbox-loading');
124
+
125
+ // Is HiDPI?
126
+ if(this.isHidpi() && link.attr('data-lightbox-hidpi')){
127
+ href = link.attr('data-lightbox-hidpi');
128
+ }
129
+
130
+ // Image
131
+ if(href.match(/\.(jpeg|jpg|gif|png)$/i) != null){
132
+ var img = $('<img>', { src: href });
133
+ img.one('load', function() {
134
+ var wrap = $('<div class="nivo-lightbox-image" />');
135
+ wrap.append(img);
136
+ content.html(wrap).removeClass('nivo-lightbox-loading');
137
+
138
+ // Vertically center images
139
+ wrap.css({
140
+ 'line-height': $('.nivo-lightbox-content').height() +'px',
141
+ 'height': $('.nivo-lightbox-content').height() +'px' // For Firefox
142
+ });
143
+ $(window).resize(function() {
144
+ wrap.css({
145
+ 'line-height': $('.nivo-lightbox-content').height() +'px',
146
+ 'height': $('.nivo-lightbox-content').height() +'px' // For Firefox
147
+ });
148
+ });
149
+ }).each(function() {
150
+ if(this.complete) $(this).load();
151
+ });
152
+
153
+ img.error(function() {
154
+ var wrap = $('<div class="nivo-lightbox-error"><p>'+ $this.options.errorMessage +'</p></div>');
155
+ content.html(wrap).removeClass('nivo-lightbox-loading');
156
+ });
157
+ }
158
+ // Video (Youtube/Vimeo)
159
+ else if(video = href.match(/(youtube|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/)){
160
+ var src = '',
161
+ classTerm = 'nivo-lightbox-video';
162
+
163
+ if(video[1] == 'youtube'){
164
+ src = 'http://www.youtube.com/v/'+ video[4];
165
+ classTerm = 'nivo-lightbox-youtube';
166
+ }
167
+ if(video[1] == 'youtu'){
168
+ src = 'http://www.youtube.com/v/'+ video[3];
169
+ classTerm = 'nivo-lightbox-youtube';
170
+ }
171
+ if(video[1] == 'vimeo'){
172
+ src = 'http://player.vimeo.com/video/'+ video[3];
173
+ classTerm = 'nivo-lightbox-vimeo';
174
+ }
175
+
176
+ if(src){
177
+ var iframe = $('<iframe>', {
178
+ src: src,
179
+ 'class': classTerm,
180
+ frameborder: 0,
181
+ vspace: 0,
182
+ hspace: 0,
183
+ scrolling: 'auto'
184
+ });
185
+ content.html(iframe);
186
+ iframe.load(function(){ content.removeClass('nivo-lightbox-loading'); });
187
+ }
188
+ }
189
+ // AJAX
190
+ else if(link.attr('data-lightbox-type') == 'ajax'){
191
+ var $this = this;
192
+ $.ajax({
193
+ url: href,
194
+ cache: false,
195
+ success: function(data) {
196
+ var wrap = $('<div class="nivo-lightbox-ajax" />');
197
+ wrap.append(data);
198
+ content.html(wrap).removeClass('nivo-lightbox-loading');
199
+
200
+ // Vertically center html
201
+ if(wrap.outerHeight() < content.height()){
202
+ wrap.css({
203
+ 'position': 'relative',
204
+ 'top': '50%',
205
+ 'margin-top': -(wrap.outerHeight()/2) +'px'
206
+ });
207
+ }
208
+ $(window).resize(function() {
209
+ if(wrap.outerHeight() < content.height()){
210
+ wrap.css({
211
+ 'position': 'relative',
212
+ 'top': '50%',
213
+ 'margin-top': -(wrap.outerHeight()/2) +'px'
214
+ });
215
+ }
216
+ });
217
+ },
218
+ error: function(){
219
+ var wrap = $('<div class="nivo-lightbox-error"><p>'+ $this.options.errorMessage +'</p></div>');
220
+ content.html(wrap).removeClass('nivo-lightbox-loading');
221
+ }
222
+ });
223
+ }
224
+ // Inline HTML
225
+ else if(href.substring(0, 1) == '#'){
226
+ if($(href).length){
227
+ var wrap = $('<div class="nivo-lightbox-inline" />');
228
+ wrap.append($(href).clone().show());
229
+ content.html(wrap).removeClass('nivo-lightbox-loading');
230
+
231
+ // Vertically center html
232
+ if(wrap.outerHeight() < content.height()){
233
+ wrap.css({
234
+ 'position': 'relative',
235
+ 'top': '50%',
236
+ 'margin-top': -(wrap.outerHeight()/2) +'px'
237
+ });
238
+ }
239
+ $(window).resize(function() {
240
+ if(wrap.outerHeight() < content.height()){
241
+ wrap.css({
242
+ 'position': 'relative',
243
+ 'top': '50%',
244
+ 'margin-top': -(wrap.outerHeight()/2) +'px'
245
+ });
246
+ }
247
+ });
248
+ } else {
249
+ var wrap = $('<div class="nivo-lightbox-error"><p>'+ $this.options.errorMessage +'</p></div>');
250
+ content.html(wrap).removeClass('nivo-lightbox-loading');
251
+ }
252
+ }
253
+ // iFrame (default)
254
+ else {
255
+ var iframe = $('<iframe>', {
256
+ src: href,
257
+ 'class': 'nivo-lightbox-item',
258
+ frameborder: 0,
259
+ vspace: 0,
260
+ hspace: 0,
261
+ scrolling: 'auto'
262
+ });
263
+ content.html(iframe);
264
+ iframe.load(function(){ content.removeClass('nivo-lightbox-loading'); });
265
+ }
266
+
267
+ // Set the title
268
+ if(link.attr('title')){
269
+ var titleWrap = $('<span>', { 'class': 'nivo-lightbox-title' });
270
+ titleWrap.text(link.attr('title'));
271
+ $('.nivo-lightbox-title-wrap').html(titleWrap);
272
+ } else {
273
+ $('.nivo-lightbox-title-wrap').html('');
274
+ }
275
+ },
276
+
277
+ constructLightbox: function(){
278
+ if($('.nivo-lightbox-overlay').length) return $('.nivo-lightbox-overlay');
279
+
280
+ var overlay = $('<div>', { 'class': 'nivo-lightbox-overlay nivo-lightbox-theme-'+ this.options.theme +' nivo-lightbox-effect-'+ this.options.effect });
281
+ var wrap = $('<div>', { 'class': 'nivo-lightbox-wrap' });
282
+ var content = $('<div>', { 'class': 'nivo-lightbox-content' });
283
+ var nav = $('<a href="#" class="nivo-lightbox-nav nivo-lightbox-prev">Previous</a><a href="#" class="nivo-lightbox-nav nivo-lightbox-next">Next</a>');
284
+ var close = $('<a href="#" class="nivo-lightbox-close" title="Close">Close</a>');
285
+ var title = $('<div>', { 'class': 'nivo-lightbox-title-wrap' });
286
+
287
+ var isMSIE = /*@cc_on!@*/0;
288
+ if(isMSIE) overlay.addClass('nivo-lightbox-ie');
289
+
290
+ wrap.append(content);
291
+ wrap.append(title);
292
+ overlay.append(wrap);
293
+ overlay.append(nav);
294
+ overlay.append(close);
295
+ $('body').append(overlay);
296
+
297
+ var $this = this;
298
+ if($this.options.clickOverlayToClose){
299
+ overlay.on('click', function(e){
300
+ if(e.target === this ||
301
+ $(e.target).hasClass('nivo-lightbox-content') ||
302
+ $(e.target).hasClass('nivo-lightbox-image')) $this.destructLightbox();
303
+ });
304
+ }
305
+
306
+ close.on('click', function(e){
307
+ e.preventDefault();
308
+ $this.destructLightbox();
309
+ });
310
+
311
+ return overlay;
312
+ },
313
+
314
+ destructLightbox: function(){
315
+ var $this = this;
316
+ this.options.beforeHideLightbox.call(this);
317
+
318
+ $('.nivo-lightbox-overlay').removeClass('nivo-lightbox-open');
319
+ $('.nivo-lightbox-nav').hide();
320
+ $('body').removeClass('nivo-lightbox-body-effect-'+ $this.options.effect);
321
+
322
+ // For IE
323
+ var isMSIE = /*@cc_on!@*/0;
324
+ if(isMSIE){
325
+ $('.nivo-lightbox-overlay iframe').attr("src", " ");
326
+ $('.nivo-lightbox-overlay iframe').remove();
327
+ }
328
+
329
+ // Remove click handlers
330
+ $('.nivo-lightbox-prev').off('click');
331
+ $('.nivo-lightbox-next').off('click');
332
+
333
+ // Empty content (for videos)
334
+ $('.nivo-lightbox-content').empty();
335
+
336
+ this.options.afterHideLightbox.call(this);
337
+ },
338
+
339
+ isHidpi: function(){
340
+ var mediaQuery = "(-webkit-min-device-pixel-ratio: 1.5),\
341
+ (min--moz-device-pixel-ratio: 1.5),\
342
+ (-o-min-device-pixel-ratio: 3/2),\
343
+ (min-resolution: 1.5dppx)";
344
+ if(window.devicePixelRatio > 1) return true;
345
+ if(window.matchMedia && window.matchMedia(mediaQuery).matches) return true;
346
+ return false;
347
+ }
348
+
349
+ };
350
+
351
+ $.fn[pluginName] = function(options){
352
+ return this.each(function(){
353
+ if(!$.data(this, pluginName)){
354
+ $.data(this, pluginName, new NivoLightbox(this, options));
355
+ }
356
+ });
357
+ };
358
+
359
+ })(jQuery, window, document);
assets/prettyphoto/css/prettyPhoto.css CHANGED
@@ -1,170 +1,170 @@
1
- div.pp_default .pp_top,div.pp_default .pp_top .pp_middle,div.pp_default .pp_top .pp_left,div.pp_default .pp_top .pp_right,div.pp_default .pp_bottom,div.pp_default .pp_bottom .pp_left,div.pp_default .pp_bottom .pp_middle,div.pp_default .pp_bottom .pp_right{height:13px}
2
- div.pp_default .pp_top .pp_left{background:url(../images/prettyPhoto/default/sprite.png) -78px -93px no-repeat}
3
- div.pp_default .pp_top .pp_middle{background:url(../images/prettyPhoto/default/sprite_x.png) top left repeat-x}
4
- div.pp_default .pp_top .pp_right{background:url(../images/prettyPhoto/default/sprite.png) -112px -93px no-repeat}
5
- div.pp_default .pp_content .ppt{color:#f8f8f8}
6
- div.pp_default .pp_content_container .pp_left{background:url(../images/prettyPhoto/default/sprite_y.png) -7px 0 repeat-y;padding-left:13px}
7
- div.pp_default .pp_content_container .pp_right{background:url(../images/prettyPhoto/default/sprite_y.png) top right repeat-y;padding-right:13px}
8
- div.pp_default .pp_next:hover{background:url(../images/prettyPhoto/default/sprite_next.png) center right no-repeat;cursor:pointer}
9
- div.pp_default .pp_previous:hover{background:url(../images/prettyPhoto/default/sprite_prev.png) center left no-repeat;cursor:pointer}
10
- div.pp_default .pp_expand{background:url(../images/prettyPhoto/default/sprite.png) 0 -29px no-repeat;cursor:pointer;width:28px;height:28px}
11
- div.pp_default .pp_expand:hover{background:url(../images/prettyPhoto/default/sprite.png) 0 -56px no-repeat;cursor:pointer}
12
- div.pp_default .pp_contract{background:url(../images/prettyPhoto/default/sprite.png) 0 -84px no-repeat;cursor:pointer;width:28px;height:28px}
13
- div.pp_default .pp_contract:hover{background:url(../images/prettyPhoto/default/sprite.png) 0 -113px no-repeat;cursor:pointer}
14
- div.pp_default .pp_close{width:30px;height:30px;background:url(../images/prettyPhoto/default/sprite.png) 2px 1px no-repeat;cursor:pointer}
15
- div.pp_default .pp_gallery ul li a{background:url(../images/prettyPhoto/default/default_thumb.png) center center #f8f8f8;border:1px solid #aaa}
16
- div.pp_default .pp_social{margin-top:7px}
17
- div.pp_default .pp_gallery a.pp_arrow_previous,div.pp_default .pp_gallery a.pp_arrow_next{position:static;left:auto}
18
- div.pp_default .pp_nav .pp_play,div.pp_default .pp_nav .pp_pause{background:url(../images/prettyPhoto/default/sprite.png) -51px 1px no-repeat;height:30px;width:30px}
19
- div.pp_default .pp_nav .pp_pause{background-position:-51px -29px}
20
- div.pp_default a.pp_arrow_previous,div.pp_default a.pp_arrow_next{background:url(../images/prettyPhoto/default/sprite.png) -31px -3px no-repeat;height:20px;width:20px;margin:4px 0 0}
21
- div.pp_default a.pp_arrow_next{left:52px;background-position:-82px -3px}
22
- div.pp_default .pp_content_container .pp_details{margin-top:5px}
23
- div.pp_default .pp_nav{clear:none;height:30px;width:110px;position:relative}
24
- div.pp_default .pp_nav .currentTextHolder{font-family:Georgia;font-style:italic;color:#999;font-size:11px;left:75px;line-height:25px;position:absolute;top:2px;margin:0;padding:0 0 0 10px}
25
- div.pp_default .pp_close:hover,div.pp_default .pp_nav .pp_play:hover,div.pp_default .pp_nav .pp_pause:hover,div.pp_default .pp_arrow_next:hover,div.pp_default .pp_arrow_previous:hover{opacity:0.7}
26
- div.pp_default .pp_description{font-size:11px;font-weight:700;line-height:14px;margin:5px 50px 5px 0}
27
- div.pp_default .pp_bottom .pp_left{background:url(../images/prettyPhoto/default/sprite.png) -78px -127px no-repeat}
28
- div.pp_default .pp_bottom .pp_middle{background:url(../images/prettyPhoto/default/sprite_x.png) bottom left repeat-x}
29
- div.pp_default .pp_bottom .pp_right{background:url(../images/prettyPhoto/default/sprite.png) -112px -127px no-repeat}
30
- div.pp_default .pp_loaderIcon{background:url(../images/prettyPhoto/default/loader.gif) center center no-repeat}
31
- div.light_rounded .pp_top .pp_left{background:url(../images/prettyPhoto/light_rounded/sprite.png) -88px -53px no-repeat}
32
- div.light_rounded .pp_top .pp_right{background:url(../images/prettyPhoto/light_rounded/sprite.png) -110px -53px no-repeat}
33
- div.light_rounded .pp_next:hover{background:url(../images/prettyPhoto/light_rounded/btnNext.png) center right no-repeat;cursor:pointer}
34
- div.light_rounded .pp_previous:hover{background:url(../images/prettyPhoto/light_rounded/btnPrevious.png) center left no-repeat;cursor:pointer}
35
- div.light_rounded .pp_expand{background:url(../images/prettyPhoto/light_rounded/sprite.png) -31px -26px no-repeat;cursor:pointer}
36
- div.light_rounded .pp_expand:hover{background:url(../images/prettyPhoto/light_rounded/sprite.png) -31px -47px no-repeat;cursor:pointer}
37
- div.light_rounded .pp_contract{background:url(../images/prettyPhoto/light_rounded/sprite.png) 0 -26px no-repeat;cursor:pointer}
38
- div.light_rounded .pp_contract:hover{background:url(../images/prettyPhoto/light_rounded/sprite.png) 0 -47px no-repeat;cursor:pointer}
39
- div.light_rounded .pp_close{width:75px;height:22px;background:url(../images/prettyPhoto/light_rounded/sprite.png) -1px -1px no-repeat;cursor:pointer}
40
- div.light_rounded .pp_nav .pp_play{background:url(../images/prettyPhoto/light_rounded/sprite.png) -1px -100px no-repeat;height:15px;width:14px}
41
- div.light_rounded .pp_nav .pp_pause{background:url(../images/prettyPhoto/light_rounded/sprite.png) -24px -100px no-repeat;height:15px;width:14px}
42
- div.light_rounded .pp_arrow_previous{background:url(../images/prettyPhoto/light_rounded/sprite.png) 0 -71px no-repeat}
43
- div.light_rounded .pp_arrow_next{background:url(../images/prettyPhoto/light_rounded/sprite.png) -22px -71px no-repeat}
44
- div.light_rounded .pp_bottom .pp_left{background:url(../images/prettyPhoto/light_rounded/sprite.png) -88px -80px no-repeat}
45
- div.light_rounded .pp_bottom .pp_right{background:url(../images/prettyPhoto/light_rounded/sprite.png) -110px -80px no-repeat}
46
- div.dark_rounded .pp_top .pp_left{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -88px -53px no-repeat}
47
- div.dark_rounded .pp_top .pp_right{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -110px -53px no-repeat}
48
- div.dark_rounded .pp_content_container .pp_left{background:url(../images/prettyPhoto/dark_rounded/contentPattern.png) top left repeat-y}
49
- div.dark_rounded .pp_content_container .pp_right{background:url(../images/prettyPhoto/dark_rounded/contentPattern.png) top right repeat-y}
50
- div.dark_rounded .pp_next:hover{background:url(../images/prettyPhoto/dark_rounded/btnNext.png) center right no-repeat;cursor:pointer}
51
- div.dark_rounded .pp_previous:hover{background:url(../images/prettyPhoto/dark_rounded/btnPrevious.png) center left no-repeat;cursor:pointer}
52
- div.dark_rounded .pp_expand{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -31px -26px no-repeat;cursor:pointer}
53
- div.dark_rounded .pp_expand:hover{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -31px -47px no-repeat;cursor:pointer}
54
- div.dark_rounded .pp_contract{background:url(../images/prettyPhoto/dark_rounded/sprite.png) 0 -26px no-repeat;cursor:pointer}
55
- div.dark_rounded .pp_contract:hover{background:url(../images/prettyPhoto/dark_rounded/sprite.png) 0 -47px no-repeat;cursor:pointer}
56
- div.dark_rounded .pp_close{width:75px;height:22px;background:url(../images/prettyPhoto/dark_rounded/sprite.png) -1px -1px no-repeat;cursor:pointer}
57
- div.dark_rounded .pp_description{margin-right:85px;color:#fff}
58
- div.dark_rounded .pp_nav .pp_play{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -1px -100px no-repeat;height:15px;width:14px}
59
- div.dark_rounded .pp_nav .pp_pause{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -24px -100px no-repeat;height:15px;width:14px}
60
- div.dark_rounded .pp_arrow_previous{background:url(../images/prettyPhoto/dark_rounded/sprite.png) 0 -71px no-repeat}
61
- div.dark_rounded .pp_arrow_next{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -22px -71px no-repeat}
62
- div.dark_rounded .pp_bottom .pp_left{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -88px -80px no-repeat}
63
- div.dark_rounded .pp_bottom .pp_right{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -110px -80px no-repeat}
64
- div.dark_rounded .pp_loaderIcon{background:url(../images/prettyPhoto/dark_rounded/loader.gif) center center no-repeat}
65
- div.dark_square .pp_left,div.dark_square .pp_middle,div.dark_square .pp_right,div.dark_square .pp_content{background:#000}
66
- div.dark_square .pp_description{color:#fff;margin:0 85px 0 0}
67
- div.dark_square .pp_loaderIcon{background:url(../images/prettyPhoto/dark_square/loader.gif) center center no-repeat}
68
- div.dark_square .pp_expand{background:url(../images/prettyPhoto/dark_square/sprite.png) -31px -26px no-repeat;cursor:pointer}
69
- div.dark_square .pp_expand:hover{background:url(../images/prettyPhoto/dark_square/sprite.png) -31px -47px no-repeat;cursor:pointer}
70
- div.dark_square .pp_contract{background:url(../images/prettyPhoto/dark_square/sprite.png) 0 -26px no-repeat;cursor:pointer}
71
- div.dark_square .pp_contract:hover{background:url(../images/prettyPhoto/dark_square/sprite.png) 0 -47px no-repeat;cursor:pointer}
72
- div.dark_square .pp_close{width:75px;height:22px;background:url(../images/prettyPhoto/dark_square/sprite.png) -1px -1px no-repeat;cursor:pointer}
73
- div.dark_square .pp_nav{clear:none}
74
- div.dark_square .pp_nav .pp_play{background:url(../images/prettyPhoto/dark_square/sprite.png) -1px -100px no-repeat;height:15px;width:14px}
75
- div.dark_square .pp_nav .pp_pause{background:url(../images/prettyPhoto/dark_square/sprite.png) -24px -100px no-repeat;height:15px;width:14px}
76
- div.dark_square .pp_arrow_previous{background:url(../images/prettyPhoto/dark_square/sprite.png) 0 -71px no-repeat}
77
- div.dark_square .pp_arrow_next{background:url(../images/prettyPhoto/dark_square/sprite.png) -22px -71px no-repeat}
78
- div.dark_square .pp_next:hover{background:url(../images/prettyPhoto/dark_square/btnNext.png) center right no-repeat;cursor:pointer}
79
- div.dark_square .pp_previous:hover{background:url(../images/prettyPhoto/dark_square/btnPrevious.png) center left no-repeat;cursor:pointer}
80
- div.light_square .pp_expand{background:url(../images/prettyPhoto/light_square/sprite.png) -31px -26px no-repeat;cursor:pointer}
81
- div.light_square .pp_expand:hover{background:url(../images/prettyPhoto/light_square/sprite.png) -31px -47px no-repeat;cursor:pointer}
82
- div.light_square .pp_contract{background:url(../images/prettyPhoto/light_square/sprite.png) 0 -26px no-repeat;cursor:pointer}
83
- div.light_square .pp_contract:hover{background:url(../images/prettyPhoto/light_square/sprite.png) 0 -47px no-repeat;cursor:pointer}
84
- div.light_square .pp_close{width:75px;height:22px;background:url(../images/prettyPhoto/light_square/sprite.png) -1px -1px no-repeat;cursor:pointer}
85
- div.light_square .pp_nav .pp_play{background:url(../images/prettyPhoto/light_square/sprite.png) -1px -100px no-repeat;height:15px;width:14px}
86
- div.light_square .pp_nav .pp_pause{background:url(../images/prettyPhoto/light_square/sprite.png) -24px -100px no-repeat;height:15px;width:14px}
87
- div.light_square .pp_arrow_previous{background:url(../images/prettyPhoto/light_square/sprite.png) 0 -71px no-repeat}
88
- div.light_square .pp_arrow_next{background:url(../images/prettyPhoto/light_square/sprite.png) -22px -71px no-repeat}
89
- div.light_square .pp_next:hover{background:url(../images/prettyPhoto/light_square/btnNext.png) center right no-repeat;cursor:pointer}
90
- div.light_square .pp_previous:hover{background:url(../images/prettyPhoto/light_square/btnPrevious.png) center left no-repeat;cursor:pointer}
91
- div.facebook .pp_top .pp_left{background:url(../images/prettyPhoto/facebook/sprite.png) -88px -53px no-repeat}
92
- div.facebook .pp_top .pp_middle{background:url(../images/prettyPhoto/facebook/contentPatternTop.png) top left repeat-x}
93
- div.facebook .pp_top .pp_right{background:url(../images/prettyPhoto/facebook/sprite.png) -110px -53px no-repeat}
94
- div.facebook .pp_content_container .pp_left{background:url(../images/prettyPhoto/facebook/contentPatternLeft.png) top left repeat-y}
95
- div.facebook .pp_content_container .pp_right{background:url(../images/prettyPhoto/facebook/contentPatternRight.png) top right repeat-y}
96
- div.facebook .pp_expand{background:url(../images/prettyPhoto/facebook/sprite.png) -31px -26px no-repeat;cursor:pointer}
97
- div.facebook .pp_expand:hover{background:url(../images/prettyPhoto/facebook/sprite.png) -31px -47px no-repeat;cursor:pointer}
98
- div.facebook .pp_contract{background:url(../images/prettyPhoto/facebook/sprite.png) 0 -26px no-repeat;cursor:pointer}
99
- div.facebook .pp_contract:hover{background:url(../images/prettyPhoto/facebook/sprite.png) 0 -47px no-repeat;cursor:pointer}
100
- div.facebook .pp_close{width:22px;height:22px;background:url(../images/prettyPhoto/facebook/sprite.png) -1px -1px no-repeat;cursor:pointer}
101
- div.facebook .pp_description{margin:0 37px 0 0}
102
- div.facebook .pp_loaderIcon{background:url(../images/prettyPhoto/facebook/loader.gif) center center no-repeat}
103
- div.facebook .pp_arrow_previous{background:url(../images/prettyPhoto/facebook/sprite.png) 0 -71px no-repeat;height:22px;margin-top:0;width:22px}
104
- div.facebook .pp_arrow_previous.disabled{background-position:0 -96px;cursor:default}
105
- div.facebook .pp_arrow_next{background:url(../images/prettyPhoto/facebook/sprite.png) -32px -71px no-repeat;height:22px;margin-top:0;width:22px}
106
- div.facebook .pp_arrow_next.disabled{background-position:-32px -96px;cursor:default}
107
- div.facebook .pp_nav{margin-top:0}
108
- div.facebook .pp_nav p{font-size:15px;padding:0 3px 0 4px}
109
- div.facebook .pp_nav .pp_play{background:url(../images/prettyPhoto/facebook/sprite.png) -1px -123px no-repeat;height:22px;width:22px}
110
- div.facebook .pp_nav .pp_pause{background:url(../images/prettyPhoto/facebook/sprite.png) -32px -123px no-repeat;height:22px;width:22px}
111
- div.facebook .pp_next:hover{background:url(../images/prettyPhoto/facebook/btnNext.png) center right no-repeat;cursor:pointer}
112
- div.facebook .pp_previous:hover{background:url(../images/prettyPhoto/facebook/btnPrevious.png) center left no-repeat;cursor:pointer}
113
- div.facebook .pp_bottom .pp_left{background:url(../images/prettyPhoto/facebook/sprite.png) -88px -80px no-repeat}
114
- div.facebook .pp_bottom .pp_middle{background:url(../images/prettyPhoto/facebook/contentPatternBottom.png) top left repeat-x}
115
- div.facebook .pp_bottom .pp_right{background:url(../images/prettyPhoto/facebook/sprite.png) -110px -80px no-repeat}
116
- div.pp_pic_holder a:focus{outline:none}
117
- div.pp_overlay{background:#000;display:none;left:0;position:absolute;top:0;width:100%;z-index:9500}
118
- div.pp_pic_holder{display:none;position:absolute;width:100px;z-index:10000}
119
- .pp_content{height:40px;min-width:40px}
120
- * html .pp_content{width:40px}
121
- .pp_content_container{position:relative;text-align:left;width:100%}
122
- .pp_content_container .pp_left{padding-left:20px}
123
- .pp_content_container .pp_right{padding-right:20px}
124
- .pp_content_container .pp_details{float:left;margin:10px 0 2px}
125
- .pp_description{display:none;margin:0}
126
- .pp_social{float:left;margin:0}
127
- .pp_social .facebook{float:left;margin-left:5px;width:55px;overflow:hidden}
128
- .pp_social .twitter{float:left}
129
- .pp_nav{clear:right;float:left;margin:3px 10px 0 0}
130
- .pp_nav p{float:left;white-space:nowrap;margin:2px 4px}
131
- .pp_nav .pp_play,.pp_nav .pp_pause{float:left;margin-right:4px;text-indent:-10000px}
132
- a.pp_arrow_previous,a.pp_arrow_next{display:block;float:left;height:15px;margin-top:3px;overflow:hidden;text-indent:-10000px;width:14px}
133
- .pp_hoverContainer{position:absolute;top:0;width:100%;z-index:2000}
134
- .pp_gallery{display:none;left:50%;margin-top:-50px;position:absolute;z-index:10000}
135
- .pp_gallery div{float:left;overflow:hidden;position:relative}
136
- .pp_gallery ul{float:left;height:35px;position:relative;white-space:nowrap;margin:0 0 0 5px;padding:0}
137
- .pp_gallery ul a{border:1px rgba(0,0,0,0.5) solid;display:block;float:left;height:33px;overflow:hidden}
138
- .pp_gallery ul a img{border:0}
139
- .pp_gallery li{display:block;float:left;margin:0 5px 0 0;padding:0}
140
- .pp_gallery li.default a{background:url(../images/prettyPhoto/facebook/default_thumbnail.gif) 0 0 no-repeat;display:block;height:33px;width:50px}
141
- .pp_gallery .pp_arrow_previous,.pp_gallery .pp_arrow_next{margin-top:7px!important}
142
- a.pp_next{background:url(../images/prettyPhoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;display:block;float:right;height:100%;text-indent:-10000px;width:49%}
143
- a.pp_previous{background:url(../images/prettyPhoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;display:block;float:left;height:100%;text-indent:-10000px;width:49%}
144
- a.pp_expand,a.pp_contract{cursor:pointer;display:none;height:20px;position:absolute;right:30px;text-indent:-10000px;top:10px;width:20px;z-index:20000}
145
- a.pp_close{position:absolute;right:0;top:0;display:block;line-height:22px;text-indent:-10000px}
146
- .pp_loaderIcon{display:block;height:24px;left:50%;position:absolute;top:50%;width:24px;margin:-12px 0 0 -12px}
147
- #pp_full_res{line-height:1!important}
148
- #pp_full_res .pp_inline{text-align:left}
149
- #pp_full_res .pp_inline p{margin:0 0 15px}
150
- div.ppt{color:#fff;display:none;font-size:17px;z-index:9999;margin:0 0 5px 15px}
151
- div.pp_default .pp_content,div.light_rounded .pp_content{background-color:#fff}
152
- div.pp_default #pp_full_res .pp_inline,div.light_rounded .pp_content .ppt,div.light_rounded #pp_full_res .pp_inline,div.light_square .pp_content .ppt,div.light_square #pp_full_res .pp_inline,div.facebook .pp_content .ppt,div.facebook #pp_full_res .pp_inline{color:#000}
153
- div.pp_default .pp_gallery ul li a:hover,div.pp_default .pp_gallery ul li.selected a,.pp_gallery ul a:hover,.pp_gallery li.selected a{border-color:#fff}
154
- div.pp_default .pp_details,div.light_rounded .pp_details,div.dark_rounded .pp_details,div.dark_square .pp_details,div.light_square .pp_details,div.facebook .pp_details{position:relative}
155
- div.light_rounded .pp_top .pp_middle,div.light_rounded .pp_content_container .pp_left,div.light_rounded .pp_content_container .pp_right,div.light_rounded .pp_bottom .pp_middle,div.light_square .pp_left,div.light_square .pp_middle,div.light_square .pp_right,div.light_square .pp_content,div.facebook .pp_content{background:#fff}
156
- div.light_rounded .pp_description,div.light_square .pp_description{margin-right:85px}
157
- div.light_rounded .pp_gallery a.pp_arrow_previous,div.light_rounded .pp_gallery a.pp_arrow_next,div.dark_rounded .pp_gallery a.pp_arrow_previous,div.dark_rounded .pp_gallery a.pp_arrow_next,div.dark_square .pp_gallery a.pp_arrow_previous,div.dark_square .pp_gallery a.pp_arrow_next,div.light_square .pp_gallery a.pp_arrow_previous,div.light_square .pp_gallery a.pp_arrow_next{margin-top:12px!important}
158
- div.light_rounded .pp_arrow_previous.disabled,div.dark_rounded .pp_arrow_previous.disabled,div.dark_square .pp_arrow_previous.disabled,div.light_square .pp_arrow_previous.disabled{background-position:0 -87px;cursor:default}
159
- div.light_rounded .pp_arrow_next.disabled,div.dark_rounded .pp_arrow_next.disabled,div.dark_square .pp_arrow_next.disabled,div.light_square .pp_arrow_next.disabled{background-position:-22px -87px;cursor:default}
160
- div.light_rounded .pp_loaderIcon,div.light_square .pp_loaderIcon{background:url(../images/prettyPhoto/light_rounded/loader.gif) center center no-repeat}
161
- div.dark_rounded .pp_top .pp_middle,div.dark_rounded .pp_content,div.dark_rounded .pp_bottom .pp_middle{background:url(../images/prettyPhoto/dark_rounded/contentPattern.png) top left repeat}
162
- div.dark_rounded .currentTextHolder,div.dark_square .currentTextHolder{color:#c4c4c4}
163
- div.dark_rounded #pp_full_res .pp_inline,div.dark_square #pp_full_res .pp_inline{color:#fff}
164
- .pp_top,.pp_bottom{height:20px;position:relative}
165
- * html .pp_top,* html .pp_bottom{padding:0 20px}
166
- .pp_top .pp_left,.pp_bottom .pp_left{height:20px;left:0;position:absolute;width:20px}
167
- .pp_top .pp_middle,.pp_bottom .pp_middle{height:20px;left:20px;position:absolute;right:20px}
168
- * html .pp_top .pp_middle,* html .pp_bottom .pp_middle{left:0;position:static}
169
- .pp_top .pp_right,.pp_bottom .pp_right{height:20px;left:auto;position:absolute;right:0;top:0;width:20px}
170
  .pp_fade,.pp_gallery li.default a img{display:none}
1
+ div.pp_default .pp_top,div.pp_default .pp_top .pp_middle,div.pp_default .pp_top .pp_left,div.pp_default .pp_top .pp_right,div.pp_default .pp_bottom,div.pp_default .pp_bottom .pp_left,div.pp_default .pp_bottom .pp_middle,div.pp_default .pp_bottom .pp_right{height:13px}
2
+ div.pp_default .pp_top .pp_left{background:url(../images/prettyPhoto/default/sprite.png) -78px -93px no-repeat}
3
+ div.pp_default .pp_top .pp_middle{background:url(../images/prettyPhoto/default/sprite_x.png) top left repeat-x}
4
+ div.pp_default .pp_top .pp_right{background:url(../images/prettyPhoto/default/sprite.png) -112px -93px no-repeat}
5
+ div.pp_default .pp_content .ppt{color:#f8f8f8}
6
+ div.pp_default .pp_content_container .pp_left{background:url(../images/prettyPhoto/default/sprite_y.png) -7px 0 repeat-y;padding-left:13px}
7
+ div.pp_default .pp_content_container .pp_right{background:url(../images/prettyPhoto/default/sprite_y.png) top right repeat-y;padding-right:13px}
8
+ div.pp_default .pp_next:hover{background:url(../images/prettyPhoto/default/sprite_next.png) center right no-repeat;cursor:pointer}
9
+ div.pp_default .pp_previous:hover{background:url(../images/prettyPhoto/default/sprite_prev.png) center left no-repeat;cursor:pointer}
10
+ div.pp_default .pp_expand{background:url(../images/prettyPhoto/default/sprite.png) 0 -29px no-repeat;cursor:pointer;width:28px;height:28px}
11
+ div.pp_default .pp_expand:hover{background:url(../images/prettyPhoto/default/sprite.png) 0 -56px no-repeat;cursor:pointer}
12
+ div.pp_default .pp_contract{background:url(../images/prettyPhoto/default/sprite.png) 0 -84px no-repeat;cursor:pointer;width:28px;height:28px}
13
+ div.pp_default .pp_contract:hover{background:url(../images/prettyPhoto/default/sprite.png) 0 -113px no-repeat;cursor:pointer}
14
+ div.pp_default .pp_close{width:30px;height:30px;background:url(../images/prettyPhoto/default/sprite.png) 2px 1px no-repeat;cursor:pointer}
15
+ div.pp_default .pp_gallery ul li a{background:url(../images/prettyPhoto/default/default_thumb.png) center center #f8f8f8;border:1px solid #aaa}
16
+ div.pp_default .pp_social{margin-top:7px}
17
+ div.pp_default .pp_gallery a.pp_arrow_previous,div.pp_default .pp_gallery a.pp_arrow_next{position:static;left:auto}
18
+ div.pp_default .pp_nav .pp_play,div.pp_default .pp_nav .pp_pause{background:url(../images/prettyPhoto/default/sprite.png) -51px 1px no-repeat;height:30px;width:30px}
19
+ div.pp_default .pp_nav .pp_pause{background-position:-51px -29px}
20
+ div.pp_default a.pp_arrow_previous,div.pp_default a.pp_arrow_next{background:url(../images/prettyPhoto/default/sprite.png) -31px -3px no-repeat;height:20px;width:20px;margin:4px 0 0}
21
+ div.pp_default a.pp_arrow_next{left:52px;background-position:-82px -3px}
22
+ div.pp_default .pp_content_container .pp_details{margin-top:5px}
23
+ div.pp_default .pp_nav{clear:none;height:30px;width:110px;position:relative}
24
+ div.pp_default .pp_nav .currentTextHolder{font-family:Georgia;font-style:italic;color:#999;font-size:11px;left:75px;line-height:25px;position:absolute;top:2px;margin:0;padding:0 0 0 10px}
25
+ div.pp_default .pp_close:hover,div.pp_default .pp_nav .pp_play:hover,div.pp_default .pp_nav .pp_pause:hover,div.pp_default .pp_arrow_next:hover,div.pp_default .pp_arrow_previous:hover{opacity:0.7}
26
+ div.pp_default .pp_description{font-size:11px;font-weight:700;line-height:14px;margin:5px 50px 5px 0}
27
+ div.pp_default .pp_bottom .pp_left{background:url(../images/prettyPhoto/default/sprite.png) -78px -127px no-repeat}
28
+ div.pp_default .pp_bottom .pp_middle{background:url(../images/prettyPhoto/default/sprite_x.png) bottom left repeat-x}
29
+ div.pp_default .pp_bottom .pp_right{background:url(../images/prettyPhoto/default/sprite.png) -112px -127px no-repeat}
30
+ div.pp_default .pp_loaderIcon{background:url(../images/prettyPhoto/default/loader.gif) center center no-repeat}
31
+ div.light_rounded .pp_top .pp_left{background:url(../images/prettyPhoto/light_rounded/sprite.png) -88px -53px no-repeat}
32
+ div.light_rounded .pp_top .pp_right{background:url(../images/prettyPhoto/light_rounded/sprite.png) -110px -53px no-repeat}
33
+ div.light_rounded .pp_next:hover{background:url(../images/prettyPhoto/light_rounded/btnNext.png) center right no-repeat;cursor:pointer}
34
+ div.light_rounded .pp_previous:hover{background:url(../images/prettyPhoto/light_rounded/btnPrevious.png) center left no-repeat;cursor:pointer}
35
+ div.light_rounded .pp_expand{background:url(../images/prettyPhoto/light_rounded/sprite.png) -31px -26px no-repeat;cursor:pointer}
36
+ div.light_rounded .pp_expand:hover{background:url(../images/prettyPhoto/light_rounded/sprite.png) -31px -47px no-repeat;cursor:pointer}
37
+ div.light_rounded .pp_contract{background:url(../images/prettyPhoto/light_rounded/sprite.png) 0 -26px no-repeat;cursor:pointer}
38
+ div.light_rounded .pp_contract:hover{background:url(../images/prettyPhoto/light_rounded/sprite.png) 0 -47px no-repeat;cursor:pointer}
39
+ div.light_rounded .pp_close{width:75px;height:22px;background:url(../images/prettyPhoto/light_rounded/sprite.png) -1px -1px no-repeat;cursor:pointer}
40
+ div.light_rounded .pp_nav .pp_play{background:url(../images/prettyPhoto/light_rounded/sprite.png) -1px -100px no-repeat;height:15px;width:14px}
41
+ div.light_rounded .pp_nav .pp_pause{background:url(../images/prettyPhoto/light_rounded/sprite.png) -24px -100px no-repeat;height:15px;width:14px}
42
+ div.light_rounded .pp_arrow_previous{background:url(../images/prettyPhoto/light_rounded/sprite.png) 0 -71px no-repeat}
43
+ div.light_rounded .pp_arrow_next{background:url(../images/prettyPhoto/light_rounded/sprite.png) -22px -71px no-repeat}
44
+ div.light_rounded .pp_bottom .pp_left{background:url(../images/prettyPhoto/light_rounded/sprite.png) -88px -80px no-repeat}
45
+ div.light_rounded .pp_bottom .pp_right{background:url(../images/prettyPhoto/light_rounded/sprite.png) -110px -80px no-repeat}
46
+ div.dark_rounded .pp_top .pp_left{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -88px -53px no-repeat}
47
+ div.dark_rounded .pp_top .pp_right{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -110px -53px no-repeat}
48
+ div.dark_rounded .pp_content_container .pp_left{background:url(../images/prettyPhoto/dark_rounded/contentPattern.png) top left repeat-y}
49
+ div.dark_rounded .pp_content_container .pp_right{background:url(../images/prettyPhoto/dark_rounded/contentPattern.png) top right repeat-y}
50
+ div.dark_rounded .pp_next:hover{background:url(../images/prettyPhoto/dark_rounded/btnNext.png) center right no-repeat;cursor:pointer}
51
+ div.dark_rounded .pp_previous:hover{background:url(../images/prettyPhoto/dark_rounded/btnPrevious.png) center left no-repeat;cursor:pointer}
52
+ div.dark_rounded .pp_expand{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -31px -26px no-repeat;cursor:pointer}
53
+ div.dark_rounded .pp_expand:hover{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -31px -47px no-repeat;cursor:pointer}
54
+ div.dark_rounded .pp_contract{background:url(../images/prettyPhoto/dark_rounded/sprite.png) 0 -26px no-repeat;cursor:pointer}
55
+ div.dark_rounded .pp_contract:hover{background:url(../images/prettyPhoto/dark_rounded/sprite.png) 0 -47px no-repeat;cursor:pointer}
56
+ div.dark_rounded .pp_close{width:75px;height:22px;background:url(../images/prettyPhoto/dark_rounded/sprite.png) -1px -1px no-repeat;cursor:pointer}
57
+ div.dark_rounded .pp_description{margin-right:85px;color:#fff}
58
+ div.dark_rounded .pp_nav .pp_play{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -1px -100px no-repeat;height:15px;width:14px}
59
+ div.dark_rounded .pp_nav .pp_pause{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -24px -100px no-repeat;height:15px;width:14px}
60
+ div.dark_rounded .pp_arrow_previous{background:url(../images/prettyPhoto/dark_rounded/sprite.png) 0 -71px no-repeat}
61
+ div.dark_rounded .pp_arrow_next{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -22px -71px no-repeat}
62
+ div.dark_rounded .pp_bottom .pp_left{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -88px -80px no-repeat}
63
+ div.dark_rounded .pp_bottom .pp_right{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -110px -80px no-repeat}
64
+ div.dark_rounded .pp_loaderIcon{background:url(../images/prettyPhoto/dark_rounded/loader.gif) center center no-repeat}
65
+ div.dark_square .pp_left,div.dark_square .pp_middle,div.dark_square .pp_right,div.dark_square .pp_content{background:#000}
66
+ div.dark_square .pp_description{color:#fff;margin:0 85px 0 0}
67
+ div.dark_square .pp_loaderIcon{background:url(../images/prettyPhoto/dark_square/loader.gif) center center no-repeat}
68
+ div.dark_square .pp_expand{background:url(../images/prettyPhoto/dark_square/sprite.png) -31px -26px no-repeat;cursor:pointer}
69
+ div.dark_square .pp_expand:hover{background:url(../images/prettyPhoto/dark_square/sprite.png) -31px -47px no-repeat;cursor:pointer}
70
+ div.dark_square .pp_contract{background:url(../images/prettyPhoto/dark_square/sprite.png) 0 -26px no-repeat;cursor:pointer}
71
+ div.dark_square .pp_contract:hover{background:url(../images/prettyPhoto/dark_square/sprite.png) 0 -47px no-repeat;cursor:pointer}
72
+ div.dark_square .pp_close{width:75px;height:22px;background:url(../images/prettyPhoto/dark_square/sprite.png) -1px -1px no-repeat;cursor:pointer}
73
+ div.dark_square .pp_nav{clear:none}
74
+ div.dark_square .pp_nav .pp_play{background:url(../images/prettyPhoto/dark_square/sprite.png) -1px -100px no-repeat;height:15px;width:14px}
75
+ div.dark_square .pp_nav .pp_pause{background:url(../images/prettyPhoto/dark_square/sprite.png) -24px -100px no-repeat;height:15px;width:14px}
76
+ div.dark_square .pp_arrow_previous{background:url(../images/prettyPhoto/dark_square/sprite.png) 0 -71px no-repeat}
77
+ div.dark_square .pp_arrow_next{background:url(../images/prettyPhoto/dark_square/sprite.png) -22px -71px no-repeat}
78
+ div.dark_square .pp_next:hover{background:url(../images/prettyPhoto/dark_square/btnNext.png) center right no-repeat;cursor:pointer}
79
+ div.dark_square .pp_previous:hover{background:url(../images/prettyPhoto/dark_square/btnPrevious.png) center left no-repeat;cursor:pointer}
80
+ div.light_square .pp_expand{background:url(../images/prettyPhoto/light_square/sprite.png) -31px -26px no-repeat;cursor:pointer}
81
+ div.light_square .pp_expand:hover{background:url(../images/prettyPhoto/light_square/sprite.png) -31px -47px no-repeat;cursor:pointer}
82
+ div.light_square .pp_contract{background:url(../images/prettyPhoto/light_square/sprite.png) 0 -26px no-repeat;cursor:pointer}
83
+ div.light_square .pp_contract:hover{background:url(../images/prettyPhoto/light_square/sprite.png) 0 -47px no-repeat;cursor:pointer}
84
+ div.light_square .pp_close{width:75px;height:22px;background:url(../images/prettyPhoto/light_square/sprite.png) -1px -1px no-repeat;cursor:pointer}
85
+ div.light_square .pp_nav .pp_play{background:url(../images/prettyPhoto/light_square/sprite.png) -1px -100px no-repeat;height:15px;width:14px}
86
+ div.light_square .pp_nav .pp_pause{background:url(../images/prettyPhoto/light_square/sprite.png) -24px -100px no-repeat;height:15px;width:14px}
87
+ div.light_square .pp_arrow_previous{background:url(../images/prettyPhoto/light_square/sprite.png) 0 -71px no-repeat}
88
+ div.light_square .pp_arrow_next{background:url(../images/prettyPhoto/light_square/sprite.png) -22px -71px no-repeat}
89
+ div.light_square .pp_next:hover{background:url(../images/prettyPhoto/light_square/btnNext.png) center right no-repeat;cursor:pointer}
90
+ div.light_square .pp_previous:hover{background:url(../images/prettyPhoto/light_square/btnPrevious.png) center left no-repeat;cursor:pointer}
91
+ div.facebook .pp_top .pp_left{background:url(../images/prettyPhoto/facebook/sprite.png) -88px -53px no-repeat}
92
+ div.facebook .pp_top .pp_middle{background:url(../images/prettyPhoto/facebook/contentPatternTop.png) top left repeat-x}
93
+ div.facebook .pp_top .pp_right{background:url(../images/prettyPhoto/facebook/sprite.png) -110px -53px no-repeat}
94
+ div.facebook .pp_content_container .pp_left{background:url(../images/prettyPhoto/facebook/contentPatternLeft.png) top left repeat-y}
95
+ div.facebook .pp_content_container .pp_right{background:url(../images/prettyPhoto/facebook/contentPatternRight.png) top right repeat-y}
96
+ div.facebook .pp_expand{background:url(../images/prettyPhoto/facebook/sprite.png) -31px -26px no-repeat;cursor:pointer}
97
+ div.facebook .pp_expand:hover{background:url(../images/prettyPhoto/facebook/sprite.png) -31px -47px no-repeat;cursor:pointer}
98
+ div.facebook .pp_contract{background:url(../images/prettyPhoto/facebook/sprite.png) 0 -26px no-repeat;cursor:pointer}
99
+ div.facebook .pp_contract:hover{background:url(../images/prettyPhoto/facebook/sprite.png) 0 -47px no-repeat;cursor:pointer}
100
+ div.facebook .pp_close{width:22px;height:22px;background:url(../images/prettyPhoto/facebook/sprite.png) -1px -1px no-repeat;cursor:pointer}
101
+ div.facebook .pp_description{margin:0 37px 0 0}
102
+ div.facebook .pp_loaderIcon{background:url(../images/prettyPhoto/facebook/loader.gif) center center no-repeat}
103
+ div.facebook .pp_arrow_previous{background:url(../images/prettyPhoto/facebook/sprite.png) 0 -71px no-repeat;height:22px;margin-top:0;width:22px}
104
+ div.facebook .pp_arrow_previous.disabled{background-position:0 -96px;cursor:default}
105
+ div.facebook .pp_arrow_next{background:url(../images/prettyPhoto/facebook/sprite.png) -32px -71px no-repeat;height:22px;margin-top:0;width:22px}
106
+ div.facebook .pp_arrow_next.disabled{background-position:-32px -96px;cursor:default}
107
+ div.facebook .pp_nav{margin-top:0}
108
+ div.facebook .pp_nav p{font-size:15px;padding:0 3px 0 4px}
109
+ div.facebook .pp_nav .pp_play{background:url(../images/prettyPhoto/facebook/sprite.png) -1px -123px no-repeat;height:22px;width:22px}
110
+ div.facebook .pp_nav .pp_pause{background:url(../images/prettyPhoto/facebook/sprite.png) -32px -123px no-repeat;height:22px;width:22px}
111
+ div.facebook .pp_next:hover{background:url(../images/prettyPhoto/facebook/btnNext.png) center right no-repeat;cursor:pointer}
112
+ div.facebook .pp_previous:hover{background:url(../images/prettyPhoto/facebook/btnPrevious.png) center left no-repeat;cursor:pointer}
113
+ div.facebook .pp_bottom .pp_left{background:url(../images/prettyPhoto/facebook/sprite.png) -88px -80px no-repeat}
114
+ div.facebook .pp_bottom .pp_middle{background:url(../images/prettyPhoto/facebook/contentPatternBottom.png) top left repeat-x}
115
+ div.facebook .pp_bottom .pp_right{background:url(../images/prettyPhoto/facebook/sprite.png) -110px -80px no-repeat}
116
+ div.pp_pic_holder a:focus{outline:none}
117
+ div.pp_overlay{background:#000;display:none;left:0;position:absolute;top:0;width:100%;z-index:9500}
118
+ div.pp_pic_holder{display:none;position:absolute;width:100px;z-index:10000}
119
+ .pp_content{height:40px;min-width:40px}
120
+ * html .pp_content{width:40px}
121
+ .pp_content_container{position:relative;text-align:left;width:100%}
122
+ .pp_content_container .pp_left{padding-left:20px}
123
+ .pp_content_container .pp_right{padding-right:20px}
124
+ .pp_content_container .pp_details{float:left;margin:10px 0 2px}
125
+ .pp_description{display:none;margin:0}
126
+ .pp_social{float:left;margin:0}
127
+ .pp_social .facebook{float:left;margin-left:5px;width:55px;overflow:hidden}
128
+ .pp_social .twitter{float:left}
129
+ .pp_nav{clear:right;float:left;margin:3px 10px 0 0}
130
+ .pp_nav p{float:left;white-space:nowrap;margin:2px 4px}
131
+ .pp_nav .pp_play,.pp_nav .pp_pause{float:left;margin-right:4px;text-indent:-10000px}
132
+ a.pp_arrow_previous,a.pp_arrow_next{display:block;float:left;height:15px;margin-top:3px;overflow:hidden;text-indent:-10000px;width:14px}
133
+ .pp_hoverContainer{position:absolute;top:0;width:100%;z-index:2000}
134
+ .pp_gallery{display:none;left:50%;margin-top:-50px;position:absolute;z-index:10000}
135
+ .pp_gallery div{float:left;overflow:hidden;position:relative}
136
+ .pp_gallery ul{float:left;height:35px;position:relative;white-space:nowrap;margin:0 0 0 5px;padding:0}
137
+ .pp_gallery ul a{border:1px rgba(0,0,0,0.5) solid;display:block;float:left;height:33px;overflow:hidden}
138
+ .pp_gallery ul a img{border:0}
139
+ .pp_gallery li{display:block;float:left;margin:0 5px 0 0;padding:0}
140
+ .pp_gallery li.default a{background:url(../images/prettyPhoto/facebook/default_thumbnail.gif) 0 0 no-repeat;display:block;height:33px;width:50px}
141
+ .pp_gallery .pp_arrow_previous,.pp_gallery .pp_arrow_next{margin-top:7px!important}
142
+ a.pp_next{background:url(../images/prettyPhoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;display:block;float:right;height:100%;text-indent:-10000px;width:49%}
143
+ a.pp_previous{background:url(../images/prettyPhoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;display:block;float:left;height:100%;text-indent:-10000px;width:49%}
144
+ a.pp_expand,a.pp_contract{cursor:pointer;display:none;height:20px;position:absolute;right:30px;text-indent:-10000px;top:10px;width:20px;z-index:20000}
145
+ a.pp_close{position:absolute;right:0;top:0;display:block;line-height:22px;text-indent:-10000px}
146
+ .pp_loaderIcon{display:block;height:24px;left:50%;position:absolute;top:50%;width:24px;margin:-12px 0 0 -12px}
147
+ #pp_full_res{line-height:1!important}
148
+ #pp_full_res .pp_inline{text-align:left}
149
+ #pp_full_res .pp_inline p{margin:0 0 15px}
150
+ div.ppt{color:#fff;display:none;font-size:17px;z-index:9999;margin:0 0 5px 15px}
151
+ div.pp_default .pp_content,div.light_rounded .pp_content{background-color:#fff}
152
+ div.pp_default #pp_full_res .pp_inline,div.light_rounded .pp_content .ppt,div.light_rounded #pp_full_res .pp_inline,div.light_square .pp_content .ppt,div.light_square #pp_full_res .pp_inline,div.facebook .pp_content .ppt,div.facebook #pp_full_res .pp_inline{color:#000}
153
+ div.pp_default .pp_gallery ul li a:hover,div.pp_default .pp_gallery ul li.selected a,.pp_gallery ul a:hover,.pp_gallery li.selected a{border-color:#fff}
154
+ div.pp_default .pp_details,div.light_rounded .pp_details,div.dark_rounded .pp_details,div.dark_square .pp_details,div.light_square .pp_details,div.facebook .pp_details{position:relative}
155
+ div.light_rounded .pp_top .pp_middle,div.light_rounded .pp_content_container .pp_left,div.light_rounded .pp_content_container .pp_right,div.light_rounded .pp_bottom .pp_middle,div.light_square .pp_left,div.light_square .pp_middle,div.light_square .pp_right,div.light_square .pp_content,div.facebook .pp_content{background:#fff}
156
+ div.light_rounded .pp_description,div.light_square .pp_description{margin-right:85px}
157
+ div.light_rounded .pp_gallery a.pp_arrow_previous,div.light_rounded .pp_gallery a.pp_arrow_next,div.dark_rounded .pp_gallery a.pp_arrow_previous,div.dark_rounded .pp_gallery a.pp_arrow_next,div.dark_square .pp_gallery a.pp_arrow_previous,div.dark_square .pp_gallery a.pp_arrow_next,div.light_square .pp_gallery a.pp_arrow_previous,div.light_square .pp_gallery a.pp_arrow_next{margin-top:12px!important}
158
+ div.light_rounded .pp_arrow_previous.disabled,div.dark_rounded .pp_arrow_previous.disabled,div.dark_square .pp_arrow_previous.disabled,div.light_square .pp_arrow_previous.disabled{background-position:0 -87px;cursor:default}
159
+ div.light_rounded .pp_arrow_next.disabled,div.dark_rounded .pp_arrow_next.disabled,div.dark_square .pp_arrow_next.disabled,div.light_square .pp_arrow_next.disabled{background-position:-22px -87px;cursor:default}
160
+ div.light_rounded .pp_loaderIcon,div.light_square .pp_loaderIcon{background:url(../images/prettyPhoto/light_rounded/loader.gif) center center no-repeat}
161
+ div.dark_rounded .pp_top .pp_middle,div.dark_rounded .pp_content,div.dark_rounded .pp_bottom .pp_middle{background:url(../images/prettyPhoto/dark_rounded/contentPattern.png) top left repeat}
162
+ div.dark_rounded .currentTextHolder,div.dark_square .currentTextHolder{color:#c4c4c4}
163
+ div.dark_rounded #pp_full_res .pp_inline,div.dark_square #pp_full_res .pp_inline{color:#fff}
164
+ .pp_top,.pp_bottom{height:20px;position:relative}
165
+ * html .pp_top,* html .pp_bottom{padding:0 20px}
166
+ .pp_top .pp_left,.pp_bottom .pp_left{height:20px;left:0;position:absolute;width:20px}
167
+ .pp_top .pp_middle,.pp_bottom .pp_middle{height:20px;left:20px;position:absolute;right:20px}
168
+ * html .pp_top .pp_middle,* html .pp_bottom .pp_middle{left:0;position:static}
169
+ .pp_top .pp_right,.pp_bottom .pp_right{height:20px;left:auto;position:absolute;right:0;top:0;width:20px}
170
  .pp_fade,.pp_gallery li.default a img{display:none}
assets/prettyphoto/js/jquery.prettyPhoto.js CHANGED
@@ -1,7 +1,7 @@
1
- /* ------------------------------------------------------------------------
2
- Class: prettyPhoto
3
- Use: Lightbox clone for jQuery
4
- Author: Stephane Caron (http://www.no-margin-for-errors.com)
5
- Version: 3.1.5
6
- ------------------------------------------------------------------------- */
7
  (function(e){function t(){var e=location.href;hashtag=e.indexOf("#prettyPhoto")!==-1?decodeURI(e.substring(e.indexOf("#prettyPhoto")+1,e.length)):false;return hashtag}function n(){if(typeof theRel=="undefined")return;location.hash=theRel+"/"+rel_index+"/"}function r(){if(location.href.indexOf("#prettyPhoto")!==-1)location.hash="prettyPhoto"}function i(e,t){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n="[\\?&]"+e+"=([^&#]*)";var r=new RegExp(n);var i=r.exec(t);return i==null?"":i[1]}e.prettyPhoto={version:"3.1.5"};e.fn.prettyPhoto=function(s){function g(){e(".pp_loaderIcon").hide();projectedTop=scroll_pos["scrollTop"]+(d/2-a["containerHeight"]/2);if(projectedTop<0)projectedTop=0;$ppt.fadeTo(settings.animation_speed,1);$pp_pic_holder.find(".pp_content").animate({height:a["contentHeight"],width:a["contentWidth"]},settings.animation_speed);$pp_pic_holder.animate({top:projectedTop,left:v/2-a["containerWidth"]/2<0?0:v/2-a["containerWidth"]/2,width:a["containerWidth"]},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(a["height"]).width(a["width"]);$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed);if(isSet&&S(pp_images[set_position])=="image"){$pp_pic_holder.find(".pp_hoverContainer").show()}else{$pp_pic_holder.find(".pp_hoverContainer").hide()}if(settings.allow_expand){if(a["resized"]){e("a.pp_expand,a.pp_contract").show()}else{e("a.pp_expand").hide()}}if(settings.autoplay_slideshow&&!m&&!f)e.prettyPhoto.startSlideshow();settings.changepicturecallback();f=true});C();s.ajaxcallback()}function y(t){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden");$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){e(".pp_loaderIcon").show();t()})}function b(t){t>1?e(".pp_nav").show():e(".pp_nav").hide()}function w(e,t){resized=false;E(e,t);imageWidth=e,imageHeight=t;if((p>v||h>d)&&doresize&&settings.allow_resize&&!u){resized=true,fitting=false;while(!fitting){if(p>v){imageWidth=v-200;imageHeight=t/e*imageWidth}else if(h>d){imageHeight=d-200;imageWidth=e/t*imageHeight}else{fitting=true}h=imageHeight,p=imageWidth}if(p>v||h>d){w(p,h)}E(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(h),containerWidth:Math.floor(p)+settings.horizontal_padding*2,contentHeight:Math.floor(l),contentWidth:Math.floor(c),resized:resized}}function E(t,n){t=parseFloat(t);n=parseFloat(n);$pp_details=$pp_pic_holder.find(".pp_details");$pp_details.width(t);detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom"));$pp_details=$pp_details.clone().addClass(settings.theme).width(t).appendTo(e("body")).css({position:"absolute",top:-1e4});detailsHeight+=$pp_details.height();detailsHeight=detailsHeight<=34?36:detailsHeight;$pp_details.remove();$pp_title=$pp_pic_holder.find(".ppt");$pp_title.width(t);titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom"));$pp_title=$pp_title.clone().appendTo(e("body")).css({position:"absolute",top:-1e4});titleHeight+=$pp_title.height();$pp_title.remove();l=n+detailsHeight;c=t;h=l+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height();p=t}function S(e){if(e.match(/youtube\.com\/watch/i)||e.match(/youtu\.be/i)){return"youtube"}else if(e.match(/vimeo\.com/i)){return"vimeo"}else if(e.match(/\b.mov\b/i)){return"quicktime"}else if(e.match(/\b.swf\b/i)){return"flash"}else if(e.match(/\biframe=true\b/i)){return"iframe"}else if(e.match(/\bajax=true\b/i)){return"ajax"}else if(e.match(/\bcustom=true\b/i)){return"custom"}else if(e.substr(0,1)=="#"){return"inline"}else{return"image"}}function x(){if(doresize&&typeof $pp_pic_holder!="undefined"){scroll_pos=T();contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width();projectedTop=d/2+scroll_pos["scrollTop"]-contentHeight/2;if(projectedTop<0)projectedTop=0;if(contentHeight>d)return;$pp_pic_holder.css({top:projectedTop,left:v/2+scroll_pos["scrollLeft"]-contentwidth/2})}}function T(){if(self.pageYOffset){return{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}}else if(document.documentElement&&document.documentElement.scrollTop){return{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}}else if(document.body){return{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}}}function N(){d=e(window).height(),v=e(window).width();if(typeof $pp_overlay!="undefined")$pp_overlay.height(e(document).height()).width(v)}function C(){if(isSet&&settings.overlay_gallery&&S(pp_images[set_position])=="image"){itemWidth=52+5;navWidth=settings.theme=="facebook"||settings.theme=="pp_default"?50:30;itemsPerPage=Math.floor((a["containerWidth"]-100-navWidth)/itemWidth);itemsPerPage=itemsPerPage<pp_images.length?itemsPerPage:pp_images.length;totalPage=Math.ceil(pp_images.length/itemsPerPage)-1;if(totalPage==0){navWidth=0;$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").hide()}else{$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").show()}galleryWidth=itemsPerPage*itemWidth;fullGalleryWidth=pp_images.length*itemWidth;$pp_gallery.css("margin-left",-(galleryWidth/2+navWidth/2)).find("div:first").width(galleryWidth+5).find("ul").width(fullGalleryWidth).find("li.selected").removeClass("selected");goToPage=Math.floor(set_position/itemsPerPage)<totalPage?Math.floor(set_position/itemsPerPage):totalPage;e.prettyPhoto.changeGalleryPage(goToPage);$pp_gallery_li.filter(":eq("+set_position+")").addClass("selected")}else{$pp_pic_holder.find(".pp_content").unbind("mouseenter mouseleave")}}function k(t){if(settings.social_tools)facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href));settings.markup=settings.markup.replace("{pp_social}","");e("body").append(settings.markup);$pp_pic_holder=e(".pp_pic_holder"),$ppt=e(".ppt"),$pp_overlay=e("div.pp_overlay");if(isSet&&settings.overlay_gallery){currentGalleryPage=0;toInject="";for(var n=0;n<pp_images.length;n++){if(!pp_images[n].match(/\b(jpg|jpeg|png|gif)\b/gi)){classname="default";img_src=""}else{classname="";img_src=pp_images[n]}toInject+="<li class='"+classname+"'><a href='#'><img src='"+img_src+"' width='50' alt='' /></a></li>"}toInject=settings.gallery_markup.replace(/{gallery}/g,toInject);$pp_pic_holder.find("#pp_full_res").after(toInject);$pp_gallery=e(".pp_pic_holder .pp_gallery"),$pp_gallery_li=$pp_gallery.find("li");$pp_gallery.find(".pp_arrow_next").click(function(){e.prettyPhoto.changeGalleryPage("next");e.prettyPhoto.stopSlideshow();return false});$pp_gallery.find(".pp_arrow_previous").click(function(){e.prettyPhoto.changeGalleryPage("previous");e.prettyPhoto.stopSlideshow();return false});$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()});itemWidth=52+5;$pp_gallery_li.each(function(t){e(this).find("a").click(function(){e.prettyPhoto.changePage(t);e.prettyPhoto.stopSlideshow();return false})})}if(settings.slideshow){$pp_pic_holder.find(".pp_nav").prepend('<a href="#" class="pp_play">Play</a>');$pp_pic_holder.find(".pp_nav .pp_play").click(function(){e.prettyPhoto.startSlideshow();return false})}$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme);$pp_overlay.css({opacity:0,height:e(document).height(),width:e(window).width()}).bind("click",function(){if(!settings.modal)e.prettyPhoto.close()});e("a.pp_close").bind("click",function(){e.prettyPhoto.close();return false});if(settings.allow_expand){e("a.pp_expand").bind("click",function(t){if(e(this).hasClass("pp_expand")){e(this).removeClass("pp_expand").addClass("pp_contract");doresize=false}else{e(this).removeClass("pp_contract").addClass("pp_expand");doresize=true}y(function(){e.prettyPhoto.open()});return false})}$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").bind("click",function(){e.prettyPhoto.changePage("previous");e.prettyPhoto.stopSlideshow();return false});$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").bind("click",function(){e.prettyPhoto.changePage("next");e.prettyPhoto.stopSlideshow();return false});x()}s=jQuery.extend({hook:"rel",animation_speed:"fast",ajaxcallback:function(){},slideshow:5e3,autoplay_slideshow:false,opacity:.8,show_title:true,allow_resize:true,allow_expand:true,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:false,wmode:"opaque",autoplay:true,modal:false,deeplinking:true,overlay_gallery:true,overlay_gallery_max:30,keyboard_shortcuts:true,changepicturecallback:function(){},callback:function(){},ie6_fallback:true,markup:'<div class="pp_pic_holder"> <div class="ppt"> </div> <div class="pp_top"> <div class="pp_left"></div> <div class="pp_middle"></div> <div class="pp_right"></div> </div> <div class="pp_content_container"> <div class="pp_left"> <div class="pp_right"> <div class="pp_content"> <div class="pp_loaderIcon"></div> <div class="pp_fade"> <a href="#" class="pp_expand" title="Expand the image">Expand</a> <div class="pp_hoverContainer"> <a class="pp_next" href="#">next</a> <a class="pp_previous" href="#">previous</a> </div> <div id="pp_full_res"></div> <div class="pp_details"> <div class="pp_nav"> <a href="#" class="pp_arrow_previous">Previous</a> <p class="currentTextHolder">0/0</p> <a href="#" class="pp_arrow_next">Next</a> </div> <p class="pp_description"></p> <div class="pp_social">{pp_social}</div> <a class="pp_close" href="#">Close</a> </div> </div> </div> </div> </div> </div> <div class="pp_bottom"> <div class="pp_left"></div> <div class="pp_middle"></div> <div class="pp_right"></div> </div> </div> <div class="pp_overlay"></div>',gallery_markup:'<div class="pp_gallery"> <a href="#" class="pp_arrow_previous">Previous</a> <div> <ul> {gallery} </ul> </div> <a href="#" class="pp_arrow_next">Next</a> </div>',image_markup:'<img id="fullResImage" src="{path}" />',flash_markup:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',quicktime_markup:'<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',iframe_markup:'<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',inline_markup:'<div class="pp_inline">{content}</div>',custom_markup:"",social_tools:'<div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div>'},s);var o=this,u=false,a,f,l,c,h,p,d=e(window).height(),v=e(window).width(),m;doresize=true,scroll_pos=T();e(window).unbind("resize.prettyphoto").bind("resize.prettyphoto",function(){x();N()});if(s.keyboard_shortcuts){e(document).unbind("keydown.prettyphoto").bind("keydown.prettyphoto",function(t){if(typeof $pp_pic_holder!="undefined"){if($pp_pic_holder.is(":visible")){switch(t.keyCode){case 37:e.prettyPhoto.changePage("previous");t.preventDefault();break;case 39:e.prettyPhoto.changePage("next");t.preventDefault();break;case 27:if(!settings.modal)e.prettyPhoto.close();t.preventDefault();break}}}})}e.prettyPhoto.initialize=function(){settings=s;if(settings.theme=="pp_default")settings.horizontal_padding=16;theRel=e(this).attr(settings.hook);galleryRegExp=/\[(?:.*)\]/;isSet=galleryRegExp.exec(theRel)?true:false;pp_images=isSet?jQuery.map(o,function(t,n){if(e(t).attr(settings.hook).indexOf(theRel)!=-1)return e(t).attr("href")}):e.makeArray(e(this).attr("href"));pp_titles=isSet?jQuery.map(o,function(t,n){if(e(t).attr(settings.hook).indexOf(theRel)!=-1)return e(t).find("img").attr("alt")?e(t).find("img").attr("alt"):""}):e.makeArray(e(this).find("img").attr("alt"));pp_descriptions=isSet?jQuery.map(o,function(t,n){if(e(t).attr(settings.hook).indexOf(theRel)!=-1)return e(t).attr("title")?e(t).attr("title"):""}):e.makeArray(e(this).attr("title"));if(pp_images.length>settings.overlay_gallery_max)settings.overlay_gallery=false;set_position=jQuery.inArray(e(this).attr("href"),pp_images);rel_index=isSet?set_position:e("a["+settings.hook+"^='"+theRel+"']").index(e(this));k(this);if(settings.allow_resize)e(window).bind("scroll.prettyphoto",function(){x()});e.prettyPhoto.open();return false};e.prettyPhoto.open=function(t){if(typeof settings=="undefined"){settings=s;pp_images=e.makeArray(arguments[0]);pp_titles=arguments[1]?e.makeArray(arguments[1]):e.makeArray("");pp_descriptions=arguments[2]?e.makeArray(arguments[2]):e.makeArray("");isSet=pp_images.length>1?true:false;set_position=arguments[3]?arguments[3]:0;k(t.target)}if(settings.hideflash)e("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","hidden");b(e(pp_images).size());e(".pp_loaderIcon").show();if(settings.deeplinking)n();if(settings.social_tools){facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href));$pp_pic_holder.find(".pp_social").html(facebook_like_link)}if($ppt.is(":hidden"))$ppt.css("opacity",0).show();$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity);$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+e(pp_images).size());if(typeof pp_descriptions[set_position]!="undefined"&&pp_descriptions[set_position]!=""){$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position]))}else{$pp_pic_holder.find(".pp_description").hide()}movie_width=parseFloat(i("width",pp_images[set_position]))?i("width",pp_images[set_position]):settings.default_width.toString();movie_height=parseFloat(i("height",pp_images[set_position]))?i("height",pp_images[set_position]):settings.default_height.toString();u=false;if(movie_height.indexOf("%")!=-1){movie_height=parseFloat(e(window).height()*parseFloat(movie_height)/100-150);u=true}if(movie_width.indexOf("%")!=-1){movie_width=parseFloat(e(window).width()*parseFloat(movie_width)/100-150);u=true}$pp_pic_holder.fadeIn(function(){settings.show_title&&pp_titles[set_position]!=""&&typeof pp_titles[set_position]!="undefined"?$ppt.html(unescape(pp_titles[set_position])):$ppt.html(" ");imgPreloader="";skipInjection=false;switch(S(pp_images[set_position])){case"image":imgPreloader=new Image;nextImage=new Image;if(isSet&&set_position<e(pp_images).size()-1)nextImage.src=pp_images[set_position+1];prevImage=new Image;if(isSet&&pp_images[set_position-1])prevImage.src=pp_images[set_position-1];$pp_pic_holder.find("#pp_full_res")[0].innerHTML=settings.image_markup.replace(/{path}/g,pp_images[set_position]);imgPreloader.onload=function(){a=w(imgPreloader.width,imgPreloader.height);g()};imgPreloader.onerror=function(){alert("Image cannot be loaded. Make sure the path is correct and image exist.");e.prettyPhoto.close()};imgPreloader.src=pp_images[set_position];break;case"youtube":a=w(movie_width,movie_height);movie_id=i("v",pp_images[set_position]);if(movie_id==""){movie_id=pp_images[set_position].split("youtu.be/");movie_id=movie_id[1];if(movie_id.indexOf("?")>0)movie_id=movie_id.substr(0,movie_id.indexOf("?"));if(movie_id.indexOf("&")>0)movie_id=movie_id.substr(0,movie_id.indexOf("&"))}movie="http://www.youtube.com/embed/"+movie_id;i("rel",pp_images[set_position])?movie+="?rel="+i("rel",pp_images[set_position]):movie+="?rel=1";if(settings.autoplay)movie+="&autoplay=1";toInject=settings.iframe_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":a=w(movie_width,movie_height);movie_id=pp_images[set_position];var t=/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/;var n=movie_id.match(t);movie="http://player.vimeo.com/video/"+n[3]+"?title=0&byline=0&portrait=0";if(settings.autoplay)movie+="&autoplay=1;";vimeo_width=a["width"]+"/embed/?moog_width="+a["width"];toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,a["height"]).replace(/{path}/g,movie);break;case"quicktime":a=w(movie_width,movie_height);a["height"]+=15;a["contentHeight"]+=15;a["containerHeight"]+=15;toInject=settings.quicktime_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":a=w(movie_width,movie_height);flash_vars=pp_images[set_position];flash_vars=flash_vars.substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length);filename=pp_images[set_position];filename=filename.substring(0,filename.indexOf("?"));toInject=settings.flash_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":a=w(movie_width,movie_height);frame_url=pp_images[set_position];frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1);toInject=settings.iframe_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{path}/g,frame_url);break;case"ajax":doresize=false;a=w(movie_width,movie_height);doresize=true;skipInjection=true;e.get(pp_images[set_position],function(e){toInject=settings.inline_markup.replace(/{content}/g,e);$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject;g()});break;case"custom":a=w(movie_width,movie_height);toInject=settings.custom_markup;break;case"inline":myClone=e(pp_images[set_position]).clone().append('<br clear="all" />').css({width:settings.default_width}).wrapInner('<div id="pp_full_res"><div class="pp_inline"></div></div>').appendTo(e("body")).show();doresize=false;a=w(e(myClone).width(),e(myClone).height());doresize=true;e(myClone).remove();toInject=settings.inline_markup.replace(/{content}/g,e(pp_images[set_position]).html());break}if(!imgPreloader&&!skipInjection){$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject;g()}});return false};e.prettyPhoto.changePage=function(t){currentGalleryPage=0;if(t=="previous"){set_position--;if(set_position<0)set_position=e(pp_images).size()-1}else if(t=="next"){set_position++;if(set_position>e(pp_images).size()-1)set_position=0}else{set_position=t}rel_index=set_position;if(!doresize)doresize=true;if(settings.allow_expand){e(".pp_contract").removeClass("pp_contract").addClass("pp_expand")}y(function(){e.prettyPhoto.open()})};e.prettyPhoto.changeGalleryPage=function(e){if(e=="next"){currentGalleryPage++;if(currentGalleryPage>totalPage)currentGalleryPage=0}else if(e=="previous"){currentGalleryPage--;if(currentGalleryPage<0)currentGalleryPage=totalPage}else{currentGalleryPage=e}slide_speed=e=="next"||e=="previous"?settings.animation_speed:0;slide_to=currentGalleryPage*itemsPerPage*itemWidth;$pp_gallery.find("ul").animate({left:-slide_to},slide_speed)};e.prettyPhoto.startSlideshow=function(){if(typeof m=="undefined"){$pp_pic_holder.find(".pp_play").unbind("click").removeClass("pp_play").addClass("pp_pause").click(function(){e.prettyPhoto.stopSlideshow();return false});m=setInterval(e.prettyPhoto.startSlideshow,settings.slideshow)}else{e.prettyPhoto.changePage("next")}};e.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").unbind("click").removeClass("pp_pause").addClass("pp_play").click(function(){e.prettyPhoto.startSlideshow();return false});clearInterval(m);m=undefined};e.prettyPhoto.close=function(){if($pp_overlay.is(":animated"))return;e.prettyPhoto.stopSlideshow();$pp_pic_holder.stop().find("object,embed").css("visibility","hidden");e("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){e(this).remove()});$pp_overlay.fadeOut(settings.animation_speed,function(){if(settings.hideflash)e("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","visible");e(this).remove();e(window).unbind("scroll.prettyphoto");r();settings.callback();doresize=true;f=false;delete settings})};if(!pp_alreadyInitialized&&t()){pp_alreadyInitialized=true;hashIndex=t();hashRel=hashIndex;hashIndex=hashIndex.substring(hashIndex.indexOf("/")+1,hashIndex.length-1);hashRel=hashRel.substring(0,hashRel.indexOf("/"));setTimeout(function(){e("a["+s.hook+"^='"+hashRel+"']:eq("+hashIndex+")").trigger("click")},50)}return this.unbind("click.prettyphoto").bind("click.prettyphoto",e.prettyPhoto.initialize)};})(jQuery);var pp_alreadyInitialized=false
1
+ /* ------------------------------------------------------------------------
2
+ Class: prettyPhoto
3
+ Use: Lightbox clone for jQuery
4
+ Author: Stephane Caron (http://www.no-margin-for-errors.com)
5
+ Version: 3.1.5
6
+ ------------------------------------------------------------------------- */
7
  (function(e){function t(){var e=location.href;hashtag=e.indexOf("#prettyPhoto")!==-1?decodeURI(e.substring(e.indexOf("#prettyPhoto")+1,e.length)):false;return hashtag}function n(){if(typeof theRel=="undefined")return;location.hash=theRel+"/"+rel_index+"/"}function r(){if(location.href.indexOf("#prettyPhoto")!==-1)location.hash="prettyPhoto"}function i(e,t){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n="[\\?&]"+e+"=([^&#]*)";var r=new RegExp(n);var i=r.exec(t);return i==null?"":i[1]}e.prettyPhoto={version:"3.1.5"};e.fn.prettyPhoto=function(s){function g(){e(".pp_loaderIcon").hide();projectedTop=scroll_pos["scrollTop"]+(d/2-a["containerHeight"]/2);if(projectedTop<0)projectedTop=0;$ppt.fadeTo(settings.animation_speed,1);$pp_pic_holder.find(".pp_content").animate({height:a["contentHeight"],width:a["contentWidth"]},settings.animation_speed);$pp_pic_holder.animate({top:projectedTop,left:v/2-a["containerWidth"]/2<0?0:v/2-a["containerWidth"]/2,width:a["containerWidth"]},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(a["height"]).width(a["width"]);$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed);if(isSet&&S(pp_images[set_position])=="image"){$pp_pic_holder.find(".pp_hoverContainer").show()}else{$pp_pic_holder.find(".pp_hoverContainer").hide()}if(settings.allow_expand){if(a["resized"]){e("a.pp_expand,a.pp_contract").show()}else{e("a.pp_expand").hide()}}if(settings.autoplay_slideshow&&!m&&!f)e.prettyPhoto.startSlideshow();settings.changepicturecallback();f=true});C();s.ajaxcallback()}function y(t){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden");$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){e(".pp_loaderIcon").show();t()})}function b(t){t>1?e(".pp_nav").show():e(".pp_nav").hide()}function w(e,t){resized=false;E(e,t);imageWidth=e,imageHeight=t;if((p>v||h>d)&&doresize&&settings.allow_resize&&!u){resized=true,fitting=false;while(!fitting){if(p>v){imageWidth=v-200;imageHeight=t/e*imageWidth}else if(h>d){imageHeight=d-200;imageWidth=e/t*imageHeight}else{fitting=true}h=imageHeight,p=imageWidth}if(p>v||h>d){w(p,h)}E(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(h),containerWidth:Math.floor(p)+settings.horizontal_padding*2,contentHeight:Math.floor(l),contentWidth:Math.floor(c),resized:resized}}function E(t,n){t=parseFloat(t);n=parseFloat(n);$pp_details=$pp_pic_holder.find(".pp_details");$pp_details.width(t);detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom"));$pp_details=$pp_details.clone().addClass(settings.theme).width(t).appendTo(e("body")).css({position:"absolute",top:-1e4});detailsHeight+=$pp_details.height();detailsHeight=detailsHeight<=34?36:detailsHeight;$pp_details.remove();$pp_title=$pp_pic_holder.find(".ppt");$pp_title.width(t);titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom"));$pp_title=$pp_title.clone().appendTo(e("body")).css({position:"absolute",top:-1e4});titleHeight+=$pp_title.height();$pp_title.remove();l=n+detailsHeight;c=t;h=l+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height();p=t}function S(e){if(e.match(/youtube\.com\/watch/i)||e.match(/youtu\.be/i)){return"youtube"}else if(e.match(/vimeo\.com/i)){return"vimeo"}else if(e.match(/\b.mov\b/i)){return"quicktime"}else if(e.match(/\b.swf\b/i)){return"flash"}else if(e.match(/\biframe=true\b/i)){return"iframe"}else if(e.match(/\bajax=true\b/i)){return"ajax"}else if(e.match(/\bcustom=true\b/i)){return"custom"}else if(e.substr(0,1)=="#"){return"inline"}else{return"image"}}function x(){if(doresize&&typeof $pp_pic_holder!="undefined"){scroll_pos=T();contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width();projectedTop=d/2+scroll_pos["scrollTop"]-contentHeight/2;if(projectedTop<0)projectedTop=0;if(contentHeight>d)return;$pp_pic_holder.css({top:projectedTop,left:v/2+scroll_pos["scrollLeft"]-contentwidth/2})}}function T(){if(self.pageYOffset){return{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}}else if(document.documentElement&&document.documentElement.scrollTop){return{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}}else if(document.body){return{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}}}function N(){d=e(window).height(),v=e(window).width();if(typeof $pp_overlay!="undefined")$pp_overlay.height(e(document).height()).width(v)}function C(){if(isSet&&settings.overlay_gallery&&S(pp_images[set_position])=="image"){itemWidth=52+5;navWidth=settings.theme=="facebook"||settings.theme=="pp_default"?50:30;itemsPerPage=Math.floor((a["containerWidth"]-100-navWidth)/itemWidth);itemsPerPage=itemsPerPage<pp_images.length?itemsPerPage:pp_images.length;totalPage=Math.ceil(pp_images.length/itemsPerPage)-1;if(totalPage==0){navWidth=0;$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").hide()}else{$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").show()}galleryWidth=itemsPerPage*itemWidth;fullGalleryWidth=pp_images.length*itemWidth;$pp_gallery.css("margin-left",-(galleryWidth/2+navWidth/2)).find("div:first").width(galleryWidth+5).find("ul").width(fullGalleryWidth).find("li.selected").removeClass("selected");goToPage=Math.floor(set_position/itemsPerPage)<totalPage?Math.floor(set_position/itemsPerPage):totalPage;e.prettyPhoto.changeGalleryPage(goToPage);$pp_gallery_li.filter(":eq("+set_position+")").addClass("selected")}else{$pp_pic_holder.find(".pp_content").unbind("mouseenter mouseleave")}}function k(t){if(settings.social_tools)facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href));settings.markup=settings.markup.replace("{pp_social}","");e("body").append(settings.markup);$pp_pic_holder=e(".pp_pic_holder"),$ppt=e(".ppt"),$pp_overlay=e("div.pp_overlay");if(isSet&&settings.overlay_gallery){currentGalleryPage=0;toInject="";for(var n=0;n<pp_images.length;n++){if(!pp_images[n].match(/\b(jpg|jpeg|png|gif)\b/gi)){classname="default";img_src=""}else{classname="";img_src=pp_images[n]}toInject+="<li class='"+classname+"'><a href='#'><img src='"+img_src+"' width='50' alt='' /></a></li>"}toInject=settings.gallery_markup.replace(/{gallery}/g,toInject);$pp_pic_holder.find("#pp_full_res").after(toInject);$pp_gallery=e(".pp_pic_holder .pp_gallery"),$pp_gallery_li=$pp_gallery.find("li");$pp_gallery.find(".pp_arrow_next").click(function(){e.prettyPhoto.changeGalleryPage("next");e.prettyPhoto.stopSlideshow();return false});$pp_gallery.find(".pp_arrow_previous").click(function(){e.prettyPhoto.changeGalleryPage("previous");e.prettyPhoto.stopSlideshow();return false});$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()});itemWidth=52+5;$pp_gallery_li.each(function(t){e(this).find("a").click(function(){e.prettyPhoto.changePage(t);e.prettyPhoto.stopSlideshow();return false})})}if(settings.slideshow){$pp_pic_holder.find(".pp_nav").prepend('<a href="#" class="pp_play">Play</a>');$pp_pic_holder.find(".pp_nav .pp_play").click(function(){e.prettyPhoto.startSlideshow();return false})}$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme);$pp_overlay.css({opacity:0,height:e(document).height(),width:e(window).width()}).bind("click",function(){if(!settings.modal)e.prettyPhoto.close()});e("a.pp_close").bind("click",function(){e.prettyPhoto.close();return false});if(settings.allow_expand){e("a.pp_expand").bind("click",function(t){if(e(this).hasClass("pp_expand")){e(this).removeClass("pp_expand").addClass("pp_contract");doresize=false}else{e(this).removeClass("pp_contract").addClass("pp_expand");doresize=true}y(function(){e.prettyPhoto.open()});return false})}$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").bind("click",function(){e.prettyPhoto.changePage("previous");e.prettyPhoto.stopSlideshow();return false});$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").bind("click",function(){e.prettyPhoto.changePage("next");e.prettyPhoto.stopSlideshow();return false});x()}s=jQuery.extend({hook:"rel",animation_speed:"fast",ajaxcallback:function(){},slideshow:5e3,autoplay_slideshow:false,opacity:.8,show_title:true,allow_resize:true,allow_expand:true,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:false,wmode:"opaque",autoplay:true,modal:false,deeplinking:true,overlay_gallery:true,overlay_gallery_max:30,keyboard_shortcuts:true,changepicturecallback:function(){},callback:function(){},ie6_fallback:true,markup:'<div class="pp_pic_holder"> <div class="ppt"> </div> <div class="pp_top"> <div class="pp_left"></div> <div class="pp_middle"></div> <div class="pp_right"></div> </div> <div class="pp_content_container"> <div class="pp_left"> <div class="pp_right"> <div class="pp_content"> <div class="pp_loaderIcon"></div> <div class="pp_fade"> <a href="#" class="pp_expand" title="Expand the image">Expand</a> <div class="pp_hoverContainer"> <a class="pp_next" href="#">next</a> <a class="pp_previous" href="#">previous</a> </div> <div id="pp_full_res"></div> <div class="pp_details"> <div class="pp_nav"> <a href="#" class="pp_arrow_previous">Previous</a> <p class="currentTextHolder">0/0</p> <a href="#" class="pp_arrow_next">Next</a> </div> <p class="pp_description"></p> <div class="pp_social">{pp_social}</div> <a class="pp_close" href="#">Close</a> </div> </div> </div> </div> </div> </div> <div class="pp_bottom"> <div class="pp_left"></div> <div class="pp_middle"></div> <div class="pp_right"></div> </div> </div> <div class="pp_overlay"></div>',gallery_markup:'<div class="pp_gallery"> <a href="#" class="pp_arrow_previous">Previous</a> <div> <ul> {gallery} </ul> </div> <a href="#" class="pp_arrow_next">Next</a> </div>',image_markup:'<img id="fullResImage" src="{path}" />',flash_markup:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',quicktime_markup:'<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',iframe_markup:'<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',inline_markup:'<div class="pp_inline">{content}</div>',custom_markup:"",social_tools:'<div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div>'},s);var o=this,u=false,a,f,l,c,h,p,d=e(window).height(),v=e(window).width(),m;doresize=true,scroll_pos=T();e(window).unbind("resize.prettyphoto").bind("resize.prettyphoto",function(){x();N()});if(s.keyboard_shortcuts){e(document).unbind("keydown.prettyphoto").bind("keydown.prettyphoto",function(t){if(typeof $pp_pic_holder!="undefined"){if($pp_pic_holder.is(":visible")){switch(t.keyCode){case 37:e.prettyPhoto.changePage("previous");t.preventDefault();break;case 39:e.prettyPhoto.changePage("next");t.preventDefault();break;case 27:if(!settings.modal)e.prettyPhoto.close();t.preventDefault();break}}}})}e.prettyPhoto.initialize=function(){settings=s;if(settings.theme=="pp_default")settings.horizontal_padding=16;theRel=e(this).attr(settings.hook);galleryRegExp=/\[(?:.*)\]/;isSet=galleryRegExp.exec(theRel)?true:false;pp_images=isSet?jQuery.map(o,function(t,n){if(e(t).attr(settings.hook).indexOf(theRel)!=-1)return e(t).attr("href")}):e.makeArray(e(this).attr("href"));pp_titles=isSet?jQuery.map(o,function(t,n){if(e(t).attr(settings.hook).indexOf(theRel)!=-1)return e(t).find("img").attr("alt")?e(t).find("img").attr("alt"):""}):e.makeArray(e(this).find("img").attr("alt"));pp_descriptions=isSet?jQuery.map(o,function(t,n){if(e(t).attr(settings.hook).indexOf(theRel)!=-1)return e(t).attr("title")?e(t).attr("title"):""}):e.makeArray(e(this).attr("title"));if(pp_images.length>settings.overlay_gallery_max)settings.overlay_gallery=false;set_position=jQuery.inArray(e(this).attr("href"),pp_images);rel_index=isSet?set_position:e("a["+settings.hook+"^='"+theRel+"']").index(e(this));k(this);if(settings.allow_resize)e(window).bind("scroll.prettyphoto",function(){x()});e.prettyPhoto.open();return false};e.prettyPhoto.open=function(t){if(typeof settings=="undefined"){settings=s;pp_images=e.makeArray(arguments[0]);pp_titles=arguments[1]?e.makeArray(arguments[1]):e.makeArray("");pp_descriptions=arguments[2]?e.makeArray(arguments[2]):e.makeArray("");isSet=pp_images.length>1?true:false;set_position=arguments[3]?arguments[3]:0;k(t.target)}if(settings.hideflash)e("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","hidden");b(e(pp_images).size());e(".pp_loaderIcon").show();if(settings.deeplinking)n();if(settings.social_tools){facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href));$pp_pic_holder.find(".pp_social").html(facebook_like_link)}if($ppt.is(":hidden"))$ppt.css("opacity",0).show();$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity);$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+e(pp_images).size());if(typeof pp_descriptions[set_position]!="undefined"&&pp_descriptions[set_position]!=""){$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position]))}else{$pp_pic_holder.find(".pp_description").hide()}movie_width=parseFloat(i("width",pp_images[set_position]))?i("width",pp_images[set_position]):settings.default_width.toString();movie_height=parseFloat(i("height",pp_images[set_position]))?i("height",pp_images[set_position]):settings.default_height.toString();u=false;if(movie_height.indexOf("%")!=-1){movie_height=parseFloat(e(window).height()*parseFloat(movie_height)/100-150);u=true}if(movie_width.indexOf("%")!=-1){movie_width=parseFloat(e(window).width()*parseFloat(movie_width)/100-150);u=true}$pp_pic_holder.fadeIn(function(){settings.show_title&&pp_titles[set_position]!=""&&typeof pp_titles[set_position]!="undefined"?$ppt.html(unescape(pp_titles[set_position])):$ppt.html(" ");imgPreloader="";skipInjection=false;switch(S(pp_images[set_position])){case"image":imgPreloader=new Image;nextImage=new Image;if(isSet&&set_position<e(pp_images).size()-1)nextImage.src=pp_images[set_position+1];prevImage=new Image;if(isSet&&pp_images[set_position-1])prevImage.src=pp_images[set_position-1];$pp_pic_holder.find("#pp_full_res")[0].innerHTML=settings.image_markup.replace(/{path}/g,pp_images[set_position]);imgPreloader.onload=function(){a=w(imgPreloader.width,imgPreloader.height);g()};imgPreloader.onerror=function(){alert("Image cannot be loaded. Make sure the path is correct and image exist.");e.prettyPhoto.close()};imgPreloader.src=pp_images[set_position];break;case"youtube":a=w(movie_width,movie_height);movie_id=i("v",pp_images[set_position]);if(movie_id==""){movie_id=pp_images[set_position].split("youtu.be/");movie_id=movie_id[1];if(movie_id.indexOf("?")>0)movie_id=movie_id.substr(0,movie_id.indexOf("?"));if(movie_id.indexOf("&")>0)movie_id=movie_id.substr(0,movie_id.indexOf("&"))}movie="http://www.youtube.com/embed/"+movie_id;i("rel",pp_images[set_position])?movie+="?rel="+i("rel",pp_images[set_position]):movie+="?rel=1";if(settings.autoplay)movie+="&autoplay=1";toInject=settings.iframe_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":a=w(movie_width,movie_height);movie_id=pp_images[set_position];var t=/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/;var n=movie_id.match(t);movie="http://player.vimeo.com/video/"+n[3]+"?title=0&byline=0&portrait=0";if(settings.autoplay)movie+="&autoplay=1;";vimeo_width=a["width"]+"/embed/?moog_width="+a["width"];toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,a["height"]).replace(/{path}/g,movie);break;case"quicktime":a=w(movie_width,movie_height);a["height"]+=15;a["contentHeight"]+=15;a["containerHeight"]+=15;toInject=settings.quicktime_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":a=w(movie_width,movie_height);flash_vars=pp_images[set_position];flash_vars=flash_vars.substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length);filename=pp_images[set_position];filename=filename.substring(0,filename.indexOf("?"));toInject=settings.flash_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":a=w(movie_width,movie_height);frame_url=pp_images[set_position];frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1);toInject=settings.iframe_markup.replace(/{width}/g,a["width"]).replace(/{height}/g,a["height"]).replace(/{path}/g,frame_url);break;case"ajax":doresize=false;a=w(movie_width,movie_height);doresize=true;skipInjection=true;e.get(pp_images[set_position],function(e){toInject=settings.inline_markup.replace(/{content}/g,e);$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject;g()});break;case"custom":a=w(movie_width,movie_height);toInject=settings.custom_markup;break;case"inline":myClone=e(pp_images[set_position]).clone().append('<br clear="all" />').css({width:settings.default_width}).wrapInner('<div id="pp_full_res"><div class="pp_inline"></div></div>').appendTo(e("body")).show();doresize=false;a=w(e(myClone).width(),e(myClone).height());doresize=true;e(myClone).remove();toInject=settings.inline_markup.replace(/{content}/g,e(pp_images[set_position]).html());break}if(!imgPreloader&&!skipInjection){$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject;g()}});return false};e.prettyPhoto.changePage=function(t){currentGalleryPage=0;if(t=="previous"){set_position--;if(set_position<0)set_position=e(pp_images).size()-1}else if(t=="next"){set_position++;if(set_position>e(pp_images).size()-1)set_position=0}else{set_position=t}rel_index=set_position;if(!doresize)doresize=true;if(settings.allow_expand){e(".pp_contract").removeClass("pp_contract").addClass("pp_expand")}y(function(){e.prettyPhoto.open()})};e.prettyPhoto.changeGalleryPage=function(e){if(e=="next"){currentGalleryPage++;if(currentGalleryPage>totalPage)currentGalleryPage=0}else if(e=="previous"){currentGalleryPage--;if(currentGalleryPage<0)currentGalleryPage=totalPage}else{currentGalleryPage=e}slide_speed=e=="next"||e=="previous"?settings.animation_speed:0;slide_to=currentGalleryPage*itemsPerPage*itemWidth;$pp_gallery.find("ul").animate({left:-slide_to},slide_speed)};e.prettyPhoto.startSlideshow=function(){if(typeof m=="undefined"){$pp_pic_holder.find(".pp_play").unbind("click").removeClass("pp_play").addClass("pp_pause").click(function(){e.prettyPhoto.stopSlideshow();return false});m=setInterval(e.prettyPhoto.startSlideshow,settings.slideshow)}else{e.prettyPhoto.changePage("next")}};e.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").unbind("click").removeClass("pp_pause").addClass("pp_play").click(function(){e.prettyPhoto.startSlideshow();return false});clearInterval(m);m=undefined};e.prettyPhoto.close=function(){if($pp_overlay.is(":animated"))return;e.prettyPhoto.stopSlideshow();$pp_pic_holder.stop().find("object,embed").css("visibility","hidden");e("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){e(this).remove()});$pp_overlay.fadeOut(settings.animation_speed,function(){if(settings.hideflash)e("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","visible");e(this).remove();e(window).unbind("scroll.prettyphoto");r();settings.callback();doresize=true;f=false;delete settings})};if(!pp_alreadyInitialized&&t()){pp_alreadyInitialized=true;hashIndex=t();hashRel=hashIndex;hashIndex=hashIndex.substring(hashIndex.indexOf("/")+1,hashIndex.length-1);hashRel=hashRel.substring(0,hashRel.indexOf("/"));setTimeout(function(){e("a["+s.hook+"^='"+hashRel+"']:eq("+hashIndex+")").trigger("click")},50)}return this.unbind("click.prettyphoto").bind("click.prettyphoto",e.prettyPhoto.initialize)};})(jQuery);var pp_alreadyInitialized=false
assets/swipebox/source/jquery.swipebox.min.js CHANGED
@@ -7,4 +7,4 @@
7
  @license MIT License
8
 
9
  ----------------------------------------------------------------------------------------------*/
10
- ;(function(e,t,n,r){n.swipebox=function(i,s){var o={useCSS:true,hideBarsDelay:3e3,videoMaxWidth:1140,vimeoColor:"CCCCCC",beforeOpen:null,afterClose:null},u=this,a=[],i=i,f=i.selector,l=n(f),c=t.createTouch!==r||"ontouchstart"in e||"onmsgesturechange"in e||navigator.msMaxTouchPoints,h=!!e.SVGSVGElement,p=e.innerWidth?e.innerWidth:n(e).width(),d=e.innerHeight?e.innerHeight:n(e).height(),v='<div id="swipebox-overlay"> <div id="swipebox-slider"></div> <div id="swipebox-caption"></div> <div id="swipebox-action"> <a id="swipebox-close"></a> <a id="swipebox-prev"></a> <a id="swipebox-next"></a> </div> </div>';u.settings={};u.init=function(){u.settings=n.extend({},o,s);if(n.isArray(i)){a=i;m.target=n(e);m.init(0)}else{l.click(function(e){a=[];var t,r,i;if(!i){r="rel";i=n(this).attr(r)}if(i&&i!==""&&i!=="nofollow"){$elem=l.filter("["+r+'="'+i+'"]')}else{$elem=n(f)}$elem.each(function(){var e=null,t=null;if(n(this).attr("title"))e=n(this).attr("title");if(n(this).attr("href"))t=n(this).attr("href");a.push({href:t,title:e})});t=$elem.index(n(this));e.preventDefault();e.stopPropagation();m.target=n(e.target);m.init(t)})}};u.refresh=function(){if(!n.isArray(i)){m.destroy();$elem=n(f);m.actions()}};var m={init:function(e){if(u.settings.beforeOpen)u.settings.beforeOpen();this.target.trigger("swipebox-start");n.swipebox.isOpen=true;this.build();this.openSlide(e);this.openMedia(e);this.preloadMedia(e+1);this.preloadMedia(e-1)},build:function(){var e=this;n("body").append(v);if(e.doCssTrans()){n("#swipebox-slider").css({"-webkit-transition":"left 0.4s ease","-moz-transition":"left 0.4s ease","-o-transition":"left 0.4s ease","-khtml-transition":"left 0.4s ease",transition:"left 0.4s ease"});n("#swipebox-overlay").css({"-webkit-transition":"opacity 1s ease","-moz-transition":"opacity 1s ease","-o-transition":"opacity 1s ease","-khtml-transition":"opacity 1s ease",transition:"opacity 1s ease"});n("#swipebox-action, #swipebox-caption").css({"-webkit-transition":"0.5s","-moz-transition":"0.5s","-o-transition":"0.5s","-khtml-transition":"0.5s",transition:"0.5s"})}if(h){var t=n("#swipebox-action #swipebox-close").css("background-image");t=t.replace("png","svg");n("#swipebox-action #swipebox-prev,#swipebox-action #swipebox-next,#swipebox-action #swipebox-close").css({"background-image":t})}n.each(a,function(){n("#swipebox-slider").append('<div class="slide"></div>')});e.setDim();e.actions();e.keyboard();e.gesture();e.animBars();e.resize()},setDim:function(){var t,r,i={};if("onorientationchange"in e){e.addEventListener("orientationchange",function(){if(e.orientation==0){t=p;r=d}else if(e.orientation==90||e.orientation==-90){t=d;r=p}},false)}else{t=e.innerWidth?e.innerWidth:n(e).width();r=e.innerHeight?e.innerHeight:n(e).height()}i={width:t,height:r};n("#swipebox-overlay").css(i)},resize:function(){var t=this;n(e).resize(function(){t.setDim()}).resize()},supportTransition:function(){var e="transition WebkitTransition MozTransition OTransition msTransition KhtmlTransition".split(" ");for(var n=0;n<e.length;n++){if(t.createElement("div").style[e[n]]!==r){return e[n]}}return false},doCssTrans:function(){if(u.settings.useCSS&&this.supportTransition()){return true}},gesture:function(){if(c){var e=this,t=null,r=10,i={},s={};var o=n("#swipebox-caption, #swipebox-action");o.addClass("visible-bars");e.setTimeout();n("body").bind("touchstart",function(e){n(this).addClass("touching");s=e.originalEvent.targetTouches[0];i.pageX=e.originalEvent.targetTouches[0].pageX;n(".touching").bind("touchmove",function(e){e.preventDefault();e.stopPropagation();s=e.originalEvent.targetTouches[0]});return false}).bind("touchend",function(u){u.preventDefault();u.stopPropagation();t=s.pageX-i.pageX;if(t>=r){e.getPrev()}else if(t<=-r){e.getNext()}else{if(!o.hasClass("visible-bars")){e.showBars();e.setTimeout()}else{e.clearTimeout();e.hideBars()}}n(".touching").off("touchmove").removeClass("touching")})}},setTimeout:function(){if(u.settings.hideBarsDelay>0){var t=this;t.clearTimeout();t.timeout=e.setTimeout(function(){t.hideBars()},u.settings.hideBarsDelay)}},clearTimeout:function(){e.clearTimeout(this.timeout);this.timeout=null},showBars:function(){var e=n("#swipebox-caption, #swipebox-action");if(this.doCssTrans()){e.addClass("visible-bars")}else{n("#swipebox-caption").animate({top:0},500);n("#swipebox-action").animate({bottom:0},500);setTimeout(function(){e.addClass("visible-bars")},1e3)}},hideBars:function(){var e=n("#swipebox-caption, #swipebox-action");if(this.doCssTrans()){e.removeClass("visible-bars")}else{n("#swipebox-caption").animate({top:"-50px"},500);n("#swipebox-action").animate({bottom:"-50px"},500);setTimeout(function(){e.removeClass("visible-bars")},1e3)}},animBars:function(){var e=this;var t=n("#swipebox-caption, #swipebox-action");t.addClass("visible-bars");e.setTimeout();n("#swipebox-slider").click(function(n){if(!t.hasClass("visible-bars")){e.showBars();e.setTimeout()}});n("#swipebox-action").hover(function(){e.showBars();t.addClass("force-visible-bars");e.clearTimeout()},function(){t.removeClass("force-visible-bars");e.setTimeout()})},keyboard:function(){var t=this;n(e).bind("keyup",function(e){e.preventDefault();e.stopPropagation();if(e.keyCode==37){t.getPrev()}else if(e.keyCode==39){t.getNext()}else if(e.keyCode==27){t.closeSlide()}})},actions:function(){var e=this;if(a.length<2){n("#swipebox-prev, #swipebox-next").hide()}else{n("#swipebox-prev").bind("click touchend",function(t){t.preventDefault();t.stopPropagation();e.getPrev();e.setTimeout()});n("#swipebox-next").bind("click touchend",function(t){t.preventDefault();t.stopPropagation();e.getNext();e.setTimeout()})}n("#swipebox-close").bind("click touchend",function(t){e.closeSlide()})},setSlide:function(e,t){t=t||false;var r=n("#swipebox-slider");if(this.doCssTrans()){r.css({left:-e*100+"%"})}else{r.animate({left:-e*100+"%"})}n("#swipebox-slider .slide").removeClass("current");n("#swipebox-slider .slide").eq(e).addClass("current");this.setTitle(e);if(t){r.fadeIn()}n("#swipebox-prev, #swipebox-next").removeClass("disabled");if(e==0){n("#swipebox-prev").addClass("disabled")}else if(e==a.length-1){n("#swipebox-next").addClass("disabled")}},openSlide:function(t){n("html").addClass("swipebox");n(e).trigger("resize");this.setSlide(t,true)},preloadMedia:function(e){var t=this,n=null;if(a[e]!==r)n=a[e].href;if(!t.isVideo(n)){setTimeout(function(){t.openMedia(e)},1e3)}else{t.openMedia(e)}},openMedia:function(e){var t=this,i=null;if(a[e]!==r)i=a[e].href;if(e<0||e>=a.length){return false}if(!t.isVideo(i)){t.loadMedia(i,function(){n("#swipebox-slider .slide").eq(e).html(this)})}else{n("#swipebox-slider .slide").eq(e).html(t.getVideo(i))}},setTitle:function(e,t){var i=null;n("#swipebox-caption").empty();if(a[e]!==r)i=a[e].title;if(i){n("#swipebox-caption").append(i)}},isVideo:function(e){if(e){if(e.match(/youtube\.com\/watch\?v=([a-zA-Z0-9\-_]+)/)||e.match(/vimeo\.com\/([0-9]*)/)){return true}}},getVideo:function(e){var t="";var n="";var r=e.match(/watch\?v=([a-zA-Z0-9\-_]+)/);var i=e.match(/vimeo\.com\/([0-9]*)/);if(r){t='<iframe width="560" height="315" src="//www.youtube.com/embed/'+r[1]+'" frameborder="0" allowfullscreen></iframe>'}else if(i){t='<iframe width="560" height="315" src="http://player.vimeo.com/video/'+i[1]+"?byline=0&portrait=0&color="+u.settings.vimeoColor+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'}return'<div class="swipebox-video-container" style="max-width:'+u.settings.videoMaxWidth+'px"><div class="swipebox-video">'+t+"</div></div>"},loadMedia:function(e,t){if(!this.isVideo(e)){var r=n("<img>").on("load",function(){t.call(r)});r.attr("src",e)}},getNext:function(){var e=this;index=n("#swipebox-slider .slide").index(n("#swipebox-slider .slide.current"));if(index+1<a.length){index++;e.setSlide(index);e.preloadMedia(index+1)}else{n("#swipebox-slider").addClass("rightSpring");setTimeout(function(){n("#swipebox-slider").removeClass("rightSpring")},500)}},getPrev:function(){index=n("#swipebox-slider .slide").index(n("#swipebox-slider .slide.current"));if(index>0){index--;this.setSlide(index);this.preloadMedia(index-1)}else{n("#swipebox-slider").addClass("leftSpring");setTimeout(function(){n("#swipebox-slider").removeClass("leftSpring")},500)}},closeSlide:function(){n("html").removeClass("swipebox");n(e).trigger("resize");this.destroy()},destroy:function(){n(e).unbind("keyup");n("body").unbind("touchstart");n("body").unbind("touchmove");n("body").unbind("touchend");n("#swipebox-slider").unbind();n("#swipebox-overlay").remove();if(!n.isArray(i))i.removeData("_swipebox");if(this.target)this.target.trigger("swipebox-destroy");n.swipebox.isOpen=false;if(u.settings.afterClose)u.settings.afterClose()}};u.init()};n.fn.swipebox=function(e){if(!n.data(this,"_swipebox")){var t=new n.swipebox(this,e);this.data("_swipebox",t)}return this.data("_swipebox")}})(window,document,jQuery);
7
  @license MIT License
8
 
9
  ----------------------------------------------------------------------------------------------*/
10
+ ;(function(e,t,n,r){n.swipebox=function(i,s){var o={useCSS:true,hideBarsDelay:3e3,videoMaxWidth:1140,vimeoColor:"CCCCCC",beforeOpen:null,afterClose:null},u=this,a=[],i=i,f=i.selector,l=n(f),c=t.createTouch!==r||"ontouchstart"in e||"onmsgesturechange"in e||navigator.msMaxTouchPoints,h=!!e.SVGSVGElement,p=e.innerWidth?e.innerWidth:n(e).width(),d=e.innerHeight?e.innerHeight:n(e).height(),v='<div id="swipebox-overlay"> <div id="swipebox-slider"></div> <div id="swipebox-caption"></div> <div id="swipebox-action"> <a id="swipebox-close"></a> <a id="swipebox-prev"></a> <a id="swipebox-next"></a> </div> </div>';u.settings={};u.init=function(){u.settings=n.extend({},o,s);if(n.isArray(i)){a=i;m.target=n(e);m.init(0)}else{l.click(function(e){a=[];var t,r,i;if(!i){r="rel";i=n(this).attr(r)}if(i&&i!==""&&i!=="nofollow"){$elem=l.filter("["+r+'="'+i+'"]')}else{$elem=n(f)}$elem.each(function(){var e=null,t=null;if(n(this).attr("title"))e=n(this).attr("title");if(n(this).attr("href"))t=n(this).attr("href");a.push({href:t,title:e})});t=$elem.index(n(this));e.preventDefault();e.stopPropagation();m.target=n(e.target);m.init(t)})}};u.refresh=function(){if(!n.isArray(i)){m.destroy();$elem=n(f);m.actions()}};var m={init:function(e){if(u.settings.beforeOpen)u.settings.beforeOpen();this.target.trigger("swipebox-start");n.swipebox.isOpen=true;this.build();this.openSlide(e);this.openMedia(e);this.preloadMedia(e+1);this.preloadMedia(e-1)},build:function(){var e=this;n("body").append(v);if(e.doCssTrans()){n("#swipebox-slider").css({"-webkit-transition":"left 0.4s ease","-moz-transition":"left 0.4s ease","-o-transition":"left 0.4s ease","-khtml-transition":"left 0.4s ease",transition:"left 0.4s ease"});n("#swipebox-overlay").css({"-webkit-transition":"opacity 1s ease","-moz-transition":"opacity 1s ease","-o-transition":"opacity 1s ease","-khtml-transition":"opacity 1s ease",transition:"opacity 1s ease"});n("#swipebox-action, #swipebox-caption").css({"-webkit-transition":"0.5s","-moz-transition":"0.5s","-o-transition":"0.5s","-khtml-transition":"0.5s",transition:"0.5s"})}if(h){var t=n("#swipebox-action #swipebox-close").css("background-image");t=t.replace("png","svg");n("#swipebox-action #swipebox-prev,#swipebox-action #swipebox-next,#swipebox-action #swipebox-close").css({"background-image":t})}n.each(a,function(){n("#swipebox-slider").append('<div class="slide"></div>')});e.setDim();e.actions();e.keyboard();e.gesture();e.animBars();e.resize();scrollTimer = setInterval(function() {window.scrollTo(window.scrollX, window.scrollY);}, 1000);},setDim:function(){var t,r,i={};if("onorientationchange"in e){e.addEventListener("orientationchange",function(){if(e.orientation==0){t=p;r=d}else if(e.orientation==90||e.orientation==-90){t=d;r=p}},false)}else{t=e.innerWidth?e.innerWidth:n(e).width();r=e.innerHeight?e.innerHeight:n(e).height()}i={width:t,height:r};n("#swipebox-overlay").css(i)},resize:function(){var t=this;n(e).resize(function(){t.setDim()}).resize()},supportTransition:function(){var e="transition WebkitTransition MozTransition OTransition msTransition KhtmlTransition".split(" ");for(var n=0;n<e.length;n++){if(t.createElement("div").style[e[n]]!==r){return e[n]}}return false},doCssTrans:function(){if(u.settings.useCSS&&this.supportTransition()){return true}},gesture:function(){if(c){var e=this,t=null,r=10,i={},s={};var o=n("#swipebox-caption, #swipebox-action");o.addClass("visible-bars");e.setTimeout();n("body").bind("touchstart",function(e){n(this).addClass("touching");s=e.originalEvent.targetTouches[0];i.pageX=e.originalEvent.targetTouches[0].pageX;n(".touching").bind("touchmove",function(e){e.preventDefault();e.stopPropagation();s=e.originalEvent.targetTouches[0]});return false}).bind("touchend",function(u){u.preventDefault();u.stopPropagation();t=s.pageX-i.pageX;if(t>=r){e.getPrev()}else if(t<=-r){e.getNext()}else{if(!o.hasClass("visible-bars")){e.showBars();e.setTimeout()}else{e.clearTimeout();e.hideBars()}}n(".touching").off("touchmove").removeClass("touching")})}},setTimeout:function(){if(u.settings.hideBarsDelay>0){var t=this;t.clearTimeout();t.timeout=e.setTimeout(function(){t.hideBars()},u.settings.hideBarsDelay)}},clearTimeout:function(){e.clearTimeout(this.timeout);this.timeout=null},showBars:function(){var e=n("#swipebox-caption, #swipebox-action");if(this.doCssTrans()){e.addClass("visible-bars")}else{n("#swipebox-caption").animate({top:0},500);n("#swipebox-action").animate({bottom:0},500);setTimeout(function(){e.addClass("visible-bars")},1e3)}},hideBars:function(){var e=n("#swipebox-caption, #swipebox-action");if(this.doCssTrans()){e.removeClass("visible-bars")}else{n("#swipebox-caption").animate({top:"-50px"},500);n("#swipebox-action").animate({bottom:"-50px"},500);setTimeout(function(){e.removeClass("visible-bars")},1e3)}},animBars:function(){var e=this;var t=n("#swipebox-caption, #swipebox-action");t.addClass("visible-bars");e.setTimeout();n("#swipebox-slider").click(function(n){if(!t.hasClass("visible-bars")){e.showBars();e.setTimeout()}});n("#swipebox-action").hover(function(){e.showBars();t.addClass("force-visible-bars");e.clearTimeout()},function(){t.removeClass("force-visible-bars");e.setTimeout()})},keyboard:function(){var t=this;n(e).bind("keyup",function(e){e.preventDefault();e.stopPropagation();if(e.keyCode==37){t.getPrev()}else if(e.keyCode==39){t.getNext()}else if(e.keyCode==27){t.closeSlide()}})},actions:function(){var e=this;if(a.length<2){n("#swipebox-prev, #swipebox-next").hide()}else{n("#swipebox-prev").bind("click touchend",function(t){t.preventDefault();t.stopPropagation();e.getPrev();e.setTimeout()});n("#swipebox-next").bind("click touchend",function(t){t.preventDefault();t.stopPropagation();e.getNext();e.setTimeout()})}n("#swipebox-close").bind("click touchend",function(t){e.closeSlide()})},setSlide:function(e,t){t=t||false;var r=n("#swipebox-slider");if(this.doCssTrans()){r.css({left:-e*100+"%"})}else{r.animate({left:-e*100+"%"})}n("#swipebox-slider .slide").removeClass("current");n("#swipebox-slider .slide").eq(e).addClass("current");this.setTitle(e);if(t){r.fadeIn()}n("#swipebox-prev, #swipebox-next").removeClass("disabled");if(e==0){n("#swipebox-prev").addClass("disabled")}else if(e==a.length-1){n("#swipebox-next").addClass("disabled")}},openSlide:function(t){n("html").addClass("swipebox");n(e).trigger("resize");this.setSlide(t,true)},preloadMedia:function(e){var t=this,n=null;if(a[e]!==r)n=a[e].href;if(!t.isVideo(n)){setTimeout(function(){t.openMedia(e)},1e3)}else{t.openMedia(e)}},openMedia:function(e){var t=this,i=null;if(a[e]!==r)i=a[e].href;if(e<0||e>=a.length){return false}if(!t.isVideo(i)){t.loadMedia(i,function(){n("#swipebox-slider .slide").eq(e).html(this)})}else{n("#swipebox-slider .slide").eq(e).html(t.getVideo(i))}},setTitle:function(e,t){var i=null;n("#swipebox-caption").empty();if(a[e]!==r)i=a[e].title;if(i){n("#swipebox-caption").append(i)}},isVideo:function(e){if(e){if(e.match(/youtube\.com\/watch\?v=([a-zA-Z0-9\-_]+)/)||e.match(/vimeo\.com\/([0-9]*)/)){return true}}},getVideo:function(e){var t="";var n="";var r=e.match(/watch\?v=([a-zA-Z0-9\-_]+)/);var i=e.match(/vimeo\.com\/([0-9]*)/);if(r){t='<iframe width="560" height="315" src="//www.youtube.com/embed/'+r[1]+'" frameborder="0" allowfullscreen></iframe>'}else if(i){t='<iframe width="560" height="315" src="http://player.vimeo.com/video/'+i[1]+"?byline=0&portrait=0&color="+u.settings.vimeoColor+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'}return'<div class="swipebox-video-container" style="max-width:'+u.settings.videoMaxWidth+'px"><div class="swipebox-video">'+t+"</div></div>"},loadMedia:function(e,t){if(!this.isVideo(e)){var r=n("<img>").on("load",function(){t.call(r)});r.attr("src",e)}},getNext:function(){var e=this;index=n("#swipebox-slider .slide").index(n("#swipebox-slider .slide.current"));if(index+1<a.length){index++;e.setSlide(index);e.preloadMedia(index+1)}else{n("#swipebox-slider").addClass("rightSpring");setTimeout(function(){n("#swipebox-slider").removeClass("rightSpring")},500)}},getPrev:function(){index=n("#swipebox-slider .slide").index(n("#swipebox-slider .slide.current"));if(index>0){index--;this.setSlide(index);this.preloadMedia(index-1)}else{n("#swipebox-slider").addClass("leftSpring");setTimeout(function(){n("#swipebox-slider").removeClass("leftSpring")},500)}},closeSlide:function(){n("html").removeClass("swipebox");n(e).trigger("resize");this.destroy()},destroy:function(){n(e).unbind("keyup");n("body").unbind("touchstart");n("body").unbind("touchmove");n("body").unbind("touchend");n("#swipebox-slider").unbind();n("#swipebox-overlay").remove();if(!n.isArray(i))i.removeData("_swipebox");if(this.target)this.target.trigger("swipebox-destroy");n.swipebox.isOpen=false;if(u.settings.afterClose)u.settings.afterClose();scrollTimer = null}};u.init()};n.fn.swipebox=function(e){if(!n.data(this,"_swipebox")){var t=new n.swipebox(this,e);this.data("_swipebox",t)}return this.data("_swipebox")}})(window,document,jQuery);
css/admin.css CHANGED
@@ -1,13 +1,20 @@
1
- .responsive-lightbox-settings { width:68%; margin-right:20px; }
2
- .responsive-lightbox-settings h3 { font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif; font-weight: bold; }
3
- .responsive-lightbox-settings hr, .df-credits hr { border: solid #ddd; border-width: 1px 0 0; clear: both; height: 0; -moz-box-shadow: 0px 1px 0px #fff; -webkit-box-shadow: 0px 1px 0px #fff; box-shadow: 0px 1px 0px #fff; margin:15px 0; }
4
- .df-credits { width:28%; max-width:350px; margin-top:20px; border:1px solid #ddd; background:#fcfcfc; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
5
- .df-credits h3 { margin-top:5px; }
6
- .df-credits h3.metabox-title { background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset; -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset; border: 1px solid; border-color: #21759b; border-bottom-color: #1e6a8d; -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); color: #fff; text-decoration: none; text-shadow: 0 1px 0 rgba(0,0,0,0.5); margin:0; line-height:32px; font-weight:normal; padding:0 10px; }
7
- .df-credits .inner { padding:15px 10px; }
8
- .df-credits .df-link { font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; font-style:italic; margin:0; }
9
  .df-credits .df-link a { vertical-align: middle; padding: 5px 0 0 4px; }
 
 
 
 
 
10
  .wplike-slider span.middle { width: 150px; }
11
  .wplike-slider span.left { margin-right: 10px; }
12
  .wplike-slider span.right { margin-left: 10px; }
13
- #rl_nv_error_message input { width: 400px; }
 
 
 
 
 
1
+ /* Responsive Lightbox settings */
2
+ .df-credits { float: right; width: 280px; background: #fff; margin: 20px -300px 20px 20px; position: relative; }
3
+ .df-credits .inner { padding-left: 10px; padding-right: 10px; }
4
+ .df-credits h3 { font-size: 14px; line-height: 1.4; margin: 0; padding: 8px 12px; border-bottom: 1px solid #eee; }
5
+ .df-credits .df-link { font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; font-style:italic; padding-bottom: 10px; margin: 0; }
 
 
 
6
  .df-credits .df-link a { vertical-align: middle; padding: 5px 0 0 4px; }
7
+ .responsive-lightbox-settings { margin-right: 300px; }
8
+ .responsive-lightbox-settings hr, .df-credits hr { border: solid #eee; border-width: 1px 0 0; clear: both; height: 0; }
9
+ .responsive-lightbox-settings form { float: left; min-width: 463px; width: auto; }
10
+ .responsive-lightbox-settings fieldset span.description { margin-bottom: 8px; margin-top: 4px; display: block; }
11
+
12
  .wplike-slider span.middle { width: 150px; }
13
  .wplike-slider span.left { margin-right: 10px; }
14
  .wplike-slider span.right { margin-left: 10px; }
15
+
16
+ /* All Mobile Sizes (devices and browser) */
17
+ @media only screen and (max-width: 959px) {
18
+ .df-credits { width: 100%; float: none; margin: 20px 0; }
19
+ .responsive-lightbox-settings { margin-right: 0; }
20
+ }
css/wp-like-ui-theme.css CHANGED
@@ -1,782 +1,782 @@
1
- /*
2
- * jQuery UI CSS Framework 1.8.7
3
- *
4
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
- * Dual licensed under the MIT or GPL Version 2 licenses.
6
- * http://jquery.org/license
7
- *
8
- * http://docs.jquery.com/UI/Theming/API
9
- */
10
-
11
- /* Layout helpers
12
- ----------------------------------*/
13
- .ui-helper-hidden { display: none; }
14
- .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
15
- .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
16
- .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
17
- .ui-helper-clearfix { display: inline-block; }
18
- /* required comment for clearfix to work in Opera \*/
19
- * html .ui-helper-clearfix { height:1%; }
20
- .ui-helper-clearfix { display:block; }
21
- /* end clearfix */
22
- .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
23
-
24
-
25
- /* Interaction Cues
26
- ----------------------------------*/
27
- .ui-state-disabled { cursor: default !important; }
28
-
29
-
30
- /* Icons
31
- ----------------------------------*/
32
-
33
- /* states and images */
34
- .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
35
-
36
-
37
- /* Misc visuals
38
- ----------------------------------*/
39
-
40
- /* Overlays */
41
- .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
42
-
43
-
44
- /*
45
- * jQuery UI CSS Framework 1.8.7
46
- *
47
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
48
- * Dual licensed under the MIT or GPL Version 2 licenses.
49
- * http://jquery.org/license
50
- *
51
- * http://docs.jquery.com/UI/Theming/API
52
- *
53
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?ctl=themeroller
54
- */
55
-
56
-
57
- /* Component containers
58
- ----------------------------------*/
59
- .ui-widget { font-family: Arial,sans-serif; font-size: 1.1em; }
60
- .ui-widget .ui-widget { font-size: 1em; }
61
- .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Arial,sans-serif; font-size: 1em; }
62
- .ui-widget-content { border: 1px solid #dfdfdf; background: #ffffff; color: #333333; font-size:12px; }
63
- .ui-widget-content a { color: #333333; }
64
- .ui-widget-header { border: 1px solid #dfdfdf; color: #333333; font-weight: normal; }
65
- .ui-widget-header {
66
- background: #f3f3f3 url(images/bg_fallback.png) 0 0 repeat-x; /* Old browsers */
67
- background: -moz-linear-gradient(top, #f9f9f9 0%, #ececec 100%); /* FF3.6+ */
68
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
69
- background: -webkit-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
70
- background: -o-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Opera11.10+ */
71
- background: -ms-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* IE10+ */
72
- background: linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* W3C */
73
- }
74
- .ui-widget-header a { color: #333333; }
75
-
76
- /* Interaction states
77
- ----------------------------------*/
78
- .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #dfdfdf; font-weight: normal; color: #333333; }
79
- .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
80
- background: #f9f9f9 url(images/bg_fallback.png) 0 0 repeat-x; /* Old browsers */
81
- background: -moz-linear-gradient(top, #f9f9f9 0%, #ececec 100%); /* FF3.6+ */
82
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
83
- background: -webkit-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
84
- background: -o-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Opera11.10+ */
85
- background: -ms-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* IE10+ */
86
- background: linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* W3C */
87
- -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
88
- -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
89
- box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
90
- }
91
- .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #333333; text-decoration: none; }
92
- .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #bbbbbb; font-weight: normal; color: #313131; }
93
- .ui-state-hover a, .ui-state-hover a:hover { color: #313131; text-decoration: none; }
94
- .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
95
- outline: none;
96
- color: #ffffff;
97
- border-color: #21759b #21759b #1e6a8d;
98
- background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
99
- background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
100
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
101
- background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
102
- background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
103
- background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
104
- background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
105
- -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
106
- -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
107
- box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
108
- text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
109
- }
110
- .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #fff; text-decoration: none; }
111
- .ui-widget :active { outline: none; }
112
-
113
- /* Interaction Cues
114
- ----------------------------------*/
115
- .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight { border: 1px solid #e6db55; background: #ffffe0; color: #333; }
116
- .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #333; }
117
- .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error { border: 1px solid #cc0000; background: #ffebe8; color: #333; }
118
- .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
119
- .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
120
- .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: normal; }
121
- .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { font-weight: normal; }
122
- .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
123
-
124
- /* Icons
125
- ----------------------------------*/
126
-
127
- /* states and images */
128
- .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
129
- .ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
130
- .ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
131
- .ui-state-default .ui-icon { background-image: url(images/ui-icons_454545_256x240.png); }
132
- .ui-state-hover .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
133
- .ui-state-focus .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
134
- .ui-state-active .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
135
- .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
136
- .ui-state-error .ui-icon, .ui-state-error-text .ui-icon { background: url(images/icon_sprite.png) -16px 0 no-repeat !important; }
137
- .ui-state-highlight .ui-icon, .ui-state-error .ui-icon { margin-top: -1px; }
138
-
139
- /* positioning */
140
- .ui-icon-carat-1-n { background-position: 0 0; }
141
- .ui-icon-carat-1-ne { background-position: -16px 0; }
142
- .ui-icon-carat-1-e { background-position: -32px 0; }
143
- .ui-icon-carat-1-se { background-position: -48px 0; }
144
- .ui-icon-carat-1-s { background-position: -64px 0; }
145
- .ui-icon-carat-1-sw { background-position: -80px 0; }
146
- .ui-icon-carat-1-w { background-position: -96px 0; }
147
- .ui-icon-carat-1-nw { background-position: -112px 0; }
148
- .ui-icon-carat-2-n-s { background-position: -128px 0; }
149
- .ui-icon-carat-2-e-w { background-position: -144px 0; }
150
- .ui-icon-triangle-1-n { background-position: 0 -16px; }
151
- .ui-icon-triangle-1-ne { background-position: -16px -16px; }
152
- .ui-icon-triangle-1-e { background-position: -32px -16px; }
153
- .ui-icon-triangle-1-se { background-position: -48px -16px; }
154
- .ui-icon-triangle-1-s { background-position: -64px -16px; }
155
- .ui-icon-triangle-1-sw { background-position: -80px -16px; }
156
- .ui-icon-triangle-1-w { background-position: -96px -16px; }
157
- .ui-icon-triangle-1-nw { background-position: -112px -16px; }
158
- .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
159
- .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
160
- .ui-icon-arrow-1-n { background-position: 0 -32px; }
161
- .ui-icon-arrow-1-ne { background-position: -16px -32px; }
162
- .ui-icon-arrow-1-e { background-position: -32px -32px; }
163
- .ui-icon-arrow-1-se { background-position: -48px -32px; }
164
- .ui-icon-arrow-1-s { background-position: -64px -32px; }
165
- .ui-icon-arrow-1-sw { background-position: -80px -32px; }
166
- .ui-icon-arrow-1-w { background-position: -96px -32px; }
167
- .ui-icon-arrow-1-nw { background-position: -112px -32px; }
168
- .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
169
- .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
170
- .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
171
- .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
172
- .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
173
- .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
174
- .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
175
- .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
176
- .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
177
- .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
178
- .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
179
- .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
180
- .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
181
- .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
182
- .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
183
- .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
184
- .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
185
- .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
186
- .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
187
- .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
188
- .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
189
- .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
190
- .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
191
- .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
192
- .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
193
- .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
194
- .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
195
- .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
196
- .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
197
- .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
198
- .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
199
- .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
200
- .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
201
- .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
202
- .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
203
- .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
204
- .ui-icon-arrow-4 { background-position: 0 -80px; }
205
- .ui-icon-arrow-4-diag { background-position: -16px -80px; }
206
- .ui-icon-extlink { background-position: -32px -80px; }
207
- .ui-icon-newwin { background-position: -48px -80px; }
208
- .ui-icon-refresh { background-position: -64px -80px; }
209
- .ui-icon-shuffle { background-position: -80px -80px; }
210
- .ui-icon-transfer-e-w { background-position: -96px -80px; }
211
- .ui-icon-transferthick-e-w { background-position: -112px -80px; }
212
- .ui-icon-folder-collapsed { background-position: 0 -96px; }
213
- .ui-icon-folder-open { background-position: -16px -96px; }
214
- .ui-icon-document { background-position: -32px -96px; }
215
- .ui-icon-document-b { background-position: -48px -96px; }
216
- .ui-icon-note { background-position: -64px -96px; }
217
- .ui-icon-mail-closed { background-position: -80px -96px; }
218
- .ui-icon-mail-open { background-position: -96px -96px; }
219
- .ui-icon-suitcase { background-position: -112px -96px; }
220
- .ui-icon-comment { background-position: -128px -96px; }
221
- .ui-icon-person { background-position: -144px -96px; }
222
- .ui-icon-print { background-position: -160px -96px; }
223
- .ui-icon-trash { background-position: -176px -96px; }
224
- .ui-icon-locked { background-position: -192px -96px; }
225
- .ui-icon-unlocked { background-position: -208px -96px; }
226
- .ui-icon-bookmark { background-position: -224px -96px; }
227
- .ui-icon-tag { background-position: -240px -96px; }
228
- .ui-icon-home { background-position: 0 -112px; }
229
- .ui-icon-flag { background-position: -16px -112px; }
230
- .ui-icon-calendar { background-position: -32px -112px; }
231
- .ui-icon-cart { background-position: -48px -112px; }
232
- .ui-icon-pencil { background-position: -64px -112px; }
233
- .ui-icon-clock { background-position: -80px -112px; }
234
- .ui-icon-disk { background-position: -96px -112px; }
235
- .ui-icon-calculator { background-position: -112px -112px; }
236
- .ui-icon-zoomin { background-position: -128px -112px; }
237
- .ui-icon-zoomout { background-position: -144px -112px; }
238
- .ui-icon-search { background-position: -160px -112px; }
239
- .ui-icon-wrench { background-position: -176px -112px; }
240
- .ui-icon-gear { background-position: -192px -112px; }
241
- .ui-icon-heart { background-position: -208px -112px; }
242
- .ui-icon-star { background-position: -224px -112px; }
243
- .ui-icon-link { background-position: -240px -112px; }
244
- .ui-icon-cancel { background-position: 0 -128px; }
245
- .ui-icon-plus { background-position: -16px -128px; }
246
- .ui-icon-plusthick { background-position: -32px -128px; }
247
- .ui-icon-minus { background-position: -48px -128px; }
248
- .ui-icon-minusthick { background-position: -64px -128px; }
249
- .ui-icon-close { background-position: -80px -128px; }
250
- .ui-icon-closethick { background-position: -96px -128px; }
251
- .ui-icon-key { background-position: -112px -128px; }
252
- .ui-icon-lightbulb { background-position: -128px -128px; }
253
- .ui-icon-scissors { background-position: -144px -128px; }
254
- .ui-icon-clipboard { background-position: -160px -128px; }
255
- .ui-icon-copy { background-position: -176px -128px; }
256
- .ui-icon-contact { background-position: -192px -128px; }
257
- .ui-icon-image { background-position: -208px -128px; }
258
- .ui-icon-video { background-position: -224px -128px; }
259
- .ui-icon-script { background-position: -240px -128px; }
260
- .ui-icon-alert { background-position: 0 -144px; }
261
- .ui-icon-info { background: url(images/icon_sprite.png) 0 0 no-repeat !important; }
262
- .ui-icon-notice { background-position: -32px -144px; }
263
- .ui-icon-help { background-position: -48px -144px; }
264
- .ui-icon-check { background-position: -64px -144px; }
265
- .ui-icon-bullet { background-position: -80px -144px; }
266
- .ui-icon-radio-off { background-position: -96px -144px; }
267
- .ui-icon-radio-on { background-position: -112px -144px; }
268
- .ui-icon-pin-w { background-position: -128px -144px; }
269
- .ui-icon-pin-s { background-position: -144px -144px; }
270
- .ui-icon-play { background-position: 0 -160px; }
271
- .ui-icon-pause { background-position: -16px -160px; }
272
- .ui-icon-seek-next { background-position: -32px -160px; }
273
- .ui-icon-seek-prev { background-position: -48px -160px; }
274
- .ui-icon-seek-end { background-position: -64px -160px; }
275
- .ui-icon-seek-start { background-position: -80px -160px; }
276
- /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
277
- .ui-icon-seek-first { background-position: -80px -160px; }
278
- .ui-icon-stop { background-position: -96px -160px; }
279
- .ui-icon-eject { background-position: -112px -160px; }
280
- .ui-icon-volume-off { background-position: -128px -160px; }
281
- .ui-icon-volume-on { background-position: -144px -160px; }
282
- .ui-icon-power { background-position: 0 -176px; }
283
- .ui-icon-signal-diag { background-position: -16px -176px; }
284
- .ui-icon-signal { background-position: -32px -176px; }
285
- .ui-icon-battery-0 { background-position: -48px -176px; }
286
- .ui-icon-battery-1 { background-position: -64px -176px; }
287
- .ui-icon-battery-2 { background-position: -80px -176px; }
288
- .ui-icon-battery-3 { background-position: -96px -176px; }
289
- .ui-icon-circle-plus { background-position: 0 -192px; }
290
- .ui-icon-circle-minus { background-position: -16px -192px; }
291
- .ui-icon-circle-close { background-position: -32px -192px; }
292
- .ui-icon-circle-triangle-e { background-position: -48px -192px; }
293
- .ui-icon-circle-triangle-s { background-position: -64px -192px; }
294
- .ui-icon-circle-triangle-w { background-position: -80px -192px; }
295
- .ui-icon-circle-triangle-n { background-position: -96px -192px; }
296
- .ui-icon-circle-arrow-e { background-position: -112px -192px; }
297
- .ui-icon-circle-arrow-s { background-position: -128px -192px; }
298
- .ui-icon-circle-arrow-w { background-position: -144px -192px; }
299
- .ui-icon-circle-arrow-n { background-position: -160px -192px; }
300
- .ui-icon-circle-zoomin { background-position: -176px -192px; }
301
- .ui-icon-circle-zoomout { background-position: -192px -192px; }
302
- .ui-icon-circle-check { background-position: -208px -192px; }
303
- .ui-icon-circlesmall-plus { background-position: 0 -208px; }
304
- .ui-icon-circlesmall-minus { background-position: -16px -208px; }
305
- .ui-icon-circlesmall-close { background-position: -32px -208px; }
306
- .ui-icon-squaresmall-plus { background-position: -48px -208px; }
307
- .ui-icon-squaresmall-minus { background-position: -64px -208px; }
308
- .ui-icon-squaresmall-close { background-position: -80px -208px; }
309
- .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
310
- .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
311
- .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
312
- .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
313
- .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
314
- .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
315
-
316
-
317
- /* Misc visuals
318
- ----------------------------------*/
319
-
320
- /* Corner radius */
321
- .ui-corner-tl { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; }
322
- .ui-corner-tr { -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; }
323
- .ui-corner-bl { -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; }
324
- .ui-corner-br { -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; }
325
- .ui-corner-top { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; }
326
- .ui-corner-bottom { -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; }
327
- .ui-corner-right { -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; }
328
- .ui-corner-left { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; }
329
- .ui-corner-all { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
330
-
331
- /* Overlays */
332
- .ui-widget-overlay { background: #262b33; opacity: .70;filter:Alpha(Opacity=70); }
333
- .ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #000000; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
334
- * jQuery UI Resizable 1.8.7
335
- *
336
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
337
- * Dual licensed under the MIT or GPL Version 2 licenses.
338
- * http://jquery.org/license
339
- *
340
- * http://docs.jquery.com/UI/Resizable#theming
341
- */
342
- .ui-resizable { position: relative;}
343
- .ui-resizable-handle { position: absolute; font-size: 0.1px; z-index: 999; display: block;}
344
- .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
345
- .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
346
- .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
347
- .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
348
- .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
349
- .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
350
- .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
351
- .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
352
- .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
353
- * jQuery UI Selectable 1.8.7
354
- *
355
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
356
- * Dual licensed under the MIT or GPL Version 2 licenses.
357
- * http://jquery.org/license
358
- *
359
- * http://docs.jquery.com/UI/Selectable#theming
360
- */
361
- .ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
362
- /*
363
- * jQuery UI Accordion 1.8.7
364
- *
365
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
366
- * Dual licensed under the MIT or GPL Version 2 licenses.
367
- * http://jquery.org/license
368
- *
369
- * http://docs.jquery.com/UI/Accordion#theming
370
- */
371
- /* IE/Win - Fix animation bug - #4615 */
372
- .ui-accordion { width: 100%; }
373
- .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 0.2em; zoom: 1; height:30px; line-height:30px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
374
- .ui-accordion .ui-accordion-header.ui-state-active { -moz-border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; }
375
- .ui-accordion .ui-accordion-content { -moz-border-radius: 0 0 3px 3px; -webkit-border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px; }
376
- .ui-accordion .ui-accordion-li-fix { display: inline; }
377
- .ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
378
- .ui-accordion .ui-accordion-header a { display: block; font-size: 12px; font-weight: normal; padding: 0 .5em 0 1em; }
379
- .ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
380
- .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; display:none; }
381
- .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; overflow: auto; display: none; zoom: 1; }
382
- .ui-accordion .ui-accordion-content-active { display: block; }/*
383
- * jQuery UI Autocomplete 1.8.7
384
- *
385
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
386
- * Dual licensed under the MIT or GPL Version 2 licenses.
387
- * http://jquery.org/license
388
- *
389
- * http://docs.jquery.com/UI/Autocomplete#theming
390
- */
391
- .ui-autocomplete {
392
- position: absolute; cursor: default; z-index: 3;
393
- -moz-border-radius: 0;
394
- -webkit-border-radius: 0;
395
- border-radius: 0;
396
- -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
397
- -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
398
- box-shadow: 0 1px 5px rgba(0,0,0,0.3);
399
- }
400
-
401
- /* workarounds */
402
- * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
403
-
404
- /*
405
- * jQuery UI Menu 1.8.7
406
- *
407
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
408
- * Dual licensed under the MIT or GPL Version 2 licenses.
409
- * http://jquery.org/license
410
- *
411
- * http://docs.jquery.com/UI/Menu#theming
412
- */
413
- .ui-menu {
414
- list-style:none;
415
- padding: 2px;
416
- margin: 0;
417
- display:block;
418
- float: left;
419
- }
420
- .ui-menu .ui-menu {
421
- margin-top: -3px;
422
- }
423
- .ui-menu .ui-menu-item {
424
- margin:0;
425
- padding: 0;
426
- zoom: 1;
427
- float: left;
428
- clear: left;
429
- width: 100%;
430
- }
431
- .ui-menu .ui-menu-item a {
432
- text-decoration:none;
433
- display:block;
434
- padding:.2em .4em;
435
- line-height:1.5;
436
- zoom:1;
437
- }
438
- .ui-menu .ui-menu-item a.ui-state-hover,
439
- .ui-menu .ui-menu-item a.ui-state-active {
440
- font-weight: normal;
441
- margin: -1px;
442
- background: #5f83b9;
443
- color: #FFFFFF;
444
- text-shadow: 0px 1px 1px #234386;
445
- border-color: #466086;
446
- -moz-border-radius: 0;
447
- -webkit-border-radius: 0;
448
- border-radius: 0;
449
- }
450
- /*
451
- * jQuery UI Button 1.8.7
452
- *
453
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
454
- * Dual licensed under the MIT or GPL Version 2 licenses.
455
- * http://jquery.org/license
456
- *
457
- * http://docs.jquery.com/UI/Button#theming
458
- */
459
- .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; -webkit-user-select: none; -moz-user-select: none; user-select: none; } /* the overflow property removes extra width in IE */
460
- .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
461
- button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
462
- .ui-button-icons-only { width: 3.4em; }
463
- button.ui-button-icons-only { width: 3.7em; }
464
-
465
- /* button animation properties */
466
- .ui-button {
467
- -webkit-transition: -webkit-box-shadow 0.25s ease-in-out;
468
- -moz-transition: -moz-box-shadow 0.25s ease-in-out;
469
- -o-transition: -o-box-shadow 0.25s ease-in-out;
470
- }
471
-
472
- /*states*/
473
- .ui-button.ui-state-hover {
474
- -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
475
- -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
476
- box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
477
- }
478
-
479
- /*button text element */
480
- .ui-button .ui-button-text { display: block; line-height: 23px; font-size: 12px; font-weight: normal; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); }
481
- .ui-button.ui-state-active .ui-button-text { display: block; font-size: 12px; font-weight: normal; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4); border: 1px solid #21759B #21759B #1E6A8D; }
482
- .ui-button-text-only .ui-button-text { padding: 0 1em; }
483
- .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
484
- .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: 0 1em 0 2.1em; }
485
- .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: 0 2.1em .0 1em; }
486
- .ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
487
- /* no icon support for input elements, provide padding by default */
488
- input.ui-button { font-size: 12px; font-weight: normal; padding: 0 1em !important; height: 30px; line-height:30px; }
489
- /*remove submit button internal padding in Firefox*/
490
- input.ui-button::-moz-focus-inner {
491
- border: 0;
492
- padding: 0;
493
- }
494
- /* fix webkits handling of the box model */
495
- @media screen and (-webkit-min-device-pixel-ratio:0) {
496
- input.ui-button {
497
- height: 30px !important;
498
- vertical-align: bottom;
499
- }
500
- }
501
-
502
- /*button icon element(s) */
503
- .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
504
- .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
505
- .ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
506
- .ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
507
- .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
508
-
509
- /*button sets*/
510
- .ui-buttonset { margin-right: 7px; }
511
- .ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
512
- .ui-buttonset .ui-button.ui-state-active { color: #ffffff; border-color: #21759B #21759B #1E6A8D; }
513
- .ui-buttonset .ui-button.ui-state-active {
514
- background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
515
- background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
516
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
517
- background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
518
- background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
519
- background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
520
- background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
521
- -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
522
- -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
523
- box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
524
- }
525
-
526
- /* workarounds */
527
- button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
528
- /*
529
- * jQuery UI Dialog 1.8.7
530
- *
531
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
532
- * Dual licensed under the MIT or GPL Version 2 licenses.
533
- * http://jquery.org/license
534
- *
535
- * http://docs.jquery.com/UI/Dialog#theming
536
- */
537
- .ui-dialog { position: absolute; padding: 0; width: 300px; overflow: hidden; }
538
- .ui-dialog {
539
- -webkit-box-shadow: 0 2px 12px rgba(0,0,0,0.6);
540
- -moz-box-shadow: 0 2px 12px rgba(0,0,0,0.6);
541
- box-shadow: 0 2px 12px rgba(0,0,0,0.6);
542
- outline:none;
543
- }
544
- .ui-dialog .ui-dialog-titlebar { padding: 0.7em 1em 0.6em 1em; position: relative; border: none; border-bottom: 1px solid #dfdfdf; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; }
545
- .ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; font-size: 12px; text-shadow: 0 1px 0 rgba(255,255,255,0.5); }
546
- .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .8em; top: 60%; width: 16px; margin: -10px 0 0 0; padding: 0; height: 16px; overflow:hidden; border:none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
547
- .ui-dialog .ui-dialog-titlebar-close span { display: block; background: url(images/icon_sprite.png) 0 -16px no-repeat; top:0; left:0; margin:0; }
548
- .ui-dialog .ui-dialog-titlebar-close span.ui-button-text { display:none; }
549
- .ui-dialog .ui-dialog-titlebar-close:hover span { background-position: -16px -16px; }
550
- .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; border:none; background:none; }
551
- .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
552
- .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
553
- .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
554
- .ui-dialog .ui-dialog-buttonpane button {
555
- margin: .5em .4em .5em 0;
556
- cursor: pointer;
557
- outline: none;
558
- color: #ffffff;
559
- border-color: #21759b #21759b #1e6a8d;
560
- background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
561
- background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
562
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
563
- background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
564
- background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
565
- background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
566
- background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
567
- -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
568
- -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
569
- box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
570
- }
571
- .ui-dialog .ui-dialog-buttonpane .ui-button-text {
572
- text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
573
- }
574
- .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
575
- .ui-draggable .ui-dialog-titlebar { cursor: move; }
576
- /*
577
- * jQuery UI Slider 1.8.16
578
- *
579
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
580
- * Dual licensed under the MIT or GPL Version 2 licenses.
581
- * http://jquery.org/license
582
- *
583
- * http://docs.jquery.com/UI/Slider#theming
584
- */
585
- .ui-slider { position: relative; text-align: left; background: #f1f1f1; border: none; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; display: inline-block; *display: inline !important; *zoom: 1; }
586
- .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 17px; height: 21px; cursor: default; background: url(images/slider_handles.png) 0 0 no-repeat; outline: none; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; border: none; }
587
- .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background: #2e9fd2; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; }
588
- .ui-slider .ui-slider-handle.ui-state-active { background-position: -17px 0; }
589
-
590
- .ui-slider-horizontal { height: 7px; }
591
- .ui-slider-horizontal .ui-slider-handle { top: -5px; margin-left: -.6em; }
592
- .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
593
- .ui-slider-horizontal .ui-slider-range-min { left: 0; }
594
- .ui-slider-horizontal .ui-slider-range-max { right: 0; }
595
-
596
- .ui-slider-vertical { width: 7px; height: 100px; }
597
- .ui-slider-vertical .ui-slider-handle { left: -.4em; margin-left: 0; margin-bottom: -.6em; }
598
- .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
599
- .ui-slider-vertical .ui-slider-range-min { bottom: 0; }
600
- .ui-slider-vertical .ui-slider-range-max { top: 0; }/*
601
- * jQuery UI Tabs 1.8.7
602
- *
603
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
604
- * Dual licensed under the MIT or GPL Version 2 licenses.
605
- * http://jquery.org/license
606
- *
607
- * http://docs.jquery.com/UI/Tabs#theming
608
- */
609
- .ui-tabs { position: relative; zoom: 1; border: 0; background: transparent; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
610
- .ui-tabs .ui-tabs-nav { margin: 0; padding: 0; background: transparent; border-width: 0 0 1px 0; }
611
- .ui-tabs .ui-tabs-nav {
612
- -moz-border-radius: 0;
613
- -webkit-border-radius: 0;
614
- border-radius: 0;
615
- }
616
- .ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset; -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;}
617
- .ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; font-size: 12px; font-weight: normal; outline: none; }
618
- .ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; background: #fff; border-color: #dfdfdf; }
619
- .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; outline: none; color:#333; }
620
- .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
621
- .ui-tabs .ui-tabs-panel { display: block; border-width: 0 1px 1px 1px; padding: 1em 1.4em; background: none; }
622
- .ui-tabs .ui-tabs-panel { background: #FFF;
623
- -moz-border-radius: 0;
624
- -webkit-border-radius: 0;
625
- border-radius: 0;
626
- }
627
- .ui-tabs .ui-tabs-hide { display: none !important; }
628
- /*
629
- * jQuery UI Datepicker 1.8.7
630
- *
631
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
632
- * Dual licensed under the MIT or GPL Version 2 licenses.
633
- * http://jquery.org/license
634
- *
635
- * http://docs.jquery.com/UI/Datepicker#theming
636
- */
637
- .ui-datepicker { width: 17em; padding: 0; display: none; border-color: #DDDDDD; }
638
- .ui-datepicker {
639
- -moz-box-shadow: 0 4px 8px rgba(0,0,0,0.5);
640
- -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.5);
641
- box-shadow: 0 4px 8px rgba(0,0,0,0.5);
642
- }
643
- .ui-datepicker .ui-datepicker-header { position:relative; padding:.35em 0; border: none; border-bottom: 1px solid #dfdfdf; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; }
644
- .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 6px; width: 1.8em; height: 1.8em; }
645
- .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { border: 1px none; }
646
- .ui-datepicker .ui-datepicker-prev { left:2px; }
647
- .ui-datepicker .ui-datepicker-next { right:2px; }
648
- .ui-datepicker .ui-datepicker-prev span { background-position: 0px -32px !important; }
649
- .ui-datepicker .ui-datepicker-next span { background-position: -16px -32px !important; }
650
- .ui-datepicker .ui-datepicker-prev-hover span { background-position: 0px -48px !important; }
651
- .ui-datepicker .ui-datepicker-next-hover span { background-position: -16px -48px !important; }
652
- .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; background: url(images/icon_sprite.png) no-repeat; }
653
- .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; font-size: 12px; text-shadow: 0 1px 0 rgba(255,255,255,0.6); }
654
- .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
655
- .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
656
- .ui-datepicker select.ui-datepicker-month,
657
- .ui-datepicker select.ui-datepicker-year { width: 49%;}
658
- .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; background:#fff; }
659
- .ui-datepicker.ui-widget-content { background:#fff; }
660
- .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: normal; border: 0; }
661
- .ui-datepicker td { border: 0; padding: 1px; }
662
- .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: center; text-decoration: none; }
663
- .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
664
- .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; width:auto; overflow:visible; height:25px; line-height:22px; padding: 0 10px 1px; }
665
- .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
666
- .ui-datepicker table .ui-state-highlight { }
667
- .ui-datepicker table .ui-state-hover {
668
- border: 1px solid #dfdfdf;
669
- background: #f9f9f9 url(images/bg_fallback.png) 0 0 repeat-x; /* Old browsers */
670
- background: -moz-linear-gradient(top, #f9f9f9 0%, #ececec 100%); /* FF3.6+ */
671
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
672
- background: -webkit-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
673
- background: -o-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Opera11.10+ */
674
- background: -ms-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* IE10+ */
675
- background: linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* W3C */
676
- -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
677
- -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
678
- box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
679
- }
680
- .ui-datepicker-calendar .ui-state-default { background:none; border-color:#fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
681
- .ui-datepicker-calendar .ui-state-active, .ui-datepicker-calendar .ui-state-active.ui-state-hover {
682
- outline: none;
683
- color: #ffffff;
684
- border-color: #21759b #21759b #1e6a8d;
685
- background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
686
- background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
687
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
688
- background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
689
- background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
690
- background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
691
- background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
692
- -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
693
- -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
694
- box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
695
- text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
696
- font-weight: normal;
697
- }
698
-
699
- /* with multiple calendars */
700
- .ui-datepicker.ui-datepicker-multi { width:auto; }
701
- .ui-datepicker-multi .ui-datepicker-group { float:left; }
702
- .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
703
- .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
704
- .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
705
- .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
706
- .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
707
- .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
708
- .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
709
- .ui-datepicker-row-break { clear:both; width:100%; }
710
-
711
- /* RTL support */
712
- .ui-datepicker-rtl { direction: rtl; }
713
- .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
714
- .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
715
- .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
716
- .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
717
- .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
718
- .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
719
- .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
720
- .ui-datepicker-rtl .ui-datepicker-group { float:right; }
721
- .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
722
- .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
723
-
724
- /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
725
- .ui-datepicker-cover {
726
- display: none; /*sorry for IE5*/
727
- display/**/: block; /*sorry for IE5*/
728
- position: absolute; /*must have*/
729
- z-index: -1; /*must have*/
730
- filter: mask(); /*must have*/
731
- top: -4px; /*must have*/
732
- left: -4px; /*must have*/
733
- width: 200px; /*must have*/
734
- height: 200px; /*must have*/
735
- }
736
- /*
737
- * jQuery UI Progressbar 1.8.16
738
- *
739
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
740
- * Dual licensed under the MIT or GPL Version 2 licenses.
741
- * http://jquery.org/license
742
- *
743
- * http://docs.jquery.com/UI/Progressbar#theming
744
- */
745
- .ui-progressbar { height: 10px; text-align: left; border: 0 none; background: #f1f1f1; border: none; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset;
746
- }
747
- .ui-progressbar .ui-progressbar-value { margin: -1px; height:100%; border: 0 none; }
748
- .ui-progressbar .ui-progressbar-value { background: #2e9fd2; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset;
749
- }
750
-
751
- /* Extra Input Field Styling */
752
- .ui-form textarea, .ui-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]) {
753
- color:#333;
754
- padding: 3px;
755
- -webkit-border-radius: 2px;
756
- -moz-border-radius: 2px;
757
- border-radius: 2px;
758
- border: 1px solid #dfdfdf;
759
- outline: none;
760
- -webkit-transition: all 0.25s ease-in-out;
761
- -moz-transition: all 0.25 ease-in-out;
762
- -o-transition: all 0.25s ease-in-out;
763
- -moz-box-sizing: border-box;
764
- font-family:Arial, Helvetica, sans-serif;
765
- font-size:12px;
766
- }
767
- .ui-form textarea:hover, .ui-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):hover {
768
- border: 1px solid #dfdfdf;
769
- }
770
- .ui-form textarea:focus, .ui-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):focus {
771
- border: 1px solid #aaa;
772
- -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
773
- -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
774
- box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
775
- }
776
-
777
- /* Time picker Addon */
778
- .ui-timepicker-div .ui-widget-header { position:relative; padding:.35em 0; border: none; border-bottom: 1px solid #dfdfdf; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; }
779
- .ui-timepicker-div dl { padding:0 7px; }
780
- .ui-timepicker-div dl { border-collapse: collapse; font-size: 0.9em; }
781
- .ui_tpicker_hour_slider, .ui_tpicker_minute_slider { width:100%;}
782
  .ui-timepicker-div .ui-slider .ui-slider-handle { background: url("images/slider_handles.png") no-repeat scroll 0 0 transparent; border:none; }
1
+ /*
2
+ * jQuery UI CSS Framework 1.8.7
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Theming/API
9
+ */
10
+
11
+ /* Layout helpers
12
+ ----------------------------------*/
13
+ .ui-helper-hidden { display: none; }
14
+ .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
15
+ .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
16
+ .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
17
+ .ui-helper-clearfix { display: inline-block; }
18
+ /* required comment for clearfix to work in Opera \*/
19
+ * html .ui-helper-clearfix { height:1%; }
20
+ .ui-helper-clearfix { display:block; }
21
+ /* end clearfix */
22
+ .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
23
+
24
+
25
+ /* Interaction Cues
26
+ ----------------------------------*/
27
+ .ui-state-disabled { cursor: default !important; }
28
+
29
+
30
+ /* Icons
31
+ ----------------------------------*/
32
+
33
+ /* states and images */
34
+ .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
35
+
36
+
37
+ /* Misc visuals
38
+ ----------------------------------*/
39
+
40
+ /* Overlays */
41
+ .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
42
+
43
+
44
+ /*
45
+ * jQuery UI CSS Framework 1.8.7
46
+ *
47
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
48
+ * Dual licensed under the MIT or GPL Version 2 licenses.
49
+ * http://jquery.org/license
50
+ *
51
+ * http://docs.jquery.com/UI/Theming/API
52
+ *
53
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ctl=themeroller
54
+ */
55
+
56
+
57
+ /* Component containers
58
+ ----------------------------------*/
59
+ .ui-widget { font-family: Arial,sans-serif; font-size: 1.1em; }
60
+ .ui-widget .ui-widget { font-size: 1em; }
61
+ .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Arial,sans-serif; font-size: 1em; }
62
+ .ui-widget-content { border: 1px solid #dfdfdf; background: #ffffff; color: #333333; font-size:12px; }
63
+ .ui-widget-content a { color: #333333; }
64
+ .ui-widget-header { border: 1px solid #dfdfdf; color: #333333; font-weight: normal; }
65
+ .ui-widget-header {
66
+ background: #f3f3f3 url(images/bg_fallback.png) 0 0 repeat-x; /* Old browsers */
67
+ background: -moz-linear-gradient(top, #f9f9f9 0%, #ececec 100%); /* FF3.6+ */
68
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
69
+ background: -webkit-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
70
+ background: -o-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Opera11.10+ */
71
+ background: -ms-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* IE10+ */
72
+ background: linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* W3C */
73
+ }
74
+ .ui-widget-header a { color: #333333; }
75
+
76
+ /* Interaction states
77
+ ----------------------------------*/
78
+ .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #dfdfdf; font-weight: normal; color: #333333; }
79
+ .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
80
+ background: #f9f9f9 url(images/bg_fallback.png) 0 0 repeat-x; /* Old browsers */
81
+ background: -moz-linear-gradient(top, #f9f9f9 0%, #ececec 100%); /* FF3.6+ */
82
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
83
+ background: -webkit-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
84
+ background: -o-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Opera11.10+ */
85
+ background: -ms-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* IE10+ */
86
+ background: linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* W3C */
87
+ -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
88
+ -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
89
+ box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
90
+ }
91
+ .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #333333; text-decoration: none; }
92
+ .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #bbbbbb; font-weight: normal; color: #313131; }
93
+ .ui-state-hover a, .ui-state-hover a:hover { color: #313131; text-decoration: none; }
94
+ .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
95
+ outline: none;
96
+ color: #ffffff;
97
+ border-color: #21759b #21759b #1e6a8d;
98
+ background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
99
+ background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
100
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
101
+ background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
102
+ background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
103
+ background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
104
+ background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
105
+ -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
106
+ -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
107
+ box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
108
+ text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
109
+ }
110
+ .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #fff; text-decoration: none; }
111
+ .ui-widget :active { outline: none; }
112
+
113
+ /* Interaction Cues
114
+ ----------------------------------*/
115
+ .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight { border: 1px solid #e6db55; background: #ffffe0; color: #333; }
116
+ .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #333; }
117
+ .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error { border: 1px solid #cc0000; background: #ffebe8; color: #333; }
118
+ .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
119
+ .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
120
+ .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: normal; }
121
+ .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { font-weight: normal; }
122
+ .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
123
+
124
+ /* Icons
125
+ ----------------------------------*/
126
+
127
+ /* states and images */
128
+ .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
129
+ .ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
130
+ .ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
131
+ .ui-state-default .ui-icon { background-image: url(images/ui-icons_454545_256x240.png); }
132
+ .ui-state-hover .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
133
+ .ui-state-focus .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
134
+ .ui-state-active .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
135
+ .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
136
+ .ui-state-error .ui-icon, .ui-state-error-text .ui-icon { background: url(images/icon_sprite.png) -16px 0 no-repeat !important; }
137
+ .ui-state-highlight .ui-icon, .ui-state-error .ui-icon { margin-top: -1px; }
138
+
139
+ /* positioning */
140
+ .ui-icon-carat-1-n { background-position: 0 0; }
141
+ .ui-icon-carat-1-ne { background-position: -16px 0; }
142
+ .ui-icon-carat-1-e { background-position: -32px 0; }
143
+ .ui-icon-carat-1-se { background-position: -48px 0; }
144
+ .ui-icon-carat-1-s { background-position: -64px 0; }
145
+ .ui-icon-carat-1-sw { background-position: -80px 0; }
146
+ .ui-icon-carat-1-w { background-position: -96px 0; }
147
+ .ui-icon-carat-1-nw { background-position: -112px 0; }
148
+ .ui-icon-carat-2-n-s { background-position: -128px 0; }
149
+ .ui-icon-carat-2-e-w { background-position: -144px 0; }
150
+ .ui-icon-triangle-1-n { background-position: 0 -16px; }
151
+ .ui-icon-triangle-1-ne { background-position: -16px -16px; }
152
+ .ui-icon-triangle-1-e { background-position: -32px -16px; }
153
+ .ui-icon-triangle-1-se { background-position: -48px -16px; }
154
+ .ui-icon-triangle-1-s { background-position: -64px -16px; }
155
+ .ui-icon-triangle-1-sw { background-position: -80px -16px; }
156
+ .ui-icon-triangle-1-w { background-position: -96px -16px; }
157
+ .ui-icon-triangle-1-nw { background-position: -112px -16px; }
158
+ .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
159
+ .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
160
+ .ui-icon-arrow-1-n { background-position: 0 -32px; }
161
+ .ui-icon-arrow-1-ne { background-position: -16px -32px; }
162
+ .ui-icon-arrow-1-e { background-position: -32px -32px; }
163
+ .ui-icon-arrow-1-se { background-position: -48px -32px; }
164
+ .ui-icon-arrow-1-s { background-position: -64px -32px; }
165
+ .ui-icon-arrow-1-sw { background-position: -80px -32px; }
166
+ .ui-icon-arrow-1-w { background-position: -96px -32px; }
167
+ .ui-icon-arrow-1-nw { background-position: -112px -32px; }
168
+ .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
169
+ .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
170
+ .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
171
+ .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
172
+ .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
173
+ .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
174
+ .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
175
+ .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
176
+ .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
177
+ .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
178
+ .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
179
+ .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
180
+ .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
181
+ .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
182
+ .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
183
+ .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
184
+ .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
185
+ .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
186
+ .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
187
+ .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
188
+ .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
189
+ .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
190
+ .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
191
+ .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
192
+ .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
193
+ .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
194
+ .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
195
+ .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
196
+ .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
197
+ .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
198
+ .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
199
+ .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
200
+ .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
201
+ .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
202
+ .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
203
+ .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
204
+ .ui-icon-arrow-4 { background-position: 0 -80px; }
205
+ .ui-icon-arrow-4-diag { background-position: -16px -80px; }
206
+ .ui-icon-extlink { background-position: -32px -80px; }
207
+ .ui-icon-newwin { background-position: -48px -80px; }
208
+ .ui-icon-refresh { background-position: -64px -80px; }
209
+ .ui-icon-shuffle { background-position: -80px -80px; }
210
+ .ui-icon-transfer-e-w { background-position: -96px -80px; }
211
+ .ui-icon-transferthick-e-w { background-position: -112px -80px; }
212
+ .ui-icon-folder-collapsed { background-position: 0 -96px; }
213
+ .ui-icon-folder-open { background-position: -16px -96px; }
214
+ .ui-icon-document { background-position: -32px -96px; }
215
+ .ui-icon-document-b { background-position: -48px -96px; }
216
+ .ui-icon-note { background-position: -64px -96px; }
217
+ .ui-icon-mail-closed { background-position: -80px -96px; }
218
+ .ui-icon-mail-open { background-position: -96px -96px; }
219
+ .ui-icon-suitcase { background-position: -112px -96px; }
220
+ .ui-icon-comment { background-position: -128px -96px; }
221
+ .ui-icon-person { background-position: -144px -96px; }
222
+ .ui-icon-print { background-position: -160px -96px; }
223
+ .ui-icon-trash { background-position: -176px -96px; }
224
+ .ui-icon-locked { background-position: -192px -96px; }
225
+ .ui-icon-unlocked { background-position: -208px -96px; }
226
+ .ui-icon-bookmark { background-position: -224px -96px; }
227
+ .ui-icon-tag { background-position: -240px -96px; }
228
+ .ui-icon-home { background-position: 0 -112px; }
229
+ .ui-icon-flag { background-position: -16px -112px; }
230
+ .ui-icon-calendar { background-position: -32px -112px; }
231
+ .ui-icon-cart { background-position: -48px -112px; }
232
+ .ui-icon-pencil { background-position: -64px -112px; }
233
+ .ui-icon-clock { background-position: -80px -112px; }
234
+ .ui-icon-disk { background-position: -96px -112px; }
235
+ .ui-icon-calculator { background-position: -112px -112px; }
236
+ .ui-icon-zoomin { background-position: -128px -112px; }
237
+ .ui-icon-zoomout { background-position: -144px -112px; }
238
+ .ui-icon-search { background-position: -160px -112px; }
239
+ .ui-icon-wrench { background-position: -176px -112px; }
240
+ .ui-icon-gear { background-position: -192px -112px; }
241
+ .ui-icon-heart { background-position: -208px -112px; }
242
+ .ui-icon-star { background-position: -224px -112px; }
243
+ .ui-icon-link { background-position: -240px -112px; }
244
+ .ui-icon-cancel { background-position: 0 -128px; }
245
+ .ui-icon-plus { background-position: -16px -128px; }
246
+ .ui-icon-plusthick { background-position: -32px -128px; }
247
+ .ui-icon-minus { background-position: -48px -128px; }
248
+ .ui-icon-minusthick { background-position: -64px -128px; }
249
+ .ui-icon-close { background-position: -80px -128px; }
250
+ .ui-icon-closethick { background-position: -96px -128px; }
251
+ .ui-icon-key { background-position: -112px -128px; }
252
+ .ui-icon-lightbulb { background-position: -128px -128px; }
253
+ .ui-icon-scissors { background-position: -144px -128px; }
254
+ .ui-icon-clipboard { background-position: -160px -128px; }
255
+ .ui-icon-copy { background-position: -176px -128px; }
256
+ .ui-icon-contact { background-position: -192px -128px; }
257
+ .ui-icon-image { background-position: -208px -128px; }
258
+ .ui-icon-video { background-position: -224px -128px; }
259
+ .ui-icon-script { background-position: -240px -128px; }
260
+ .ui-icon-alert { background-position: 0 -144px; }
261
+ .ui-icon-info { background: url(images/icon_sprite.png) 0 0 no-repeat !important; }
262
+ .ui-icon-notice { background-position: -32px -144px; }
263
+ .ui-icon-help { background-position: -48px -144px; }
264
+ .ui-icon-check { background-position: -64px -144px; }
265
+ .ui-icon-bullet { background-position: -80px -144px; }
266
+ .ui-icon-radio-off { background-position: -96px -144px; }
267
+ .ui-icon-radio-on { background-position: -112px -144px; }
268
+ .ui-icon-pin-w { background-position: -128px -144px; }
269
+ .ui-icon-pin-s { background-position: -144px -144px; }
270
+ .ui-icon-play { background-position: 0 -160px; }
271
+ .ui-icon-pause { background-position: -16px -160px; }
272
+ .ui-icon-seek-next { background-position: -32px -160px; }
273
+ .ui-icon-seek-prev { background-position: -48px -160px; }
274
+ .ui-icon-seek-end { background-position: -64px -160px; }
275
+ .ui-icon-seek-start { background-position: -80px -160px; }
276
+ /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
277
+ .ui-icon-seek-first { background-position: -80px -160px; }
278
+ .ui-icon-stop { background-position: -96px -160px; }
279
+ .ui-icon-eject { background-position: -112px -160px; }
280
+ .ui-icon-volume-off { background-position: -128px -160px; }
281
+ .ui-icon-volume-on { background-position: -144px -160px; }
282
+ .ui-icon-power { background-position: 0 -176px; }
283
+ .ui-icon-signal-diag { background-position: -16px -176px; }
284
+ .ui-icon-signal { background-position: -32px -176px; }
285
+ .ui-icon-battery-0 { background-position: -48px -176px; }
286
+ .ui-icon-battery-1 { background-position: -64px -176px; }
287
+ .ui-icon-battery-2 { background-position: -80px -176px; }
288
+ .ui-icon-battery-3 { background-position: -96px -176px; }
289
+ .ui-icon-circle-plus { background-position: 0 -192px; }
290
+ .ui-icon-circle-minus { background-position: -16px -192px; }
291
+ .ui-icon-circle-close { background-position: -32px -192px; }
292
+ .ui-icon-circle-triangle-e { background-position: -48px -192px; }
293
+ .ui-icon-circle-triangle-s { background-position: -64px -192px; }
294
+ .ui-icon-circle-triangle-w { background-position: -80px -192px; }
295
+ .ui-icon-circle-triangle-n { background-position: -96px -192px; }
296
+ .ui-icon-circle-arrow-e { background-position: -112px -192px; }
297
+ .ui-icon-circle-arrow-s { background-position: -128px -192px; }
298
+ .ui-icon-circle-arrow-w { background-position: -144px -192px; }
299
+ .ui-icon-circle-arrow-n { background-position: -160px -192px; }
300
+ .ui-icon-circle-zoomin { background-position: -176px -192px; }
301
+ .ui-icon-circle-zoomout { background-position: -192px -192px; }
302
+ .ui-icon-circle-check { background-position: -208px -192px; }
303
+ .ui-icon-circlesmall-plus { background-position: 0 -208px; }
304
+ .ui-icon-circlesmall-minus { background-position: -16px -208px; }
305
+ .ui-icon-circlesmall-close { background-position: -32px -208px; }
306
+ .ui-icon-squaresmall-plus { background-position: -48px -208px; }
307
+ .ui-icon-squaresmall-minus { background-position: -64px -208px; }
308
+ .ui-icon-squaresmall-close { background-position: -80px -208px; }
309
+ .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
310
+ .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
311
+ .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
312
+ .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
313
+ .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
314
+ .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
315
+
316
+
317
+ /* Misc visuals
318
+ ----------------------------------*/
319
+
320
+ /* Corner radius */
321
+ .ui-corner-tl { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; }
322
+ .ui-corner-tr { -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; }
323
+ .ui-corner-bl { -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; }
324
+ .ui-corner-br { -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; }
325
+ .ui-corner-top { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; }
326
+ .ui-corner-bottom { -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; }
327
+ .ui-corner-right { -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; }
328
+ .ui-corner-left { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; }
329
+ .ui-corner-all { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
330
+
331
+ /* Overlays */
332
+ .ui-widget-overlay { background: #262b33; opacity: .70;filter:Alpha(Opacity=70); }
333
+ .ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #000000; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
334
+ * jQuery UI Resizable 1.8.7
335
+ *
336
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
337
+ * Dual licensed under the MIT or GPL Version 2 licenses.
338
+ * http://jquery.org/license
339
+ *
340
+ * http://docs.jquery.com/UI/Resizable#theming
341
+ */
342
+ .ui-resizable { position: relative;}
343
+ .ui-resizable-handle { position: absolute; font-size: 0.1px; z-index: 999; display: block;}
344
+ .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
345
+ .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
346
+ .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
347
+ .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
348
+ .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
349
+ .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
350
+ .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
351
+ .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
352
+ .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
353
+ * jQuery UI Selectable 1.8.7
354
+ *
355
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
356
+ * Dual licensed under the MIT or GPL Version 2 licenses.
357
+ * http://jquery.org/license
358
+ *
359
+ * http://docs.jquery.com/UI/Selectable#theming
360
+ */
361
+ .ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
362
+ /*
363
+ * jQuery UI Accordion 1.8.7
364
+ *
365
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
366
+ * Dual licensed under the MIT or GPL Version 2 licenses.
367
+ * http://jquery.org/license
368
+ *
369
+ * http://docs.jquery.com/UI/Accordion#theming
370
+ */
371
+ /* IE/Win - Fix animation bug - #4615 */
372
+ .ui-accordion { width: 100%; }
373
+ .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 0.2em; zoom: 1; height:30px; line-height:30px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
374
+ .ui-accordion .ui-accordion-header.ui-state-active { -moz-border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; }
375
+ .ui-accordion .ui-accordion-content { -moz-border-radius: 0 0 3px 3px; -webkit-border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px; }
376
+ .ui-accordion .ui-accordion-li-fix { display: inline; }
377
+ .ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
378
+ .ui-accordion .ui-accordion-header a { display: block; font-size: 12px; font-weight: normal; padding: 0 .5em 0 1em; }
379
+ .ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
380
+ .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; display:none; }
381
+ .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; overflow: auto; display: none; zoom: 1; }
382
+ .ui-accordion .ui-accordion-content-active { display: block; }/*
383
+ * jQuery UI Autocomplete 1.8.7
384
+ *
385
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
386
+ * Dual licensed under the MIT or GPL Version 2 licenses.
387
+ * http://jquery.org/license
388
+ *
389
+ * http://docs.jquery.com/UI/Autocomplete#theming
390
+ */
391
+ .ui-autocomplete {
392
+ position: absolute; cursor: default; z-index: 3;
393
+ -moz-border-radius: 0;
394
+ -webkit-border-radius: 0;
395
+ border-radius: 0;
396
+ -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
397
+ -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
398
+ box-shadow: 0 1px 5px rgba(0,0,0,0.3);
399
+ }
400
+
401
+ /* workarounds */
402
+ * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
403
+
404
+ /*
405
+ * jQuery UI Menu 1.8.7
406
+ *
407
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
408
+ * Dual licensed under the MIT or GPL Version 2 licenses.
409
+ * http://jquery.org/license
410
+ *
411
+ * http://docs.jquery.com/UI/Menu#theming
412
+ */
413
+ .ui-menu {
414
+ list-style:none;
415
+ padding: 2px;
416
+ margin: 0;
417
+ display:block;
418
+ float: left;
419
+ }
420
+ .ui-menu .ui-menu {
421
+ margin-top: -3px;
422
+ }
423
+ .ui-menu .ui-menu-item {
424
+ margin:0;
425
+ padding: 0;
426
+ zoom: 1;
427
+ float: left;
428
+ clear: left;
429
+ width: 100%;
430
+ }
431
+ .ui-menu .ui-menu-item a {
432
+ text-decoration:none;
433
+ display:block;
434
+ padding:.2em .4em;
435
+ line-height:1.5;
436
+ zoom:1;
437
+ }
438
+ .ui-menu .ui-menu-item a.ui-state-hover,
439
+ .ui-menu .ui-menu-item a.ui-state-active {
440
+ font-weight: normal;
441
+ margin: -1px;
442
+ background: #5f83b9;
443
+ color: #FFFFFF;
444
+ text-shadow: 0px 1px 1px #234386;
445
+ border-color: #466086;
446
+ -moz-border-radius: 0;
447
+ -webkit-border-radius: 0;
448
+ border-radius: 0;
449
+ }
450
+ /*
451
+ * jQuery UI Button 1.8.7
452
+ *
453
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
454
+ * Dual licensed under the MIT or GPL Version 2 licenses.
455
+ * http://jquery.org/license
456
+ *
457
+ * http://docs.jquery.com/UI/Button#theming
458
+ */
459
+ .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; -webkit-user-select: none; -moz-user-select: none; user-select: none; } /* the overflow property removes extra width in IE */
460
+ .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
461
+ button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
462
+ .ui-button-icons-only { width: 3.4em; }
463
+ button.ui-button-icons-only { width: 3.7em; }
464
+
465
+ /* button animation properties */
466
+ .ui-button {
467
+ -webkit-transition: -webkit-box-shadow 0.25s ease-in-out;
468
+ -moz-transition: -moz-box-shadow 0.25s ease-in-out;
469
+ -o-transition: -o-box-shadow 0.25s ease-in-out;
470
+ }
471
+
472
+ /*states*/
473
+ .ui-button.ui-state-hover {
474
+ -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
475
+ -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
476
+ box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
477
+ }
478
+
479
+ /*button text element */
480
+ .ui-button .ui-button-text { display: block; line-height: 23px; font-size: 12px; font-weight: normal; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); }
481
+ .ui-button.ui-state-active .ui-button-text { display: block; font-size: 12px; font-weight: normal; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4); border: 1px solid #21759B #21759B #1E6A8D; }
482
+ .ui-button-text-only .ui-button-text { padding: 0 1em; }
483
+ .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
484
+ .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: 0 1em 0 2.1em; }
485
+ .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: 0 2.1em .0 1em; }
486
+ .ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
487
+ /* no icon support for input elements, provide padding by default */
488
+ input.ui-button { font-size: 12px; font-weight: normal; padding: 0 1em !important; height: 30px; line-height:30px; }
489
+ /*remove submit button internal padding in Firefox*/
490
+ input.ui-button::-moz-focus-inner {
491
+ border: 0;
492
+ padding: 0;
493
+ }
494
+ /* fix webkits handling of the box model */
495
+ @media screen and (-webkit-min-device-pixel-ratio:0) {
496
+ input.ui-button {
497
+ height: 30px !important;
498
+ vertical-align: bottom;
499
+ }
500
+ }
501
+
502
+ /*button icon element(s) */
503
+ .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
504
+ .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
505
+ .ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
506
+ .ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
507
+ .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
508
+
509
+ /*button sets*/
510
+ .ui-buttonset { margin-right: 7px; }
511
+ .ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
512
+ .ui-buttonset .ui-button.ui-state-active { color: #ffffff; border-color: #21759B #21759B #1E6A8D; }
513
+ .ui-buttonset .ui-button.ui-state-active {
514
+ background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
515
+ background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
516
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
517
+ background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
518
+ background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
519
+ background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
520
+ background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
521
+ -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
522
+ -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
523
+ box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
524
+ }
525
+
526
+ /* workarounds */
527
+ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
528
+ /*
529
+ * jQuery UI Dialog 1.8.7
530
+ *
531
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
532
+ * Dual licensed under the MIT or GPL Version 2 licenses.
533
+ * http://jquery.org/license
534
+ *
535
+ * http://docs.jquery.com/UI/Dialog#theming
536
+ */
537
+ .ui-dialog { position: absolute; padding: 0; width: 300px; overflow: hidden; }
538
+ .ui-dialog {
539
+ -webkit-box-shadow: 0 2px 12px rgba(0,0,0,0.6);
540
+ -moz-box-shadow: 0 2px 12px rgba(0,0,0,0.6);
541
+ box-shadow: 0 2px 12px rgba(0,0,0,0.6);
542
+ outline:none;
543
+ }
544
+ .ui-dialog .ui-dialog-titlebar { padding: 0.7em 1em 0.6em 1em; position: relative; border: none; border-bottom: 1px solid #dfdfdf; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; }
545
+ .ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; font-size: 12px; text-shadow: 0 1px 0 rgba(255,255,255,0.5); }
546
+ .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .8em; top: 60%; width: 16px; margin: -10px 0 0 0; padding: 0; height: 16px; overflow:hidden; border:none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
547
+ .ui-dialog .ui-dialog-titlebar-close span { display: block; background: url(images/icon_sprite.png) 0 -16px no-repeat; top:0; left:0; margin:0; }
548
+ .ui-dialog .ui-dialog-titlebar-close span.ui-button-text { display:none; }
549
+ .ui-dialog .ui-dialog-titlebar-close:hover span { background-position: -16px -16px; }
550
+ .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; border:none; background:none; }
551
+ .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
552
+ .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
553
+ .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
554
+ .ui-dialog .ui-dialog-buttonpane button {
555
+ margin: .5em .4em .5em 0;
556
+ cursor: pointer;
557
+ outline: none;
558
+ color: #ffffff;
559
+ border-color: #21759b #21759b #1e6a8d;
560
+ background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
561
+ background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
562
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
563
+ background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
564
+ background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
565
+ background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
566
+ background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
567
+ -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
568
+ -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
569
+ box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
570
+ }
571
+ .ui-dialog .ui-dialog-buttonpane .ui-button-text {
572
+ text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
573
+ }
574
+ .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
575
+ .ui-draggable .ui-dialog-titlebar { cursor: move; }
576
+ /*
577
+ * jQuery UI Slider 1.8.16
578
+ *
579
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
580
+ * Dual licensed under the MIT or GPL Version 2 licenses.
581
+ * http://jquery.org/license
582
+ *
583
+ * http://docs.jquery.com/UI/Slider#theming
584
+ */
585
+ .ui-slider { position: relative; text-align: left; background: #f1f1f1; border: none; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; display: inline-block; *display: inline !important; *zoom: 1; }
586
+ .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 17px; height: 21px; cursor: default; background: url(images/slider_handles.png) 0 0 no-repeat; outline: none; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; border: none; }
587
+ .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background: #2e9fd2; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; }
588
+ .ui-slider .ui-slider-handle.ui-state-active { background-position: -17px 0; }
589
+
590
+ .ui-slider-horizontal { height: 7px; }
591
+ .ui-slider-horizontal .ui-slider-handle { top: -5px; margin-left: -.6em; }
592
+ .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
593
+ .ui-slider-horizontal .ui-slider-range-min { left: 0; }
594
+ .ui-slider-horizontal .ui-slider-range-max { right: 0; }
595
+
596
+ .ui-slider-vertical { width: 7px; height: 100px; }
597
+ .ui-slider-vertical .ui-slider-handle { left: -.4em; margin-left: 0; margin-bottom: -.6em; }
598
+ .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
599
+ .ui-slider-vertical .ui-slider-range-min { bottom: 0; }
600
+ .ui-slider-vertical .ui-slider-range-max { top: 0; }/*
601
+ * jQuery UI Tabs 1.8.7
602
+ *
603
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
604
+ * Dual licensed under the MIT or GPL Version 2 licenses.
605
+ * http://jquery.org/license
606
+ *
607
+ * http://docs.jquery.com/UI/Tabs#theming
608
+ */
609
+ .ui-tabs { position: relative; zoom: 1; border: 0; background: transparent; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
610
+ .ui-tabs .ui-tabs-nav { margin: 0; padding: 0; background: transparent; border-width: 0 0 1px 0; }
611
+ .ui-tabs .ui-tabs-nav {
612
+ -moz-border-radius: 0;
613
+ -webkit-border-radius: 0;
614
+ border-radius: 0;
615
+ }
616
+ .ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset; -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;}
617
+ .ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; font-size: 12px; font-weight: normal; outline: none; }
618
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; background: #fff; border-color: #dfdfdf; }
619
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; outline: none; color:#333; }
620
+ .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
621
+ .ui-tabs .ui-tabs-panel { display: block; border-width: 0 1px 1px 1px; padding: 1em 1.4em; background: none; }
622
+ .ui-tabs .ui-tabs-panel { background: #FFF;
623
+ -moz-border-radius: 0;
624
+ -webkit-border-radius: 0;
625
+ border-radius: 0;
626
+ }
627
+ .ui-tabs .ui-tabs-hide { display: none !important; }
628
+ /*
629
+ * jQuery UI Datepicker 1.8.7
630
+ *
631
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
632
+ * Dual licensed under the MIT or GPL Version 2 licenses.
633
+ * http://jquery.org/license
634
+ *
635
+ * http://docs.jquery.com/UI/Datepicker#theming
636
+ */
637
+ .ui-datepicker { width: 17em; padding: 0; display: none; border-color: #DDDDDD; }
638
+ .ui-datepicker {
639
+ -moz-box-shadow: 0 4px 8px rgba(0,0,0,0.5);
640
+ -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.5);
641
+ box-shadow: 0 4px 8px rgba(0,0,0,0.5);
642
+ }
643
+ .ui-datepicker .ui-datepicker-header { position:relative; padding:.35em 0; border: none; border-bottom: 1px solid #dfdfdf; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; }
644
+ .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 6px; width: 1.8em; height: 1.8em; }
645
+ .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { border: 1px none; }
646
+ .ui-datepicker .ui-datepicker-prev { left:2px; }
647
+ .ui-datepicker .ui-datepicker-next { right:2px; }
648
+ .ui-datepicker .ui-datepicker-prev span { background-position: 0px -32px !important; }
649
+ .ui-datepicker .ui-datepicker-next span { background-position: -16px -32px !important; }
650
+ .ui-datepicker .ui-datepicker-prev-hover span { background-position: 0px -48px !important; }
651
+ .ui-datepicker .ui-datepicker-next-hover span { background-position: -16px -48px !important; }
652
+ .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; background: url(images/icon_sprite.png) no-repeat; }
653
+ .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; font-size: 12px; text-shadow: 0 1px 0 rgba(255,255,255,0.6); }
654
+ .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
655
+ .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
656
+ .ui-datepicker select.ui-datepicker-month,
657
+ .ui-datepicker select.ui-datepicker-year { width: 49%;}
658
+ .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; background:#fff; }
659
+ .ui-datepicker.ui-widget-content { background:#fff; }
660
+ .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: normal; border: 0; }
661
+ .ui-datepicker td { border: 0; padding: 1px; }
662
+ .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: center; text-decoration: none; }
663
+ .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
664
+ .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; width:auto; overflow:visible; height:25px; line-height:22px; padding: 0 10px 1px; }
665
+ .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
666
+ .ui-datepicker table .ui-state-highlight { }
667
+ .ui-datepicker table .ui-state-hover {
668
+ border: 1px solid #dfdfdf;
669
+ background: #f9f9f9 url(images/bg_fallback.png) 0 0 repeat-x; /* Old browsers */
670
+ background: -moz-linear-gradient(top, #f9f9f9 0%, #ececec 100%); /* FF3.6+ */
671
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
672
+ background: -webkit-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
673
+ background: -o-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Opera11.10+ */
674
+ background: -ms-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* IE10+ */
675
+ background: linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* W3C */
676
+ -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
677
+ -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
678
+ box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
679
+ }
680
+ .ui-datepicker-calendar .ui-state-default { background:none; border-color:#fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
681
+ .ui-datepicker-calendar .ui-state-active, .ui-datepicker-calendar .ui-state-active.ui-state-hover {
682
+ outline: none;
683
+ color: #ffffff;
684
+ border-color: #21759b #21759b #1e6a8d;
685
+ background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
686
+ background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
687
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
688
+ background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
689
+ background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
690
+ background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
691
+ background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
692
+ -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
693
+ -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
694
+ box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
695
+ text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
696
+ font-weight: normal;
697
+ }
698
+
699
+ /* with multiple calendars */
700
+ .ui-datepicker.ui-datepicker-multi { width:auto; }
701
+ .ui-datepicker-multi .ui-datepicker-group { float:left; }
702
+ .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
703
+ .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
704
+ .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
705
+ .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
706
+ .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
707
+ .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
708
+ .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
709
+ .ui-datepicker-row-break { clear:both; width:100%; }
710
+
711
+ /* RTL support */
712
+ .ui-datepicker-rtl { direction: rtl; }
713
+ .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
714
+ .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
715
+ .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
716
+ .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
717
+ .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
718
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
719
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
720
+ .ui-datepicker-rtl .ui-datepicker-group { float:right; }
721
+ .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
722
+ .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
723
+
724
+ /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
725
+ .ui-datepicker-cover {
726
+ display: none; /*sorry for IE5*/
727
+ display/**/: block; /*sorry for IE5*/
728
+ position: absolute; /*must have*/
729
+ z-index: -1; /*must have*/
730
+ filter: mask(); /*must have*/
731
+ top: -4px; /*must have*/
732
+ left: -4px; /*must have*/
733
+ width: 200px; /*must have*/
734
+ height: 200px; /*must have*/
735
+ }
736
+ /*
737
+ * jQuery UI Progressbar 1.8.16
738
+ *
739
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
740
+ * Dual licensed under the MIT or GPL Version 2 licenses.
741
+ * http://jquery.org/license
742
+ *
743
+ * http://docs.jquery.com/UI/Progressbar#theming
744
+ */
745
+ .ui-progressbar { height: 10px; text-align: left; border: 0 none; background: #f1f1f1; border: none; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset;
746
+ }
747
+ .ui-progressbar .ui-progressbar-value { margin: -1px; height:100%; border: 0 none; }
748
+ .ui-progressbar .ui-progressbar-value { background: #2e9fd2; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset;
749
+ }
750
+
751
+ /* Extra Input Field Styling */
752
+ .ui-form textarea, .ui-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]) {
753
+ color:#333;
754
+ padding: 3px;
755
+ -webkit-border-radius: 2px;
756
+ -moz-border-radius: 2px;
757
+ border-radius: 2px;
758
+ border: 1px solid #dfdfdf;
759
+ outline: none;
760
+ -webkit-transition: all 0.25s ease-in-out;
761
+ -moz-transition: all 0.25 ease-in-out;
762
+ -o-transition: all 0.25s ease-in-out;
763
+ -moz-box-sizing: border-box;
764
+ font-family:Arial, Helvetica, sans-serif;
765
+ font-size:12px;
766
+ }
767
+ .ui-form textarea:hover, .ui-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):hover {
768
+ border: 1px solid #dfdfdf;
769
+ }
770
+ .ui-form textarea:focus, .ui-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):focus {
771
+ border: 1px solid #aaa;
772
+ -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
773
+ -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
774
+ box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
775
+ }
776
+
777
+ /* Time picker Addon */
778
+ .ui-timepicker-div .ui-widget-header { position:relative; padding:.35em 0; border: none; border-bottom: 1px solid #dfdfdf; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; }
779
+ .ui-timepicker-div dl { padding:0 7px; }
780
+ .ui-timepicker-div dl { border-collapse: collapse; font-size: 0.9em; }
781
+ .ui_tpicker_hour_slider, .ui_tpicker_minute_slider { width:100%;}
782
  .ui-timepicker-div .ui-slider .ui-slider-handle { background: url("images/slider_handles.png") no-repeat scroll 0 0 transparent; border:none; }
index.php CHANGED
@@ -1,2 +1,2 @@
1
- <?php
2
  // Silence is golden.
1
+ <?php
2
  // Silence is golden.
js/admin.js CHANGED
@@ -1,89 +1,97 @@
1
- jQuery(document).ready(function($) {
2
-
3
- $('.wplikebtns').buttonset();
4
- $('#rl_fb_overlay_color_input').wpColorPicker();
5
-
6
- $(document).on('click', '#rl-fb-modal-yes', function(event) {
7
- $('#rl-fb-show-overlay-yes').trigger('click');
8
- $('#rl-fb-show-overlay-no').button('disable');
9
- $('#rl-fb-show-overlay-yes').button('disable');
10
- $('#rl-fb-show-close-button-no').trigger('click');
11
- $('#rl-fb-show-close-button-no').button('disable');
12
- $('#rl-fb-show-close-button-yes').button('disable');
13
- $('#rl-fb-enable-escape-button-no').trigger('click');
14
- $('#rl-fb-enable-escape-button-no').button('disable');
15
- $('#rl-fb-enable-escape-button-yes').button('disable');
16
- $('#rl-fb-hide-on-overlay-click-no').trigger('click');
17
- $('#rl-fb-hide-on-overlay-click-no').button('disable');
18
- $('#rl-fb-hide-on-overlay-click-yes').button('disable');
19
- $('#rl-fb-hide-on-content-click-no').trigger('click');
20
- $('#rl-fb-hide-on-content-click-no').button('disable');
21
- $('#rl-fb-hide-on-content-click-yes').button('disable');
22
- });
23
-
24
- $(document).on('click', '#rl-fb-modal-no', function(event) {
25
- $('#rl-fb-show-overlay-no').button('enable');
26
- $('#rl-fb-show-overlay-yes').button('enable');
27
- $('#rl-fb-show-overlay-yes').trigger('click');
28
- $('#rl-fb-show-close-button-no').button('enable');
29
- $('#rl-fb-show-close-button-yes').button('enable');
30
- $('#rl-fb-show-close-button-no').trigger('click');
31
- $('#rl-fb-enable-escape-button-no').button('enable');
32
- $('#rl-fb-enable-escape-button-yes').button('enable');
33
- $('#rl-fb-enable-escape-button-no').trigger('click');
34
- $('#rl-fb-hide-on-overlay-click-no').button('enable');
35
- $('#rl-fb-hide-on-overlay-click-yes').button('enable');
36
- $('#rl-fb-hide-on-overlay-click-no').trigger('click');
37
- $('#rl-fb-hide-on-content-click-no').button('enable');
38
- $('#rl-fb-hide-on-content-click-yes').button('enable');
39
- $('#rl-fb-hide-on-content-click-no').trigger('click');
40
- });
41
-
42
- $('#rl_pp_opacity_span').slider({
43
- value: rlArgs.opacity_pp,
44
- min: 0,
45
- max: 100,
46
- step: 1,
47
- orientation: 'horizontal',
48
- slide: function(e, ui) {
49
- $('#rl_pp_opacity_input').attr('value', ui.value);
50
- $('#rl_pp_opacity_span').attr('title', ui.value);
51
- }
52
- });
53
-
54
- $('#rl_fb_overlay_opacity_span').slider({
55
- value: rlArgs.opacity_fb,
56
- min: 0,
57
- max: 100,
58
- step: 1,
59
- orientation: 'horizontal',
60
- slide: function(e, ui) {
61
- $('#rl_fb_overlay_opacity_input').attr('value', ui.value);
62
- $('#rl_fb_overlay_opacity_span').attr('title', ui.value);
63
- }
64
- });
65
-
66
- $(document).on('change', '#rl-pp-slideshow-yes, #rl-pp-slideshow-no', function(event) {
67
- if($(this).val() === 'yes') {
68
- $('#rl_pp_slideshow_delay').fadeIn(300);
69
- } else {
70
- $('#rl_pp_slideshow_delay').fadeOut(300);
71
- }
72
- });
73
-
74
- $(document).on('change', '#rl-sb-hide-bars-yes, #rl-sb-hide-bars-no', function(event) {
75
- if($(this).val() === 'yes') {
76
- $('#rl_sb_hide_bars_delay').fadeIn(300);
77
- } else {
78
- $('#rl_sb_hide_bars_delay').fadeOut(300);
79
- }
80
- });
81
-
82
- $(document).on('click', 'input#reset_rl_configuration', function(event) {
83
- return confirm(rlArgs.resetScriptToDefaults);
84
- });
85
-
86
- $(document).on('click', 'input#reset_rl_settings', function(event) {
87
- return confirm(rlArgs.resetSettingsToDefaults);
88
- });
 
 
 
 
 
 
 
 
89
  });
1
+ jQuery(document).ready(function($) {
2
+
3
+ $('.wplikebtns').buttonset();
4
+ $('#rl_fb_overlay_color_input').wpColorPicker();
5
+
6
+ $(document).on('click', '#rl-fb-modal-yes', function(event) {
7
+ $('#rl-fb-show-overlay-yes').trigger('click');
8
+ $('#rl-fb-show-overlay-no').button('disable');
9
+ $('#rl-fb-show-overlay-yes').button('disable');
10
+ $('#rl-fb-show-close-button-no').trigger('click');
11
+ $('#rl-fb-show-close-button-no').button('disable');
12
+ $('#rl-fb-show-close-button-yes').button('disable');
13
+ $('#rl-fb-enable-escape-button-no').trigger('click');
14
+ $('#rl-fb-enable-escape-button-no').button('disable');
15
+ $('#rl-fb-enable-escape-button-yes').button('disable');
16
+ $('#rl-fb-hide-on-overlay-click-no').trigger('click');
17
+ $('#rl-fb-hide-on-overlay-click-no').button('disable');
18
+ $('#rl-fb-hide-on-overlay-click-yes').button('disable');
19
+ $('#rl-fb-hide-on-content-click-no').trigger('click');
20
+ $('#rl-fb-hide-on-content-click-no').button('disable');
21
+ $('#rl-fb-hide-on-content-click-yes').button('disable');
22
+ });
23
+
24
+ $(document).on('click', '#rl-fb-modal-no', function(event) {
25
+ $('#rl-fb-show-overlay-no').button('enable');
26
+ $('#rl-fb-show-overlay-yes').button('enable');
27
+ $('#rl-fb-show-overlay-yes').trigger('click');
28
+ $('#rl-fb-show-close-button-no').button('enable');
29
+ $('#rl-fb-show-close-button-yes').button('enable');
30
+ $('#rl-fb-show-close-button-no').trigger('click');
31
+ $('#rl-fb-enable-escape-button-no').button('enable');
32
+ $('#rl-fb-enable-escape-button-yes').button('enable');
33
+ $('#rl-fb-enable-escape-button-no').trigger('click');
34
+ $('#rl-fb-hide-on-overlay-click-no').button('enable');
35
+ $('#rl-fb-hide-on-overlay-click-yes').button('enable');
36
+ $('#rl-fb-hide-on-overlay-click-no').trigger('click');
37
+ $('#rl-fb-hide-on-content-click-no').button('enable');
38
+ $('#rl-fb-hide-on-content-click-yes').button('enable');
39
+ $('#rl-fb-hide-on-content-click-no').trigger('click');
40
+ });
41
+
42
+ $('#rl_pp_opacity_span').slider({
43
+ value: rlArgs.opacity_pp,
44
+ min: 0,
45
+ max: 100,
46
+ step: 1,
47
+ orientation: 'horizontal',
48
+ slide: function(e, ui) {
49
+ $('#rl_pp_opacity_input').attr('value', ui.value);
50
+ $('#rl_pp_opacity_span').attr('title', ui.value);
51
+ }
52
+ });
53
+
54
+ $('#rl_fb_overlay_opacity_span').slider({
55
+ value: rlArgs.opacity_fb,
56
+ min: 0,
57
+ max: 100,
58
+ step: 1,
59
+ orientation: 'horizontal',
60
+ slide: function(e, ui) {
61
+ $('#rl_fb_overlay_opacity_input').attr('value', ui.value);
62
+ $('#rl_fb_overlay_opacity_span').attr('title', ui.value);
63
+ }
64
+ });
65
+
66
+ $(document).on('change', '#rl-pp-slideshow-yes, #rl-pp-slideshow-no', function(event) {
67
+ if($(this).val() === 'yes') {
68
+ $('#rl_pp_slideshow_delay').fadeIn(300);
69
+ } else {
70
+ $('#rl_pp_slideshow_delay').fadeOut(300);
71
+ }
72
+ });
73
+
74
+ $(document).on('change', '#rl-sb-hide-bars-yes, #rl-sb-hide-bars-no', function(event) {
75
+ if($(this).val() === 'yes') {
76
+ $('#rl_sb_hide_bars_delay').fadeIn(300);
77
+ } else {
78
+ $('#rl_sb_hide_bars_delay').fadeOut(300);
79
+ }
80
+ });
81
+
82
+ $(document).on('change', '#rl-enable-custom-events-yes, #rl-enable-custom-events-no', function(event) {
83
+ if($(this).val() === 'yes') {
84
+ $('#rl_custom_events').fadeIn(300);
85
+ } else {
86
+ $('#rl_custom_events').fadeOut(300);
87
+ }
88
+ });
89
+
90
+ $(document).on('click', 'input#reset_rl_configuration', function(event) {
91
+ return confirm(rlArgs.resetScriptToDefaults);
92
+ });
93
+
94
+ $(document).on('click', 'input#reset_rl_settings', function(event) {
95
+ return confirm(rlArgs.resetSettingsToDefaults);
96
+ });
97
  });
js/front.js CHANGED
@@ -1,83 +1,83 @@
1
- jQuery(document).ready(function($) {
2
-
3
- $(document).on('ready ajaxComplete', function() {
4
- if(rlArgs.script === 'swipebox') {
5
- $('a[rel*="'+rlArgs.selector+'"]').swipebox({
6
- useCSS: (rlArgs.animation === '1' ? true : false),
7
- hideBarsDelay: (rlArgs.hideBars === '1' ? parseInt(rlArgs.hideBarsDelay) : 0),
8
- videoMaxWidth: parseInt(rlArgs.videoMaxWidth)
9
- });
10
- } else if(rlArgs.script === 'prettyphoto') {
11
- $('a[rel*="'+rlArgs.selector+'"]').prettyPhoto({
12
- animation_speed: rlArgs.animationSpeed,
13
- slideshow: (rlArgs.slideshow === '1' ? parseInt(rlArgs.slideshowDelay) : false),
14
- autoplay_slideshow: (rlArgs.slideshowAutoplay === '1' ? true : false),
15
- opacity: rlArgs.opacity,
16
- show_title: (rlArgs.showTitle === '1' ? true : false),
17
- allow_resize: (rlArgs.allowResize === '1' ? true : false),
18
- default_width: parseInt(rlArgs.width),
19
- default_height: parseInt(rlArgs.height),
20
- counter_separator_label: rlArgs.separator,
21
- theme: rlArgs.theme,
22
- horizontal_padding: parseInt(rlArgs.horizontalPadding),
23
- hideflash: (rlArgs.hideFlash === '1' ? true : false),
24
- wmode: rlArgs.wmode,
25
- autoplay: (rlArgs.videoAutoplay === '1' ? true : false),
26
- modal: (rlArgs.modal === '1' ? true : false),
27
- deeplinking: (rlArgs.deeplinking === '1' ? true : false),
28
- overlay_gallery: (rlArgs.overlayGallery === '1' ? true : false),
29
- keyboard_shortcuts: (rlArgs.keyboardShortcuts === '1' ? true : false),
30
- social_tools: (rlArgs.social === '1' ? '<div class="pp_social"><div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="http://www.facebook.com/plugins/like.php?locale=en_US&href='+location.href+'&amp;layout=button_count&amp;show_faces=true&amp;width=500&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div></div>' : ''),
31
- changepicturecallback: function(){},
32
- callback: function(){},
33
- ie6_fallback: true
34
- });
35
- } else if(rlArgs.script === 'fancybox') {
36
- $('a[rel*="'+rlArgs.selector+'"]').fancybox({
37
- modal: (rlArgs.modal === '1' ? true : false),
38
- overlayShow: (rlArgs.showOverlay === '1' ? true : false),
39
- showCloseButton: (rlArgs.showCloseButton === '1' ? true : false),
40
- enableEscapeButton: (rlArgs.enableEscapeButton === '1' ? true : false),
41
- hideOnOverlayClick: (rlArgs.hideOnOverlayClick === '1' ? true : false),
42
- hideOnContentClick: (rlArgs.hideOnContentClick === '1' ? true : false),
43
- cyclic: (rlArgs.cyclic === '1' ? true : false),
44
- showNavArrows: (rlArgs.showNavArrows === '1' ? true : false),
45
- autoScale: (rlArgs.autoScale === '1' ? true : false),
46
- scrolling: rlArgs.scrolling,
47
- centerOnScroll: (rlArgs.centerOnScroll === '1' ? true : false),
48
- opacity: (rlArgs.opacity === '1' ? true : false),
49
- overlayOpacity: parseFloat(rlArgs.overlayOpacity / 100),
50
- overlayColor: rlArgs.overlayColor,
51
- titleShow: (rlArgs.titleShow === '1' ? true : false),
52
- titlePosition: rlArgs.titlePosition,
53
- transitionIn: rlArgs.transitions,
54
- transitionOut: rlArgs.transitions,
55
- easingIn: rlArgs.easings,
56
- easingOut: rlArgs.easings,
57
- speedIn: parseInt(rlArgs.speeds),
58
- speedOut: parseInt(rlArgs.speeds),
59
- changeSpeed: parseInt(rlArgs.changeSpeed),
60
- changeFade: parseInt(rlArgs.changeFade),
61
- padding: parseInt(rlArgs.padding),
62
- margin: parseInt(rlArgs.margin),
63
- width: parseInt(rlArgs.videoWidth),
64
- height: parseInt(rlArgs.videoHeight)
65
- });
66
- } else if(rlArgs.script === 'nivo') {
67
- $.each($('a[rel*="'+rlArgs.selector+'"]'), function() {
68
- var match = $(this).attr('rel').match(new RegExp(rlArgs.selector+'\\[(gallery\\-(?:[\\da-z]{1,4}))\\]', 'ig'));
69
-
70
- if(match !== null) {
71
- $(this).attr('data-lightbox-gallery', match[0]);
72
- }
73
- });
74
-
75
- $('a[rel*="'+rlArgs.selector+'"]').nivoLightbox({
76
- effect: rlArgs.effect,
77
- keyboardNav: (rlArgs.keyboardNav === '1' ? true : false),
78
- errorMessage: rlArgs.errorMessage
79
- });
80
- }
81
- });
82
-
83
  });
1
+ jQuery(document).ready(function($) {
2
+
3
+ $(document).on('ready'+rlArgs.custom_events, function() {
4
+ if(rlArgs.script === 'swipebox') {
5
+ $('a[rel*="'+rlArgs.selector+'"]').swipebox({
6
+ useCSS: (rlArgs.animation === '1' ? true : false),
7
+ hideBarsDelay: (rlArgs.hideBars === '1' ? parseInt(rlArgs.hideBarsDelay) : 0),
8
+ videoMaxWidth: parseInt(rlArgs.videoMaxWidth)
9
+ });
10
+ } else if(rlArgs.script === 'prettyphoto') {
11
+ $('a[rel*="'+rlArgs.selector+'"]').prettyPhoto({
12
+ animation_speed: rlArgs.animationSpeed,
13
+ slideshow: (rlArgs.slideshow === '1' ? parseInt(rlArgs.slideshowDelay) : false),
14
+ autoplay_slideshow: (rlArgs.slideshowAutoplay === '1' ? true : false),
15
+ opacity: rlArgs.opacity,
16
+ show_title: (rlArgs.showTitle === '1' ? true : false),
17
+ allow_resize: (rlArgs.allowResize === '1' ? true : false),
18
+ default_width: parseInt(rlArgs.width),
19
+ default_height: parseInt(rlArgs.height),
20
+ counter_separator_label: rlArgs.separator,
21
+ theme: rlArgs.theme,
22
+ horizontal_padding: parseInt(rlArgs.horizontalPadding),
23
+ hideflash: (rlArgs.hideFlash === '1' ? true : false),
24
+ wmode: rlArgs.wmode,
25
+ autoplay: (rlArgs.videoAutoplay === '1' ? true : false),
26
+ modal: (rlArgs.modal === '1' ? true : false),
27
+ deeplinking: (rlArgs.deeplinking === '1' ? true : false),
28
+ overlay_gallery: (rlArgs.overlayGallery === '1' ? true : false),
29
+ keyboard_shortcuts: (rlArgs.keyboardShortcuts === '1' ? true : false),
30
+ social_tools: (rlArgs.social === '1' ? '<div class="pp_social"><div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="http://www.facebook.com/plugins/like.php?locale=en_US&href='+location.href+'&amp;layout=button_count&amp;show_faces=true&amp;width=500&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div></div>' : ''),
31
+ changepicturecallback: function(){},
32
+ callback: function(){},
33
+ ie6_fallback: true
34
+ });
35
+ } else if(rlArgs.script === 'fancybox') {
36
+ $('a[rel*="'+rlArgs.selector+'"]').fancybox({
37
+ modal: (rlArgs.modal === '1' ? true : false),
38
+ overlayShow: (rlArgs.showOverlay === '1' ? true : false),
39
+ showCloseButton: (rlArgs.showCloseButton === '1' ? true : false),
40
+ enableEscapeButton: (rlArgs.enableEscapeButton === '1' ? true : false),
41
+ hideOnOverlayClick: (rlArgs.hideOnOverlayClick === '1' ? true : false),
42
+ hideOnContentClick: (rlArgs.hideOnContentClick === '1' ? true : false),
43
+ cyclic: (rlArgs.cyclic === '1' ? true : false),
44
+ showNavArrows: (rlArgs.showNavArrows === '1' ? true : false),
45
+ autoScale: (rlArgs.autoScale === '1' ? true : false),
46
+ scrolling: rlArgs.scrolling,
47
+ centerOnScroll: (rlArgs.centerOnScroll === '1' ? true : false),
48
+ opacity: (rlArgs.opacity === '1' ? true : false),
49
+ overlayOpacity: parseFloat(rlArgs.overlayOpacity / 100),
50
+ overlayColor: rlArgs.overlayColor,
51
+ titleShow: (rlArgs.titleShow === '1' ? true : false),
52
+ titlePosition: rlArgs.titlePosition,
53
+ transitionIn: rlArgs.transitions,
54
+ transitionOut: rlArgs.transitions,
55
+ easingIn: rlArgs.easings,
56
+ easingOut: rlArgs.easings,
57
+ speedIn: parseInt(rlArgs.speeds),
58
+ speedOut: parseInt(rlArgs.speeds),
59
+ changeSpeed: parseInt(rlArgs.changeSpeed),
60
+ changeFade: parseInt(rlArgs.changeFade),
61
+ padding: parseInt(rlArgs.padding),
62
+ margin: parseInt(rlArgs.margin),
63
+ width: parseInt(rlArgs.videoWidth),
64
+ height: parseInt(rlArgs.videoHeight)
65
+ });
66
+ } else if(rlArgs.script === 'nivo') {
67
+ $.each($('a[rel*="'+rlArgs.selector+'"]'), function() {
68
+ var match = $(this).attr('rel').match(new RegExp(rlArgs.selector+'\\[(gallery\\-(?:[\\da-z]{1,4}))\\]', 'ig'));
69
+
70
+ if(match !== null) {
71
+ $(this).attr('data-lightbox-gallery', match[0]);
72
+ }
73
+ });
74
+
75
+ $('a[rel*="'+rlArgs.selector+'"]').nivoLightbox({
76
+ effect: rlArgs.effect,
77
+ keyboardNav: (rlArgs.keyboardNav === '1' ? true : false),
78
+ errorMessage: rlArgs.errorMessage
79
+ });
80
+ }
81
+ });
82
+
83
  });
languages/responsive-lightbox-pl_PL.mo CHANGED
Binary file
languages/responsive-lightbox-pl_PL.po CHANGED
@@ -1,435 +1,447 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Responsive Lightbox\n"
4
- "POT-Creation-Date: 2013-10-28 14:23+0100\n"
5
- "PO-Revision-Date: 2013-10-28 14:26+0100\n"
6
- "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
7
  "Language-Team: dFactory <info@dfactory.eu>\n"
8
- "Language: Polski\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.7\n"
13
  "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
- #: ../responsive-lightbox.php:272
19
  msgid "prettyPhoto"
20
  msgstr "prettyPhoto"
21
 
22
- #: ../responsive-lightbox.php:274
23
  msgid "slow"
24
  msgstr "wolno"
25
 
26
- #: ../responsive-lightbox.php:275
27
  msgid "normal"
28
  msgstr "normalnie"
29
 
30
- #: ../responsive-lightbox.php:276
31
  msgid "fast"
32
  msgstr "szybko"
33
 
34
- #: ../responsive-lightbox.php:279
35
  msgid "default"
36
  msgstr ""
37
 
38
- #: ../responsive-lightbox.php:280
39
  msgid "light rounded"
40
  msgstr ""
41
 
42
- #: ../responsive-lightbox.php:281
43
  msgid "dark rounded"
44
  msgstr ""
45
 
46
- #: ../responsive-lightbox.php:282
47
  msgid "light square"
48
  msgstr ""
49
 
50
- #: ../responsive-lightbox.php:283
51
  msgid "dark square"
52
  msgstr ""
53
 
54
- #: ../responsive-lightbox.php:284
55
  msgid "facebook"
56
  msgstr ""
57
 
58
- #: ../responsive-lightbox.php:287
59
  msgid "window"
60
  msgstr ""
61
 
62
- #: ../responsive-lightbox.php:288
63
  msgid "transparent"
64
  msgstr ""
65
 
66
- #: ../responsive-lightbox.php:289
67
  msgid "opaque"
68
  msgstr ""
69
 
70
- #: ../responsive-lightbox.php:290
71
  msgid "direct"
72
  msgstr ""
73
 
74
- #: ../responsive-lightbox.php:291
75
  msgid "gpu"
76
  msgstr ""
77
 
78
- #: ../responsive-lightbox.php:296
79
  msgid "SwipeBox"
80
  msgstr "SwipeBox"
81
 
82
- #: ../responsive-lightbox.php:298
83
  msgid "CSS"
84
  msgstr "CSS"
85
 
86
- #: ../responsive-lightbox.php:299
87
  msgid "jQuery"
88
  msgstr "jQuery"
89
 
90
- #: ../responsive-lightbox.php:303
91
  msgid "FancyBox"
92
  msgstr "FancyBox"
93
 
94
- #: ../responsive-lightbox.php:305
95
  msgid "elastic"
96
  msgstr ""
97
 
98
- #: ../responsive-lightbox.php:306 ../responsive-lightbox.php:327
99
  msgid "fade"
100
  msgstr ""
101
 
102
- #: ../responsive-lightbox.php:307
103
  msgid "none"
104
  msgstr "brak"
105
 
106
- #: ../responsive-lightbox.php:310
107
  msgid "auto"
108
  msgstr "automatycznie"
109
 
110
- #: ../responsive-lightbox.php:311
111
  msgid "yes"
112
  msgstr "tak"
113
 
114
- #: ../responsive-lightbox.php:312
115
  msgid "no"
116
  msgstr "nie"
117
 
118
- #: ../responsive-lightbox.php:315
119
  msgid "swing"
120
  msgstr ""
121
 
122
- #: ../responsive-lightbox.php:316
123
  msgid "linear"
124
  msgstr ""
125
 
126
- #: ../responsive-lightbox.php:319
127
  msgid "outside"
128
  msgstr ""
129
 
130
- #: ../responsive-lightbox.php:320
131
  msgid "inside"
132
  msgstr ""
133
 
134
- #: ../responsive-lightbox.php:321
135
  msgid "over"
136
  msgstr ""
137
 
138
- #: ../responsive-lightbox.php:325
139
  msgid "Nivo Lightbox"
140
  msgstr "Nivo Lightbox"
141
 
142
- #: ../responsive-lightbox.php:328
143
  msgid "fade scale"
144
  msgstr "fade scale"
145
 
146
- #: ../responsive-lightbox.php:329
147
  msgid "slide left"
148
  msgstr ""
149
 
150
- #: ../responsive-lightbox.php:330
151
  msgid "slide right"
152
  msgstr "slide right"
153
 
154
- #: ../responsive-lightbox.php:331
155
  msgid "slide up"
156
  msgstr ""
157
 
158
- #: ../responsive-lightbox.php:332
159
  msgid "slide down"
160
  msgstr "slide down"
161
 
162
- #: ../responsive-lightbox.php:333
163
  msgid "fall"
164
  msgstr ""
165
 
166
- #: ../responsive-lightbox.php:339
167
  msgid "Enable"
168
  msgstr "Włącz"
169
 
170
- #: ../responsive-lightbox.php:340
171
  msgid "Disable"
172
  msgstr "Wyłącz"
173
 
174
- #: ../responsive-lightbox.php:345 ../responsive-lightbox.php:446
175
  msgid "General settings"
176
  msgstr "Ustawienia ogólne"
177
 
178
- #: ../responsive-lightbox.php:351 ../responsive-lightbox.php:457
179
  msgid "Lightbox settings"
180
  msgstr "Ustawienia lightbox"
181
 
182
- #: ../responsive-lightbox.php:447
183
  msgid "Lightbox script"
184
  msgstr "Skrypt lightbox"
185
 
186
- #: ../responsive-lightbox.php:448
187
  msgid "Selector"
188
  msgstr "Znacznik"
189
 
190
- #: ../responsive-lightbox.php:449
191
  msgid "Galleries"
192
  msgstr "Galerie"
193
 
194
- #: ../responsive-lightbox.php:450
195
  msgid "Video links"
196
  msgstr "Linki video"
197
 
198
- #: ../responsive-lightbox.php:451
199
  msgid "Image links"
200
  msgstr "Linki obrazków"
201
 
202
- #: ../responsive-lightbox.php:452
203
  msgid "Single images as gallery"
204
  msgstr "Galeria pojedynczych obrazków"
205
 
206
- #: ../responsive-lightbox.php:453
 
 
 
 
207
  msgid "Deactivation"
208
  msgstr "Deaktywacja"
209
 
210
- #: ../responsive-lightbox.php:461
211
  msgid "Animation type"
212
  msgstr "Typ animacji"
213
 
214
- #: ../responsive-lightbox.php:462
215
  msgid "Force PNG icons"
216
  msgstr "Wymuszanie ikon PNG"
217
 
218
- #: ../responsive-lightbox.php:463
219
  msgid "Top and bottom bars"
220
  msgstr "Górne i dolne paski"
221
 
222
- #: ../responsive-lightbox.php:464
223
  msgid "Video max width"
224
  msgstr "Maksymalna szerokość video"
225
 
226
- #: ../responsive-lightbox.php:468
227
  msgid "Animation speed"
228
  msgstr "Szybkość animacji"
229
 
230
- #: ../responsive-lightbox.php:469
231
  msgid "Slideshow"
232
  msgstr "Pokaz slidów"
233
 
234
- #: ../responsive-lightbox.php:470
235
  msgid "Slideshow autoplay"
236
  msgstr "Automatyczne odtwarzanie pokazu slajdów"
237
 
238
- #: ../responsive-lightbox.php:471 ../responsive-lightbox.php:500
239
  msgid "Opacity"
240
  msgstr "Przezroczystość"
241
 
242
- #: ../responsive-lightbox.php:472
243
  msgid "Show title"
244
  msgstr "Wyświetlanie tytułu"
245
 
246
- #: ../responsive-lightbox.php:473
247
  msgid "Allow resize big images"
248
  msgstr "Powiększanie dużych zdjęć"
249
 
250
- #: ../responsive-lightbox.php:474 ../responsive-lightbox.php:512
251
  msgid "Video width"
252
  msgstr "Szerokość video"
253
 
254
- #: ../responsive-lightbox.php:475 ../responsive-lightbox.php:513
255
  msgid "Video height"
256
  msgstr "Wysokość video"
257
 
258
- #: ../responsive-lightbox.php:476
259
  msgid "Theme"
260
  msgstr "Motyw"
261
 
262
- #: ../responsive-lightbox.php:477
263
  msgid "Horizontal padding"
264
  msgstr "Odstępy w poziomie"
265
 
266
- #: ../responsive-lightbox.php:478
267
  msgid "Hide Flash"
268
  msgstr "Ukrywanie flash"
269
 
270
- #: ../responsive-lightbox.php:479
271
  msgid "Flash Window Mode (wmode)"
272
  msgstr "Tryb okna flash (wmode)"
273
 
274
- #: ../responsive-lightbox.php:480
275
  msgid "Video autoplay"
276
  msgstr "Automatyczne odtwarzanie wideo"
277
 
278
- #: ../responsive-lightbox.php:481 ../responsive-lightbox.php:489
279
  msgid "Modal"
280
  msgstr "Tryb modal"
281
 
282
- #: ../responsive-lightbox.php:482
283
  msgid "Deeplinking"
284
  msgstr "Głębokie linki"
285
 
286
- #: ../responsive-lightbox.php:483
287
  msgid "Overlay gallery"
288
  msgstr "Efekt overlay galerii"
289
 
290
- #: ../responsive-lightbox.php:484
291
  msgid "Keyboard shortcuts"
292
  msgstr "Skróty klawiaturowe"
293
 
294
- #: ../responsive-lightbox.php:485
295
  msgid "Social (Twitter, Facebook)"
296
  msgstr "Linki społeczności (Twitter, Facebook)"
297
 
298
- #: ../responsive-lightbox.php:490
299
  msgid "Show overlay"
300
  msgstr "Wyświetlanie tła"
301
 
302
- #: ../responsive-lightbox.php:491
303
  msgid "Show close button"
304
  msgstr "Wyświetlanie przycisku Zamknij"
305
 
306
- #: ../responsive-lightbox.php:492
307
  msgid "Enable escape button"
308
  msgstr "Wyświetlanie przycisku Wyjdź"
309
 
310
- #: ../responsive-lightbox.php:493
311
  msgid "Hide on overlay click"
312
  msgstr "Ukryj po kliknięciu w tło"
313
 
314
- #: ../responsive-lightbox.php:494
315
  msgid "Hide on content click"
316
  msgstr "Ukryj po kliknięciu w treść"
317
 
318
- #: ../responsive-lightbox.php:495
319
  msgid "Cyclic"
320
  msgstr "Cykliczność"
321
 
322
- #: ../responsive-lightbox.php:496
323
  msgid "Show nav arrows"
324
  msgstr "Wyświetlanie strzałek"
325
 
326
- #: ../responsive-lightbox.php:497
327
  msgid "Auto scale"
328
  msgstr "Automatyczne skalowanie"
329
 
330
- #: ../responsive-lightbox.php:498
331
  msgid "Scrolling (in/out)"
332
  msgstr "Przewijanie"
333
 
334
- #: ../responsive-lightbox.php:499
335
  msgid "Center on scroll"
336
  msgstr "Centrowanie przy przewijaniu"
337
 
338
- #: ../responsive-lightbox.php:501
339
  msgid "Overlay opacity"
340
  msgstr "Przezroczystość tła"
341
 
342
- #: ../responsive-lightbox.php:502
343
  msgid "Overlay color"
344
  msgstr "Kolor tła"
345
 
346
- #: ../responsive-lightbox.php:503
347
  msgid "Title show"
348
  msgstr "Wyświetlanie tytułu"
349
 
350
- #: ../responsive-lightbox.php:504
351
  msgid "Title position"
352
  msgstr "Pozycja tytułu"
353
 
354
- #: ../responsive-lightbox.php:505
355
  msgid "Transition (in/out)"
356
  msgstr "Efekty przejścia"
357
 
358
- #: ../responsive-lightbox.php:506
359
  msgid "Easings (in/out)"
360
  msgstr "Wygładzanie animacji"
361
 
362
- #: ../responsive-lightbox.php:507
363
  msgid "Speed (in/out)"
364
  msgstr "Szybkość"
365
 
366
- #: ../responsive-lightbox.php:508
367
  msgid "Change speed"
368
  msgstr "Zmień szybkość"
369
 
370
- #: ../responsive-lightbox.php:509
371
  msgid "Change fade"
372
  msgstr "Zmień zanikanie"
373
 
374
- #: ../responsive-lightbox.php:510
375
  msgid "Padding"
376
  msgstr "Odstęp (padding)"
377
 
378
- #: ../responsive-lightbox.php:511
379
  msgid "Margin"
380
  msgstr "Margines (margin)"
381
 
382
- #: ../responsive-lightbox.php:517
383
  msgid "Effect"
384
  msgstr "Efekt"
385
 
386
- #: ../responsive-lightbox.php:518
387
  msgid "Keyboard navigation"
388
  msgstr "Nawigacja klawiaturą"
389
 
390
- #: ../responsive-lightbox.php:519
391
  msgid "Error message"
392
  msgstr "Treść komunikatu o błędzie"
393
 
394
- #: ../responsive-lightbox.php:537
395
  msgid "Select your preffered ligthbox effect script."
396
  msgstr "Wybierz preferowany efekt lightbox."
397
 
398
- #: ../responsive-lightbox.php:547
399
  msgid "Select to which rel selector lightbox effect will be applied to."
400
  msgstr "Wybierz dla któego znacznika będzie dodawany efekt lightbox."
401
 
402
- #: ../responsive-lightbox.php:565
 
 
 
 
 
 
 
 
403
  msgid "Add lightbox to WordPress image galleries by default."
404
  msgstr "Dodaj efekt lightbox do galerii obrazków WordPressa."
405
 
406
- #: ../responsive-lightbox.php:583
407
  msgid "Add lightbox to YouTube and Vimeo video links by default."
408
  msgstr "Dodaj efekt lightbox do linków video (YouTube i Vimeo) WordPressa."
409
 
410
- #: ../responsive-lightbox.php:601
411
  msgid "Add lightbox to WordPress image links by default."
412
  msgstr "Dodaj efekt lightbox do pojedynczych obrazków WordPressa."
413
 
414
- #: ../responsive-lightbox.php:619
415
  msgid "Display single post images as a gallery."
416
  msgstr "Wyświetl pojedyncze obrazki jako pokaz sladów."
417
 
418
- #: ../responsive-lightbox.php:637
419
  msgid "Delete settings on plugin deactivation."
420
  msgstr "Usuń ustawienia przy deaktywacji wtyczki."
421
 
422
- #: ../responsive-lightbox.php:655
423
  msgid "Select a method of applying a lightbox effect."
424
  msgstr "Wybierz sposób dodawania efekty lightbox."
425
 
426
- #: ../responsive-lightbox.php:673
427
  msgid ""
428
  "Disable if you don't want to top and bottom bars to be hidden after a period "
429
  "of time."
430
  msgstr "Wyłącz to, jeśli nie chcesz ukrywać górnego i dolnego paska."
431
 
432
- #: ../responsive-lightbox.php:676
433
  msgid ""
434
  "Enter the time after which the top and bottom bars will be hidden (when "
435
  "hiding is enabled)."
@@ -437,57 +449,57 @@ msgstr ""
437
  "Podaj czas po którym chcesz ukryć górny i dolny pasek (jeśli opcja ukrywania "
438
  "jest włączona)."
439
 
440
- #: ../responsive-lightbox.php:687
441
  msgid "Enter the max video width in a lightbox."
442
  msgstr "Podaj maksymalną szerokość video."
443
 
444
- #: ../responsive-lightbox.php:705
445
  msgid ""
446
  "Enable this if you're having problems with navigation icons not visible on "
447
  "some devices."
448
  msgstr "Włącz tę opcję jeśli masz problemy z wyświetlaniem ikon nawigacji."
449
 
450
- #: ../responsive-lightbox.php:723
451
  msgid "Select animation speed for lightbox effect."
452
  msgstr "Wybierz szybkość animacji efektu lightbox."
453
 
454
- #: ../responsive-lightbox.php:741
455
  msgid "Display images as slideshow."
456
  msgstr "Wyświetl obrazki jako pokaz sladów ."
457
 
458
- #: ../responsive-lightbox.php:744
459
  msgid "Enter time (in miliseconds)."
460
  msgstr "Podaj czas (w milisekundach)."
461
 
462
- #: ../responsive-lightbox.php:763
463
  msgid "Automatically start slideshow."
464
  msgstr "Automatyczne rozpoczynanie pokazu slajdów."
465
 
466
- #: ../responsive-lightbox.php:776
467
  msgid "Value between 0 and 100, 100 for no opacity."
468
  msgstr "Wartość pomiędzy 0 i 100 (100 oznacza brak przezroczystości)."
469
 
470
- #: ../responsive-lightbox.php:794
471
  msgid "Display image tiltle."
472
  msgstr "Wyświetlanie tytułu obrazka."
473
 
474
- #: ../responsive-lightbox.php:812
475
  msgid "Resize the photos bigger than viewport."
476
  msgstr "Zmiana wielkość zdjęć większych niż aktualny ekran."
477
 
478
- #: ../responsive-lightbox.php:822 ../responsive-lightbox.php:832
479
  msgid "in pixels"
480
  msgstr "w pikselach"
481
 
482
- #: ../responsive-lightbox.php:850
483
  msgid "Select theme for lightbox effect."
484
  msgstr "Wybierz motyw dla efektu lightbox."
485
 
486
- #: ../responsive-lightbox.php:860
487
  msgid "Horizontal padding (in pixels)."
488
  msgstr "Odstępy w poziomie (w pikselach)."
489
 
490
- #: ../responsive-lightbox.php:878
491
  msgid ""
492
  "Hides all the flash object on a page. Enable this if flash appears over "
493
  "prettyPhoto."
@@ -495,50 +507,50 @@ msgstr ""
495
  "Ukywa wszystkie obiekty flash na stronie. Włącz to jeśli animacje flash "
496
  "wyświetlane są nad lightboxem."
497
 
498
- #: ../responsive-lightbox.php:896
499
  msgid "Select flash window mode."
500
  msgstr "Wybierz tryb okna flash."
501
 
502
- #: ../responsive-lightbox.php:914
503
  msgid "Automatically start videos."
504
  msgstr "Automatycznie rozpoczynaj video."
505
 
506
- #: ../responsive-lightbox.php:932
507
  msgid "If set to true, only the close button will close the window."
508
  msgstr ""
509
  "Jeśli będzie włączone, tylko kliknięcie przycisku spowoduje zamknięcie okna."
510
 
511
- #: ../responsive-lightbox.php:950
512
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
513
  msgstr "Zezwól prettyPhoto na aktualizacje adresów URL i głębokie linkowanie."
514
 
515
- #: ../responsive-lightbox.php:968
516
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
517
  msgstr ""
518
  "Jeśli będzie włączone, galeria będzie wyświetlana na cały ekran po "
519
  "najechaniu myszką."
520
 
521
- #: ../responsive-lightbox.php:986
522
  msgid "Set to false if you open forms inside prettyPhoto."
523
  msgstr "Wyłącz to jeśli chcesz otwierać formularze wewnątrz prettyPhoto."
524
 
525
- #: ../responsive-lightbox.php:1004
526
  msgid "Display links to Facebook and Twitter."
527
  msgstr "Wyświetl linki do Facebboka i Twittera."
528
 
529
- #: ../responsive-lightbox.php:1022
530
  msgid "The transition type."
531
  msgstr "Typ animacji."
532
 
533
- #: ../responsive-lightbox.php:1032
534
  msgid "Space between FancyBox wrapper and content."
535
  msgstr "Przestrzeń między FancyBox a treścią"
536
 
537
- #: ../responsive-lightbox.php:1042
538
  msgid "Space between viewport and FancyBox wrapper."
539
  msgstr "Przestrzeń między ekranem a Fancybox"
540
 
541
- #: ../responsive-lightbox.php:1060
542
  msgid ""
543
  "When true, \"overlayShow\" is set to TRUE and \"hideOnOverlayClick\", "
544
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
@@ -548,112 +560,112 @@ msgstr ""
548
  "TRUE, natomiast \"hideOnOverlayClick\", \"hideOnContentClick\", "
549
  "\"enableEscapeButton\", \"showCloseButton\" zostaną ustawione na FALSE."
550
 
551
- #: ../responsive-lightbox.php:1078
552
  msgid "Toggle overlay."
553
  msgstr "Włącz tło."
554
 
555
- #: ../responsive-lightbox.php:1096
556
  msgid "Toggle close button."
557
  msgstr "Włącz przycisk Zamknij."
558
 
559
- #: ../responsive-lightbox.php:1114
560
  msgid "Toggle if pressing Esc button closes FancyBox."
561
  msgstr "Włącz zamykanie FancyBox przy pomocy Esc."
562
 
563
- #: ../responsive-lightbox.php:1132
564
  msgid "Toggle if clicking the overlay should close FancyBox."
565
  msgstr "Włącz zamykanie FancyBox kliknięciem w tło."
566
 
567
- #: ../responsive-lightbox.php:1150
568
  msgid "Toggle if clicking the content should close FancyBox."
569
  msgstr "Włącz zamykanie FancyBox kliknięciem w treść."
570
 
571
- #: ../responsive-lightbox.php:1168
572
  msgid ""
573
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
574
  msgstr "Jeśli będzie włączone, galerie będą wyświetlane cyklicznie."
575
 
576
- #: ../responsive-lightbox.php:1186
577
  msgid "Toggle navigation arrows."
578
  msgstr "Włącz strzałki nawigacyjne."
579
 
580
- #: ../responsive-lightbox.php:1204
581
  msgid "If true, FancyBox is scaled to fit in viewport."
582
  msgstr "Jeśli będzie włączone, FancyBox będzie skalowany do rozmiaru okna."
583
 
584
- #: ../responsive-lightbox.php:1222
585
  msgid "Set the overflow CSS property to create or hide scrollbars."
586
  msgstr ""
587
  "Ustaw parametr overflow dw CSS aby tworzyć lub ukrywać elementy nawigacji."
588
 
589
- #: ../responsive-lightbox.php:1240
590
  msgid "When true, FancyBox is centered while scrolling page."
591
  msgstr ""
592
  "Jeśli będzie zaznaczone, FancyBox będzie wycentrowany w trakcie przewijania "
593
  "strony."
594
 
595
- #: ../responsive-lightbox.php:1258
596
  msgid "When true, transparency of content is changed for elastic transitions."
597
  msgstr ""
598
  "Jeśli będzie zaznaczone, przezroczystość treści zmieni się w trakcie "
599
  "animacji."
600
 
601
- #: ../responsive-lightbox.php:1271
602
  msgid "Opacity of the overlay."
603
  msgstr "Przezroczystość tła."
604
 
605
- #: ../responsive-lightbox.php:1281
606
  msgid "Color of the overlay."
607
  msgstr "Kolor tła."
608
 
609
- #: ../responsive-lightbox.php:1299
610
  msgid "Toggle title."
611
  msgstr "Wyświetlanie tytułu."
612
 
613
- #: ../responsive-lightbox.php:1317
614
  msgid "The position of title."
615
  msgstr "Pozycja tytułu."
616
 
617
- #: ../responsive-lightbox.php:1335
618
  msgid "Easing used for elastic animations."
619
  msgstr "Wygładzanie animacji dla trybu elastic."
620
 
621
- #: ../responsive-lightbox.php:1345
622
  msgid "Speed of the fade and elastic transitions, in milliseconds."
623
  msgstr "Podaj czas trwania animacji fade i elastic (w milisekundach)"
624
 
625
- #: ../responsive-lightbox.php:1355
626
  msgid "Speed of resizing when changing gallery items, in milliseconds."
627
  msgstr ""
628
  "Szybkość zmiany wielkości okna w trakcie przechodzenia między obrazkami (w "
629
  "milisekundach)."
630
 
631
- #: ../responsive-lightbox.php:1365
632
  msgid "Speed of the content fading while changing gallery items."
633
  msgstr "Szybkość zanikania elementów w trakcie przechodzenia między obrazkami."
634
 
635
- #: ../responsive-lightbox.php:1375
636
  msgid "Width of the video."
637
  msgstr "Szerokość video."
638
 
639
- #: ../responsive-lightbox.php:1385
640
  msgid "Height of the video."
641
  msgstr "Wysokość video."
642
 
643
- #: ../responsive-lightbox.php:1403
644
  msgid "The effect to use when showing the lightbox."
645
  msgstr "Wybierz efekt, który chcesz zastosować do wyświetlania lightboxa."
646
 
647
- #: ../responsive-lightbox.php:1421
648
  msgid "Enable/Disable keyboard navigation (left/right/escape)."
649
  msgstr ""
650
  "Włącz / Wyłącz nawigację klawiaturą (strzałka w lewo, w prawo i przycisk ESC)"
651
 
652
- #: ../responsive-lightbox.php:1431
653
  msgid "Error message if the content cannot be loaded."
654
  msgstr "Komunikat w przypadku gdy nie można załądować treści."
655
 
656
- #: ../responsive-lightbox.php:1626
657
  msgid ""
658
  "Changes were not saved because there was attempt to save settings of "
659
  "inactive script. The site has been reloaded to the proper script settings."
@@ -661,27 +673,27 @@ msgstr ""
661
  "Zmiany nie zostały zapisane ponieważ wykryto próbę zapisu ustawień "
662
  "nieaktywnego skryptu. Strona została odświeżona z prawidłowymi ustawieniami."
663
 
664
- #: ../responsive-lightbox.php:1636
665
  msgid "Settings restored to defaults."
666
  msgstr "Ustawienia zostały przywrócone do domyślnych."
667
 
668
- #: ../responsive-lightbox.php:1644
669
  msgid "Settings of SwipeBox script were restored to defaults."
670
  msgstr "Ustawienia skryptu SwipeBox zostały przywrócone."
671
 
672
- #: ../responsive-lightbox.php:1650
673
  msgid "Settings of prettyPhoto script were restored to defaults."
674
  msgstr "Ustawienia skryptu prettyPhoto zostały przywrócone."
675
 
676
- #: ../responsive-lightbox.php:1656
677
  msgid "Settings of FancyBox script were restored to defaults."
678
  msgstr "Ustawienia skryptu FancyBox zostały przywrócone."
679
 
680
- #: ../responsive-lightbox.php:1662
681
  msgid "Settings of Nivo script were restored to defaults."
682
  msgstr "Ustawienia skryptu Nivo Lightbox zostały przywrócone."
683
 
684
- #: ../responsive-lightbox.php:1666
685
  msgid ""
686
  "Changes were not set to defaults because there was attempt to reset settings "
687
  "of inactive script. The site has been reloaded to the proper script settings."
@@ -690,68 +702,68 @@ msgstr ""
690
  "resetowania ustawień nieaktywnego skryptu. Strona została odświeżona z "
691
  "prawidłowymi ustawieniami."
692
 
693
- #: ../responsive-lightbox.php:1680 ../responsive-lightbox.php:1681
694
- #: ../responsive-lightbox.php:1695 ../responsive-lightbox.php:1727
695
  msgid "Responsive Lightbox"
696
  msgstr "Efekt Lightbox"
697
 
698
- #: ../responsive-lightbox.php:1720
699
- msgid "Reset to defaults"
700
- msgstr "Resetuj do domyślnych"
701
-
702
- #: ../responsive-lightbox.php:1729
703
  msgid "Need support?"
704
  msgstr "Potrzebujesz pomocy?"
705
 
706
- #: ../responsive-lightbox.php:1730
707
  msgid ""
708
  "If you are having problems with this plugin, please talk about them in the"
709
  msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o nich na"
710
 
711
- #: ../responsive-lightbox.php:1730
712
  msgid "Support forum"
713
  msgstr "Forum pomocy"
714
 
715
- #: ../responsive-lightbox.php:1732
716
  msgid "Do you like this plugin?"
717
  msgstr "Lubisz tę wtyczkę?"
718
 
719
- #: ../responsive-lightbox.php:1733
720
  msgid "Rate it 5"
721
  msgstr "Oceń ją na 5"
722
 
723
- #: ../responsive-lightbox.php:1733
724
  msgid "on WordPress.org"
725
  msgstr "na WordPress.org"
726
 
727
- #: ../responsive-lightbox.php:1734
728
  msgid "Blog about it & link to the"
729
  msgstr "Napisz o niej i dodaj link"
730
 
731
- #: ../responsive-lightbox.php:1734
732
  msgid "plugin page"
733
  msgstr "do strony wtyczki"
734
 
735
- #: ../responsive-lightbox.php:1735
736
  msgid "Check out our other"
737
  msgstr "Sprawdź nasze pozostałe"
738
 
739
- #: ../responsive-lightbox.php:1735
740
  msgid "WordPress plugins"
741
  msgstr "wtyczki do WordPress'a"
742
 
743
- #: ../responsive-lightbox.php:1762
 
 
 
 
744
  msgid "Are you sure you want to reset these settings to defaults?"
745
  msgstr "Jesteś pewny, że chcesz zresetować ustawienia do domyślnych?"
746
 
747
- #: ../responsive-lightbox.php:1763
748
  msgid "Are you sure you want to reset scripts settings to defaults?"
749
  msgstr "Jesteś pewny, że chcesz zresetować ustawienia?"
750
 
751
- #: ../responsive-lightbox.php:2009
752
  msgid "Support"
753
  msgstr "Pomoc"
754
 
755
- #: ../responsive-lightbox.php:2031
756
  msgid "Settings"
757
  msgstr "Ustawienia"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Responsive Lightbox\n"
4
+ "POT-Creation-Date: 2014-02-10 15:41+0100\n"
5
+ "PO-Revision-Date: 2014-02-10 15:42+0100\n"
6
+ "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
7
  "Language-Team: dFactory <info@dfactory.eu>\n"
8
+ "Language: pl\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.4\n"
13
  "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
+ #: ../responsive-lightbox.php:276
19
  msgid "prettyPhoto"
20
  msgstr "prettyPhoto"
21
 
22
+ #: ../responsive-lightbox.php:278
23
  msgid "slow"
24
  msgstr "wolno"
25
 
26
+ #: ../responsive-lightbox.php:279
27
  msgid "normal"
28
  msgstr "normalnie"
29
 
30
+ #: ../responsive-lightbox.php:280
31
  msgid "fast"
32
  msgstr "szybko"
33
 
34
+ #: ../responsive-lightbox.php:283
35
  msgid "default"
36
  msgstr ""
37
 
38
+ #: ../responsive-lightbox.php:284
39
  msgid "light rounded"
40
  msgstr ""
41
 
42
+ #: ../responsive-lightbox.php:285
43
  msgid "dark rounded"
44
  msgstr ""
45
 
46
+ #: ../responsive-lightbox.php:286
47
  msgid "light square"
48
  msgstr ""
49
 
50
+ #: ../responsive-lightbox.php:287
51
  msgid "dark square"
52
  msgstr ""
53
 
54
+ #: ../responsive-lightbox.php:288
55
  msgid "facebook"
56
  msgstr ""
57
 
58
+ #: ../responsive-lightbox.php:291
59
  msgid "window"
60
  msgstr ""
61
 
62
+ #: ../responsive-lightbox.php:292
63
  msgid "transparent"
64
  msgstr ""
65
 
66
+ #: ../responsive-lightbox.php:293
67
  msgid "opaque"
68
  msgstr ""
69
 
70
+ #: ../responsive-lightbox.php:294
71
  msgid "direct"
72
  msgstr ""
73
 
74
+ #: ../responsive-lightbox.php:295
75
  msgid "gpu"
76
  msgstr ""
77
 
78
+ #: ../responsive-lightbox.php:299
79
  msgid "SwipeBox"
80
  msgstr "SwipeBox"
81
 
82
+ #: ../responsive-lightbox.php:301
83
  msgid "CSS"
84
  msgstr "CSS"
85
 
86
+ #: ../responsive-lightbox.php:302
87
  msgid "jQuery"
88
  msgstr "jQuery"
89
 
90
+ #: ../responsive-lightbox.php:306
91
  msgid "FancyBox"
92
  msgstr "FancyBox"
93
 
94
+ #: ../responsive-lightbox.php:308
95
  msgid "elastic"
96
  msgstr ""
97
 
98
+ #: ../responsive-lightbox.php:309 ../responsive-lightbox.php:330
99
  msgid "fade"
100
  msgstr ""
101
 
102
+ #: ../responsive-lightbox.php:310
103
  msgid "none"
104
  msgstr "brak"
105
 
106
+ #: ../responsive-lightbox.php:313
107
  msgid "auto"
108
  msgstr "automatycznie"
109
 
110
+ #: ../responsive-lightbox.php:314
111
  msgid "yes"
112
  msgstr "tak"
113
 
114
+ #: ../responsive-lightbox.php:315
115
  msgid "no"
116
  msgstr "nie"
117
 
118
+ #: ../responsive-lightbox.php:318
119
  msgid "swing"
120
  msgstr ""
121
 
122
+ #: ../responsive-lightbox.php:319
123
  msgid "linear"
124
  msgstr ""
125
 
126
+ #: ../responsive-lightbox.php:322
127
  msgid "outside"
128
  msgstr ""
129
 
130
+ #: ../responsive-lightbox.php:323
131
  msgid "inside"
132
  msgstr ""
133
 
134
+ #: ../responsive-lightbox.php:324
135
  msgid "over"
136
  msgstr ""
137
 
138
+ #: ../responsive-lightbox.php:328
139
  msgid "Nivo Lightbox"
140
  msgstr "Nivo Lightbox"
141
 
142
+ #: ../responsive-lightbox.php:331
143
  msgid "fade scale"
144
  msgstr "fade scale"
145
 
146
+ #: ../responsive-lightbox.php:332
147
  msgid "slide left"
148
  msgstr ""
149
 
150
+ #: ../responsive-lightbox.php:333
151
  msgid "slide right"
152
  msgstr "slide right"
153
 
154
+ #: ../responsive-lightbox.php:334
155
  msgid "slide up"
156
  msgstr ""
157
 
158
+ #: ../responsive-lightbox.php:335
159
  msgid "slide down"
160
  msgstr "slide down"
161
 
162
+ #: ../responsive-lightbox.php:336
163
  msgid "fall"
164
  msgstr ""
165
 
166
+ #: ../responsive-lightbox.php:342
167
  msgid "Enable"
168
  msgstr "Włącz"
169
 
170
+ #: ../responsive-lightbox.php:343
171
  msgid "Disable"
172
  msgstr "Wyłącz"
173
 
174
+ #: ../responsive-lightbox.php:348 ../responsive-lightbox.php:449
175
  msgid "General settings"
176
  msgstr "Ustawienia ogólne"
177
 
178
+ #: ../responsive-lightbox.php:354 ../responsive-lightbox.php:461
179
  msgid "Lightbox settings"
180
  msgstr "Ustawienia lightbox"
181
 
182
+ #: ../responsive-lightbox.php:450
183
  msgid "Lightbox script"
184
  msgstr "Skrypt lightbox"
185
 
186
+ #: ../responsive-lightbox.php:451
187
  msgid "Selector"
188
  msgstr "Znacznik"
189
 
190
+ #: ../responsive-lightbox.php:452
191
  msgid "Galleries"
192
  msgstr "Galerie"
193
 
194
+ #: ../responsive-lightbox.php:453
195
  msgid "Video links"
196
  msgstr "Linki video"
197
 
198
+ #: ../responsive-lightbox.php:454
199
  msgid "Image links"
200
  msgstr "Linki obrazków"
201
 
202
+ #: ../responsive-lightbox.php:455
203
  msgid "Single images as gallery"
204
  msgstr "Galeria pojedynczych obrazków"
205
 
206
+ #: ../responsive-lightbox.php:456
207
+ msgid "Custom events"
208
+ msgstr "Własne zdarzenia"
209
+
210
+ #: ../responsive-lightbox.php:457
211
  msgid "Deactivation"
212
  msgstr "Deaktywacja"
213
 
214
+ #: ../responsive-lightbox.php:465
215
  msgid "Animation type"
216
  msgstr "Typ animacji"
217
 
218
+ #: ../responsive-lightbox.php:466
219
  msgid "Force PNG icons"
220
  msgstr "Wymuszanie ikon PNG"
221
 
222
+ #: ../responsive-lightbox.php:467
223
  msgid "Top and bottom bars"
224
  msgstr "Górne i dolne paski"
225
 
226
+ #: ../responsive-lightbox.php:468
227
  msgid "Video max width"
228
  msgstr "Maksymalna szerokość video"
229
 
230
+ #: ../responsive-lightbox.php:472
231
  msgid "Animation speed"
232
  msgstr "Szybkość animacji"
233
 
234
+ #: ../responsive-lightbox.php:473
235
  msgid "Slideshow"
236
  msgstr "Pokaz slidów"
237
 
238
+ #: ../responsive-lightbox.php:474
239
  msgid "Slideshow autoplay"
240
  msgstr "Automatyczne odtwarzanie pokazu slajdów"
241
 
242
+ #: ../responsive-lightbox.php:475 ../responsive-lightbox.php:504
243
  msgid "Opacity"
244
  msgstr "Przezroczystość"
245
 
246
+ #: ../responsive-lightbox.php:476
247
  msgid "Show title"
248
  msgstr "Wyświetlanie tytułu"
249
 
250
+ #: ../responsive-lightbox.php:477
251
  msgid "Allow resize big images"
252
  msgstr "Powiększanie dużych zdjęć"
253
 
254
+ #: ../responsive-lightbox.php:478 ../responsive-lightbox.php:516
255
  msgid "Video width"
256
  msgstr "Szerokość video"
257
 
258
+ #: ../responsive-lightbox.php:479 ../responsive-lightbox.php:517
259
  msgid "Video height"
260
  msgstr "Wysokość video"
261
 
262
+ #: ../responsive-lightbox.php:480
263
  msgid "Theme"
264
  msgstr "Motyw"
265
 
266
+ #: ../responsive-lightbox.php:481
267
  msgid "Horizontal padding"
268
  msgstr "Odstępy w poziomie"
269
 
270
+ #: ../responsive-lightbox.php:482
271
  msgid "Hide Flash"
272
  msgstr "Ukrywanie flash"
273
 
274
+ #: ../responsive-lightbox.php:483
275
  msgid "Flash Window Mode (wmode)"
276
  msgstr "Tryb okna flash (wmode)"
277
 
278
+ #: ../responsive-lightbox.php:484
279
  msgid "Video autoplay"
280
  msgstr "Automatyczne odtwarzanie wideo"
281
 
282
+ #: ../responsive-lightbox.php:485 ../responsive-lightbox.php:493
283
  msgid "Modal"
284
  msgstr "Tryb modal"
285
 
286
+ #: ../responsive-lightbox.php:486
287
  msgid "Deeplinking"
288
  msgstr "Głębokie linki"
289
 
290
+ #: ../responsive-lightbox.php:487
291
  msgid "Overlay gallery"
292
  msgstr "Efekt overlay galerii"
293
 
294
+ #: ../responsive-lightbox.php:488
295
  msgid "Keyboard shortcuts"
296
  msgstr "Skróty klawiaturowe"
297
 
298
+ #: ../responsive-lightbox.php:489
299
  msgid "Social (Twitter, Facebook)"
300
  msgstr "Linki społeczności (Twitter, Facebook)"
301
 
302
+ #: ../responsive-lightbox.php:494
303
  msgid "Show overlay"
304
  msgstr "Wyświetlanie tła"
305
 
306
+ #: ../responsive-lightbox.php:495
307
  msgid "Show close button"
308
  msgstr "Wyświetlanie przycisku Zamknij"
309
 
310
+ #: ../responsive-lightbox.php:496
311
  msgid "Enable escape button"
312
  msgstr "Wyświetlanie przycisku Wyjdź"
313
 
314
+ #: ../responsive-lightbox.php:497
315
  msgid "Hide on overlay click"
316
  msgstr "Ukryj po kliknięciu w tło"
317
 
318
+ #: ../responsive-lightbox.php:498
319
  msgid "Hide on content click"
320
  msgstr "Ukryj po kliknięciu w treść"
321
 
322
+ #: ../responsive-lightbox.php:499
323
  msgid "Cyclic"
324
  msgstr "Cykliczność"
325
 
326
+ #: ../responsive-lightbox.php:500
327
  msgid "Show nav arrows"
328
  msgstr "Wyświetlanie strzałek"
329
 
330
+ #: ../responsive-lightbox.php:501
331
  msgid "Auto scale"
332
  msgstr "Automatyczne skalowanie"
333
 
334
+ #: ../responsive-lightbox.php:502
335
  msgid "Scrolling (in/out)"
336
  msgstr "Przewijanie"
337
 
338
+ #: ../responsive-lightbox.php:503
339
  msgid "Center on scroll"
340
  msgstr "Centrowanie przy przewijaniu"
341
 
342
+ #: ../responsive-lightbox.php:505
343
  msgid "Overlay opacity"
344
  msgstr "Przezroczystość tła"
345
 
346
+ #: ../responsive-lightbox.php:506
347
  msgid "Overlay color"
348
  msgstr "Kolor tła"
349
 
350
+ #: ../responsive-lightbox.php:507
351
  msgid "Title show"
352
  msgstr "Wyświetlanie tytułu"
353
 
354
+ #: ../responsive-lightbox.php:508
355
  msgid "Title position"
356
  msgstr "Pozycja tytułu"
357
 
358
+ #: ../responsive-lightbox.php:509
359
  msgid "Transition (in/out)"
360
  msgstr "Efekty przejścia"
361
 
362
+ #: ../responsive-lightbox.php:510
363
  msgid "Easings (in/out)"
364
  msgstr "Wygładzanie animacji"
365
 
366
+ #: ../responsive-lightbox.php:511
367
  msgid "Speed (in/out)"
368
  msgstr "Szybkość"
369
 
370
+ #: ../responsive-lightbox.php:512
371
  msgid "Change speed"
372
  msgstr "Zmień szybkość"
373
 
374
+ #: ../responsive-lightbox.php:513
375
  msgid "Change fade"
376
  msgstr "Zmień zanikanie"
377
 
378
+ #: ../responsive-lightbox.php:514
379
  msgid "Padding"
380
  msgstr "Odstęp (padding)"
381
 
382
+ #: ../responsive-lightbox.php:515
383
  msgid "Margin"
384
  msgstr "Margines (margin)"
385
 
386
+ #: ../responsive-lightbox.php:521
387
  msgid "Effect"
388
  msgstr "Efekt"
389
 
390
+ #: ../responsive-lightbox.php:522
391
  msgid "Keyboard navigation"
392
  msgstr "Nawigacja klawiaturą"
393
 
394
+ #: ../responsive-lightbox.php:523
395
  msgid "Error message"
396
  msgstr "Treść komunikatu o błędzie"
397
 
398
+ #: ../responsive-lightbox.php:541
399
  msgid "Select your preffered ligthbox effect script."
400
  msgstr "Wybierz preferowany efekt lightbox."
401
 
402
+ #: ../responsive-lightbox.php:551
403
  msgid "Select to which rel selector lightbox effect will be applied to."
404
  msgstr "Wybierz dla któego znacznika będzie dodawany efekt lightbox."
405
 
406
+ #: ../responsive-lightbox.php:569
407
+ msgid "Enable triggering lightbox on custom jquery events."
408
+ msgstr "Włącz uruchamianie efektu lightbox przy własnych zdarzeniach jquery."
409
+
410
+ #: ../responsive-lightbox.php:572
411
+ msgid "Enter a space separated list of events."
412
+ msgstr "Wpisz oddzieloną spacją listę wydarzeń."
413
+
414
+ #: ../responsive-lightbox.php:591
415
  msgid "Add lightbox to WordPress image galleries by default."
416
  msgstr "Dodaj efekt lightbox do galerii obrazków WordPressa."
417
 
418
+ #: ../responsive-lightbox.php:609
419
  msgid "Add lightbox to YouTube and Vimeo video links by default."
420
  msgstr "Dodaj efekt lightbox do linków video (YouTube i Vimeo) WordPressa."
421
 
422
+ #: ../responsive-lightbox.php:627
423
  msgid "Add lightbox to WordPress image links by default."
424
  msgstr "Dodaj efekt lightbox do pojedynczych obrazków WordPressa."
425
 
426
+ #: ../responsive-lightbox.php:645
427
  msgid "Display single post images as a gallery."
428
  msgstr "Wyświetl pojedyncze obrazki jako pokaz sladów."
429
 
430
+ #: ../responsive-lightbox.php:663
431
  msgid "Delete settings on plugin deactivation."
432
  msgstr "Usuń ustawienia przy deaktywacji wtyczki."
433
 
434
+ #: ../responsive-lightbox.php:681
435
  msgid "Select a method of applying a lightbox effect."
436
  msgstr "Wybierz sposób dodawania efekty lightbox."
437
 
438
+ #: ../responsive-lightbox.php:699
439
  msgid ""
440
  "Disable if you don't want to top and bottom bars to be hidden after a period "
441
  "of time."
442
  msgstr "Wyłącz to, jeśli nie chcesz ukrywać górnego i dolnego paska."
443
 
444
+ #: ../responsive-lightbox.php:702
445
  msgid ""
446
  "Enter the time after which the top and bottom bars will be hidden (when "
447
  "hiding is enabled)."
449
  "Podaj czas po którym chcesz ukryć górny i dolny pasek (jeśli opcja ukrywania "
450
  "jest włączona)."
451
 
452
+ #: ../responsive-lightbox.php:713
453
  msgid "Enter the max video width in a lightbox."
454
  msgstr "Podaj maksymalną szerokość video."
455
 
456
+ #: ../responsive-lightbox.php:731
457
  msgid ""
458
  "Enable this if you're having problems with navigation icons not visible on "
459
  "some devices."
460
  msgstr "Włącz tę opcję jeśli masz problemy z wyświetlaniem ikon nawigacji."
461
 
462
+ #: ../responsive-lightbox.php:749
463
  msgid "Select animation speed for lightbox effect."
464
  msgstr "Wybierz szybkość animacji efektu lightbox."
465
 
466
+ #: ../responsive-lightbox.php:767
467
  msgid "Display images as slideshow."
468
  msgstr "Wyświetl obrazki jako pokaz sladów ."
469
 
470
+ #: ../responsive-lightbox.php:770
471
  msgid "Enter time (in miliseconds)."
472
  msgstr "Podaj czas (w milisekundach)."
473
 
474
+ #: ../responsive-lightbox.php:789
475
  msgid "Automatically start slideshow."
476
  msgstr "Automatyczne rozpoczynanie pokazu slajdów."
477
 
478
+ #: ../responsive-lightbox.php:802
479
  msgid "Value between 0 and 100, 100 for no opacity."
480
  msgstr "Wartość pomiędzy 0 i 100 (100 oznacza brak przezroczystości)."
481
 
482
+ #: ../responsive-lightbox.php:820
483
  msgid "Display image tiltle."
484
  msgstr "Wyświetlanie tytułu obrazka."
485
 
486
+ #: ../responsive-lightbox.php:838
487
  msgid "Resize the photos bigger than viewport."
488
  msgstr "Zmiana wielkość zdjęć większych niż aktualny ekran."
489
 
490
+ #: ../responsive-lightbox.php:848 ../responsive-lightbox.php:858
491
  msgid "in pixels"
492
  msgstr "w pikselach"
493
 
494
+ #: ../responsive-lightbox.php:876
495
  msgid "Select theme for lightbox effect."
496
  msgstr "Wybierz motyw dla efektu lightbox."
497
 
498
+ #: ../responsive-lightbox.php:886
499
  msgid "Horizontal padding (in pixels)."
500
  msgstr "Odstępy w poziomie (w pikselach)."
501
 
502
+ #: ../responsive-lightbox.php:904
503
  msgid ""
504
  "Hides all the flash object on a page. Enable this if flash appears over "
505
  "prettyPhoto."
507
  "Ukywa wszystkie obiekty flash na stronie. Włącz to jeśli animacje flash "
508
  "wyświetlane są nad lightboxem."
509
 
510
+ #: ../responsive-lightbox.php:922
511
  msgid "Select flash window mode."
512
  msgstr "Wybierz tryb okna flash."
513
 
514
+ #: ../responsive-lightbox.php:940
515
  msgid "Automatically start videos."
516
  msgstr "Automatycznie rozpoczynaj video."
517
 
518
+ #: ../responsive-lightbox.php:958
519
  msgid "If set to true, only the close button will close the window."
520
  msgstr ""
521
  "Jeśli będzie włączone, tylko kliknięcie przycisku spowoduje zamknięcie okna."
522
 
523
+ #: ../responsive-lightbox.php:976
524
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
525
  msgstr "Zezwól prettyPhoto na aktualizacje adresów URL i głębokie linkowanie."
526
 
527
+ #: ../responsive-lightbox.php:994
528
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
529
  msgstr ""
530
  "Jeśli będzie włączone, galeria będzie wyświetlana na cały ekran po "
531
  "najechaniu myszką."
532
 
533
+ #: ../responsive-lightbox.php:1012
534
  msgid "Set to false if you open forms inside prettyPhoto."
535
  msgstr "Wyłącz to jeśli chcesz otwierać formularze wewnątrz prettyPhoto."
536
 
537
+ #: ../responsive-lightbox.php:1030
538
  msgid "Display links to Facebook and Twitter."
539
  msgstr "Wyświetl linki do Facebboka i Twittera."
540
 
541
+ #: ../responsive-lightbox.php:1048
542
  msgid "The transition type."
543
  msgstr "Typ animacji."
544
 
545
+ #: ../responsive-lightbox.php:1058
546
  msgid "Space between FancyBox wrapper and content."
547
  msgstr "Przestrzeń między FancyBox a treścią"
548
 
549
+ #: ../responsive-lightbox.php:1068
550
  msgid "Space between viewport and FancyBox wrapper."
551
  msgstr "Przestrzeń między ekranem a Fancybox"
552
 
553
+ #: ../responsive-lightbox.php:1086
554
  msgid ""
555
  "When true, \"overlayShow\" is set to TRUE and \"hideOnOverlayClick\", "
556
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
560
  "TRUE, natomiast \"hideOnOverlayClick\", \"hideOnContentClick\", "
561
  "\"enableEscapeButton\", \"showCloseButton\" zostaną ustawione na FALSE."
562
 
563
+ #: ../responsive-lightbox.php:1104
564
  msgid "Toggle overlay."
565
  msgstr "Włącz tło."
566
 
567
+ #: ../responsive-lightbox.php:1122
568
  msgid "Toggle close button."
569
  msgstr "Włącz przycisk Zamknij."
570
 
571
+ #: ../responsive-lightbox.php:1140
572
  msgid "Toggle if pressing Esc button closes FancyBox."
573
  msgstr "Włącz zamykanie FancyBox przy pomocy Esc."
574
 
575
+ #: ../responsive-lightbox.php:1158
576
  msgid "Toggle if clicking the overlay should close FancyBox."
577
  msgstr "Włącz zamykanie FancyBox kliknięciem w tło."
578
 
579
+ #: ../responsive-lightbox.php:1176
580
  msgid "Toggle if clicking the content should close FancyBox."
581
  msgstr "Włącz zamykanie FancyBox kliknięciem w treść."
582
 
583
+ #: ../responsive-lightbox.php:1194
584
  msgid ""
585
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
586
  msgstr "Jeśli będzie włączone, galerie będą wyświetlane cyklicznie."
587
 
588
+ #: ../responsive-lightbox.php:1212
589
  msgid "Toggle navigation arrows."
590
  msgstr "Włącz strzałki nawigacyjne."
591
 
592
+ #: ../responsive-lightbox.php:1230
593
  msgid "If true, FancyBox is scaled to fit in viewport."
594
  msgstr "Jeśli będzie włączone, FancyBox będzie skalowany do rozmiaru okna."
595
 
596
+ #: ../responsive-lightbox.php:1248
597
  msgid "Set the overflow CSS property to create or hide scrollbars."
598
  msgstr ""
599
  "Ustaw parametr overflow dw CSS aby tworzyć lub ukrywać elementy nawigacji."
600
 
601
+ #: ../responsive-lightbox.php:1266
602
  msgid "When true, FancyBox is centered while scrolling page."
603
  msgstr ""
604
  "Jeśli będzie zaznaczone, FancyBox będzie wycentrowany w trakcie przewijania "
605
  "strony."
606
 
607
+ #: ../responsive-lightbox.php:1284
608
  msgid "When true, transparency of content is changed for elastic transitions."
609
  msgstr ""
610
  "Jeśli będzie zaznaczone, przezroczystość treści zmieni się w trakcie "
611
  "animacji."
612
 
613
+ #: ../responsive-lightbox.php:1297
614
  msgid "Opacity of the overlay."
615
  msgstr "Przezroczystość tła."
616
 
617
+ #: ../responsive-lightbox.php:1307
618
  msgid "Color of the overlay."
619
  msgstr "Kolor tła."
620
 
621
+ #: ../responsive-lightbox.php:1325
622
  msgid "Toggle title."
623
  msgstr "Wyświetlanie tytułu."
624
 
625
+ #: ../responsive-lightbox.php:1343
626
  msgid "The position of title."
627
  msgstr "Pozycja tytułu."
628
 
629
+ #: ../responsive-lightbox.php:1361
630
  msgid "Easing used for elastic animations."
631
  msgstr "Wygładzanie animacji dla trybu elastic."
632
 
633
+ #: ../responsive-lightbox.php:1371
634
  msgid "Speed of the fade and elastic transitions, in milliseconds."
635
  msgstr "Podaj czas trwania animacji fade i elastic (w milisekundach)"
636
 
637
+ #: ../responsive-lightbox.php:1381
638
  msgid "Speed of resizing when changing gallery items, in milliseconds."
639
  msgstr ""
640
  "Szybkość zmiany wielkości okna w trakcie przechodzenia między obrazkami (w "
641
  "milisekundach)."
642
 
643
+ #: ../responsive-lightbox.php:1391
644
  msgid "Speed of the content fading while changing gallery items."
645
  msgstr "Szybkość zanikania elementów w trakcie przechodzenia między obrazkami."
646
 
647
+ #: ../responsive-lightbox.php:1401
648
  msgid "Width of the video."
649
  msgstr "Szerokość video."
650
 
651
+ #: ../responsive-lightbox.php:1411
652
  msgid "Height of the video."
653
  msgstr "Wysokość video."
654
 
655
+ #: ../responsive-lightbox.php:1429
656
  msgid "The effect to use when showing the lightbox."
657
  msgstr "Wybierz efekt, który chcesz zastosować do wyświetlania lightboxa."
658
 
659
+ #: ../responsive-lightbox.php:1447
660
  msgid "Enable/Disable keyboard navigation (left/right/escape)."
661
  msgstr ""
662
  "Włącz / Wyłącz nawigację klawiaturą (strzałka w lewo, w prawo i przycisk ESC)"
663
 
664
+ #: ../responsive-lightbox.php:1457
665
  msgid "Error message if the content cannot be loaded."
666
  msgstr "Komunikat w przypadku gdy nie można załądować treści."
667
 
668
+ #: ../responsive-lightbox.php:1661
669
  msgid ""
670
  "Changes were not saved because there was attempt to save settings of "
671
  "inactive script. The site has been reloaded to the proper script settings."
673
  "Zmiany nie zostały zapisane ponieważ wykryto próbę zapisu ustawień "
674
  "nieaktywnego skryptu. Strona została odświeżona z prawidłowymi ustawieniami."
675
 
676
+ #: ../responsive-lightbox.php:1671
677
  msgid "Settings restored to defaults."
678
  msgstr "Ustawienia zostały przywrócone do domyślnych."
679
 
680
+ #: ../responsive-lightbox.php:1679
681
  msgid "Settings of SwipeBox script were restored to defaults."
682
  msgstr "Ustawienia skryptu SwipeBox zostały przywrócone."
683
 
684
+ #: ../responsive-lightbox.php:1685
685
  msgid "Settings of prettyPhoto script were restored to defaults."
686
  msgstr "Ustawienia skryptu prettyPhoto zostały przywrócone."
687
 
688
+ #: ../responsive-lightbox.php:1691
689
  msgid "Settings of FancyBox script were restored to defaults."
690
  msgstr "Ustawienia skryptu FancyBox zostały przywrócone."
691
 
692
+ #: ../responsive-lightbox.php:1697
693
  msgid "Settings of Nivo script were restored to defaults."
694
  msgstr "Ustawienia skryptu Nivo Lightbox zostały przywrócone."
695
 
696
+ #: ../responsive-lightbox.php:1701
697
  msgid ""
698
  "Changes were not set to defaults because there was attempt to reset settings "
699
  "of inactive script. The site has been reloaded to the proper script settings."
702
  "resetowania ustawień nieaktywnego skryptu. Strona została odświeżona z "
703
  "prawidłowymi ustawieniami."
704
 
705
+ #: ../responsive-lightbox.php:1715 ../responsive-lightbox.php:1716
706
+ #: ../responsive-lightbox.php:1730 ../responsive-lightbox.php:1744
707
  msgid "Responsive Lightbox"
708
  msgstr "Efekt Lightbox"
709
 
710
+ #: ../responsive-lightbox.php:1746
 
 
 
 
711
  msgid "Need support?"
712
  msgstr "Potrzebujesz pomocy?"
713
 
714
+ #: ../responsive-lightbox.php:1747
715
  msgid ""
716
  "If you are having problems with this plugin, please talk about them in the"
717
  msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o nich na"
718
 
719
+ #: ../responsive-lightbox.php:1747
720
  msgid "Support forum"
721
  msgstr "Forum pomocy"
722
 
723
+ #: ../responsive-lightbox.php:1749
724
  msgid "Do you like this plugin?"
725
  msgstr "Lubisz tę wtyczkę?"
726
 
727
+ #: ../responsive-lightbox.php:1750
728
  msgid "Rate it 5"
729
  msgstr "Oceń ją na 5"
730
 
731
+ #: ../responsive-lightbox.php:1750
732
  msgid "on WordPress.org"
733
  msgstr "na WordPress.org"
734
 
735
+ #: ../responsive-lightbox.php:1751
736
  msgid "Blog about it & link to the"
737
  msgstr "Napisz o niej i dodaj link"
738
 
739
+ #: ../responsive-lightbox.php:1751
740
  msgid "plugin page"
741
  msgstr "do strony wtyczki"
742
 
743
+ #: ../responsive-lightbox.php:1752
744
  msgid "Check out our other"
745
  msgstr "Sprawdź nasze pozostałe"
746
 
747
+ #: ../responsive-lightbox.php:1752
748
  msgid "WordPress plugins"
749
  msgstr "wtyczki do WordPress'a"
750
 
751
+ #: ../responsive-lightbox.php:1772
752
+ msgid "Reset to defaults"
753
+ msgstr "Resetuj do domyślnych"
754
+
755
+ #: ../responsive-lightbox.php:1799
756
  msgid "Are you sure you want to reset these settings to defaults?"
757
  msgstr "Jesteś pewny, że chcesz zresetować ustawienia do domyślnych?"
758
 
759
+ #: ../responsive-lightbox.php:1800
760
  msgid "Are you sure you want to reset scripts settings to defaults?"
761
  msgstr "Jesteś pewny, że chcesz zresetować ustawienia?"
762
 
763
+ #: ../responsive-lightbox.php:2047
764
  msgid "Support"
765
  msgstr "Pomoc"
766
 
767
+ #: ../responsive-lightbox.php:2069
768
  msgid "Settings"
769
  msgstr "Ustawienia"
languages/responsive-lightbox.mo CHANGED
Binary file
languages/responsive-lightbox.pot CHANGED
@@ -1,734 +1,746 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Responsive Lightbox\n"
4
- "POT-Creation-Date: 2013-10-28 14:23+0100\n"
5
- "PO-Revision-Date: 2013-10-28 14:23+0100\n"
6
- "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
7
  "Language-Team: dFactory <info@dfactory.eu>\n"
8
- "Language: English\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.7\n"
13
  "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
- #: ../responsive-lightbox.php:272
19
  msgid "prettyPhoto"
20
  msgstr ""
21
 
22
- #: ../responsive-lightbox.php:274
23
  msgid "slow"
24
  msgstr ""
25
 
26
- #: ../responsive-lightbox.php:275
27
  msgid "normal"
28
  msgstr ""
29
 
30
- #: ../responsive-lightbox.php:276
31
  msgid "fast"
32
  msgstr ""
33
 
34
- #: ../responsive-lightbox.php:279
35
  msgid "default"
36
  msgstr ""
37
 
38
- #: ../responsive-lightbox.php:280
39
  msgid "light rounded"
40
  msgstr ""
41
 
42
- #: ../responsive-lightbox.php:281
43
  msgid "dark rounded"
44
  msgstr ""
45
 
46
- #: ../responsive-lightbox.php:282
47
  msgid "light square"
48
  msgstr ""
49
 
50
- #: ../responsive-lightbox.php:283
51
  msgid "dark square"
52
  msgstr ""
53
 
54
- #: ../responsive-lightbox.php:284
55
  msgid "facebook"
56
  msgstr ""
57
 
58
- #: ../responsive-lightbox.php:287
59
  msgid "window"
60
  msgstr ""
61
 
62
- #: ../responsive-lightbox.php:288
63
  msgid "transparent"
64
  msgstr ""
65
 
66
- #: ../responsive-lightbox.php:289
67
  msgid "opaque"
68
  msgstr ""
69
 
70
- #: ../responsive-lightbox.php:290
71
  msgid "direct"
72
  msgstr ""
73
 
74
- #: ../responsive-lightbox.php:291
75
  msgid "gpu"
76
  msgstr ""
77
 
78
- #: ../responsive-lightbox.php:296
79
  msgid "SwipeBox"
80
  msgstr ""
81
 
82
- #: ../responsive-lightbox.php:298
83
  msgid "CSS"
84
  msgstr ""
85
 
86
- #: ../responsive-lightbox.php:299
87
  msgid "jQuery"
88
  msgstr ""
89
 
90
- #: ../responsive-lightbox.php:303
91
  msgid "FancyBox"
92
  msgstr ""
93
 
94
- #: ../responsive-lightbox.php:305
95
  msgid "elastic"
96
  msgstr ""
97
 
98
- #: ../responsive-lightbox.php:306 ../responsive-lightbox.php:327
99
  msgid "fade"
100
  msgstr ""
101
 
102
- #: ../responsive-lightbox.php:307
103
  msgid "none"
104
  msgstr ""
105
 
106
- #: ../responsive-lightbox.php:310
107
  msgid "auto"
108
  msgstr ""
109
 
110
- #: ../responsive-lightbox.php:311
111
  msgid "yes"
112
  msgstr ""
113
 
114
- #: ../responsive-lightbox.php:312
115
  msgid "no"
116
  msgstr ""
117
 
118
- #: ../responsive-lightbox.php:315
119
  msgid "swing"
120
  msgstr ""
121
 
122
- #: ../responsive-lightbox.php:316
123
  msgid "linear"
124
  msgstr ""
125
 
126
- #: ../responsive-lightbox.php:319
127
  msgid "outside"
128
  msgstr ""
129
 
130
- #: ../responsive-lightbox.php:320
131
  msgid "inside"
132
  msgstr ""
133
 
134
- #: ../responsive-lightbox.php:321
135
  msgid "over"
136
  msgstr ""
137
 
138
- #: ../responsive-lightbox.php:325
139
  msgid "Nivo Lightbox"
140
  msgstr ""
141
 
142
- #: ../responsive-lightbox.php:328
143
  msgid "fade scale"
144
  msgstr ""
145
 
146
- #: ../responsive-lightbox.php:329
147
  msgid "slide left"
148
  msgstr ""
149
 
150
- #: ../responsive-lightbox.php:330
151
  msgid "slide right"
152
  msgstr ""
153
 
154
- #: ../responsive-lightbox.php:331
155
  msgid "slide up"
156
  msgstr ""
157
 
158
- #: ../responsive-lightbox.php:332
159
  msgid "slide down"
160
  msgstr ""
161
 
162
- #: ../responsive-lightbox.php:333
163
  msgid "fall"
164
  msgstr ""
165
 
166
- #: ../responsive-lightbox.php:339
167
  msgid "Enable"
168
  msgstr ""
169
 
170
- #: ../responsive-lightbox.php:340
171
  msgid "Disable"
172
  msgstr ""
173
 
174
- #: ../responsive-lightbox.php:345 ../responsive-lightbox.php:446
175
  msgid "General settings"
176
  msgstr ""
177
 
178
- #: ../responsive-lightbox.php:351 ../responsive-lightbox.php:457
179
  msgid "Lightbox settings"
180
  msgstr ""
181
 
182
- #: ../responsive-lightbox.php:447
183
  msgid "Lightbox script"
184
  msgstr ""
185
 
186
- #: ../responsive-lightbox.php:448
187
  msgid "Selector"
188
  msgstr ""
189
 
190
- #: ../responsive-lightbox.php:449
191
  msgid "Galleries"
192
  msgstr ""
193
 
194
- #: ../responsive-lightbox.php:450
195
  msgid "Video links"
196
  msgstr ""
197
 
198
- #: ../responsive-lightbox.php:451
199
  msgid "Image links"
200
  msgstr ""
201
 
202
- #: ../responsive-lightbox.php:452
203
  msgid "Single images as gallery"
204
  msgstr ""
205
 
206
- #: ../responsive-lightbox.php:453
 
 
 
 
207
  msgid "Deactivation"
208
  msgstr ""
209
 
210
- #: ../responsive-lightbox.php:461
211
  msgid "Animation type"
212
  msgstr ""
213
 
214
- #: ../responsive-lightbox.php:462
215
  msgid "Force PNG icons"
216
  msgstr ""
217
 
218
- #: ../responsive-lightbox.php:463
219
  msgid "Top and bottom bars"
220
  msgstr ""
221
 
222
- #: ../responsive-lightbox.php:464
223
  msgid "Video max width"
224
  msgstr ""
225
 
226
- #: ../responsive-lightbox.php:468
227
  msgid "Animation speed"
228
  msgstr ""
229
 
230
- #: ../responsive-lightbox.php:469
231
  msgid "Slideshow"
232
  msgstr ""
233
 
234
- #: ../responsive-lightbox.php:470
235
  msgid "Slideshow autoplay"
236
  msgstr ""
237
 
238
- #: ../responsive-lightbox.php:471 ../responsive-lightbox.php:500
239
  msgid "Opacity"
240
  msgstr ""
241
 
242
- #: ../responsive-lightbox.php:472
243
  msgid "Show title"
244
  msgstr ""
245
 
246
- #: ../responsive-lightbox.php:473
247
  msgid "Allow resize big images"
248
  msgstr ""
249
 
250
- #: ../responsive-lightbox.php:474 ../responsive-lightbox.php:512
251
  msgid "Video width"
252
  msgstr ""
253
 
254
- #: ../responsive-lightbox.php:475 ../responsive-lightbox.php:513
255
  msgid "Video height"
256
  msgstr ""
257
 
258
- #: ../responsive-lightbox.php:476
259
  msgid "Theme"
260
  msgstr ""
261
 
262
- #: ../responsive-lightbox.php:477
263
  msgid "Horizontal padding"
264
  msgstr ""
265
 
266
- #: ../responsive-lightbox.php:478
267
  msgid "Hide Flash"
268
  msgstr ""
269
 
270
- #: ../responsive-lightbox.php:479
271
  msgid "Flash Window Mode (wmode)"
272
  msgstr ""
273
 
274
- #: ../responsive-lightbox.php:480
275
  msgid "Video autoplay"
276
  msgstr ""
277
 
278
- #: ../responsive-lightbox.php:481 ../responsive-lightbox.php:489
279
  msgid "Modal"
280
  msgstr ""
281
 
282
- #: ../responsive-lightbox.php:482
283
  msgid "Deeplinking"
284
  msgstr ""
285
 
286
- #: ../responsive-lightbox.php:483
287
  msgid "Overlay gallery"
288
  msgstr ""
289
 
290
- #: ../responsive-lightbox.php:484
291
  msgid "Keyboard shortcuts"
292
  msgstr ""
293
 
294
- #: ../responsive-lightbox.php:485
295
  msgid "Social (Twitter, Facebook)"
296
  msgstr ""
297
 
298
- #: ../responsive-lightbox.php:490
299
  msgid "Show overlay"
300
  msgstr ""
301
 
302
- #: ../responsive-lightbox.php:491
303
  msgid "Show close button"
304
  msgstr ""
305
 
306
- #: ../responsive-lightbox.php:492
307
  msgid "Enable escape button"
308
  msgstr ""
309
 
310
- #: ../responsive-lightbox.php:493
311
  msgid "Hide on overlay click"
312
  msgstr ""
313
 
314
- #: ../responsive-lightbox.php:494
315
  msgid "Hide on content click"
316
  msgstr ""
317
 
318
- #: ../responsive-lightbox.php:495
319
  msgid "Cyclic"
320
  msgstr ""
321
 
322
- #: ../responsive-lightbox.php:496
323
  msgid "Show nav arrows"
324
  msgstr ""
325
 
326
- #: ../responsive-lightbox.php:497
327
  msgid "Auto scale"
328
  msgstr ""
329
 
330
- #: ../responsive-lightbox.php:498
331
  msgid "Scrolling (in/out)"
332
  msgstr ""
333
 
334
- #: ../responsive-lightbox.php:499
335
  msgid "Center on scroll"
336
  msgstr ""
337
 
338
- #: ../responsive-lightbox.php:501
339
  msgid "Overlay opacity"
340
  msgstr ""
341
 
342
- #: ../responsive-lightbox.php:502
343
  msgid "Overlay color"
344
  msgstr ""
345
 
346
- #: ../responsive-lightbox.php:503
347
  msgid "Title show"
348
  msgstr ""
349
 
350
- #: ../responsive-lightbox.php:504
351
  msgid "Title position"
352
  msgstr ""
353
 
354
- #: ../responsive-lightbox.php:505
355
  msgid "Transition (in/out)"
356
  msgstr ""
357
 
358
- #: ../responsive-lightbox.php:506
359
  msgid "Easings (in/out)"
360
  msgstr ""
361
 
362
- #: ../responsive-lightbox.php:507
363
  msgid "Speed (in/out)"
364
  msgstr ""
365
 
366
- #: ../responsive-lightbox.php:508
367
  msgid "Change speed"
368
  msgstr ""
369
 
370
- #: ../responsive-lightbox.php:509
371
  msgid "Change fade"
372
  msgstr ""
373
 
374
- #: ../responsive-lightbox.php:510
375
  msgid "Padding"
376
  msgstr ""
377
 
378
- #: ../responsive-lightbox.php:511
379
  msgid "Margin"
380
  msgstr ""
381
 
382
- #: ../responsive-lightbox.php:517
383
  msgid "Effect"
384
  msgstr ""
385
 
386
- #: ../responsive-lightbox.php:518
387
  msgid "Keyboard navigation"
388
  msgstr ""
389
 
390
- #: ../responsive-lightbox.php:519
391
  msgid "Error message"
392
  msgstr ""
393
 
394
- #: ../responsive-lightbox.php:537
395
  msgid "Select your preffered ligthbox effect script."
396
  msgstr ""
397
 
398
- #: ../responsive-lightbox.php:547
399
  msgid "Select to which rel selector lightbox effect will be applied to."
400
  msgstr ""
401
 
402
- #: ../responsive-lightbox.php:565
 
 
 
 
 
 
 
 
403
  msgid "Add lightbox to WordPress image galleries by default."
404
  msgstr ""
405
 
406
- #: ../responsive-lightbox.php:583
407
  msgid "Add lightbox to YouTube and Vimeo video links by default."
408
  msgstr ""
409
 
410
- #: ../responsive-lightbox.php:601
411
  msgid "Add lightbox to WordPress image links by default."
412
  msgstr ""
413
 
414
- #: ../responsive-lightbox.php:619
415
  msgid "Display single post images as a gallery."
416
  msgstr ""
417
 
418
- #: ../responsive-lightbox.php:637
419
  msgid "Delete settings on plugin deactivation."
420
  msgstr ""
421
 
422
- #: ../responsive-lightbox.php:655
423
  msgid "Select a method of applying a lightbox effect."
424
  msgstr ""
425
 
426
- #: ../responsive-lightbox.php:673
427
  msgid ""
428
  "Disable if you don't want to top and bottom bars to be hidden after a period "
429
  "of time."
430
  msgstr ""
431
 
432
- #: ../responsive-lightbox.php:676
433
  msgid ""
434
  "Enter the time after which the top and bottom bars will be hidden (when "
435
  "hiding is enabled)."
436
  msgstr ""
437
 
438
- #: ../responsive-lightbox.php:687
439
  msgid "Enter the max video width in a lightbox."
440
  msgstr ""
441
 
442
- #: ../responsive-lightbox.php:705
443
  msgid ""
444
  "Enable this if you're having problems with navigation icons not visible on "
445
  "some devices."
446
  msgstr ""
447
 
448
- #: ../responsive-lightbox.php:723
449
  msgid "Select animation speed for lightbox effect."
450
  msgstr ""
451
 
452
- #: ../responsive-lightbox.php:741
453
  msgid "Display images as slideshow."
454
  msgstr ""
455
 
456
- #: ../responsive-lightbox.php:744
457
  msgid "Enter time (in miliseconds)."
458
  msgstr ""
459
 
460
- #: ../responsive-lightbox.php:763
461
  msgid "Automatically start slideshow."
462
  msgstr ""
463
 
464
- #: ../responsive-lightbox.php:776
465
  msgid "Value between 0 and 100, 100 for no opacity."
466
  msgstr ""
467
 
468
- #: ../responsive-lightbox.php:794
469
  msgid "Display image tiltle."
470
  msgstr ""
471
 
472
- #: ../responsive-lightbox.php:812
473
  msgid "Resize the photos bigger than viewport."
474
  msgstr ""
475
 
476
- #: ../responsive-lightbox.php:822 ../responsive-lightbox.php:832
477
  msgid "in pixels"
478
  msgstr ""
479
 
480
- #: ../responsive-lightbox.php:850
481
  msgid "Select theme for lightbox effect."
482
  msgstr ""
483
 
484
- #: ../responsive-lightbox.php:860
485
  msgid "Horizontal padding (in pixels)."
486
  msgstr ""
487
 
488
- #: ../responsive-lightbox.php:878
489
  msgid ""
490
  "Hides all the flash object on a page. Enable this if flash appears over "
491
  "prettyPhoto."
492
  msgstr ""
493
 
494
- #: ../responsive-lightbox.php:896
495
  msgid "Select flash window mode."
496
  msgstr ""
497
 
498
- #: ../responsive-lightbox.php:914
499
  msgid "Automatically start videos."
500
  msgstr ""
501
 
502
- #: ../responsive-lightbox.php:932
503
  msgid "If set to true, only the close button will close the window."
504
  msgstr ""
505
 
506
- #: ../responsive-lightbox.php:950
507
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
508
  msgstr ""
509
 
510
- #: ../responsive-lightbox.php:968
511
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
512
  msgstr ""
513
 
514
- #: ../responsive-lightbox.php:986
515
  msgid "Set to false if you open forms inside prettyPhoto."
516
  msgstr ""
517
 
518
- #: ../responsive-lightbox.php:1004
519
  msgid "Display links to Facebook and Twitter."
520
  msgstr ""
521
 
522
- #: ../responsive-lightbox.php:1022
523
  msgid "The transition type."
524
  msgstr ""
525
 
526
- #: ../responsive-lightbox.php:1032
527
  msgid "Space between FancyBox wrapper and content."
528
  msgstr ""
529
 
530
- #: ../responsive-lightbox.php:1042
531
  msgid "Space between viewport and FancyBox wrapper."
532
  msgstr ""
533
 
534
- #: ../responsive-lightbox.php:1060
535
  msgid ""
536
  "When true, \"overlayShow\" is set to TRUE and \"hideOnOverlayClick\", "
537
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
538
  "to FALSE."
539
  msgstr ""
540
 
541
- #: ../responsive-lightbox.php:1078
542
  msgid "Toggle overlay."
543
  msgstr ""
544
 
545
- #: ../responsive-lightbox.php:1096
546
  msgid "Toggle close button."
547
  msgstr ""
548
 
549
- #: ../responsive-lightbox.php:1114
550
  msgid "Toggle if pressing Esc button closes FancyBox."
551
  msgstr ""
552
 
553
- #: ../responsive-lightbox.php:1132
554
  msgid "Toggle if clicking the overlay should close FancyBox."
555
  msgstr ""
556
 
557
- #: ../responsive-lightbox.php:1150
558
  msgid "Toggle if clicking the content should close FancyBox."
559
  msgstr ""
560
 
561
- #: ../responsive-lightbox.php:1168
562
  msgid ""
563
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
564
  msgstr ""
565
 
566
- #: ../responsive-lightbox.php:1186
567
  msgid "Toggle navigation arrows."
568
  msgstr ""
569
 
570
- #: ../responsive-lightbox.php:1204
571
  msgid "If true, FancyBox is scaled to fit in viewport."
572
  msgstr ""
573
 
574
- #: ../responsive-lightbox.php:1222
575
  msgid "Set the overflow CSS property to create or hide scrollbars."
576
  msgstr ""
577
 
578
- #: ../responsive-lightbox.php:1240
579
  msgid "When true, FancyBox is centered while scrolling page."
580
  msgstr ""
581
 
582
- #: ../responsive-lightbox.php:1258
583
  msgid "When true, transparency of content is changed for elastic transitions."
584
  msgstr ""
585
 
586
- #: ../responsive-lightbox.php:1271
587
  msgid "Opacity of the overlay."
588
  msgstr ""
589
 
590
- #: ../responsive-lightbox.php:1281
591
  msgid "Color of the overlay."
592
  msgstr ""
593
 
594
- #: ../responsive-lightbox.php:1299
595
  msgid "Toggle title."
596
  msgstr ""
597
 
598
- #: ../responsive-lightbox.php:1317
599
  msgid "The position of title."
600
  msgstr ""
601
 
602
- #: ../responsive-lightbox.php:1335
603
  msgid "Easing used for elastic animations."
604
  msgstr ""
605
 
606
- #: ../responsive-lightbox.php:1345
607
  msgid "Speed of the fade and elastic transitions, in milliseconds."
608
  msgstr ""
609
 
610
- #: ../responsive-lightbox.php:1355
611
  msgid "Speed of resizing when changing gallery items, in milliseconds."
612
  msgstr ""
613
 
614
- #: ../responsive-lightbox.php:1365
615
  msgid "Speed of the content fading while changing gallery items."
616
  msgstr ""
617
 
618
- #: ../responsive-lightbox.php:1375
619
  msgid "Width of the video."
620
  msgstr ""
621
 
622
- #: ../responsive-lightbox.php:1385
623
  msgid "Height of the video."
624
  msgstr ""
625
 
626
- #: ../responsive-lightbox.php:1403
627
  msgid "The effect to use when showing the lightbox."
628
  msgstr ""
629
 
630
- #: ../responsive-lightbox.php:1421
631
  msgid "Enable/Disable keyboard navigation (left/right/escape)."
632
  msgstr ""
633
 
634
- #: ../responsive-lightbox.php:1431
635
  msgid "Error message if the content cannot be loaded."
636
  msgstr ""
637
 
638
- #: ../responsive-lightbox.php:1626
639
  msgid ""
640
  "Changes were not saved because there was attempt to save settings of "
641
  "inactive script. The site has been reloaded to the proper script settings."
642
  msgstr ""
643
 
644
- #: ../responsive-lightbox.php:1636
645
  msgid "Settings restored to defaults."
646
  msgstr ""
647
 
648
- #: ../responsive-lightbox.php:1644
649
  msgid "Settings of SwipeBox script were restored to defaults."
650
  msgstr ""
651
 
652
- #: ../responsive-lightbox.php:1650
653
  msgid "Settings of prettyPhoto script were restored to defaults."
654
  msgstr ""
655
 
656
- #: ../responsive-lightbox.php:1656
657
  msgid "Settings of FancyBox script were restored to defaults."
658
  msgstr ""
659
 
660
- #: ../responsive-lightbox.php:1662
661
  msgid "Settings of Nivo script were restored to defaults."
662
  msgstr ""
663
 
664
- #: ../responsive-lightbox.php:1666
665
  msgid ""
666
  "Changes were not set to defaults because there was attempt to reset settings "
667
  "of inactive script. The site has been reloaded to the proper script settings."
668
  msgstr ""
669
 
670
- #: ../responsive-lightbox.php:1680 ../responsive-lightbox.php:1681
671
- #: ../responsive-lightbox.php:1695 ../responsive-lightbox.php:1727
672
  msgid "Responsive Lightbox"
673
  msgstr ""
674
 
675
- #: ../responsive-lightbox.php:1720
676
- msgid "Reset to defaults"
677
- msgstr ""
678
-
679
- #: ../responsive-lightbox.php:1729
680
  msgid "Need support?"
681
  msgstr ""
682
 
683
- #: ../responsive-lightbox.php:1730
684
  msgid ""
685
  "If you are having problems with this plugin, please talk about them in the"
686
  msgstr ""
687
 
688
- #: ../responsive-lightbox.php:1730
689
  msgid "Support forum"
690
  msgstr ""
691
 
692
- #: ../responsive-lightbox.php:1732
693
  msgid "Do you like this plugin?"
694
  msgstr ""
695
 
696
- #: ../responsive-lightbox.php:1733
697
  msgid "Rate it 5"
698
  msgstr ""
699
 
700
- #: ../responsive-lightbox.php:1733
701
  msgid "on WordPress.org"
702
  msgstr ""
703
 
704
- #: ../responsive-lightbox.php:1734
705
  msgid "Blog about it & link to the"
706
  msgstr ""
707
 
708
- #: ../responsive-lightbox.php:1734
709
  msgid "plugin page"
710
  msgstr ""
711
 
712
- #: ../responsive-lightbox.php:1735
713
  msgid "Check out our other"
714
  msgstr ""
715
 
716
- #: ../responsive-lightbox.php:1735
717
  msgid "WordPress plugins"
718
  msgstr ""
719
 
720
- #: ../responsive-lightbox.php:1762
 
 
 
 
721
  msgid "Are you sure you want to reset these settings to defaults?"
722
  msgstr ""
723
 
724
- #: ../responsive-lightbox.php:1763
725
  msgid "Are you sure you want to reset scripts settings to defaults?"
726
  msgstr ""
727
 
728
- #: ../responsive-lightbox.php:2009
729
  msgid "Support"
730
  msgstr ""
731
 
732
- #: ../responsive-lightbox.php:2031
733
  msgid "Settings"
734
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Responsive Lightbox\n"
4
+ "POT-Creation-Date: 2014-02-10 15:40+0100\n"
5
+ "PO-Revision-Date: 2014-02-10 15:41+0100\n"
6
+ "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
7
  "Language-Team: dFactory <info@dfactory.eu>\n"
8
+ "Language: en\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.4\n"
13
  "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
+ #: ../responsive-lightbox.php:276
19
  msgid "prettyPhoto"
20
  msgstr ""
21
 
22
+ #: ../responsive-lightbox.php:278
23
  msgid "slow"
24
  msgstr ""
25
 
26
+ #: ../responsive-lightbox.php:279
27
  msgid "normal"
28
  msgstr ""
29
 
30
+ #: ../responsive-lightbox.php:280
31
  msgid "fast"
32
  msgstr ""
33
 
34
+ #: ../responsive-lightbox.php:283
35
  msgid "default"
36
  msgstr ""
37
 
38
+ #: ../responsive-lightbox.php:284
39
  msgid "light rounded"
40
  msgstr ""
41
 
42
+ #: ../responsive-lightbox.php:285
43
  msgid "dark rounded"
44
  msgstr ""
45
 
46
+ #: ../responsive-lightbox.php:286
47
  msgid "light square"
48
  msgstr ""
49
 
50
+ #: ../responsive-lightbox.php:287
51
  msgid "dark square"
52
  msgstr ""
53
 
54
+ #: ../responsive-lightbox.php:288
55
  msgid "facebook"
56
  msgstr ""
57
 
58
+ #: ../responsive-lightbox.php:291
59
  msgid "window"
60
  msgstr ""
61
 
62
+ #: ../responsive-lightbox.php:292
63
  msgid "transparent"
64
  msgstr ""
65
 
66
+ #: ../responsive-lightbox.php:293
67
  msgid "opaque"
68
  msgstr ""
69
 
70
+ #: ../responsive-lightbox.php:294
71
  msgid "direct"
72
  msgstr ""
73
 
74
+ #: ../responsive-lightbox.php:295
75
  msgid "gpu"
76
  msgstr ""
77
 
78
+ #: ../responsive-lightbox.php:299
79
  msgid "SwipeBox"
80
  msgstr ""
81
 
82
+ #: ../responsive-lightbox.php:301
83
  msgid "CSS"
84
  msgstr ""
85
 
86
+ #: ../responsive-lightbox.php:302
87
  msgid "jQuery"
88
  msgstr ""
89
 
90
+ #: ../responsive-lightbox.php:306
91
  msgid "FancyBox"
92
  msgstr ""
93
 
94
+ #: ../responsive-lightbox.php:308
95
  msgid "elastic"
96
  msgstr ""
97
 
98
+ #: ../responsive-lightbox.php:309 ../responsive-lightbox.php:330
99
  msgid "fade"
100
  msgstr ""
101
 
102
+ #: ../responsive-lightbox.php:310
103
  msgid "none"
104
  msgstr ""
105
 
106
+ #: ../responsive-lightbox.php:313
107
  msgid "auto"
108
  msgstr ""
109
 
110
+ #: ../responsive-lightbox.php:314
111
  msgid "yes"
112
  msgstr ""
113
 
114
+ #: ../responsive-lightbox.php:315
115
  msgid "no"
116
  msgstr ""
117
 
118
+ #: ../responsive-lightbox.php:318
119
  msgid "swing"
120
  msgstr ""
121
 
122
+ #: ../responsive-lightbox.php:319
123
  msgid "linear"
124
  msgstr ""
125
 
126
+ #: ../responsive-lightbox.php:322
127
  msgid "outside"
128
  msgstr ""
129
 
130
+ #: ../responsive-lightbox.php:323
131
  msgid "inside"
132
  msgstr ""
133
 
134
+ #: ../responsive-lightbox.php:324
135
  msgid "over"
136
  msgstr ""
137
 
138
+ #: ../responsive-lightbox.php:328
139
  msgid "Nivo Lightbox"
140
  msgstr ""
141
 
142
+ #: ../responsive-lightbox.php:331
143
  msgid "fade scale"
144
  msgstr ""
145
 
146
+ #: ../responsive-lightbox.php:332
147
  msgid "slide left"
148
  msgstr ""
149
 
150
+ #: ../responsive-lightbox.php:333
151
  msgid "slide right"
152
  msgstr ""
153
 
154
+ #: ../responsive-lightbox.php:334
155
  msgid "slide up"
156
  msgstr ""
157
 
158
+ #: ../responsive-lightbox.php:335
159
  msgid "slide down"
160
  msgstr ""
161
 
162
+ #: ../responsive-lightbox.php:336
163
  msgid "fall"
164
  msgstr ""
165
 
166
+ #: ../responsive-lightbox.php:342
167
  msgid "Enable"
168
  msgstr ""
169
 
170
+ #: ../responsive-lightbox.php:343
171
  msgid "Disable"
172
  msgstr ""
173
 
174
+ #: ../responsive-lightbox.php:348 ../responsive-lightbox.php:449
175
  msgid "General settings"
176
  msgstr ""
177
 
178
+ #: ../responsive-lightbox.php:354 ../responsive-lightbox.php:461
179
  msgid "Lightbox settings"
180
  msgstr ""
181
 
182
+ #: ../responsive-lightbox.php:450
183
  msgid "Lightbox script"
184
  msgstr ""
185
 
186
+ #: ../responsive-lightbox.php:451
187
  msgid "Selector"
188
  msgstr ""
189
 
190
+ #: ../responsive-lightbox.php:452
191
  msgid "Galleries"
192
  msgstr ""
193
 
194
+ #: ../responsive-lightbox.php:453
195
  msgid "Video links"
196
  msgstr ""
197
 
198
+ #: ../responsive-lightbox.php:454
199
  msgid "Image links"
200
  msgstr ""
201
 
202
+ #: ../responsive-lightbox.php:455
203
  msgid "Single images as gallery"
204
  msgstr ""
205
 
206
+ #: ../responsive-lightbox.php:456
207
+ msgid "Custom events"
208
+ msgstr ""
209
+
210
+ #: ../responsive-lightbox.php:457
211
  msgid "Deactivation"
212
  msgstr ""
213
 
214
+ #: ../responsive-lightbox.php:465
215
  msgid "Animation type"
216
  msgstr ""
217
 
218
+ #: ../responsive-lightbox.php:466
219
  msgid "Force PNG icons"
220
  msgstr ""
221
 
222
+ #: ../responsive-lightbox.php:467
223
  msgid "Top and bottom bars"
224
  msgstr ""
225
 
226
+ #: ../responsive-lightbox.php:468
227
  msgid "Video max width"
228
  msgstr ""
229
 
230
+ #: ../responsive-lightbox.php:472
231
  msgid "Animation speed"
232
  msgstr ""
233
 
234
+ #: ../responsive-lightbox.php:473
235
  msgid "Slideshow"
236
  msgstr ""
237
 
238
+ #: ../responsive-lightbox.php:474
239
  msgid "Slideshow autoplay"
240
  msgstr ""
241
 
242
+ #: ../responsive-lightbox.php:475 ../responsive-lightbox.php:504
243
  msgid "Opacity"
244
  msgstr ""
245
 
246
+ #: ../responsive-lightbox.php:476
247
  msgid "Show title"
248
  msgstr ""
249
 
250
+ #: ../responsive-lightbox.php:477
251
  msgid "Allow resize big images"
252
  msgstr ""
253
 
254
+ #: ../responsive-lightbox.php:478 ../responsive-lightbox.php:516
255
  msgid "Video width"
256
  msgstr ""
257
 
258
+ #: ../responsive-lightbox.php:479 ../responsive-lightbox.php:517
259
  msgid "Video height"
260
  msgstr ""
261
 
262
+ #: ../responsive-lightbox.php:480
263
  msgid "Theme"
264
  msgstr ""
265
 
266
+ #: ../responsive-lightbox.php:481
267
  msgid "Horizontal padding"
268
  msgstr ""
269
 
270
+ #: ../responsive-lightbox.php:482
271
  msgid "Hide Flash"
272
  msgstr ""
273
 
274
+ #: ../responsive-lightbox.php:483
275
  msgid "Flash Window Mode (wmode)"
276
  msgstr ""
277
 
278
+ #: ../responsive-lightbox.php:484
279
  msgid "Video autoplay"
280
  msgstr ""
281
 
282
+ #: ../responsive-lightbox.php:485 ../responsive-lightbox.php:493
283
  msgid "Modal"
284
  msgstr ""
285
 
286
+ #: ../responsive-lightbox.php:486
287
  msgid "Deeplinking"
288
  msgstr ""
289
 
290
+ #: ../responsive-lightbox.php:487
291
  msgid "Overlay gallery"
292
  msgstr ""
293
 
294
+ #: ../responsive-lightbox.php:488
295
  msgid "Keyboard shortcuts"
296
  msgstr ""
297
 
298
+ #: ../responsive-lightbox.php:489
299
  msgid "Social (Twitter, Facebook)"
300
  msgstr ""
301
 
302
+ #: ../responsive-lightbox.php:494
303
  msgid "Show overlay"
304
  msgstr ""
305
 
306
+ #: ../responsive-lightbox.php:495
307
  msgid "Show close button"
308
  msgstr ""
309
 
310
+ #: ../responsive-lightbox.php:496
311
  msgid "Enable escape button"
312
  msgstr ""
313
 
314
+ #: ../responsive-lightbox.php:497
315
  msgid "Hide on overlay click"
316
  msgstr ""
317
 
318
+ #: ../responsive-lightbox.php:498
319
  msgid "Hide on content click"
320
  msgstr ""
321
 
322
+ #: ../responsive-lightbox.php:499
323
  msgid "Cyclic"
324
  msgstr ""
325
 
326
+ #: ../responsive-lightbox.php:500
327
  msgid "Show nav arrows"
328
  msgstr ""
329
 
330
+ #: ../responsive-lightbox.php:501
331
  msgid "Auto scale"
332
  msgstr ""
333
 
334
+ #: ../responsive-lightbox.php:502
335
  msgid "Scrolling (in/out)"
336
  msgstr ""
337
 
338
+ #: ../responsive-lightbox.php:503
339
  msgid "Center on scroll"
340
  msgstr ""
341
 
342
+ #: ../responsive-lightbox.php:505
343
  msgid "Overlay opacity"
344
  msgstr ""
345
 
346
+ #: ../responsive-lightbox.php:506
347
  msgid "Overlay color"
348
  msgstr ""
349
 
350
+ #: ../responsive-lightbox.php:507
351
  msgid "Title show"
352
  msgstr ""
353
 
354
+ #: ../responsive-lightbox.php:508
355
  msgid "Title position"
356
  msgstr ""
357
 
358
+ #: ../responsive-lightbox.php:509
359
  msgid "Transition (in/out)"
360
  msgstr ""
361
 
362
+ #: ../responsive-lightbox.php:510
363
  msgid "Easings (in/out)"
364
  msgstr ""
365
 
366
+ #: ../responsive-lightbox.php:511
367
  msgid "Speed (in/out)"
368
  msgstr ""
369
 
370
+ #: ../responsive-lightbox.php:512
371
  msgid "Change speed"
372
  msgstr ""
373
 
374
+ #: ../responsive-lightbox.php:513
375
  msgid "Change fade"
376
  msgstr ""
377
 
378
+ #: ../responsive-lightbox.php:514
379
  msgid "Padding"
380
  msgstr ""
381
 
382
+ #: ../responsive-lightbox.php:515
383
  msgid "Margin"
384
  msgstr ""
385
 
386
+ #: ../responsive-lightbox.php:521
387
  msgid "Effect"
388
  msgstr ""
389
 
390
+ #: ../responsive-lightbox.php:522
391
  msgid "Keyboard navigation"
392
  msgstr ""
393
 
394
+ #: ../responsive-lightbox.php:523
395
  msgid "Error message"
396
  msgstr ""
397
 
398
+ #: ../responsive-lightbox.php:541
399
  msgid "Select your preffered ligthbox effect script."
400
  msgstr ""
401
 
402
+ #: ../responsive-lightbox.php:551
403
  msgid "Select to which rel selector lightbox effect will be applied to."
404
  msgstr ""
405
 
406
+ #: ../responsive-lightbox.php:569
407
+ msgid "Enable triggering lightbox on custom jquery events."
408
+ msgstr ""
409
+
410
+ #: ../responsive-lightbox.php:572
411
+ msgid "Enter a space separated list of events."
412
+ msgstr ""
413
+
414
+ #: ../responsive-lightbox.php:591
415
  msgid "Add lightbox to WordPress image galleries by default."
416
  msgstr ""
417
 
418
+ #: ../responsive-lightbox.php:609
419
  msgid "Add lightbox to YouTube and Vimeo video links by default."
420
  msgstr ""
421
 
422
+ #: ../responsive-lightbox.php:627
423
  msgid "Add lightbox to WordPress image links by default."
424
  msgstr ""
425
 
426
+ #: ../responsive-lightbox.php:645
427
  msgid "Display single post images as a gallery."
428
  msgstr ""
429
 
430
+ #: ../responsive-lightbox.php:663
431
  msgid "Delete settings on plugin deactivation."
432
  msgstr ""
433
 
434
+ #: ../responsive-lightbox.php:681
435
  msgid "Select a method of applying a lightbox effect."
436
  msgstr ""
437
 
438
+ #: ../responsive-lightbox.php:699
439
  msgid ""
440
  "Disable if you don't want to top and bottom bars to be hidden after a period "
441
  "of time."
442
  msgstr ""
443
 
444
+ #: ../responsive-lightbox.php:702
445
  msgid ""
446
  "Enter the time after which the top and bottom bars will be hidden (when "
447
  "hiding is enabled)."
448
  msgstr ""
449
 
450
+ #: ../responsive-lightbox.php:713
451
  msgid "Enter the max video width in a lightbox."
452
  msgstr ""
453
 
454
+ #: ../responsive-lightbox.php:731
455
  msgid ""
456
  "Enable this if you're having problems with navigation icons not visible on "
457
  "some devices."
458
  msgstr ""
459
 
460
+ #: ../responsive-lightbox.php:749
461
  msgid "Select animation speed for lightbox effect."
462
  msgstr ""
463
 
464
+ #: ../responsive-lightbox.php:767
465
  msgid "Display images as slideshow."
466
  msgstr ""
467
 
468
+ #: ../responsive-lightbox.php:770
469
  msgid "Enter time (in miliseconds)."
470
  msgstr ""
471
 
472
+ #: ../responsive-lightbox.php:789
473
  msgid "Automatically start slideshow."
474
  msgstr ""
475
 
476
+ #: ../responsive-lightbox.php:802
477
  msgid "Value between 0 and 100, 100 for no opacity."
478
  msgstr ""
479
 
480
+ #: ../responsive-lightbox.php:820
481
  msgid "Display image tiltle."
482
  msgstr ""
483
 
484
+ #: ../responsive-lightbox.php:838
485
  msgid "Resize the photos bigger than viewport."
486
  msgstr ""
487
 
488
+ #: ../responsive-lightbox.php:848 ../responsive-lightbox.php:858
489
  msgid "in pixels"
490
  msgstr ""
491
 
492
+ #: ../responsive-lightbox.php:876
493
  msgid "Select theme for lightbox effect."
494
  msgstr ""
495
 
496
+ #: ../responsive-lightbox.php:886
497
  msgid "Horizontal padding (in pixels)."
498
  msgstr ""
499
 
500
+ #: ../responsive-lightbox.php:904
501
  msgid ""
502
  "Hides all the flash object on a page. Enable this if flash appears over "
503
  "prettyPhoto."
504
  msgstr ""
505
 
506
+ #: ../responsive-lightbox.php:922
507
  msgid "Select flash window mode."
508
  msgstr ""
509
 
510
+ #: ../responsive-lightbox.php:940
511
  msgid "Automatically start videos."
512
  msgstr ""
513
 
514
+ #: ../responsive-lightbox.php:958
515
  msgid "If set to true, only the close button will close the window."
516
  msgstr ""
517
 
518
+ #: ../responsive-lightbox.php:976
519
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
520
  msgstr ""
521
 
522
+ #: ../responsive-lightbox.php:994
523
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
524
  msgstr ""
525
 
526
+ #: ../responsive-lightbox.php:1012
527
  msgid "Set to false if you open forms inside prettyPhoto."
528
  msgstr ""
529
 
530
+ #: ../responsive-lightbox.php:1030
531
  msgid "Display links to Facebook and Twitter."
532
  msgstr ""
533
 
534
+ #: ../responsive-lightbox.php:1048
535
  msgid "The transition type."
536
  msgstr ""
537
 
538
+ #: ../responsive-lightbox.php:1058
539
  msgid "Space between FancyBox wrapper and content."
540
  msgstr ""
541
 
542
+ #: ../responsive-lightbox.php:1068
543
  msgid "Space between viewport and FancyBox wrapper."
544
  msgstr ""
545
 
546
+ #: ../responsive-lightbox.php:1086
547
  msgid ""
548
  "When true, \"overlayShow\" is set to TRUE and \"hideOnOverlayClick\", "
549
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
550
  "to FALSE."
551
  msgstr ""
552
 
553
+ #: ../responsive-lightbox.php:1104
554
  msgid "Toggle overlay."
555
  msgstr ""
556
 
557
+ #: ../responsive-lightbox.php:1122
558
  msgid "Toggle close button."
559
  msgstr ""
560
 
561
+ #: ../responsive-lightbox.php:1140
562
  msgid "Toggle if pressing Esc button closes FancyBox."
563
  msgstr ""
564
 
565
+ #: ../responsive-lightbox.php:1158
566
  msgid "Toggle if clicking the overlay should close FancyBox."
567
  msgstr ""
568
 
569
+ #: ../responsive-lightbox.php:1176
570
  msgid "Toggle if clicking the content should close FancyBox."
571
  msgstr ""
572
 
573
+ #: ../responsive-lightbox.php:1194
574
  msgid ""
575
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
576
  msgstr ""
577
 
578
+ #: ../responsive-lightbox.php:1212
579
  msgid "Toggle navigation arrows."
580
  msgstr ""
581
 
582
+ #: ../responsive-lightbox.php:1230
583
  msgid "If true, FancyBox is scaled to fit in viewport."
584
  msgstr ""
585
 
586
+ #: ../responsive-lightbox.php:1248
587
  msgid "Set the overflow CSS property to create or hide scrollbars."
588
  msgstr ""
589
 
590
+ #: ../responsive-lightbox.php:1266
591
  msgid "When true, FancyBox is centered while scrolling page."
592
  msgstr ""
593
 
594
+ #: ../responsive-lightbox.php:1284
595
  msgid "When true, transparency of content is changed for elastic transitions."
596
  msgstr ""
597
 
598
+ #: ../responsive-lightbox.php:1297
599
  msgid "Opacity of the overlay."
600
  msgstr ""
601
 
602
+ #: ../responsive-lightbox.php:1307
603
  msgid "Color of the overlay."
604
  msgstr ""
605
 
606
+ #: ../responsive-lightbox.php:1325
607
  msgid "Toggle title."
608
  msgstr ""
609
 
610
+ #: ../responsive-lightbox.php:1343
611
  msgid "The position of title."
612
  msgstr ""
613
 
614
+ #: ../responsive-lightbox.php:1361
615
  msgid "Easing used for elastic animations."
616
  msgstr ""
617
 
618
+ #: ../responsive-lightbox.php:1371
619
  msgid "Speed of the fade and elastic transitions, in milliseconds."
620
  msgstr ""
621
 
622
+ #: ../responsive-lightbox.php:1381
623
  msgid "Speed of resizing when changing gallery items, in milliseconds."
624
  msgstr ""
625
 
626
+ #: ../responsive-lightbox.php:1391
627
  msgid "Speed of the content fading while changing gallery items."
628
  msgstr ""
629
 
630
+ #: ../responsive-lightbox.php:1401
631
  msgid "Width of the video."
632
  msgstr ""
633
 
634
+ #: ../responsive-lightbox.php:1411
635
  msgid "Height of the video."
636
  msgstr ""
637
 
638
+ #: ../responsive-lightbox.php:1429
639
  msgid "The effect to use when showing the lightbox."
640
  msgstr ""
641
 
642
+ #: ../responsive-lightbox.php:1447
643
  msgid "Enable/Disable keyboard navigation (left/right/escape)."
644
  msgstr ""
645
 
646
+ #: ../responsive-lightbox.php:1457
647
  msgid "Error message if the content cannot be loaded."
648
  msgstr ""
649
 
650
+ #: ../responsive-lightbox.php:1661
651
  msgid ""
652
  "Changes were not saved because there was attempt to save settings of "
653
  "inactive script. The site has been reloaded to the proper script settings."
654
  msgstr ""
655
 
656
+ #: ../responsive-lightbox.php:1671
657
  msgid "Settings restored to defaults."
658
  msgstr ""
659
 
660
+ #: ../responsive-lightbox.php:1679
661
  msgid "Settings of SwipeBox script were restored to defaults."
662
  msgstr ""
663
 
664
+ #: ../responsive-lightbox.php:1685
665
  msgid "Settings of prettyPhoto script were restored to defaults."
666
  msgstr ""
667
 
668
+ #: ../responsive-lightbox.php:1691
669
  msgid "Settings of FancyBox script were restored to defaults."
670
  msgstr ""
671
 
672
+ #: ../responsive-lightbox.php:1697
673
  msgid "Settings of Nivo script were restored to defaults."
674
  msgstr ""
675
 
676
+ #: ../responsive-lightbox.php:1701
677
  msgid ""
678
  "Changes were not set to defaults because there was attempt to reset settings "
679
  "of inactive script. The site has been reloaded to the proper script settings."
680
  msgstr ""
681
 
682
+ #: ../responsive-lightbox.php:1715 ../responsive-lightbox.php:1716
683
+ #: ../responsive-lightbox.php:1730 ../responsive-lightbox.php:1744
684
  msgid "Responsive Lightbox"
685
  msgstr ""
686
 
687
+ #: ../responsive-lightbox.php:1746
 
 
 
 
688
  msgid "Need support?"
689
  msgstr ""
690
 
691
+ #: ../responsive-lightbox.php:1747
692
  msgid ""
693
  "If you are having problems with this plugin, please talk about them in the"
694
  msgstr ""
695
 
696
+ #: ../responsive-lightbox.php:1747
697
  msgid "Support forum"
698
  msgstr ""
699
 
700
+ #: ../responsive-lightbox.php:1749
701
  msgid "Do you like this plugin?"
702
  msgstr ""
703
 
704
+ #: ../responsive-lightbox.php:1750
705
  msgid "Rate it 5"
706
  msgstr ""
707
 
708
+ #: ../responsive-lightbox.php:1750
709
  msgid "on WordPress.org"
710
  msgstr ""
711
 
712
+ #: ../responsive-lightbox.php:1751
713
  msgid "Blog about it & link to the"
714
  msgstr ""
715
 
716
+ #: ../responsive-lightbox.php:1751
717
  msgid "plugin page"
718
  msgstr ""
719
 
720
+ #: ../responsive-lightbox.php:1752
721
  msgid "Check out our other"
722
  msgstr ""
723
 
724
+ #: ../responsive-lightbox.php:1752
725
  msgid "WordPress plugins"
726
  msgstr ""
727
 
728
+ #: ../responsive-lightbox.php:1772
729
+ msgid "Reset to defaults"
730
+ msgstr ""
731
+
732
+ #: ../responsive-lightbox.php:1799
733
  msgid "Are you sure you want to reset these settings to defaults?"
734
  msgstr ""
735
 
736
+ #: ../responsive-lightbox.php:1800
737
  msgid "Are you sure you want to reset scripts settings to defaults?"
738
  msgstr ""
739
 
740
+ #: ../responsive-lightbox.php:2047
741
  msgid "Support"
742
  msgstr ""
743
 
744
+ #: ../responsive-lightbox.php:2069
745
  msgid "Settings"
746
  msgstr ""
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dfactory
3
  Donate link: http://www.dfactory.eu/
4
  Tags: gallery, images, lightbox, links, photos, template, theme, photo, image, picture, slideshow, modal, overlay, YouTube, Vimeo, video, videos
5
  Requires at least: 3.3
6
- Tested up to: 3.8
7
- Stable tag: 1.3.2
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -57,6 +57,10 @@ No questions yet.
57
 
58
  == Changelog ==
59
 
 
 
 
 
60
  = 1.3.2 =
61
  * New: German translation, thanks to Andreas Reitberger
62
  * Tweak: Nivo Lightbox script updated
@@ -120,6 +124,6 @@ Initial release
120
 
121
  == Upgrade Notice ==
122
 
123
- = 1.3.2 =
124
- * Tweak: Nivo Lightbox script updated
125
- * New: German translation, thanks to Andreas Reitberger
3
  Donate link: http://www.dfactory.eu/
4
  Tags: gallery, images, lightbox, links, photos, template, theme, photo, image, picture, slideshow, modal, overlay, YouTube, Vimeo, video, videos
5
  Requires at least: 3.3
6
+ Tested up to: 3.8.1
7
+ Stable tag: 1.3.3
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
57
 
58
  == Changelog ==
59
 
60
+ = 1.3.3 =
61
+ * New: Triggering lightbox on custom jquery events option
62
+ * Tweak: UI imporovements for WP 3.8
63
+
64
  = 1.3.2 =
65
  * New: German translation, thanks to Andreas Reitberger
66
  * Tweak: Nivo Lightbox script updated
124
 
125
  == Upgrade Notice ==
126
 
127
+ = 1.3.3 =
128
+ * New: Triggering lightbox on custom jquery events option
129
+ * Tweak: UI imporovements for WP 3.8
responsive-lightbox.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Responsive Lightbox
4
  Description: Responsive Lightbox allows users to view larger versions of images and galleries in a lightbox (overlay) effect optimized for mobile devices.
5
- Version: 1.3.2
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
@@ -32,7 +32,9 @@ class Responsive_Lightbox
32
  'videos' => TRUE,
33
  'image_links' => TRUE,
34
  'images_as_gallery' => FALSE,
35
- 'deactivation_delete' => FALSE
 
 
36
  ),
37
  'configuration' => array(
38
  'prettyphoto' => array(
@@ -97,7 +99,7 @@ class Responsive_Lightbox
97
  'error_message' => 'The requested content cannot be loaded. Please try again later.'
98
  )
99
  ),
100
- 'version' => '1.3.2'
101
  );
102
  private $scripts = array();
103
  private $options = array();
@@ -161,7 +163,7 @@ class Responsive_Lightbox
161
  add_filter('the_content', array(&$this, 'add_videos_lightbox_selector'));
162
 
163
  if($this->options['settings']['image_links'] === TRUE || $this->options['settings']['images_as_gallery'] === TRUE)
164
- add_filter('the_content', array(&$this, 'add_links_lightbox_selector'));
165
  }
166
 
167
 
@@ -292,7 +294,6 @@ class Responsive_Lightbox
292
  'direct' => __('direct', 'responsive-lightbox'),
293
  'gpu' => __('gpu', 'responsive-lightbox')
294
  )
295
-
296
  ),
297
  'swipebox' => array(
298
  'name' => __('SwipeBox', 'responsive-lightbox'),
@@ -452,6 +453,7 @@ class Responsive_Lightbox
452
  add_settings_field('rl_videos', __('Video links', 'responsive-lightbox'), array(&$this, 'rl_videos'), 'responsive_lightbox_settings', 'responsive_lightbox_settings');
453
  add_settings_field('rl_image_links', __('Image links', 'responsive-lightbox'), array(&$this, 'rl_image_links'), 'responsive_lightbox_settings', 'responsive_lightbox_settings');
454
  add_settings_field('rl_images_as_gallery', __('Single images as gallery', 'responsive-lightbox'), array(&$this, 'rl_images_as_gallery'), 'responsive_lightbox_settings', 'responsive_lightbox_settings');
 
455
  add_settings_field('rl_deactivation_delete', __('Deactivation', 'responsive-lightbox'), array(&$this, 'rl_deactivation_delete'), 'responsive_lightbox_settings', 'responsive_lightbox_settings');
456
 
457
  //configuration
@@ -551,6 +553,28 @@ class Responsive_Lightbox
551
  }
552
 
553
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
554
  public function rl_galleries()
555
  {
556
  echo '
@@ -1448,6 +1472,15 @@ class Responsive_Lightbox
1448
  //selector
1449
  $input['selector'] = sanitize_text_field(isset($input['selector']) && $input['selector'] !== '' ? $input['selector'] : $this->defaults['settings']['selector']);
1450
 
 
 
 
 
 
 
 
 
 
1451
  //checkboxes
1452
  $input['galleries'] = (isset($input['galleries']) && in_array($input['galleries'], array_keys($this->choices)) ? ($input['galleries'] === 'yes' ? TRUE : FALSE) : $this->defaults['settings']['galleries']);
1453
  $input['videos'] = (isset($input['videos']) && in_array($input['videos'], array_keys($this->choices)) ? ($input['videos'] === 'yes' ? TRUE : FALSE) : $this->defaults['settings']['videos']);
@@ -1705,7 +1738,24 @@ class Responsive_Lightbox
1705
 
1706
  echo '
1707
  </h2>
1708
- <div class="metabox-holder postbox-container responsive-lightbox-settings">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1709
  <form action="options.php" method="post">
1710
  <input type="hidden" name="script_r" value="'.esc_attr($this->options['settings']['script']).'" />';
1711
 
@@ -1725,21 +1775,6 @@ class Responsive_Lightbox
1725
  </p>
1726
  </form>
1727
  </div>
1728
- <div class="df-credits postbox-container">
1729
- <h3 class="metabox-title">'.__('Responsive Lightbox', 'responsive-lightbox').' '.$this->defaults['version'].'</h3>
1730
- <div class="inner">
1731
- <h3>'.__('Need support?', 'responsive-lightbox').'</h3>
1732
- <p>'.__('If you are having problems with this plugin, please talk about them in the', 'responsive-lightbox').' <a href="http://www.dfactory.eu/support/?utm_source=responsive-lightbox-settings&utm_medium=link&utm_campaign=support" target="_blank" title="'.__('Support forum', 'responsive-lightbox').'">'.__('Support forum', 'responsive-lightbox').'</a></p>
1733
- <hr />
1734
- <h3>'.__('Do you like this plugin?', 'responsive-lightbox').'</h3>
1735
- <p><a href="http://wordpress.org/support/view/plugin-reviews/responsive-lightbox" target="_blank" title="'.__('Rate it 5', 'responsive-lightbox').'">'.__('Rate it 5', 'responsive-lightbox').'</a> '.__('on WordPress.org', 'responsive-lightbox').'<br />'.
1736
- __('Blog about it & link to the', 'responsive-lightbox').' <a href="http://www.dfactory.eu/plugins/responsive-lightbox/?utm_source=responsive-lightbox-settings&utm_medium=link&utm_campaign=blog-about" target="_blank" title="'.__('plugin page', 'responsive-lightbox').'">'.__('plugin page', 'responsive-lightbox').'</a><br />'.
1737
- __('Check out our other', 'responsive-lightbox').' <a href="http://www.dfactory.eu/?utm_source=responsive-lightbox-settings&utm_medium=link&utm_campaign=other-plugins" target="_blank" title="'.__('WordPress plugins', 'responsive-lightbox').'">'.__('WordPress plugins', 'responsive-lightbox').'</a>
1738
- </p>
1739
- <hr />
1740
- <p class="df-link">Created by <a href="http://www.dfactory.eu/?utm_source=responsive-lightbox-settings&utm_medium=link&utm_campaign=created-by" target="_blank" title="dFactory - Quality plugins for WordPress"><img src="'.plugins_url('/images/logo-dfactory.png' , __FILE__ ).'" title="dFactory - Quality plugins for WordPress" alt="dFactory - Quality plugins for WordPress" /></a></p>
1741
- </div>
1742
- </div>
1743
  <div class="clear"></div>
1744
  </div>';
1745
  }
@@ -1792,6 +1827,7 @@ class Responsive_Lightbox
1792
  $args = array(
1793
  'script' => $this->options['settings']['script'],
1794
  'selector' => $this->options['settings']['selector'],
 
1795
  'activeGalleries' => $this->getBooleanValue($this->options['settings']['galleries'])
1796
  );
1797
 
@@ -1925,7 +1961,7 @@ class Responsive_Lightbox
1925
  {
1926
  wp_register_script(
1927
  'responsive-lightbox-nivo',
1928
- plugins_url('assets/nivo/nivo-lightbox.min.js', __FILE__),
1929
  array('jquery')
1930
  );
1931
 
2
  /*
3
  Plugin Name: Responsive Lightbox
4
  Description: Responsive Lightbox allows users to view larger versions of images and galleries in a lightbox (overlay) effect optimized for mobile devices.
5
+ Version: 1.3.3
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
32
  'videos' => TRUE,
33
  'image_links' => TRUE,
34
  'images_as_gallery' => FALSE,
35
+ 'deactivation_delete' => FALSE,
36
+ 'enable_custom_events' => FALSE,
37
+ 'custom_events' => 'ajaxComplete'
38
  ),
39
  'configuration' => array(
40
  'prettyphoto' => array(
99
  'error_message' => 'The requested content cannot be loaded. Please try again later.'
100
  )
101
  ),
102
+ 'version' => '1.3.3'
103
  );
104
  private $scripts = array();
105
  private $options = array();
163
  add_filter('the_content', array(&$this, 'add_videos_lightbox_selector'));
164
 
165
  if($this->options['settings']['image_links'] === TRUE || $this->options['settings']['images_as_gallery'] === TRUE)
166
+ add_filter('the_content', array(&$this, 'add_links_lightbox_selector'), 30);
167
  }
168
 
169
 
294
  'direct' => __('direct', 'responsive-lightbox'),
295
  'gpu' => __('gpu', 'responsive-lightbox')
296
  )
 
297
  ),
298
  'swipebox' => array(
299
  'name' => __('SwipeBox', 'responsive-lightbox'),
453
  add_settings_field('rl_videos', __('Video links', 'responsive-lightbox'), array(&$this, 'rl_videos'), 'responsive_lightbox_settings', 'responsive_lightbox_settings');
454
  add_settings_field('rl_image_links', __('Image links', 'responsive-lightbox'), array(&$this, 'rl_image_links'), 'responsive_lightbox_settings', 'responsive_lightbox_settings');
455
  add_settings_field('rl_images_as_gallery', __('Single images as gallery', 'responsive-lightbox'), array(&$this, 'rl_images_as_gallery'), 'responsive_lightbox_settings', 'responsive_lightbox_settings');
456
+ add_settings_field('rl_enable_custom_events', __('Custom events', 'responsive-lightbox'), array(&$this, 'rl_enable_custom_events'), 'responsive_lightbox_settings', 'responsive_lightbox_settings');
457
  add_settings_field('rl_deactivation_delete', __('Deactivation', 'responsive-lightbox'), array(&$this, 'rl_deactivation_delete'), 'responsive_lightbox_settings', 'responsive_lightbox_settings');
458
 
459
  //configuration
553
  }
554
 
555
 
556
+ public function rl_enable_custom_events()
557
+ {
558
+ echo '
559
+ <div id="rl_enable_custom_events" class="wplikebtns">';
560
+
561
+ foreach($this->choices as $val => $trans)
562
+ {
563
+ echo '
564
+ <input id="rl-enable-custom-events-'.$val.'" type="radio" name="responsive_lightbox_settings[enable_custom_events]" value="'.esc_attr($val).'" '.checked(($val === 'yes' ? TRUE : FALSE), $this->options['settings']['enable_custom_events'], FALSE).' />
565
+ <label for="rl-enable-custom-events-'.$val.'">'.$trans.'</label>';
566
+ }
567
+
568
+ echo '
569
+ <p class="description">'.__('Enable triggering lightbox on custom jquery events.', 'responsive-lightbox').'</p>
570
+ <div id="rl_custom_events"'.($this->options['settings']['enable_custom_events'] === FALSE ? ' style="display: none;"' : '').'>
571
+ <input type="text" name="responsive_lightbox_settings[custom_events]" value="'.esc_attr($this->options['settings']['custom_events']).'" />
572
+ <p class="description">'.__('Enter a space separated list of events.', 'responsive-lightbox').'</p>
573
+ </div>
574
+ </div>';
575
+ }
576
+
577
+
578
  public function rl_galleries()
579
  {
580
  echo '
1472
  //selector
1473
  $input['selector'] = sanitize_text_field(isset($input['selector']) && $input['selector'] !== '' ? $input['selector'] : $this->defaults['settings']['selector']);
1474
 
1475
+ //enable custom events
1476
+ $input['enable_custom_events'] = (isset($input['enable_custom_events']) && in_array($input['enable_custom_events'], array_keys($this->choices)) ? ($input['enable_custom_events'] === 'yes' ? TRUE : FALSE) : $this->defaults['settings']['enable_custom_events']);
1477
+
1478
+ //custom events
1479
+ if($input['enable_custom_events'] === TRUE)
1480
+ {
1481
+ $input['custom_events'] = sanitize_text_field(isset($input['custom_events']) && $input['custom_events'] !== '' ? $input['custom_events'] : $this->defaults['settings']['custom_events']);
1482
+ }
1483
+
1484
  //checkboxes
1485
  $input['galleries'] = (isset($input['galleries']) && in_array($input['galleries'], array_keys($this->choices)) ? ($input['galleries'] === 'yes' ? TRUE : FALSE) : $this->defaults['settings']['galleries']);
1486
  $input['videos'] = (isset($input['videos']) && in_array($input['videos'], array_keys($this->choices)) ? ($input['videos'] === 'yes' ? TRUE : FALSE) : $this->defaults['settings']['videos']);
1738
 
1739
  echo '
1740
  </h2>
1741
+ <div class="responsive-lightbox-settings">
1742
+
1743
+ <div class="df-credits">
1744
+ <h3 class="hndle">'.__('Responsive Lightbox', 'responsive-lightbox').' '.$this->defaults['version'].'</h3>
1745
+ <div class="inside">
1746
+ <h4 class="inner">'.__('Need support?', 'responsive-lightbox').'</h4>
1747
+ <p class="inner">'.__('If you are having problems with this plugin, please talk about them in the', 'responsive-lightbox').' <a href="http://www.dfactory.eu/support/?utm_source=responsive-lightbox-settings&utm_medium=link&utm_campaign=support" target="_blank" title="'.__('Support forum', 'responsive-lightbox').'">'.__('Support forum', 'responsive-lightbox').'</a></p>
1748
+ <hr />
1749
+ <h4 class="inner">'.__('Do you like this plugin?', 'responsive-lightbox').'</h4>
1750
+ <p class="inner"><a href="http://wordpress.org/support/view/plugin-reviews/responsive-lightbox" target="_blank" title="'.__('Rate it 5', 'responsive-lightbox').'">'.__('Rate it 5', 'responsive-lightbox').'</a> '.__('on WordPress.org', 'responsive-lightbox').'<br />'.
1751
+ __('Blog about it & link to the', 'responsive-lightbox').' <a href="http://www.dfactory.eu/plugins/responsive-lightbox/?utm_source=responsive-lightbox-settings&utm_medium=link&utm_campaign=blog-about" target="_blank" title="'.__('plugin page', 'responsive-lightbox').'">'.__('plugin page', 'responsive-lightbox').'</a><br />'.
1752
+ __('Check out our other', 'responsive-lightbox').' <a href="http://www.dfactory.eu/?utm_source=responsive-lightbox-settings&utm_medium=link&utm_campaign=other-plugins" target="_blank" title="'.__('WordPress plugins', 'responsive-lightbox').'">'.__('WordPress plugins', 'responsive-lightbox').'</a>
1753
+ </p>
1754
+ <hr />
1755
+ <p class="df-link inner">Created by <a href="http://www.dfactory.eu/?utm_source=responsive-lightbox-settings&utm_medium=link&utm_campaign=created-by" target="_blank" title="dFactory - Quality plugins for WordPress"><img src="'.plugins_url('/images/logo-dfactory.png' , __FILE__ ).'" title="dFactory - Quality plugins for WordPress" alt="dFactory - Quality plugins for WordPress" /></a></p>
1756
+ </div>
1757
+ </div>
1758
+
1759
  <form action="options.php" method="post">
1760
  <input type="hidden" name="script_r" value="'.esc_attr($this->options['settings']['script']).'" />';
1761
 
1775
  </p>
1776
  </form>
1777
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1778
  <div class="clear"></div>
1779
  </div>';
1780
  }
1827
  $args = array(
1828
  'script' => $this->options['settings']['script'],
1829
  'selector' => $this->options['settings']['selector'],
1830
+ 'custom_events' => ($this->options['settings']['enable_custom_events'] === TRUE ? ' '.$this->options['settings']['custom_events'] : ''),
1831
  'activeGalleries' => $this->getBooleanValue($this->options['settings']['galleries'])
1832
  );
1833
 
1961
  {
1962
  wp_register_script(
1963
  'responsive-lightbox-nivo',
1964
+ plugins_url('assets/nivo/nivo-lightbox.js', __FILE__),
1965
  array('jquery')
1966
  );
1967