Responsive Lightbox & Gallery - Version 1.2.2

Version Description

  • New: Option to force PNG icons in case of display problems
  • Fix: Bug with video width not working in SwipeBox
Download this release

Release Info

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

Code changes from version 1.2.1 to 1.2.2

assets/swipebox/source/jquery.swipebox.js CHANGED
@@ -1,593 +1,451 @@
1
- /*---------------------------------------------------------------------------------------------
2
-
3
- @author Constantin Saguin - @brutaldesign
4
- @link http://csag.co
5
- @github http://github.com/brutaldesign/swipebox
6
- @version 1.2.1
7
- @license MIT License
8
-
9
- ----------------------------------------------------------------------------------------------*/
10
-
11
- ;(function (window, document, $, undefined) {
12
-
13
- $.swipebox = function(elem, options) {
14
-
15
- var defaults = {
16
- useCSS : true,
17
- hideBarsDelay : 3000,
18
- videoMaxWidth : 1140,
19
- vimeoColor : 'CCCCCC',
20
- beforeOpen: null,
21
- afterClose: null
22
- },
23
-
24
- plugin = this,
25
- elements = [], // slides array [{href:'...', title:'...'}, ...],
26
- elem = elem,
27
- selector = elem.selector,
28
- $selector = $(selector),
29
- isTouch = document.createTouch !== undefined || ('ontouchstart' in window) || ('onmsgesturechange' in window) || navigator.msMaxTouchPoints,
30
- supportSVG = !!(window.SVGSVGElement),
31
- winWidth = window.innerWidth ? window.innerWidth : $(window).width(),
32
- winHeight = window.innerHeight ? window.innerHeight : $(window).height(),
33
- html = '<div id="swipebox-overlay">\
34
- <div id="swipebox-slider"></div>\
35
- <div id="swipebox-caption"></div>\
36
- <div id="swipebox-action">\
37
- <a id="swipebox-close"></a>\
38
- <a id="swipebox-prev"></a>\
39
- <a id="swipebox-next"></a>\
40
- </div>\
41
- </div>';
42
-
43
- plugin.settings = {}
44
-
45
- plugin.init = function(){
46
-
47
- plugin.settings = $.extend({}, defaults, options);
48
-
49
- if ($.isArray(elem)) {
50
-
51
- elements = elem;
52
- ui.target = $(window);
53
- ui.init(0);
54
-
55
- }else{
56
-
57
- $selector.click(function(e){
58
- elements = [];
59
- var index , relType, relVal;
60
-
61
- if (!relVal) {
62
- relType = 'rel';
63
- relVal = $(this).attr(relType);
64
- }
65
-
66
- if (relVal && relVal !== '' && relVal !== 'nofollow') {
67
- $elem = $selector.filter('[' + relType + '="' + relVal + '"]');
68
- }else{
69
- $elem = $(selector);
70
- }
71
-
72
- $elem.each(function(){
73
-
74
- var title = null, href = null;
75
-
76
- if( $(this).attr('title') )
77
- title = $(this).attr('title');
78
-
79
- if( $(this).attr('href') )
80
- href = $(this).attr('href');
81
-
82
- elements.push({
83
- href: href,
84
- title: title
85
- });
86
- });
87
-
88
- index = $elem.index($(this));
89
- e.preventDefault();
90
- e.stopPropagation();
91
- ui.target = $(e.target);
92
- ui.init(index);
93
- });
94
- }
95
- }
96
-
97
- plugin.refresh = function() {
98
- if (!$.isArray(elem)) {
99
- ui.destroy();
100
- $elem = $(selector);
101
- ui.actions();
102
- }
103
- }
104
-
105
- var ui = {
106
-
107
- init : function(index){
108
- if (plugin.settings.beforeOpen)
109
- plugin.settings.beforeOpen();
110
- this.target.trigger('swipebox-start');
111
- $.swipebox.isOpen = true;
112
- this.build();
113
- this.openSlide(index);
114
- this.openMedia(index);
115
- this.preloadMedia(index+1);
116
- this.preloadMedia(index-1);
117
- },
118
-
119
- build : function(){
120
- var $this = this;
121
-
122
- $('body').append(html);
123
-
124
- if($this.doCssTrans()){
125
- $('#swipebox-slider').css({
126
- '-webkit-transition' : 'left 0.4s ease',
127
- '-moz-transition' : 'left 0.4s ease',
128
- '-o-transition' : 'left 0.4s ease',
129
- '-khtml-transition' : 'left 0.4s ease',
130
- 'transition' : 'left 0.4s ease'
131
- });
132
- $('#swipebox-overlay').css({
133
- '-webkit-transition' : 'opacity 1s ease',
134
- '-moz-transition' : 'opacity 1s ease',
135
- '-o-transition' : 'opacity 1s ease',
136
- '-khtml-transition' : 'opacity 1s ease',
137
- 'transition' : 'opacity 1s ease'
138
- });
139
- $('#swipebox-action, #swipebox-caption').css({
140
- '-webkit-transition' : '0.5s',
141
- '-moz-transition' : '0.5s',
142
- '-o-transition' : '0.5s',
143
- '-khtml-transition' : '0.5s',
144
- 'transition' : '0.5s'
145
- });
146
- }
147
-
148
-
149
- if(supportSVG){
150
- var bg = $('#swipebox-action #swipebox-close').css('background-image');
151
- bg = bg.replace('png', 'svg');
152
- $('#swipebox-action #swipebox-prev,#swipebox-action #swipebox-next,#swipebox-action #swipebox-close').css({
153
- 'background-image' : bg
154
- });
155
- }
156
-
157
- $.each( elements, function(){
158
- $('#swipebox-slider').append('<div class="slide"></div>');
159
- });
160
-
161
- $this.setDim();
162
- $this.actions();
163
- $this.keyboard();
164
- $this.gesture();
165
- $this.animBars();
166
- $this.resize();
167
-
168
- },
169
-
170
- setDim : function(){
171
-
172
- var width, height, sliderCss = {};
173
-
174
- if( "onorientationchange" in window ){
175
-
176
- window.addEventListener("orientationchange", function() {
177
- if( window.orientation == 0 ){
178
- width = winWidth;
179
- height = winHeight;
180
- }else if( window.orientation == 90 || window.orientation == -90 ){
181
- width = winHeight;
182
- height = winWidth;
183
- }
184
- }, false);
185
-
186
-
187
- }else{
188
-
189
- width = window.innerWidth ? window.innerWidth : $(window).width();
190
- height = window.innerHeight ? window.innerHeight : $(window).height();
191
- }
192
-
193
- sliderCss = {
194
- width : width,
195
- height : height
196
- }
197
-
198
-
199
- $('#swipebox-overlay').css(sliderCss);
200
-
201
- },
202
-
203
- resize : function (){
204
- var $this = this;
205
-
206
- $(window).resize(function() {
207
- $this.setDim();
208
- }).resize();
209
- },
210
-
211
- supportTransition : function() {
212
- var prefixes = 'transition WebkitTransition MozTransition OTransition msTransition KhtmlTransition'.split(' ');
213
- for(var i = 0; i < prefixes.length; i++) {
214
- if(document.createElement('div').style[prefixes[i]] !== undefined) {
215
- return prefixes[i];
216
- }
217
- }
218
- return false;
219
- },
220
-
221
- doCssTrans : function(){
222
- if(plugin.settings.useCSS && this.supportTransition() ){
223
- return true;
224
- }
225
- },
226
-
227
- gesture : function(){
228
- if ( isTouch ){
229
- var $this = this,
230
- distance = null,
231
- swipMinDistance = 10,
232
- startCoords = {},
233
- endCoords = {};
234
- var bars = $('#swipebox-caption, #swipebox-action');
235
-
236
- bars.addClass('visible-bars');
237
- $this.setTimeout();
238
-
239
- $('body').bind('touchstart', function(e){
240
-
241
- $(this).addClass('touching');
242
-
243
- endCoords = e.originalEvent.targetTouches[0];
244
- startCoords.pageX = e.originalEvent.targetTouches[0].pageX;
245
-
246
- $('.touching').bind('touchmove',function(e){
247
- e.preventDefault();
248
- e.stopPropagation();
249
- endCoords = e.originalEvent.targetTouches[0];
250
-
251
- });
252
-
253
- return false;
254
-
255
- }).bind('touchend',function(e){
256
- e.preventDefault();
257
- e.stopPropagation();
258
-
259
- distance = endCoords.pageX - startCoords.pageX;
260
-
261
- if( distance >= swipMinDistance ){
262
-
263
- // swipeLeft
264
- $this.getPrev();
265
-
266
- }else if( distance <= - swipMinDistance ){
267
-
268
- // swipeRight
269
- $this.getNext();
270
-
271
- }else{
272
- // tap
273
- if(!bars.hasClass('visible-bars')){
274
- $this.showBars();
275
- $this.setTimeout();
276
- }else{
277
- $this.clearTimeout();
278
- $this.hideBars();
279
- }
280
-
281
- }
282
-
283
- $('.touching').off('touchmove').removeClass('touching');
284
-
285
- });
286
-
287
- }
288
- },
289
-
290
- setTimeout: function(){
291
- if(plugin.settings.hideBarsDelay > 0){
292
- var $this = this;
293
- $this.clearTimeout();
294
- $this.timeout = window.setTimeout( function(){
295
- $this.hideBars() },
296
- plugin.settings.hideBarsDelay
297
- );
298
- }
299
- },
300
-
301
- clearTimeout: function(){
302
- window.clearTimeout(this.timeout);
303
- this.timeout = null;
304
- },
305
-
306
- showBars : function(){
307
- var bars = $('#swipebox-caption, #swipebox-action');
308
- if(this.doCssTrans()){
309
- bars.addClass('visible-bars');
310
- }else{
311
- $('#swipebox-caption').animate({ top : 0 }, 500);
312
- $('#swipebox-action').animate({ bottom : 0 }, 500);
313
- setTimeout(function(){
314
- bars.addClass('visible-bars');
315
- }, 1000);
316
- }
317
- },
318
-
319
- hideBars : function(){
320
- var bars = $('#swipebox-caption, #swipebox-action');
321
- if(this.doCssTrans()){
322
- bars.removeClass('visible-bars');
323
- }else{
324
- $('#swipebox-caption').animate({ top : '-50px' }, 500);
325
- $('#swipebox-action').animate({ bottom : '-50px' }, 500);
326
- setTimeout(function(){
327
- bars.removeClass('visible-bars');
328
- }, 1000);
329
- }
330
- },
331
-
332
- animBars : function(){
333
- var $this = this;
334
- var bars = $('#swipebox-caption, #swipebox-action');
335
-
336
- bars.addClass('visible-bars');
337
- $this.setTimeout();
338
-
339
- $('#swipebox-slider').click(function(e){
340
- if(!bars.hasClass('visible-bars')){
341
- $this.showBars();
342
- $this.setTimeout();
343
- }
344
- });
345
-
346
- $('#swipebox-action').hover(function() {
347
- $this.showBars();
348
- bars.addClass('force-visible-bars');
349
- $this.clearTimeout();
350
-
351
- },function() {
352
- bars.removeClass('force-visible-bars');
353
- $this.setTimeout();
354
-
355
- });
356
- },
357
-
358
- keyboard : function(){
359
- var $this = this;
360
- $(window).bind('keyup', function(e){
361
- e.preventDefault();
362
- e.stopPropagation();
363
- if (e.keyCode == 37){
364
- $this.getPrev();
365
- }
366
- else if (e.keyCode==39){
367
- $this.getNext();
368
- }
369
- else if (e.keyCode == 27) {
370
- $this.closeSlide();
371
- }
372
- });
373
- },
374
-
375
- actions : function(){
376
- var $this = this;
377
-
378
- if( elements.length < 2 ){
379
- $('#swipebox-prev, #swipebox-next').hide();
380
- }else{
381
- $('#swipebox-prev').bind('click touchend', function(e){
382
- e.preventDefault();
383
- e.stopPropagation();
384
- $this.getPrev();
385
- $this.setTimeout();
386
- });
387
-
388
- $('#swipebox-next').bind('click touchend', function(e){
389
- e.preventDefault();
390
- e.stopPropagation();
391
- $this.getNext();
392
- $this.setTimeout();
393
- });
394
- }
395
-
396
- $('#swipebox-close').bind('click touchend', function(e){
397
- $this.closeSlide();
398
- });
399
- },
400
-
401
- setSlide : function (index, isFirst){
402
- isFirst = isFirst || false;
403
-
404
- var slider = $('#swipebox-slider');
405
-
406
- if(this.doCssTrans()){
407
- slider.css({ left : (-index*100)+'%' });
408
- }else{
409
- slider.animate({ left : (-index*100)+'%' });
410
- }
411
-
412
- $('#swipebox-slider .slide').removeClass('current');
413
- $('#swipebox-slider .slide').eq(index).addClass('current');
414
- this.setTitle(index);
415
-
416
- if( isFirst ){
417
- slider.fadeIn();
418
- }
419
-
420
- $('#swipebox-prev, #swipebox-next').removeClass('disabled');
421
- if(index == 0){
422
- $('#swipebox-prev').addClass('disabled');
423
- }else if( index == elements.length - 1 ){
424
- $('#swipebox-next').addClass('disabled');
425
- }
426
- },
427
-
428
- openSlide : function (index){
429
- $('html').addClass('swipebox');
430
- $(window).trigger('resize'); // fix scroll bar visibility on desktop
431
- this.setSlide(index, true);
432
- },
433
-
434
- preloadMedia : function (index){
435
- var $this = this, src = null;
436
-
437
- if( elements[index] !== undefined )
438
- src = elements[index].href;
439
-
440
- if( !$this.isVideo(src) ){
441
- setTimeout(function(){
442
- $this.openMedia(index);
443
- }, 1000);
444
- }else{
445
- $this.openMedia(index);
446
- }
447
- },
448
-
449
- openMedia : function (index){
450
- var $this = this, src = null;
451
-
452
- if( elements[index] !== undefined )
453
- src = elements[index].href;
454
-
455
- if(index < 0 || index >= elements.length){
456
- return false;
457
- }
458
-
459
- if( !$this.isVideo(src) ){
460
- $this.loadMedia(src, function(){
461
- $('#swipebox-slider .slide').eq(index).html(this);
462
- });
463
- }else{
464
- $('#swipebox-slider .slide').eq(index).html($this.getVideo(src));
465
- }
466
-
467
- },
468
-
469
- setTitle : function (index, isFirst){
470
- var title = null;
471
-
472
- $('#swipebox-caption').empty();
473
-
474
- if( elements[index] !== undefined )
475
- title = elements[index].title;
476
-
477
- if(title){
478
- $('#swipebox-caption').append(title);
479
- }
480
- },
481
-
482
- isVideo : function (src){
483
-
484
- if( src ){
485
- if(
486
- src.match(/youtube\.com\/watch\?v=([a-zA-Z0-9\-_]+)/)
487
- || src.match(/vimeo\.com\/([0-9]*)/)
488
- ){
489
- return true;
490
- }
491
- }
492
-
493
- },
494
-
495
- getVideo : function(url){
496
- var iframe = '';
497
- var output = '';
498
- var youtubeUrl = url.match(/watch\?v=([a-zA-Z0-9\-_]+)/);
499
- var vimeoUrl = url.match(/vimeo\.com\/([0-9]*)/);
500
- if( youtubeUrl ){
501
-
502
- iframe = '<iframe width="560" height="315" src="//www.youtube.com/embed/'+youtubeUrl[1]+'" frameborder="0" allowfullscreen></iframe>';
503
-
504
- }else if(vimeoUrl){
505
-
506
- iframe = '<iframe width="560" height="315" src="http://player.vimeo.com/video/'+vimeoUrl[1]+'?byline=0&amp;portrait=0&amp;color='+plugin.settings.vimeoColor+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';
507
-
508
- }
509
-
510
- return '<div class="swipebox-video-container" style="max-width:'+plugin.settings.videomaxWidth+'px"><div class="swipebox-video">'+iframe+'</div></div>';
511
- },
512
-
513
- loadMedia : function (src, callback){
514
- if( !this.isVideo(src) ){
515
- var img = $('<img>').on('load', function(){
516
- callback.call(img);
517
- });
518
-
519
- img.attr('src',src);
520
- }
521
- },
522
-
523
- getNext : function (){
524
- var $this = this;
525
- index = $('#swipebox-slider .slide').index($('#swipebox-slider .slide.current'));
526
- if(index+1 < elements.length){
527
- index++;
528
- $this.setSlide(index);
529
- $this.preloadMedia(index+1);
530
- }
531
- else{
532
-
533
- $('#swipebox-slider').addClass('rightSpring');
534
- setTimeout(function(){
535
- $('#swipebox-slider').removeClass('rightSpring');
536
- },500);
537
- }
538
- },
539
-
540
- getPrev : function (){
541
- index = $('#swipebox-slider .slide').index($('#swipebox-slider .slide.current'));
542
- if(index > 0){
543
- index--;
544
- this.setSlide(index);
545
- this.preloadMedia(index-1);
546
- }
547
- else{
548
-
549
- $('#swipebox-slider').addClass('leftSpring');
550
- setTimeout(function(){
551
- $('#swipebox-slider').removeClass('leftSpring');
552
- },500);
553
- }
554
- },
555
-
556
-
557
- closeSlide : function (){
558
- $('html').removeClass('swipebox');
559
- $(window).trigger('resize');
560
- this.destroy();
561
- },
562
-
563
- destroy : function(){
564
- $(window).unbind('keyup');
565
- $('body').unbind('touchstart');
566
- $('body').unbind('touchmove');
567
- $('body').unbind('touchend');
568
- $('#swipebox-slider').unbind();
569
- $('#swipebox-overlay').remove();
570
- if (!$.isArray(elem))
571
- elem.removeData('_swipebox');
572
- if ( this.target )
573
- this.target.trigger('swipebox-destroy');
574
- $.swipebox.isOpen = false;
575
- if (plugin.settings.afterClose)
576
- plugin.settings.afterClose();
577
- }
578
-
579
- };
580
-
581
- plugin.init();
582
-
583
- };
584
-
585
- $.fn.swipebox = function(options){
586
- if (!$.data(this, "_swipebox")) {
587
- var swipebox = new $.swipebox(this, options);
588
- this.data('_swipebox', swipebox);
589
- }
590
- return this.data('_swipebox');
591
- }
592
-
593
- }(window, document, jQuery));
1
+ /*---------------------------------------------------------------------------------------------
2
+
3
+ @author Constantin Saguin - @brutaldesign
4
+ @link http://bsign.co
5
+ @github http://github.com/brutaldesign/swipebox
6
+ @version 1.1.2
7
+ @license MIT License
8
+
9
+ ----------------------------------------------------------------------------------------------*/
10
+
11
+ ;(function (window, document, $, undefined) {
12
+
13
+ $.swipebox = function(elem, options) {
14
+
15
+ var defaults = {
16
+ useCSS : true,
17
+ hideBarsDelay : 3000
18
+ },
19
+
20
+ plugin = this,
21
+ $elem = $(elem),
22
+ elem = elem,
23
+ selector = elem.selector,
24
+ $selector = $(selector),
25
+ isTouch = document.createTouch !== undefined || ('ontouchstart' in window) || ('onmsgesturechange' in window) || navigator.msMaxTouchPoints,
26
+ supportSVG = !!(window.SVGSVGElement),
27
+ html = '<div id="swipebox-overlay">\
28
+ <div id="swipebox-slider"></div>\
29
+ <div id="swipebox-caption"></div>\
30
+ <div id="swipebox-action">\
31
+ <a id="swipebox-close"></a>\
32
+ <a id="swipebox-prev"></a>\
33
+ <a id="swipebox-next"></a>\
34
+ </div>\
35
+ </div>';
36
+
37
+ plugin.settings = {}
38
+
39
+ plugin.init = function(){
40
+
41
+ plugin.settings = $.extend({}, defaults, options);
42
+
43
+ $selector.click(function(e){
44
+ e.preventDefault();
45
+ e.stopPropagation();
46
+ index = $elem.index($(this));
47
+ ui.target = $(e.target);
48
+ ui.init(index);
49
+ });
50
+ }
51
+
52
+ var ui = {
53
+
54
+ init : function(index){
55
+ this.target.trigger('swipebox-start');
56
+ this.build();
57
+ this.openSlide(index);
58
+ this.openImg(index);
59
+ this.preloadImg(index+1);
60
+ this.preloadImg(index-1);
61
+ },
62
+
63
+ build : function(){
64
+ var $this = this;
65
+
66
+ $('body').append(html);
67
+
68
+ if($this.doCssTrans()){
69
+ $('#swipebox-slider').css({
70
+ '-webkit-transition' : 'left 0.4s ease',
71
+ '-moz-transition' : 'left 0.4s ease',
72
+ '-o-transition' : 'left 0.4s ease',
73
+ '-khtml-transition' : 'left 0.4s ease',
74
+ 'transition' : 'left 0.4s ease'
75
+ });
76
+ $('#swipebox-overlay').css({
77
+ '-webkit-transition' : 'opacity 1s ease',
78
+ '-moz-transition' : 'opacity 1s ease',
79
+ '-o-transition' : 'opacity 1s ease',
80
+ '-khtml-transition' : 'opacity 1s ease',
81
+ 'transition' : 'opacity 1s ease'
82
+ });
83
+ $('#swipebox-action, #swipebox-caption').css({
84
+ '-webkit-transition' : '0.5s',
85
+ '-moz-transition' : '0.5s',
86
+ '-o-transition' : '0.5s',
87
+ '-khtml-transition' : '0.5s',
88
+ 'transition' : '0.5s'
89
+ });
90
+ }
91
+
92
+
93
+ if(supportSVG){
94
+ var bg = $('#swipebox-action #swipebox-close').css('background-image');
95
+ bg = bg.replace('png', 'svg');
96
+ $('#swipebox-action #swipebox-prev,#swipebox-action #swipebox-next,#swipebox-action #swipebox-close').css({
97
+ 'background-image' : bg
98
+ });
99
+ }
100
+
101
+ $elem.each(function(){
102
+ $('#swipebox-slider').append('<div class="slide"></div>');
103
+ });
104
+
105
+ $this.setDim();
106
+ $this.actions();
107
+ $this.keyboard();
108
+ $this.gesture();
109
+ $this.animBars();
110
+
111
+ $(window).resize(function() {
112
+ $this.setDim();
113
+ }).resize();
114
+ },
115
+
116
+ setDim : function(){
117
+ var sliderCss = {
118
+ width : $(window).width(),
119
+ height : window.innerHeight ? window.innerHeight : $(window).height() // fix IOS bug
120
+ }
121
+
122
+ $('#swipebox-overlay').css(sliderCss);
123
+
124
+ },
125
+
126
+ supportTransition : function() {
127
+ var prefixes = 'transition WebkitTransition MozTransition OTransition msTransition KhtmlTransition'.split(' ');
128
+ for(var i = 0; i < prefixes.length; i++) {
129
+ if(document.createElement('div').style[prefixes[i]] !== undefined) {
130
+ return prefixes[i];
131
+ }
132
+ }
133
+ return false;
134
+ },
135
+
136
+ doCssTrans : function(){
137
+ if(plugin.settings.useCSS && this.supportTransition() ){
138
+ return true;
139
+ }
140
+ },
141
+
142
+ gesture : function(){
143
+ if ( isTouch ){
144
+ var $this = this,
145
+ distance = null,
146
+ swipMinDistance = 10,
147
+ startCoords = {},
148
+ endCoords = {};
149
+ var b = $('#swipebox-caption, #swipebox-action');
150
+
151
+ b.addClass('visible-bars');
152
+ $this.setTimeout();
153
+
154
+ $('body').bind('touchstart', function(e){
155
+
156
+ $(this).addClass('touching');
157
+
158
+ endCoords = e.originalEvent.targetTouches[0];
159
+ startCoords.pageX = e.originalEvent.targetTouches[0].pageX;
160
+
161
+ $('.touching').bind('touchmove',function(e){
162
+ e.preventDefault();
163
+ e.stopPropagation();
164
+ endCoords = e.originalEvent.targetTouches[0];
165
+
166
+ });
167
+
168
+ return false;
169
+
170
+ }).bind('touchend',function(e){
171
+ e.preventDefault();
172
+ e.stopPropagation();
173
+
174
+ distance = endCoords.pageX - startCoords.pageX;
175
+
176
+ if( distance >= swipMinDistance ){
177
+ // swipeLeft
178
+ $this.getPrev();
179
+ }
180
+
181
+ else if( distance <= - swipMinDistance ){
182
+ // swipeRight
183
+ $this.getNext();
184
+
185
+ }else{
186
+ // tap
187
+ if(!b.hasClass('visible-bars')){
188
+ $this.showBars();
189
+ $this.setTimeout();
190
+ }else{
191
+ $this.clearTimeout();
192
+ $this.hideBars();
193
+ }
194
+
195
+ }
196
+
197
+ $('.touching').off('touchmove').removeClass('touching');
198
+
199
+ });
200
+
201
+ }
202
+ },
203
+
204
+ setTimeout: function(){
205
+ if(plugin.settings.hideBarsDelay > 0){
206
+ var $this = this;
207
+ $this.clearTimeout();
208
+ $this.timeout = window.setTimeout( function(){
209
+ $this.hideBars() },
210
+ plugin.settings.hideBarsDelay
211
+ );
212
+ }
213
+ },
214
+
215
+ clearTimeout: function(){
216
+ window.clearTimeout(this.timeout);
217
+ this.timeout = null;
218
+ },
219
+
220
+ showBars : function(){
221
+ var b = $('#swipebox-caption, #swipebox-action');
222
+ if(this.doCssTrans()){
223
+ b.addClass('visible-bars');
224
+ }else{
225
+ $('#swipebox-caption').animate({ top : 0 }, 500);
226
+ $('#swipebox-action').animate({ bottom : 0 }, 500);
227
+ setTimeout(function(){
228
+ b.addClass('visible-bars');
229
+ }, 1000);
230
+ }
231
+ },
232
+
233
+ hideBars : function(){
234
+ var b = $('#swipebox-caption, #swipebox-action');
235
+ if(this.doCssTrans()){
236
+ b.removeClass('visible-bars');
237
+ }else{
238
+ $('#swipebox-caption').animate({ top : '-50px' }, 500);
239
+ $('#swipebox-action').animate({ bottom : '-50px' }, 500);
240
+ setTimeout(function(){
241
+ b.removeClass('visible-bars');
242
+ }, 1000);
243
+ }
244
+ },
245
+
246
+ animBars : function(){
247
+ var $this = this;
248
+ var b = $('#swipebox-caption, #swipebox-action');
249
+
250
+ b.addClass('visible-bars');
251
+ $this.setTimeout();
252
+
253
+ $('#swipebox-slider').click(function(e){
254
+ if(!b.hasClass('visible-bars')){
255
+ $this.showBars();
256
+ $this.setTimeout();
257
+ }
258
+ });
259
+
260
+ $('#swipebox-action').hover(function() {
261
+ $this.showBars();
262
+ b.addClass('force-visible-bars');
263
+ $this.clearTimeout();
264
+
265
+ },function() {
266
+ b.removeClass('force-visible-bars');
267
+ $this.setTimeout();
268
+
269
+ });
270
+ },
271
+
272
+ keyboard : function(){
273
+ var $this = this;
274
+ $(window).bind('keyup', function(e){
275
+ e.preventDefault();
276
+ e.stopPropagation();
277
+ if (e.keyCode == 37){
278
+ $this.getPrev();
279
+ }
280
+ else if (e.keyCode==39){
281
+ $this.getNext();
282
+ }
283
+ else if (e.keyCode == 27) {
284
+ $this.closeSlide();
285
+ }
286
+ });
287
+ },
288
+
289
+ actions : function(){
290
+ var $this = this;
291
+
292
+ if( $elem.length < 2 ){
293
+ $('#swipebox-prev, #swipebox-next').hide();
294
+ }else{
295
+ $('#swipebox-prev').bind('click touchend', function(e){
296
+ e.preventDefault();
297
+ e.stopPropagation();
298
+ $this.getPrev();
299
+ $this.setTimeout();
300
+ });
301
+
302
+ $('#swipebox-next').bind('click touchend', function(e){
303
+ e.preventDefault();
304
+ e.stopPropagation();
305
+ $this.getNext();
306
+ $this.setTimeout();
307
+ });
308
+ }
309
+
310
+ $('#swipebox-close').bind('click touchend', function(e){
311
+ $this.closeSlide();
312
+ });
313
+ },
314
+
315
+ setSlide : function (index, isFirst){
316
+ isFirst = isFirst || false;
317
+
318
+ var slider = $('#swipebox-slider');
319
+
320
+ if(this.doCssTrans()){
321
+ slider.css({ left : (-index*100)+'%' });
322
+ }else{
323
+ slider.animate({ left : (-index*100)+'%' });
324
+ }
325
+
326
+ $('#swipebox-slider .slide').removeClass('current');
327
+ $('#swipebox-slider .slide').eq(index).addClass('current');
328
+ this.setTitle(index);
329
+
330
+ if( isFirst ){
331
+ slider.fadeIn();
332
+ }
333
+
334
+ $('#swipebox-prev, #swipebox-next').removeClass('disabled');
335
+ if(index == 0){
336
+ $('#swipebox-prev').addClass('disabled');
337
+ }else if( index == $elem.length - 1 ){
338
+ $('#swipebox-next').addClass('disabled');
339
+ }
340
+ },
341
+
342
+ openSlide : function (index){
343
+
344
+ $('html').addClass('swipebox');
345
+ $(window).trigger('resize'); // fix scroll bar visibility on desktop
346
+ this.setSlide(index, true);
347
+ },
348
+
349
+ preloadImg : function (index){
350
+ var $this = this;
351
+ setTimeout(function(){
352
+ $this.openImg(index);
353
+ }, 1000);
354
+ },
355
+
356
+ openImg : function (index){
357
+ var $this = this;
358
+ if(index < 0 || index >= $elem.length){
359
+ return false;
360
+ }
361
+
362
+ $this.loadImg($elem.eq(index).attr('href'), function(){
363
+ $('#swipebox-slider .slide').eq(index).html(this);
364
+ });
365
+ },
366
+
367
+
368
+ setTitle : function(index, isFirst){
369
+ $('#swipebox-caption').empty();
370
+
371
+ if($elem.eq(index).attr('title')){
372
+ $('#swipebox-caption').append($elem.eq(index).attr('title'));
373
+ }
374
+ },
375
+
376
+ loadImg : function (src, callback){
377
+ var img = $('<img>').on('load', function(){
378
+ callback.call(img);
379
+ });
380
+
381
+ img.attr('src',src);
382
+ },
383
+
384
+ getNext : function (){
385
+ var $this = this;
386
+ index = $('#swipebox-slider .slide').index($('#swipebox-slider .slide.current'));
387
+ if(index+1 < $elem.length){
388
+ index++;
389
+ $this.setSlide(index);
390
+ $this.preloadImg(index+1);
391
+ }
392
+ else{
393
+
394
+ $('#swipebox-slider').addClass('rightSpring');
395
+ setTimeout(function(){
396
+ $('#swipebox-slider').removeClass('rightSpring');
397
+ },500);
398
+ }
399
+ },
400
+
401
+ getPrev : function (){
402
+ var $this = this;
403
+ index = $('#swipebox-slider .slide').index($('#swipebox-slider .slide.current'));
404
+ if(index > 0){
405
+ index--;
406
+ $this.setSlide(index);
407
+ $this.preloadImg(index-1);
408
+ }
409
+ else{
410
+
411
+ $('#swipebox-slider').addClass('leftSpring');
412
+ setTimeout(function(){
413
+ $('#swipebox-slider').removeClass('leftSpring');
414
+ },500);
415
+ }
416
+ },
417
+
418
+
419
+ closeSlide : function (){
420
+ var $this = this;
421
+ $(window).trigger('resize');
422
+ $('html').removeClass('swipebox');
423
+ $this.destroy();
424
+ },
425
+
426
+ destroy : function(){
427
+ var $this = this;
428
+ $(window).unbind('keyup');
429
+ $('body').unbind('touchstart');
430
+ $('body').unbind('touchmove');
431
+ $('body').unbind('touchend');
432
+ $('#swipebox-slider').unbind();
433
+ $('#swipebox-overlay').remove();
434
+ $elem.removeData('_swipebox');
435
+ $this.target.trigger('swipebox-destroy');
436
+ }
437
+
438
+ }
439
+
440
+ plugin.init();
441
+
442
+ }
443
+
444
+ $.fn.swipebox = function(options){
445
+ if (!$.data(this, "_swipebox")) {
446
+ var swipebox = new $.swipebox(this, options);
447
+ this.data('_swipebox', swipebox);
448
+ }
449
+ }
450
+
451
+ }(window, document, jQuery));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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()},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);
assets/swipebox/source/swipebox.css CHANGED
@@ -63,7 +63,7 @@ html.swipebox {
63
  max-width: 1140px;
64
  max-height: 100%;
65
  width: 100%;
66
- padding:5%;
67
  box-sizing: border-box;
68
  -webkit-box-sizing: border-box;
69
  -moz-box-sizing: border-box;
@@ -259,6 +259,4 @@ html.swipebox {
259
  font-size: 15px;
260
  line-height: 43px;
261
  font-family: Helvetica, Arial, sans-serif;
262
- }
263
-
264
-
63
  max-width: 1140px;
64
  max-height: 100%;
65
  width: 100%;
66
+ padding: 0;
67
  box-sizing: border-box;
68
  -webkit-box-sizing: border-box;
69
  -moz-box-sizing: border-box;
259
  font-size: 15px;
260
  line-height: 43px;
261
  font-family: Helvetica, Arial, sans-serif;
262
+ }
 
 
js/admin.js CHANGED
@@ -63,19 +63,19 @@ jQuery(document).ready(function($) {
63
  }
64
  });
65
 
66
- $(document).on('change', '#rl-slideshow-yes, #rl-slideshow-no', function(event) {
67
- if($('#rl-slideshow-yes:checked').val() === 'yes') {
68
  $('#rl_pp_slideshow_delay').fadeIn(300);
69
- } else if($('#rl-slideshow-no:checked').val() === 'no') {
70
  $('#rl_pp_slideshow_delay').fadeOut(300);
71
  }
72
  });
73
 
74
- $(document).on('change', '#rl-hide-bars-yes, #rl-hide-bars-no', function(event) {
75
- if($('#rl-hide-bars-yes:checked').val() === 'yes') {
76
- $('#rl_sw_hide_bars_delay').fadeIn(300);
77
- } else if($('#rl-hide-bars-no:checked').val() === 'no') {
78
- $('#rl_sw_hide_bars_delay').fadeOut(300);
79
  }
80
  });
81
 
63
  }
64
  });
65
 
66
+ $(document).on('change', '#rl-pp-slideshow-yes, #rl-pp-slideshow-no', function(event) {
67
+ if($('#rl-pp-slideshow-yes:checked').val() === 'yes') {
68
  $('#rl_pp_slideshow_delay').fadeIn(300);
69
+ } else if($('#rl-pp-slideshow-no:checked').val() === 'no') {
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($('#rl-sb-hide-bars-yes:checked').val() === 'yes') {
76
+ $('#rl_sb_hide_bars_delay').fadeIn(300);
77
+ } else if($('#rl-sb-hide-bars-no:checked').val() === 'no') {
78
+ $('#rl_sb_hide_bars_delay').fadeOut(300);
79
  }
80
  });
81
 
js/front.js CHANGED
@@ -3,7 +3,7 @@ jQuery(document).ready(function($) {
3
  $(document).on('ready ajaxComplete', function() {
4
  if(rlArgs.script === 'swipebox') {
5
  $('a[rel*="'+rlArgs.selector+'"]').swipebox({
6
- useCSS: rlArgs.animation,
7
  hideBarsDelay: (rlArgs.hideBars === '1' ? parseInt(rlArgs.hideBarsDelay) : 0),
8
  videoMaxWidth: parseInt(rlArgs.videoMaxWidth)
9
  });
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
  });
languages/responsive-lightbox-pl_PL.mo CHANGED
Binary file
languages/responsive-lightbox-pl_PL.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Responsive Lightbox\n"
4
- "POT-Creation-Date: 2013-10-03 18:13+0100\n"
5
- "PO-Revision-Date: 2013-10-03 18:13+0100\n"
6
  "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
7
  "Language-Team: dFactory <info@dfactory.eu>\n"
8
  "Language: Polski\n"
@@ -15,377 +15,381 @@ msgstr ""
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
- #: ../responsive-lightbox.php:256
19
  msgid "prettyPhoto"
20
  msgstr "prettyPhoto"
21
 
22
- #: ../responsive-lightbox.php:258
23
  msgid "slow"
24
  msgstr "wolno"
25
 
26
- #: ../responsive-lightbox.php:259
27
  msgid "normal"
28
  msgstr "normalnie"
29
 
30
- #: ../responsive-lightbox.php:260
31
  msgid "fast"
32
  msgstr "szybko"
33
 
34
- #: ../responsive-lightbox.php:263
35
  msgid "default"
36
  msgstr ""
37
 
38
- #: ../responsive-lightbox.php:264
39
  msgid "light rounded"
40
  msgstr ""
41
 
42
- #: ../responsive-lightbox.php:265
43
  msgid "dark rounded"
44
  msgstr ""
45
 
46
- #: ../responsive-lightbox.php:266
47
  msgid "light square"
48
  msgstr ""
49
 
50
- #: ../responsive-lightbox.php:267
51
  msgid "dark square"
52
  msgstr ""
53
 
54
- #: ../responsive-lightbox.php:268
55
  msgid "facebook"
56
  msgstr ""
57
 
58
- #: ../responsive-lightbox.php:271
59
  msgid "window"
60
  msgstr ""
61
 
62
- #: ../responsive-lightbox.php:272
63
  msgid "transparent"
64
  msgstr ""
65
 
66
- #: ../responsive-lightbox.php:273
67
  msgid "opaque"
68
  msgstr ""
69
 
70
- #: ../responsive-lightbox.php:274
71
  msgid "direct"
72
  msgstr ""
73
 
74
- #: ../responsive-lightbox.php:275
75
  msgid "gpu"
76
  msgstr ""
77
 
78
- #: ../responsive-lightbox.php:280
79
  msgid "SwipeBox"
80
  msgstr "SwipeBox"
81
 
82
- #: ../responsive-lightbox.php:282
83
  msgid "CSS"
84
  msgstr "CSS"
85
 
86
- #: ../responsive-lightbox.php:283
87
  msgid "jQuery"
88
  msgstr "jQuery"
89
 
90
- #: ../responsive-lightbox.php:287
91
  msgid "FancyBox"
92
  msgstr "FancyBox"
93
 
94
- #: ../responsive-lightbox.php:289
95
  msgid "elastic"
96
  msgstr ""
97
 
98
- #: ../responsive-lightbox.php:290
99
  msgid "fade"
100
  msgstr ""
101
 
102
- #: ../responsive-lightbox.php:291
103
  msgid "none"
104
  msgstr "brak"
105
 
106
- #: ../responsive-lightbox.php:294
107
  msgid "auto"
108
  msgstr "automatycznie"
109
 
110
- #: ../responsive-lightbox.php:295
111
  msgid "yes"
112
  msgstr "tak"
113
 
114
- #: ../responsive-lightbox.php:296
115
  msgid "no"
116
  msgstr "nie"
117
 
118
- #: ../responsive-lightbox.php:299
119
  msgid "swing"
120
  msgstr ""
121
 
122
- #: ../responsive-lightbox.php:300
123
  msgid "linear"
124
  msgstr ""
125
 
126
- #: ../responsive-lightbox.php:303
127
  msgid "outside"
128
  msgstr ""
129
 
130
- #: ../responsive-lightbox.php:304
131
  msgid "inside"
132
  msgstr ""
133
 
134
- #: ../responsive-lightbox.php:305
135
  msgid "over"
136
  msgstr ""
137
 
138
- #: ../responsive-lightbox.php:311
139
  msgid "Enable"
140
  msgstr "Włącz"
141
 
142
- #: ../responsive-lightbox.php:312
143
  msgid "Disable"
144
  msgstr "Wyłącz"
145
 
146
- #: ../responsive-lightbox.php:317 ../responsive-lightbox.php:417
147
  msgid "General settings"
148
  msgstr "Ustawienia ogólne"
149
 
150
- #: ../responsive-lightbox.php:322 ../responsive-lightbox.php:428
151
  msgid "Lightbox settings"
152
  msgstr "Ustawienia lightbox"
153
 
154
- #: ../responsive-lightbox.php:418
155
  msgid "Lightbox script"
156
  msgstr "Skrypt lightbox"
157
 
158
- #: ../responsive-lightbox.php:419
159
  msgid "Selector"
160
  msgstr "Znacznik"
161
 
162
- #: ../responsive-lightbox.php:420
163
  msgid "Galleries"
164
  msgstr "Galerie"
165
 
166
- #: ../responsive-lightbox.php:421
167
  msgid "Video links"
168
  msgstr "Linki video"
169
 
170
- #: ../responsive-lightbox.php:422
171
  msgid "Image links"
172
  msgstr "Linki obrazków"
173
 
174
- #: ../responsive-lightbox.php:423
175
  msgid "Single images as gallery"
176
  msgstr "Galeria pojedynczych obrazków"
177
 
178
- #: ../responsive-lightbox.php:424
179
  msgid "Deactivation"
180
  msgstr "Deaktywacja"
181
 
182
- #: ../responsive-lightbox.php:432
183
  msgid "Animation type"
184
  msgstr "Typ animacji"
185
 
186
- #: ../responsive-lightbox.php:433
 
 
 
 
187
  msgid "Top and bottom bars"
188
  msgstr "Górne i dolne paski"
189
 
190
- #: ../responsive-lightbox.php:434
191
  msgid "Video max width"
192
  msgstr "Maksymalna szerokość video"
193
 
194
- #: ../responsive-lightbox.php:438
195
  msgid "Animation speed"
196
  msgstr "Szybkość animacji"
197
 
198
- #: ../responsive-lightbox.php:439
199
  msgid "Slideshow"
200
  msgstr "Pokaz slidów"
201
 
202
- #: ../responsive-lightbox.php:440
203
  msgid "Slideshow autoplay"
204
  msgstr "Automatyczne odtwarzanie pokazu slajdów"
205
 
206
- #: ../responsive-lightbox.php:441 ../responsive-lightbox.php:470
207
  msgid "Opacity"
208
  msgstr "Przezroczystość"
209
 
210
- #: ../responsive-lightbox.php:442
211
  msgid "Show title"
212
  msgstr "Wyświetlanie tytułu"
213
 
214
- #: ../responsive-lightbox.php:443
215
  msgid "Allow resize big images"
216
  msgstr "Powiększanie dużych zdjęć"
217
 
218
- #: ../responsive-lightbox.php:444 ../responsive-lightbox.php:482
219
  msgid "Video width"
220
  msgstr "Szerokość video"
221
 
222
- #: ../responsive-lightbox.php:445 ../responsive-lightbox.php:483
223
  msgid "Video height"
224
  msgstr "Wysokość video"
225
 
226
- #: ../responsive-lightbox.php:446
227
  msgid "Theme"
228
  msgstr "Motyw"
229
 
230
- #: ../responsive-lightbox.php:447
231
  msgid "Horizontal padding"
232
  msgstr "Odstępy w poziomie"
233
 
234
- #: ../responsive-lightbox.php:448
235
  msgid "Hide Flash"
236
  msgstr "Ukrywanie flash"
237
 
238
- #: ../responsive-lightbox.php:449
239
  msgid "Flash Window Mode (wmode)"
240
  msgstr "Tryb okna flash (wmode)"
241
 
242
- #: ../responsive-lightbox.php:450
243
  msgid "Video autoplay"
244
  msgstr "Automatyczne odtwarzanie wideo"
245
 
246
- #: ../responsive-lightbox.php:451 ../responsive-lightbox.php:459
247
  msgid "Modal"
248
  msgstr "Tryb modal"
249
 
250
- #: ../responsive-lightbox.php:452
251
  msgid "Deeplinking"
252
  msgstr "Głębokie linki"
253
 
254
- #: ../responsive-lightbox.php:453
255
  msgid "Overlay gallery"
256
  msgstr "Efekt overlay galerii"
257
 
258
- #: ../responsive-lightbox.php:454
259
  msgid "Keyboard shortcuts"
260
  msgstr "Skróty klawiaturowe"
261
 
262
- #: ../responsive-lightbox.php:455
263
  msgid "Social (Twitter, Facebook)"
264
  msgstr "Linki społeczności (Twitter, Facebook)"
265
 
266
- #: ../responsive-lightbox.php:460
267
  msgid "Show overlay"
268
  msgstr "Wyświetlanie tła"
269
 
270
- #: ../responsive-lightbox.php:461
271
  msgid "Show close button"
272
  msgstr "Wyświetlanie przycisku Zamknij"
273
 
274
- #: ../responsive-lightbox.php:462
275
  msgid "Enable escape button"
276
  msgstr "Wyświetlanie przycisku Wyjdź"
277
 
278
- #: ../responsive-lightbox.php:463
279
  msgid "Hide on overlay click"
280
  msgstr "Ukryj po kliknięciu w tło"
281
 
282
- #: ../responsive-lightbox.php:464
283
  msgid "Hide on content click"
284
  msgstr "Ukryj po kliknięciu w treść"
285
 
286
- #: ../responsive-lightbox.php:465
287
  msgid "Cyclic"
288
  msgstr "Cykliczność"
289
 
290
- #: ../responsive-lightbox.php:466
291
  msgid "Show nav arrows"
292
  msgstr "Wyświetlanie strzałek"
293
 
294
- #: ../responsive-lightbox.php:467
295
  msgid "Auto scale"
296
  msgstr "Automatyczne skalowanie"
297
 
298
- #: ../responsive-lightbox.php:468
299
  msgid "Scrolling (in/out)"
300
  msgstr "Przewijanie"
301
 
302
- #: ../responsive-lightbox.php:469
303
  msgid "Center on scroll"
304
  msgstr "Centrowanie przy przewijaniu"
305
 
306
- #: ../responsive-lightbox.php:471
307
  msgid "Overlay opacity"
308
  msgstr "Przezroczystość tła"
309
 
310
- #: ../responsive-lightbox.php:472
311
  msgid "Overlay color"
312
  msgstr "Kolor tła"
313
 
314
- #: ../responsive-lightbox.php:473
315
  msgid "Title show"
316
  msgstr "Wyświetlanie tytułu"
317
 
318
- #: ../responsive-lightbox.php:474
319
  msgid "Title position"
320
  msgstr "Pozycja tytułu"
321
 
322
- #: ../responsive-lightbox.php:475
323
  msgid "Transition (in/out)"
324
  msgstr "Efekty przejścia"
325
 
326
- #: ../responsive-lightbox.php:476
327
  msgid "Easings (in/out)"
328
  msgstr "Wygładzanie animacji"
329
 
330
- #: ../responsive-lightbox.php:477
331
  msgid "Speed (in/out)"
332
  msgstr "Szybkość"
333
 
334
- #: ../responsive-lightbox.php:478
335
  msgid "Change speed"
336
  msgstr "Zmień szybkość"
337
 
338
- #: ../responsive-lightbox.php:479
339
  msgid "Change fade"
340
  msgstr "Zmień zanikanie"
341
 
342
- #: ../responsive-lightbox.php:480
343
  msgid "Padding"
344
  msgstr "Odstęp (padding)"
345
 
346
- #: ../responsive-lightbox.php:481
347
  msgid "Margin"
348
  msgstr "Margines (margin)"
349
 
350
- #: ../responsive-lightbox.php:501
351
  msgid "Select your preffered ligthbox effect script."
352
  msgstr "Wybierz preferowany efekt lightbox."
353
 
354
- #: ../responsive-lightbox.php:511
355
  msgid "Select to which rel selector lightbox effect will be applied to."
356
  msgstr "Wybierz dla któego znacznika będzie dodawany efekt lightbox."
357
 
358
- #: ../responsive-lightbox.php:529
359
  msgid "Add lightbox to WordPress image galleries by default."
360
  msgstr "Dodaj efekt lightbox do galerii obrazków WordPressa."
361
 
362
- #: ../responsive-lightbox.php:547
363
  msgid "Add lightbox to YouTube and Vimeo video links by default."
364
  msgstr "Dodaj efekt lightbox do linków video (YouTube i Vimeo) WordPressa."
365
 
366
- #: ../responsive-lightbox.php:565
367
  msgid "Add lightbox to WordPress image links by default."
368
  msgstr "Dodaj efekt lightbox do pojedynczych obrazków WordPressa."
369
 
370
- #: ../responsive-lightbox.php:583
371
  msgid "Display single post images as a gallery."
372
  msgstr "Wyświetl pojedyncze obrazki jako pokaz sladów."
373
 
374
- #: ../responsive-lightbox.php:601
375
  msgid "Delete settings on plugin deactivation."
376
  msgstr "Usuń ustawienia przy deaktywacji wtyczki."
377
 
378
- #: ../responsive-lightbox.php:619
379
  msgid "Select a method of applying a lightbox effect."
380
  msgstr "Wybierz sposób dodawania efekty lightbox."
381
 
382
- #: ../responsive-lightbox.php:637
383
  msgid ""
384
  "Disable if you don't want to top and bottom bars to be hidden after a period "
385
  "of time."
386
  msgstr "Wyłącz to, jeśli nie chcesz ukrywać górnego i dolnego paska."
387
 
388
- #: ../responsive-lightbox.php:640
389
  msgid ""
390
  "Enter the time after which the top and bottom bars will be hidden (when "
391
  "hiding is enabled)."
@@ -393,51 +397,57 @@ msgstr ""
393
  "Podaj czas po którym chcesz ukryć górny i dolny pasek (jeśli opcja ukrywania "
394
  "jest włączona)."
395
 
396
- #: ../responsive-lightbox.php:651
397
  msgid "Enter the max video width in a lightbox."
398
  msgstr "Podaj maksymalną szerokość video."
399
 
400
- #: ../responsive-lightbox.php:669
 
 
 
 
 
 
401
  msgid "Select animation speed for lightbox effect."
402
  msgstr "Wybierz szybkość animacji efektu lightbox."
403
 
404
- #: ../responsive-lightbox.php:687
405
  msgid "Display images as slideshow."
406
  msgstr "Wyświetl obrazki jako pokaz sladów ."
407
 
408
- #: ../responsive-lightbox.php:690
409
  msgid "Enter time (in miliseconds)."
410
  msgstr "Podaj czas (w milisekundach)."
411
 
412
- #: ../responsive-lightbox.php:709
413
  msgid "Automatically start slideshow."
414
  msgstr "Automatyczne rozpoczynanie pokazu slajdów."
415
 
416
- #: ../responsive-lightbox.php:722
417
  msgid "Value between 0 and 100, 100 for no opacity."
418
  msgstr "Wartość pomiędzy 0 i 100 (100 oznacza brak przezroczystości)."
419
 
420
- #: ../responsive-lightbox.php:740
421
  msgid "Display image tiltle."
422
  msgstr "Wyświetlanie tytułu obrazka."
423
 
424
- #: ../responsive-lightbox.php:758
425
  msgid "Resize the photos bigger than viewport."
426
  msgstr "Zmiana wielkość zdjęć większych niż aktualny ekran."
427
 
428
- #: ../responsive-lightbox.php:768 ../responsive-lightbox.php:778
429
  msgid "in pixels"
430
  msgstr "w pikselach"
431
 
432
- #: ../responsive-lightbox.php:796
433
  msgid "Select theme for lightbox effect."
434
  msgstr "Wybierz motyw dla efektu lightbox."
435
 
436
- #: ../responsive-lightbox.php:806
437
  msgid "Horizontal padding (in pixels)."
438
  msgstr "Odstępy w poziomie (w pikselach)."
439
 
440
- #: ../responsive-lightbox.php:824
441
  msgid ""
442
  "Hides all the flash object on a page. Enable this if flash appears over "
443
  "prettyPhoto."
@@ -445,50 +455,50 @@ msgstr ""
445
  "Ukywa wszystkie obiekty flash na stronie. Włącz to jeśli animacje flash "
446
  "wyświetlane są nad lightboxem."
447
 
448
- #: ../responsive-lightbox.php:842
449
  msgid "Select flash window mode."
450
  msgstr "Wybierz tryb okna flash."
451
 
452
- #: ../responsive-lightbox.php:860
453
  msgid "Automatically start videos."
454
  msgstr "Automatycznie rozpoczynaj video."
455
 
456
- #: ../responsive-lightbox.php:878
457
  msgid "If set to true, only the close button will close the window."
458
  msgstr ""
459
  "Jeśli będzie włączone, tylko kliknięcie przycisku spowoduje zamknięcie okna."
460
 
461
- #: ../responsive-lightbox.php:896
462
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
463
  msgstr "Zezwól prettyPhoto na aktualizacje adresów URL i głębokie linkowanie."
464
 
465
- #: ../responsive-lightbox.php:914
466
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
467
  msgstr ""
468
  "Jeśli będzie włączone, galeria będzie wyświetlana na cały ekran po "
469
  "najechaniu myszką."
470
 
471
- #: ../responsive-lightbox.php:932
472
  msgid "Set to false if you open forms inside prettyPhoto."
473
  msgstr "Wyłącz to jeśli chcesz otwierać formularze wewnątrz prettyPhoto."
474
 
475
- #: ../responsive-lightbox.php:950
476
  msgid "Display links to Facebook and Twitter."
477
  msgstr "Wyświetl linki do Facebboka i Twittera."
478
 
479
- #: ../responsive-lightbox.php:968
480
  msgid "The transition type."
481
  msgstr "Typ animacji."
482
 
483
- #: ../responsive-lightbox.php:978
484
  msgid "Space between FancyBox wrapper and content."
485
  msgstr "Przestrzeń między FancyBox a treścią"
486
 
487
- #: ../responsive-lightbox.php:988
488
  msgid "Space between viewport and FancyBox wrapper."
489
  msgstr "Przestrzeń między ekranem a Fancybox"
490
 
491
- #: ../responsive-lightbox.php:1006
492
  msgid ""
493
  "When true, \"overlayShow\" is set to TRUE and \"hideOnOverlayClick\", "
494
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
@@ -498,99 +508,99 @@ msgstr ""
498
  "TRUE, natomiast \"hideOnOverlayClick\", \"hideOnContentClick\", "
499
  "\"enableEscapeButton\", \"showCloseButton\" zostaną ustawione na FALSE."
500
 
501
- #: ../responsive-lightbox.php:1024
502
  msgid "Toggle overlay."
503
  msgstr "Włącz tło."
504
 
505
- #: ../responsive-lightbox.php:1042
506
  msgid "Toggle close button."
507
  msgstr "Włącz przycisk Zamknij."
508
 
509
- #: ../responsive-lightbox.php:1060
510
  msgid "Toggle if pressing Esc button closes FancyBox."
511
  msgstr "Włącz zamykanie FancyBox przy pomocy Esc."
512
 
513
- #: ../responsive-lightbox.php:1078
514
  msgid "Toggle if clicking the overlay should close FancyBox."
515
  msgstr "Włącz zamykanie FancyBox kliknięciem w tło."
516
 
517
- #: ../responsive-lightbox.php:1096
518
  msgid "Toggle if clicking the content should close FancyBox."
519
  msgstr "Włącz zamykanie FancyBox kliknięciem w treść."
520
 
521
- #: ../responsive-lightbox.php:1114
522
  msgid ""
523
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
524
  msgstr "Jeśli będzie włączone, galerie będą wyświetlane cyklicznie."
525
 
526
- #: ../responsive-lightbox.php:1132
527
  msgid "Toggle navigation arrows."
528
  msgstr "Włącz strzałki nawigacyjne."
529
 
530
- #: ../responsive-lightbox.php:1150
531
  msgid "If true, FancyBox is scaled to fit in viewport."
532
  msgstr "Jeśli będzie włączone, FancyBox będzie skalowany do rozmiaru okna."
533
 
534
- #: ../responsive-lightbox.php:1168
535
  msgid "Set the overflow CSS property to create or hide scrollbars."
536
  msgstr ""
537
  "Ustaw parametr overflow dw CSS aby tworzyć lub ukrywać elementy nawigacji."
538
 
539
- #: ../responsive-lightbox.php:1186
540
  msgid "When true, FancyBox is centered while scrolling page."
541
  msgstr ""
542
  "Jeśli będzie zaznaczone, FancyBox będzie wycentrowany w trakcie przewijania "
543
  "strony."
544
 
545
- #: ../responsive-lightbox.php:1204
546
  msgid "When true, transparency of content is changed for elastic transitions."
547
  msgstr ""
548
  "Jeśli będzie zaznaczone, przezroczystość treści zmieni się w trakcie "
549
  "animacji."
550
 
551
- #: ../responsive-lightbox.php:1217
552
  msgid "Opacity of the overlay."
553
  msgstr "Przezroczystość tła."
554
 
555
- #: ../responsive-lightbox.php:1227
556
  msgid "Color of the overlay."
557
  msgstr "Kolor tła."
558
 
559
- #: ../responsive-lightbox.php:1245
560
  msgid "Toggle title."
561
  msgstr "Wyświetlanie tytułu."
562
 
563
- #: ../responsive-lightbox.php:1263
564
  msgid "The position of title."
565
  msgstr "Pozycja tytułu."
566
 
567
- #: ../responsive-lightbox.php:1281
568
  msgid "Easing used for elastic animations."
569
  msgstr "Wygładzanie animacji dla trybu elastic."
570
 
571
- #: ../responsive-lightbox.php:1291
572
  msgid "Speed of the fade and elastic transitions, in milliseconds."
573
  msgstr "Podaj czas trwania animacji fade i elastic (w milisekundach)"
574
 
575
- #: ../responsive-lightbox.php:1301
576
  msgid "Speed of resizing when changing gallery items, in milliseconds."
577
  msgstr ""
578
  "Szybkość zmiany wielkości okna w trakcie przechodzenia między obrazkami (w "
579
  "milisekundach)."
580
 
581
- #: ../responsive-lightbox.php:1311
582
  msgid "Speed of the content fading while changing gallery items."
583
  msgstr "Szybkość zanikania elementów w trakcie przechodzenia między obrazkami."
584
 
585
- #: ../responsive-lightbox.php:1321
586
  msgid "Width of the video."
587
  msgstr "Szerokość video."
588
 
589
- #: ../responsive-lightbox.php:1331
590
  msgid "Height of the video."
591
  msgstr "Wysokość video."
592
 
593
- #: ../responsive-lightbox.php:1510
594
  msgid ""
595
  "Changes were not saved because there was attempt to save settings of "
596
  "inactive script. The site has been reloaded to the proper script settings."
@@ -598,19 +608,19 @@ msgstr ""
598
  "Zmiany nie zostały zapisane ponieważ wykryto próbę zapisu ustawień "
599
  "nieaktywnego skryptu. Strona została odświeżona z prawidłowymi ustawieniami."
600
 
601
- #: ../responsive-lightbox.php:1522
602
  msgid "Settings of SwipeBox script were restored to defaults."
603
  msgstr "Ustawienia skryptu SwipeBox zostały przywrócone."
604
 
605
- #: ../responsive-lightbox.php:1528
606
  msgid "Settings of prettyPhoto script were restored to defaults."
607
  msgstr "Ustawienia skryptu prettyPhoto zostały przywrócone."
608
 
609
- #: ../responsive-lightbox.php:1534
610
  msgid "Settings of FancyBox script were restored to defaults."
611
  msgstr "Ustawienia skryptu FancyBox zostały przywrócone."
612
 
613
- #: ../responsive-lightbox.php:1538
614
  msgid ""
615
  "Changes were not set to defaults because there was attempt to reset settings "
616
  "of inactive script. The site has been reloaded to the proper script settings."
@@ -619,64 +629,64 @@ msgstr ""
619
  "resetowania ustawień nieaktywnego skryptu. Strona została odświeżona z "
620
  "prawidłowymi ustawieniami."
621
 
622
- #: ../responsive-lightbox.php:1552 ../responsive-lightbox.php:1553
623
- #: ../responsive-lightbox.php:1567 ../responsive-lightbox.php:1599
624
  msgid "Responsive Lightbox"
625
  msgstr "Efekt Lightbox"
626
 
627
- #: ../responsive-lightbox.php:1592
628
  msgid "Reset to defaults"
629
  msgstr "Resetuj do domyślnych"
630
 
631
- #: ../responsive-lightbox.php:1601
632
  msgid "Need support?"
633
  msgstr "Potrzebujesz pomocy?"
634
 
635
- #: ../responsive-lightbox.php:1602
636
  msgid ""
637
  "If you are having problems with this plugin, please talk about them in the"
638
  msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o nich na"
639
 
640
- #: ../responsive-lightbox.php:1602
641
  msgid "Support forum"
642
  msgstr "Forum pomocy"
643
 
644
- #: ../responsive-lightbox.php:1604
645
  msgid "Do you like this plugin?"
646
  msgstr "Lubisz tę wtyczkę?"
647
 
648
- #: ../responsive-lightbox.php:1605
649
  msgid "Rate it 5"
650
  msgstr "Oceń ją na 5"
651
 
652
- #: ../responsive-lightbox.php:1605
653
  msgid "on WordPress.org"
654
  msgstr "na WordPress.org"
655
 
656
- #: ../responsive-lightbox.php:1606
657
  msgid "Blog about it & link to the"
658
  msgstr "Napisz o niej i dodaj link"
659
 
660
- #: ../responsive-lightbox.php:1606
661
  msgid "plugin page"
662
  msgstr "do strony wtyczki"
663
 
664
- #: ../responsive-lightbox.php:1607
665
  msgid "Check out our other"
666
  msgstr "Sprawdź nasze pozostałe"
667
 
668
- #: ../responsive-lightbox.php:1607
669
  msgid "WordPress plugins"
670
  msgstr "wtyczki do WordPress'a"
671
 
672
- #: ../responsive-lightbox.php:1634
673
  msgid "Are you sure you want to reset scripts settings to defaults?"
674
  msgstr "Jesteś pewny, że chcesz zresetować ustawienia?"
675
 
676
- #: ../responsive-lightbox.php:1831
677
  msgid "Support"
678
  msgstr "Pomoc"
679
 
680
- #: ../responsive-lightbox.php:1853
681
  msgid "Settings"
682
  msgstr "Ustawienia"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Responsive Lightbox\n"
4
+ "POT-Creation-Date: 2013-10-15 11:32+0100\n"
5
+ "PO-Revision-Date: 2013-10-15 11:33+0100\n"
6
  "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
7
  "Language-Team: dFactory <info@dfactory.eu>\n"
8
  "Language: Polski\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
+ #: ../responsive-lightbox.php:267
19
  msgid "prettyPhoto"
20
  msgstr "prettyPhoto"
21
 
22
+ #: ../responsive-lightbox.php:269
23
  msgid "slow"
24
  msgstr "wolno"
25
 
26
+ #: ../responsive-lightbox.php:270
27
  msgid "normal"
28
  msgstr "normalnie"
29
 
30
+ #: ../responsive-lightbox.php:271
31
  msgid "fast"
32
  msgstr "szybko"
33
 
34
+ #: ../responsive-lightbox.php:274
35
  msgid "default"
36
  msgstr ""
37
 
38
+ #: ../responsive-lightbox.php:275
39
  msgid "light rounded"
40
  msgstr ""
41
 
42
+ #: ../responsive-lightbox.php:276
43
  msgid "dark rounded"
44
  msgstr ""
45
 
46
+ #: ../responsive-lightbox.php:277
47
  msgid "light square"
48
  msgstr ""
49
 
50
+ #: ../responsive-lightbox.php:278
51
  msgid "dark square"
52
  msgstr ""
53
 
54
+ #: ../responsive-lightbox.php:279
55
  msgid "facebook"
56
  msgstr ""
57
 
58
+ #: ../responsive-lightbox.php:282
59
  msgid "window"
60
  msgstr ""
61
 
62
+ #: ../responsive-lightbox.php:283
63
  msgid "transparent"
64
  msgstr ""
65
 
66
+ #: ../responsive-lightbox.php:284
67
  msgid "opaque"
68
  msgstr ""
69
 
70
+ #: ../responsive-lightbox.php:285
71
  msgid "direct"
72
  msgstr ""
73
 
74
+ #: ../responsive-lightbox.php:286
75
  msgid "gpu"
76
  msgstr ""
77
 
78
+ #: ../responsive-lightbox.php:291
79
  msgid "SwipeBox"
80
  msgstr "SwipeBox"
81
 
82
+ #: ../responsive-lightbox.php:293
83
  msgid "CSS"
84
  msgstr "CSS"
85
 
86
+ #: ../responsive-lightbox.php:294
87
  msgid "jQuery"
88
  msgstr "jQuery"
89
 
90
+ #: ../responsive-lightbox.php:298
91
  msgid "FancyBox"
92
  msgstr "FancyBox"
93
 
94
+ #: ../responsive-lightbox.php:300
95
  msgid "elastic"
96
  msgstr ""
97
 
98
+ #: ../responsive-lightbox.php:301
99
  msgid "fade"
100
  msgstr ""
101
 
102
+ #: ../responsive-lightbox.php:302
103
  msgid "none"
104
  msgstr "brak"
105
 
106
+ #: ../responsive-lightbox.php:305
107
  msgid "auto"
108
  msgstr "automatycznie"
109
 
110
+ #: ../responsive-lightbox.php:306
111
  msgid "yes"
112
  msgstr "tak"
113
 
114
+ #: ../responsive-lightbox.php:307
115
  msgid "no"
116
  msgstr "nie"
117
 
118
+ #: ../responsive-lightbox.php:310
119
  msgid "swing"
120
  msgstr ""
121
 
122
+ #: ../responsive-lightbox.php:311
123
  msgid "linear"
124
  msgstr ""
125
 
126
+ #: ../responsive-lightbox.php:314
127
  msgid "outside"
128
  msgstr ""
129
 
130
+ #: ../responsive-lightbox.php:315
131
  msgid "inside"
132
  msgstr ""
133
 
134
+ #: ../responsive-lightbox.php:316
135
  msgid "over"
136
  msgstr ""
137
 
138
+ #: ../responsive-lightbox.php:322
139
  msgid "Enable"
140
  msgstr "Włącz"
141
 
142
+ #: ../responsive-lightbox.php:323
143
  msgid "Disable"
144
  msgstr "Wyłącz"
145
 
146
+ #: ../responsive-lightbox.php:328 ../responsive-lightbox.php:428
147
  msgid "General settings"
148
  msgstr "Ustawienia ogólne"
149
 
150
+ #: ../responsive-lightbox.php:333 ../responsive-lightbox.php:439
151
  msgid "Lightbox settings"
152
  msgstr "Ustawienia lightbox"
153
 
154
+ #: ../responsive-lightbox.php:429
155
  msgid "Lightbox script"
156
  msgstr "Skrypt lightbox"
157
 
158
+ #: ../responsive-lightbox.php:430
159
  msgid "Selector"
160
  msgstr "Znacznik"
161
 
162
+ #: ../responsive-lightbox.php:431
163
  msgid "Galleries"
164
  msgstr "Galerie"
165
 
166
+ #: ../responsive-lightbox.php:432
167
  msgid "Video links"
168
  msgstr "Linki video"
169
 
170
+ #: ../responsive-lightbox.php:433
171
  msgid "Image links"
172
  msgstr "Linki obrazków"
173
 
174
+ #: ../responsive-lightbox.php:434
175
  msgid "Single images as gallery"
176
  msgstr "Galeria pojedynczych obrazków"
177
 
178
+ #: ../responsive-lightbox.php:435
179
  msgid "Deactivation"
180
  msgstr "Deaktywacja"
181
 
182
+ #: ../responsive-lightbox.php:443
183
  msgid "Animation type"
184
  msgstr "Typ animacji"
185
 
186
+ #: ../responsive-lightbox.php:444
187
+ msgid "Force PNG icons"
188
+ msgstr "Wymuszanie ikon PNG"
189
+
190
+ #: ../responsive-lightbox.php:445
191
  msgid "Top and bottom bars"
192
  msgstr "Górne i dolne paski"
193
 
194
+ #: ../responsive-lightbox.php:446
195
  msgid "Video max width"
196
  msgstr "Maksymalna szerokość video"
197
 
198
+ #: ../responsive-lightbox.php:450
199
  msgid "Animation speed"
200
  msgstr "Szybkość animacji"
201
 
202
+ #: ../responsive-lightbox.php:451
203
  msgid "Slideshow"
204
  msgstr "Pokaz slidów"
205
 
206
+ #: ../responsive-lightbox.php:452
207
  msgid "Slideshow autoplay"
208
  msgstr "Automatyczne odtwarzanie pokazu slajdów"
209
 
210
+ #: ../responsive-lightbox.php:453 ../responsive-lightbox.php:482
211
  msgid "Opacity"
212
  msgstr "Przezroczystość"
213
 
214
+ #: ../responsive-lightbox.php:454
215
  msgid "Show title"
216
  msgstr "Wyświetlanie tytułu"
217
 
218
+ #: ../responsive-lightbox.php:455
219
  msgid "Allow resize big images"
220
  msgstr "Powiększanie dużych zdjęć"
221
 
222
+ #: ../responsive-lightbox.php:456 ../responsive-lightbox.php:494
223
  msgid "Video width"
224
  msgstr "Szerokość video"
225
 
226
+ #: ../responsive-lightbox.php:457 ../responsive-lightbox.php:495
227
  msgid "Video height"
228
  msgstr "Wysokość video"
229
 
230
+ #: ../responsive-lightbox.php:458
231
  msgid "Theme"
232
  msgstr "Motyw"
233
 
234
+ #: ../responsive-lightbox.php:459
235
  msgid "Horizontal padding"
236
  msgstr "Odstępy w poziomie"
237
 
238
+ #: ../responsive-lightbox.php:460
239
  msgid "Hide Flash"
240
  msgstr "Ukrywanie flash"
241
 
242
+ #: ../responsive-lightbox.php:461
243
  msgid "Flash Window Mode (wmode)"
244
  msgstr "Tryb okna flash (wmode)"
245
 
246
+ #: ../responsive-lightbox.php:462
247
  msgid "Video autoplay"
248
  msgstr "Automatyczne odtwarzanie wideo"
249
 
250
+ #: ../responsive-lightbox.php:463 ../responsive-lightbox.php:471
251
  msgid "Modal"
252
  msgstr "Tryb modal"
253
 
254
+ #: ../responsive-lightbox.php:464
255
  msgid "Deeplinking"
256
  msgstr "Głębokie linki"
257
 
258
+ #: ../responsive-lightbox.php:465
259
  msgid "Overlay gallery"
260
  msgstr "Efekt overlay galerii"
261
 
262
+ #: ../responsive-lightbox.php:466
263
  msgid "Keyboard shortcuts"
264
  msgstr "Skróty klawiaturowe"
265
 
266
+ #: ../responsive-lightbox.php:467
267
  msgid "Social (Twitter, Facebook)"
268
  msgstr "Linki społeczności (Twitter, Facebook)"
269
 
270
+ #: ../responsive-lightbox.php:472
271
  msgid "Show overlay"
272
  msgstr "Wyświetlanie tła"
273
 
274
+ #: ../responsive-lightbox.php:473
275
  msgid "Show close button"
276
  msgstr "Wyświetlanie przycisku Zamknij"
277
 
278
+ #: ../responsive-lightbox.php:474
279
  msgid "Enable escape button"
280
  msgstr "Wyświetlanie przycisku Wyjdź"
281
 
282
+ #: ../responsive-lightbox.php:475
283
  msgid "Hide on overlay click"
284
  msgstr "Ukryj po kliknięciu w tło"
285
 
286
+ #: ../responsive-lightbox.php:476
287
  msgid "Hide on content click"
288
  msgstr "Ukryj po kliknięciu w treść"
289
 
290
+ #: ../responsive-lightbox.php:477
291
  msgid "Cyclic"
292
  msgstr "Cykliczność"
293
 
294
+ #: ../responsive-lightbox.php:478
295
  msgid "Show nav arrows"
296
  msgstr "Wyświetlanie strzałek"
297
 
298
+ #: ../responsive-lightbox.php:479
299
  msgid "Auto scale"
300
  msgstr "Automatyczne skalowanie"
301
 
302
+ #: ../responsive-lightbox.php:480
303
  msgid "Scrolling (in/out)"
304
  msgstr "Przewijanie"
305
 
306
+ #: ../responsive-lightbox.php:481
307
  msgid "Center on scroll"
308
  msgstr "Centrowanie przy przewijaniu"
309
 
310
+ #: ../responsive-lightbox.php:483
311
  msgid "Overlay opacity"
312
  msgstr "Przezroczystość tła"
313
 
314
+ #: ../responsive-lightbox.php:484
315
  msgid "Overlay color"
316
  msgstr "Kolor tła"
317
 
318
+ #: ../responsive-lightbox.php:485
319
  msgid "Title show"
320
  msgstr "Wyświetlanie tytułu"
321
 
322
+ #: ../responsive-lightbox.php:486
323
  msgid "Title position"
324
  msgstr "Pozycja tytułu"
325
 
326
+ #: ../responsive-lightbox.php:487
327
  msgid "Transition (in/out)"
328
  msgstr "Efekty przejścia"
329
 
330
+ #: ../responsive-lightbox.php:488
331
  msgid "Easings (in/out)"
332
  msgstr "Wygładzanie animacji"
333
 
334
+ #: ../responsive-lightbox.php:489
335
  msgid "Speed (in/out)"
336
  msgstr "Szybkość"
337
 
338
+ #: ../responsive-lightbox.php:490
339
  msgid "Change speed"
340
  msgstr "Zmień szybkość"
341
 
342
+ #: ../responsive-lightbox.php:491
343
  msgid "Change fade"
344
  msgstr "Zmień zanikanie"
345
 
346
+ #: ../responsive-lightbox.php:492
347
  msgid "Padding"
348
  msgstr "Odstęp (padding)"
349
 
350
+ #: ../responsive-lightbox.php:493
351
  msgid "Margin"
352
  msgstr "Margines (margin)"
353
 
354
+ #: ../responsive-lightbox.php:513
355
  msgid "Select your preffered ligthbox effect script."
356
  msgstr "Wybierz preferowany efekt lightbox."
357
 
358
+ #: ../responsive-lightbox.php:523
359
  msgid "Select to which rel selector lightbox effect will be applied to."
360
  msgstr "Wybierz dla któego znacznika będzie dodawany efekt lightbox."
361
 
362
+ #: ../responsive-lightbox.php:541
363
  msgid "Add lightbox to WordPress image galleries by default."
364
  msgstr "Dodaj efekt lightbox do galerii obrazków WordPressa."
365
 
366
+ #: ../responsive-lightbox.php:559
367
  msgid "Add lightbox to YouTube and Vimeo video links by default."
368
  msgstr "Dodaj efekt lightbox do linków video (YouTube i Vimeo) WordPressa."
369
 
370
+ #: ../responsive-lightbox.php:577
371
  msgid "Add lightbox to WordPress image links by default."
372
  msgstr "Dodaj efekt lightbox do pojedynczych obrazków WordPressa."
373
 
374
+ #: ../responsive-lightbox.php:595
375
  msgid "Display single post images as a gallery."
376
  msgstr "Wyświetl pojedyncze obrazki jako pokaz sladów."
377
 
378
+ #: ../responsive-lightbox.php:613
379
  msgid "Delete settings on plugin deactivation."
380
  msgstr "Usuń ustawienia przy deaktywacji wtyczki."
381
 
382
+ #: ../responsive-lightbox.php:631
383
  msgid "Select a method of applying a lightbox effect."
384
  msgstr "Wybierz sposób dodawania efekty lightbox."
385
 
386
+ #: ../responsive-lightbox.php:649
387
  msgid ""
388
  "Disable if you don't want to top and bottom bars to be hidden after a period "
389
  "of time."
390
  msgstr "Wyłącz to, jeśli nie chcesz ukrywać górnego i dolnego paska."
391
 
392
+ #: ../responsive-lightbox.php:652
393
  msgid ""
394
  "Enter the time after which the top and bottom bars will be hidden (when "
395
  "hiding is enabled)."
397
  "Podaj czas po którym chcesz ukryć górny i dolny pasek (jeśli opcja ukrywania "
398
  "jest włączona)."
399
 
400
+ #: ../responsive-lightbox.php:663
401
  msgid "Enter the max video width in a lightbox."
402
  msgstr "Podaj maksymalną szerokość video."
403
 
404
+ #: ../responsive-lightbox.php:681
405
+ msgid ""
406
+ "Enable this if you're having problems with navigation icons not visible on "
407
+ "some devices."
408
+ msgstr "Włącz tę opcję jeśli masz problemy z wyświetlaniem ikon nawigacji."
409
+
410
+ #: ../responsive-lightbox.php:699
411
  msgid "Select animation speed for lightbox effect."
412
  msgstr "Wybierz szybkość animacji efektu lightbox."
413
 
414
+ #: ../responsive-lightbox.php:717
415
  msgid "Display images as slideshow."
416
  msgstr "Wyświetl obrazki jako pokaz sladów ."
417
 
418
+ #: ../responsive-lightbox.php:720
419
  msgid "Enter time (in miliseconds)."
420
  msgstr "Podaj czas (w milisekundach)."
421
 
422
+ #: ../responsive-lightbox.php:739
423
  msgid "Automatically start slideshow."
424
  msgstr "Automatyczne rozpoczynanie pokazu slajdów."
425
 
426
+ #: ../responsive-lightbox.php:752
427
  msgid "Value between 0 and 100, 100 for no opacity."
428
  msgstr "Wartość pomiędzy 0 i 100 (100 oznacza brak przezroczystości)."
429
 
430
+ #: ../responsive-lightbox.php:770
431
  msgid "Display image tiltle."
432
  msgstr "Wyświetlanie tytułu obrazka."
433
 
434
+ #: ../responsive-lightbox.php:788
435
  msgid "Resize the photos bigger than viewport."
436
  msgstr "Zmiana wielkość zdjęć większych niż aktualny ekran."
437
 
438
+ #: ../responsive-lightbox.php:798 ../responsive-lightbox.php:808
439
  msgid "in pixels"
440
  msgstr "w pikselach"
441
 
442
+ #: ../responsive-lightbox.php:826
443
  msgid "Select theme for lightbox effect."
444
  msgstr "Wybierz motyw dla efektu lightbox."
445
 
446
+ #: ../responsive-lightbox.php:836
447
  msgid "Horizontal padding (in pixels)."
448
  msgstr "Odstępy w poziomie (w pikselach)."
449
 
450
+ #: ../responsive-lightbox.php:854
451
  msgid ""
452
  "Hides all the flash object on a page. Enable this if flash appears over "
453
  "prettyPhoto."
455
  "Ukywa wszystkie obiekty flash na stronie. Włącz to jeśli animacje flash "
456
  "wyświetlane są nad lightboxem."
457
 
458
+ #: ../responsive-lightbox.php:872
459
  msgid "Select flash window mode."
460
  msgstr "Wybierz tryb okna flash."
461
 
462
+ #: ../responsive-lightbox.php:890
463
  msgid "Automatically start videos."
464
  msgstr "Automatycznie rozpoczynaj video."
465
 
466
+ #: ../responsive-lightbox.php:908
467
  msgid "If set to true, only the close button will close the window."
468
  msgstr ""
469
  "Jeśli będzie włączone, tylko kliknięcie przycisku spowoduje zamknięcie okna."
470
 
471
+ #: ../responsive-lightbox.php:926
472
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
473
  msgstr "Zezwól prettyPhoto na aktualizacje adresów URL i głębokie linkowanie."
474
 
475
+ #: ../responsive-lightbox.php:944
476
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
477
  msgstr ""
478
  "Jeśli będzie włączone, galeria będzie wyświetlana na cały ekran po "
479
  "najechaniu myszką."
480
 
481
+ #: ../responsive-lightbox.php:962
482
  msgid "Set to false if you open forms inside prettyPhoto."
483
  msgstr "Wyłącz to jeśli chcesz otwierać formularze wewnątrz prettyPhoto."
484
 
485
+ #: ../responsive-lightbox.php:980
486
  msgid "Display links to Facebook and Twitter."
487
  msgstr "Wyświetl linki do Facebboka i Twittera."
488
 
489
+ #: ../responsive-lightbox.php:998
490
  msgid "The transition type."
491
  msgstr "Typ animacji."
492
 
493
+ #: ../responsive-lightbox.php:1008
494
  msgid "Space between FancyBox wrapper and content."
495
  msgstr "Przestrzeń między FancyBox a treścią"
496
 
497
+ #: ../responsive-lightbox.php:1018
498
  msgid "Space between viewport and FancyBox wrapper."
499
  msgstr "Przestrzeń między ekranem a Fancybox"
500
 
501
+ #: ../responsive-lightbox.php:1036
502
  msgid ""
503
  "When true, \"overlayShow\" is set to TRUE and \"hideOnOverlayClick\", "
504
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
508
  "TRUE, natomiast \"hideOnOverlayClick\", \"hideOnContentClick\", "
509
  "\"enableEscapeButton\", \"showCloseButton\" zostaną ustawione na FALSE."
510
 
511
+ #: ../responsive-lightbox.php:1054
512
  msgid "Toggle overlay."
513
  msgstr "Włącz tło."
514
 
515
+ #: ../responsive-lightbox.php:1072
516
  msgid "Toggle close button."
517
  msgstr "Włącz przycisk Zamknij."
518
 
519
+ #: ../responsive-lightbox.php:1090
520
  msgid "Toggle if pressing Esc button closes FancyBox."
521
  msgstr "Włącz zamykanie FancyBox przy pomocy Esc."
522
 
523
+ #: ../responsive-lightbox.php:1108
524
  msgid "Toggle if clicking the overlay should close FancyBox."
525
  msgstr "Włącz zamykanie FancyBox kliknięciem w tło."
526
 
527
+ #: ../responsive-lightbox.php:1126
528
  msgid "Toggle if clicking the content should close FancyBox."
529
  msgstr "Włącz zamykanie FancyBox kliknięciem w treść."
530
 
531
+ #: ../responsive-lightbox.php:1144
532
  msgid ""
533
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
534
  msgstr "Jeśli będzie włączone, galerie będą wyświetlane cyklicznie."
535
 
536
+ #: ../responsive-lightbox.php:1162
537
  msgid "Toggle navigation arrows."
538
  msgstr "Włącz strzałki nawigacyjne."
539
 
540
+ #: ../responsive-lightbox.php:1180
541
  msgid "If true, FancyBox is scaled to fit in viewport."
542
  msgstr "Jeśli będzie włączone, FancyBox będzie skalowany do rozmiaru okna."
543
 
544
+ #: ../responsive-lightbox.php:1198
545
  msgid "Set the overflow CSS property to create or hide scrollbars."
546
  msgstr ""
547
  "Ustaw parametr overflow dw CSS aby tworzyć lub ukrywać elementy nawigacji."
548
 
549
+ #: ../responsive-lightbox.php:1216
550
  msgid "When true, FancyBox is centered while scrolling page."
551
  msgstr ""
552
  "Jeśli będzie zaznaczone, FancyBox będzie wycentrowany w trakcie przewijania "
553
  "strony."
554
 
555
+ #: ../responsive-lightbox.php:1234
556
  msgid "When true, transparency of content is changed for elastic transitions."
557
  msgstr ""
558
  "Jeśli będzie zaznaczone, przezroczystość treści zmieni się w trakcie "
559
  "animacji."
560
 
561
+ #: ../responsive-lightbox.php:1247
562
  msgid "Opacity of the overlay."
563
  msgstr "Przezroczystość tła."
564
 
565
+ #: ../responsive-lightbox.php:1257
566
  msgid "Color of the overlay."
567
  msgstr "Kolor tła."
568
 
569
+ #: ../responsive-lightbox.php:1275
570
  msgid "Toggle title."
571
  msgstr "Wyświetlanie tytułu."
572
 
573
+ #: ../responsive-lightbox.php:1293
574
  msgid "The position of title."
575
  msgstr "Pozycja tytułu."
576
 
577
+ #: ../responsive-lightbox.php:1311
578
  msgid "Easing used for elastic animations."
579
  msgstr "Wygładzanie animacji dla trybu elastic."
580
 
581
+ #: ../responsive-lightbox.php:1321
582
  msgid "Speed of the fade and elastic transitions, in milliseconds."
583
  msgstr "Podaj czas trwania animacji fade i elastic (w milisekundach)"
584
 
585
+ #: ../responsive-lightbox.php:1331
586
  msgid "Speed of resizing when changing gallery items, in milliseconds."
587
  msgstr ""
588
  "Szybkość zmiany wielkości okna w trakcie przechodzenia między obrazkami (w "
589
  "milisekundach)."
590
 
591
+ #: ../responsive-lightbox.php:1341
592
  msgid "Speed of the content fading while changing gallery items."
593
  msgstr "Szybkość zanikania elementów w trakcie przechodzenia między obrazkami."
594
 
595
+ #: ../responsive-lightbox.php:1351
596
  msgid "Width of the video."
597
  msgstr "Szerokość video."
598
 
599
+ #: ../responsive-lightbox.php:1361
600
  msgid "Height of the video."
601
  msgstr "Wysokość video."
602
 
603
+ #: ../responsive-lightbox.php:1545
604
  msgid ""
605
  "Changes were not saved because there was attempt to save settings of "
606
  "inactive script. The site has been reloaded to the proper script settings."
608
  "Zmiany nie zostały zapisane ponieważ wykryto próbę zapisu ustawień "
609
  "nieaktywnego skryptu. Strona została odświeżona z prawidłowymi ustawieniami."
610
 
611
+ #: ../responsive-lightbox.php:1557
612
  msgid "Settings of SwipeBox script were restored to defaults."
613
  msgstr "Ustawienia skryptu SwipeBox zostały przywrócone."
614
 
615
+ #: ../responsive-lightbox.php:1563
616
  msgid "Settings of prettyPhoto script were restored to defaults."
617
  msgstr "Ustawienia skryptu prettyPhoto zostały przywrócone."
618
 
619
+ #: ../responsive-lightbox.php:1569
620
  msgid "Settings of FancyBox script were restored to defaults."
621
  msgstr "Ustawienia skryptu FancyBox zostały przywrócone."
622
 
623
+ #: ../responsive-lightbox.php:1573
624
  msgid ""
625
  "Changes were not set to defaults because there was attempt to reset settings "
626
  "of inactive script. The site has been reloaded to the proper script settings."
629
  "resetowania ustawień nieaktywnego skryptu. Strona została odświeżona z "
630
  "prawidłowymi ustawieniami."
631
 
632
+ #: ../responsive-lightbox.php:1587 ../responsive-lightbox.php:1588
633
+ #: ../responsive-lightbox.php:1602 ../responsive-lightbox.php:1634
634
  msgid "Responsive Lightbox"
635
  msgstr "Efekt Lightbox"
636
 
637
+ #: ../responsive-lightbox.php:1627
638
  msgid "Reset to defaults"
639
  msgstr "Resetuj do domyślnych"
640
 
641
+ #: ../responsive-lightbox.php:1636
642
  msgid "Need support?"
643
  msgstr "Potrzebujesz pomocy?"
644
 
645
+ #: ../responsive-lightbox.php:1637
646
  msgid ""
647
  "If you are having problems with this plugin, please talk about them in the"
648
  msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o nich na"
649
 
650
+ #: ../responsive-lightbox.php:1637
651
  msgid "Support forum"
652
  msgstr "Forum pomocy"
653
 
654
+ #: ../responsive-lightbox.php:1639
655
  msgid "Do you like this plugin?"
656
  msgstr "Lubisz tę wtyczkę?"
657
 
658
+ #: ../responsive-lightbox.php:1640
659
  msgid "Rate it 5"
660
  msgstr "Oceń ją na 5"
661
 
662
+ #: ../responsive-lightbox.php:1640
663
  msgid "on WordPress.org"
664
  msgstr "na WordPress.org"
665
 
666
+ #: ../responsive-lightbox.php:1641
667
  msgid "Blog about it & link to the"
668
  msgstr "Napisz o niej i dodaj link"
669
 
670
+ #: ../responsive-lightbox.php:1641
671
  msgid "plugin page"
672
  msgstr "do strony wtyczki"
673
 
674
+ #: ../responsive-lightbox.php:1642
675
  msgid "Check out our other"
676
  msgstr "Sprawdź nasze pozostałe"
677
 
678
+ #: ../responsive-lightbox.php:1642
679
  msgid "WordPress plugins"
680
  msgstr "wtyczki do WordPress'a"
681
 
682
+ #: ../responsive-lightbox.php:1669
683
  msgid "Are you sure you want to reset scripts settings to defaults?"
684
  msgstr "Jesteś pewny, że chcesz zresetować ustawienia?"
685
 
686
+ #: ../responsive-lightbox.php:1882
687
  msgid "Support"
688
  msgstr "Pomoc"
689
 
690
+ #: ../responsive-lightbox.php:1904
691
  msgid "Settings"
692
  msgstr "Ustawienia"
languages/responsive-lightbox.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Responsive Lightbox\n"
4
- "POT-Creation-Date: 2013-10-03 18:09+0100\n"
5
- "PO-Revision-Date: 2013-10-03 18:09+0100\n"
6
  "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
7
  "Language-Team: dFactory <info@dfactory.eu>\n"
8
  "Language: English\n"
@@ -15,646 +15,656 @@ msgstr ""
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
- #: ../responsive-lightbox.php:256
19
  msgid "prettyPhoto"
20
  msgstr ""
21
 
22
- #: ../responsive-lightbox.php:258
23
  msgid "slow"
24
  msgstr ""
25
 
26
- #: ../responsive-lightbox.php:259
27
  msgid "normal"
28
  msgstr ""
29
 
30
- #: ../responsive-lightbox.php:260
31
  msgid "fast"
32
  msgstr ""
33
 
34
- #: ../responsive-lightbox.php:263
35
  msgid "default"
36
  msgstr ""
37
 
38
- #: ../responsive-lightbox.php:264
39
  msgid "light rounded"
40
  msgstr ""
41
 
42
- #: ../responsive-lightbox.php:265
43
  msgid "dark rounded"
44
  msgstr ""
45
 
46
- #: ../responsive-lightbox.php:266
47
  msgid "light square"
48
  msgstr ""
49
 
50
- #: ../responsive-lightbox.php:267
51
  msgid "dark square"
52
  msgstr ""
53
 
54
- #: ../responsive-lightbox.php:268
55
  msgid "facebook"
56
  msgstr ""
57
 
58
- #: ../responsive-lightbox.php:271
59
  msgid "window"
60
  msgstr ""
61
 
62
- #: ../responsive-lightbox.php:272
63
  msgid "transparent"
64
  msgstr ""
65
 
66
- #: ../responsive-lightbox.php:273
67
  msgid "opaque"
68
  msgstr ""
69
 
70
- #: ../responsive-lightbox.php:274
71
  msgid "direct"
72
  msgstr ""
73
 
74
- #: ../responsive-lightbox.php:275
75
  msgid "gpu"
76
  msgstr ""
77
 
78
- #: ../responsive-lightbox.php:280
79
  msgid "SwipeBox"
80
  msgstr ""
81
 
82
- #: ../responsive-lightbox.php:282
83
  msgid "CSS"
84
  msgstr ""
85
 
86
- #: ../responsive-lightbox.php:283
87
  msgid "jQuery"
88
  msgstr ""
89
 
90
- #: ../responsive-lightbox.php:287
91
  msgid "FancyBox"
92
  msgstr ""
93
 
94
- #: ../responsive-lightbox.php:289
95
  msgid "elastic"
96
  msgstr ""
97
 
98
- #: ../responsive-lightbox.php:290
99
  msgid "fade"
100
  msgstr ""
101
 
102
- #: ../responsive-lightbox.php:291
103
  msgid "none"
104
  msgstr ""
105
 
106
- #: ../responsive-lightbox.php:294
107
  msgid "auto"
108
  msgstr ""
109
 
110
- #: ../responsive-lightbox.php:295
111
  msgid "yes"
112
  msgstr ""
113
 
114
- #: ../responsive-lightbox.php:296
115
  msgid "no"
116
  msgstr ""
117
 
118
- #: ../responsive-lightbox.php:299
119
  msgid "swing"
120
  msgstr ""
121
 
122
- #: ../responsive-lightbox.php:300
123
  msgid "linear"
124
  msgstr ""
125
 
126
- #: ../responsive-lightbox.php:303
127
  msgid "outside"
128
  msgstr ""
129
 
130
- #: ../responsive-lightbox.php:304
131
  msgid "inside"
132
  msgstr ""
133
 
134
- #: ../responsive-lightbox.php:305
135
  msgid "over"
136
  msgstr ""
137
 
138
- #: ../responsive-lightbox.php:311
139
  msgid "Enable"
140
  msgstr ""
141
 
142
- #: ../responsive-lightbox.php:312
143
  msgid "Disable"
144
  msgstr ""
145
 
146
- #: ../responsive-lightbox.php:317 ../responsive-lightbox.php:417
147
  msgid "General settings"
148
  msgstr ""
149
 
150
- #: ../responsive-lightbox.php:322 ../responsive-lightbox.php:428
151
  msgid "Lightbox settings"
152
  msgstr ""
153
 
154
- #: ../responsive-lightbox.php:418
155
  msgid "Lightbox script"
156
  msgstr ""
157
 
158
- #: ../responsive-lightbox.php:419
159
  msgid "Selector"
160
  msgstr ""
161
 
162
- #: ../responsive-lightbox.php:420
163
  msgid "Galleries"
164
  msgstr ""
165
 
166
- #: ../responsive-lightbox.php:421
167
  msgid "Video links"
168
  msgstr ""
169
 
170
- #: ../responsive-lightbox.php:422
171
  msgid "Image links"
172
  msgstr ""
173
 
174
- #: ../responsive-lightbox.php:423
175
  msgid "Single images as gallery"
176
  msgstr ""
177
 
178
- #: ../responsive-lightbox.php:424
179
  msgid "Deactivation"
180
  msgstr ""
181
 
182
- #: ../responsive-lightbox.php:432
183
  msgid "Animation type"
184
  msgstr ""
185
 
186
- #: ../responsive-lightbox.php:433
 
 
 
 
187
  msgid "Top and bottom bars"
188
  msgstr ""
189
 
190
- #: ../responsive-lightbox.php:434
191
  msgid "Video max width"
192
  msgstr ""
193
 
194
- #: ../responsive-lightbox.php:438
195
  msgid "Animation speed"
196
  msgstr ""
197
 
198
- #: ../responsive-lightbox.php:439
199
  msgid "Slideshow"
200
  msgstr ""
201
 
202
- #: ../responsive-lightbox.php:440
203
  msgid "Slideshow autoplay"
204
  msgstr ""
205
 
206
- #: ../responsive-lightbox.php:441 ../responsive-lightbox.php:470
207
  msgid "Opacity"
208
  msgstr ""
209
 
210
- #: ../responsive-lightbox.php:442
211
  msgid "Show title"
212
  msgstr ""
213
 
214
- #: ../responsive-lightbox.php:443
215
  msgid "Allow resize big images"
216
  msgstr ""
217
 
218
- #: ../responsive-lightbox.php:444 ../responsive-lightbox.php:482
219
  msgid "Video width"
220
  msgstr ""
221
 
222
- #: ../responsive-lightbox.php:445 ../responsive-lightbox.php:483
223
  msgid "Video height"
224
  msgstr ""
225
 
226
- #: ../responsive-lightbox.php:446
227
  msgid "Theme"
228
  msgstr ""
229
 
230
- #: ../responsive-lightbox.php:447
231
  msgid "Horizontal padding"
232
  msgstr ""
233
 
234
- #: ../responsive-lightbox.php:448
235
  msgid "Hide Flash"
236
  msgstr ""
237
 
238
- #: ../responsive-lightbox.php:449
239
  msgid "Flash Window Mode (wmode)"
240
  msgstr ""
241
 
242
- #: ../responsive-lightbox.php:450
243
  msgid "Video autoplay"
244
  msgstr ""
245
 
246
- #: ../responsive-lightbox.php:451 ../responsive-lightbox.php:459
247
  msgid "Modal"
248
  msgstr ""
249
 
250
- #: ../responsive-lightbox.php:452
251
  msgid "Deeplinking"
252
  msgstr ""
253
 
254
- #: ../responsive-lightbox.php:453
255
  msgid "Overlay gallery"
256
  msgstr ""
257
 
258
- #: ../responsive-lightbox.php:454
259
  msgid "Keyboard shortcuts"
260
  msgstr ""
261
 
262
- #: ../responsive-lightbox.php:455
263
  msgid "Social (Twitter, Facebook)"
264
  msgstr ""
265
 
266
- #: ../responsive-lightbox.php:460
267
  msgid "Show overlay"
268
  msgstr ""
269
 
270
- #: ../responsive-lightbox.php:461
271
  msgid "Show close button"
272
  msgstr ""
273
 
274
- #: ../responsive-lightbox.php:462
275
  msgid "Enable escape button"
276
  msgstr ""
277
 
278
- #: ../responsive-lightbox.php:463
279
  msgid "Hide on overlay click"
280
  msgstr ""
281
 
282
- #: ../responsive-lightbox.php:464
283
  msgid "Hide on content click"
284
  msgstr ""
285
 
286
- #: ../responsive-lightbox.php:465
287
  msgid "Cyclic"
288
  msgstr ""
289
 
290
- #: ../responsive-lightbox.php:466
291
  msgid "Show nav arrows"
292
  msgstr ""
293
 
294
- #: ../responsive-lightbox.php:467
295
  msgid "Auto scale"
296
  msgstr ""
297
 
298
- #: ../responsive-lightbox.php:468
299
  msgid "Scrolling (in/out)"
300
  msgstr ""
301
 
302
- #: ../responsive-lightbox.php:469
303
  msgid "Center on scroll"
304
  msgstr ""
305
 
306
- #: ../responsive-lightbox.php:471
307
  msgid "Overlay opacity"
308
  msgstr ""
309
 
310
- #: ../responsive-lightbox.php:472
311
  msgid "Overlay color"
312
  msgstr ""
313
 
314
- #: ../responsive-lightbox.php:473
315
  msgid "Title show"
316
  msgstr ""
317
 
318
- #: ../responsive-lightbox.php:474
319
  msgid "Title position"
320
  msgstr ""
321
 
322
- #: ../responsive-lightbox.php:475
323
  msgid "Transition (in/out)"
324
  msgstr ""
325
 
326
- #: ../responsive-lightbox.php:476
327
  msgid "Easings (in/out)"
328
  msgstr ""
329
 
330
- #: ../responsive-lightbox.php:477
331
  msgid "Speed (in/out)"
332
  msgstr ""
333
 
334
- #: ../responsive-lightbox.php:478
335
  msgid "Change speed"
336
  msgstr ""
337
 
338
- #: ../responsive-lightbox.php:479
339
  msgid "Change fade"
340
  msgstr ""
341
 
342
- #: ../responsive-lightbox.php:480
343
  msgid "Padding"
344
  msgstr ""
345
 
346
- #: ../responsive-lightbox.php:481
347
  msgid "Margin"
348
  msgstr ""
349
 
350
- #: ../responsive-lightbox.php:501
351
  msgid "Select your preffered ligthbox effect script."
352
  msgstr ""
353
 
354
- #: ../responsive-lightbox.php:511
355
  msgid "Select to which rel selector lightbox effect will be applied to."
356
  msgstr ""
357
 
358
- #: ../responsive-lightbox.php:529
359
  msgid "Add lightbox to WordPress image galleries by default."
360
  msgstr ""
361
 
362
- #: ../responsive-lightbox.php:547
363
  msgid "Add lightbox to YouTube and Vimeo video links by default."
364
  msgstr ""
365
 
366
- #: ../responsive-lightbox.php:565
367
  msgid "Add lightbox to WordPress image links by default."
368
  msgstr ""
369
 
370
- #: ../responsive-lightbox.php:583
371
  msgid "Display single post images as a gallery."
372
  msgstr ""
373
 
374
- #: ../responsive-lightbox.php:601
375
  msgid "Delete settings on plugin deactivation."
376
  msgstr ""
377
 
378
- #: ../responsive-lightbox.php:619
379
  msgid "Select a method of applying a lightbox effect."
380
  msgstr ""
381
 
382
- #: ../responsive-lightbox.php:637
383
  msgid ""
384
  "Disable if you don't want to top and bottom bars to be hidden after a period "
385
  "of time."
386
  msgstr ""
387
 
388
- #: ../responsive-lightbox.php:640
389
  msgid ""
390
  "Enter the time after which the top and bottom bars will be hidden (when "
391
  "hiding is enabled)."
392
  msgstr ""
393
 
394
- #: ../responsive-lightbox.php:651
395
  msgid "Enter the max video width in a lightbox."
396
  msgstr ""
397
 
398
- #: ../responsive-lightbox.php:669
 
 
 
 
 
 
399
  msgid "Select animation speed for lightbox effect."
400
  msgstr ""
401
 
402
- #: ../responsive-lightbox.php:687
403
  msgid "Display images as slideshow."
404
  msgstr ""
405
 
406
- #: ../responsive-lightbox.php:690
407
  msgid "Enter time (in miliseconds)."
408
  msgstr ""
409
 
410
- #: ../responsive-lightbox.php:709
411
  msgid "Automatically start slideshow."
412
  msgstr ""
413
 
414
- #: ../responsive-lightbox.php:722
415
  msgid "Value between 0 and 100, 100 for no opacity."
416
  msgstr ""
417
 
418
- #: ../responsive-lightbox.php:740
419
  msgid "Display image tiltle."
420
  msgstr ""
421
 
422
- #: ../responsive-lightbox.php:758
423
  msgid "Resize the photos bigger than viewport."
424
  msgstr ""
425
 
426
- #: ../responsive-lightbox.php:768 ../responsive-lightbox.php:778
427
  msgid "in pixels"
428
  msgstr ""
429
 
430
- #: ../responsive-lightbox.php:796
431
  msgid "Select theme for lightbox effect."
432
  msgstr ""
433
 
434
- #: ../responsive-lightbox.php:806
435
  msgid "Horizontal padding (in pixels)."
436
  msgstr ""
437
 
438
- #: ../responsive-lightbox.php:824
439
  msgid ""
440
  "Hides all the flash object on a page. Enable this if flash appears over "
441
  "prettyPhoto."
442
  msgstr ""
443
 
444
- #: ../responsive-lightbox.php:842
445
  msgid "Select flash window mode."
446
  msgstr ""
447
 
448
- #: ../responsive-lightbox.php:860
449
  msgid "Automatically start videos."
450
  msgstr ""
451
 
452
- #: ../responsive-lightbox.php:878
453
  msgid "If set to true, only the close button will close the window."
454
  msgstr ""
455
 
456
- #: ../responsive-lightbox.php:896
457
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
458
  msgstr ""
459
 
460
- #: ../responsive-lightbox.php:914
461
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
462
  msgstr ""
463
 
464
- #: ../responsive-lightbox.php:932
465
  msgid "Set to false if you open forms inside prettyPhoto."
466
  msgstr ""
467
 
468
- #: ../responsive-lightbox.php:950
469
  msgid "Display links to Facebook and Twitter."
470
  msgstr ""
471
 
472
- #: ../responsive-lightbox.php:968
473
  msgid "The transition type."
474
  msgstr ""
475
 
476
- #: ../responsive-lightbox.php:978
477
  msgid "Space between FancyBox wrapper and content."
478
  msgstr ""
479
 
480
- #: ../responsive-lightbox.php:988
481
  msgid "Space between viewport and FancyBox wrapper."
482
  msgstr ""
483
 
484
- #: ../responsive-lightbox.php:1006
485
  msgid ""
486
  "When true, \"overlayShow\" is set to TRUE and \"hideOnOverlayClick\", "
487
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
488
  "to FALSE."
489
  msgstr ""
490
 
491
- #: ../responsive-lightbox.php:1024
492
  msgid "Toggle overlay."
493
  msgstr ""
494
 
495
- #: ../responsive-lightbox.php:1042
496
  msgid "Toggle close button."
497
  msgstr ""
498
 
499
- #: ../responsive-lightbox.php:1060
500
  msgid "Toggle if pressing Esc button closes FancyBox."
501
  msgstr ""
502
 
503
- #: ../responsive-lightbox.php:1078
504
  msgid "Toggle if clicking the overlay should close FancyBox."
505
  msgstr ""
506
 
507
- #: ../responsive-lightbox.php:1096
508
  msgid "Toggle if clicking the content should close FancyBox."
509
  msgstr ""
510
 
511
- #: ../responsive-lightbox.php:1114
512
  msgid ""
513
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
514
  msgstr ""
515
 
516
- #: ../responsive-lightbox.php:1132
517
  msgid "Toggle navigation arrows."
518
  msgstr ""
519
 
520
- #: ../responsive-lightbox.php:1150
521
  msgid "If true, FancyBox is scaled to fit in viewport."
522
  msgstr ""
523
 
524
- #: ../responsive-lightbox.php:1168
525
  msgid "Set the overflow CSS property to create or hide scrollbars."
526
  msgstr ""
527
 
528
- #: ../responsive-lightbox.php:1186
529
  msgid "When true, FancyBox is centered while scrolling page."
530
  msgstr ""
531
 
532
- #: ../responsive-lightbox.php:1204
533
  msgid "When true, transparency of content is changed for elastic transitions."
534
  msgstr ""
535
 
536
- #: ../responsive-lightbox.php:1217
537
  msgid "Opacity of the overlay."
538
  msgstr ""
539
 
540
- #: ../responsive-lightbox.php:1227
541
  msgid "Color of the overlay."
542
  msgstr ""
543
 
544
- #: ../responsive-lightbox.php:1245
545
  msgid "Toggle title."
546
  msgstr ""
547
 
548
- #: ../responsive-lightbox.php:1263
549
  msgid "The position of title."
550
  msgstr ""
551
 
552
- #: ../responsive-lightbox.php:1281
553
  msgid "Easing used for elastic animations."
554
  msgstr ""
555
 
556
- #: ../responsive-lightbox.php:1291
557
  msgid "Speed of the fade and elastic transitions, in milliseconds."
558
  msgstr ""
559
 
560
- #: ../responsive-lightbox.php:1301
561
  msgid "Speed of resizing when changing gallery items, in milliseconds."
562
  msgstr ""
563
 
564
- #: ../responsive-lightbox.php:1311
565
  msgid "Speed of the content fading while changing gallery items."
566
  msgstr ""
567
 
568
- #: ../responsive-lightbox.php:1321
569
  msgid "Width of the video."
570
  msgstr ""
571
 
572
- #: ../responsive-lightbox.php:1331
573
  msgid "Height of the video."
574
  msgstr ""
575
 
576
- #: ../responsive-lightbox.php:1510
577
  msgid ""
578
  "Changes were not saved because there was attempt to save settings of "
579
  "inactive script. The site has been reloaded to the proper script settings."
580
  msgstr ""
581
 
582
- #: ../responsive-lightbox.php:1522
583
  msgid "Settings of SwipeBox script were restored to defaults."
584
  msgstr ""
585
 
586
- #: ../responsive-lightbox.php:1528
587
  msgid "Settings of prettyPhoto script were restored to defaults."
588
  msgstr ""
589
 
590
- #: ../responsive-lightbox.php:1534
591
  msgid "Settings of FancyBox script were restored to defaults."
592
  msgstr ""
593
 
594
- #: ../responsive-lightbox.php:1538
595
  msgid ""
596
  "Changes were not set to defaults because there was attempt to reset settings "
597
  "of inactive script. The site has been reloaded to the proper script settings."
598
  msgstr ""
599
 
600
- #: ../responsive-lightbox.php:1552 ../responsive-lightbox.php:1553
601
- #: ../responsive-lightbox.php:1567 ../responsive-lightbox.php:1599
602
  msgid "Responsive Lightbox"
603
  msgstr ""
604
 
605
- #: ../responsive-lightbox.php:1592
606
  msgid "Reset to defaults"
607
  msgstr ""
608
 
609
- #: ../responsive-lightbox.php:1601
610
  msgid "Need support?"
611
  msgstr ""
612
 
613
- #: ../responsive-lightbox.php:1602
614
  msgid ""
615
  "If you are having problems with this plugin, please talk about them in the"
616
  msgstr ""
617
 
618
- #: ../responsive-lightbox.php:1602
619
  msgid "Support forum"
620
  msgstr ""
621
 
622
- #: ../responsive-lightbox.php:1604
623
  msgid "Do you like this plugin?"
624
  msgstr ""
625
 
626
- #: ../responsive-lightbox.php:1605
627
  msgid "Rate it 5"
628
  msgstr ""
629
 
630
- #: ../responsive-lightbox.php:1605
631
  msgid "on WordPress.org"
632
  msgstr ""
633
 
634
- #: ../responsive-lightbox.php:1606
635
  msgid "Blog about it & link to the"
636
  msgstr ""
637
 
638
- #: ../responsive-lightbox.php:1606
639
  msgid "plugin page"
640
  msgstr ""
641
 
642
- #: ../responsive-lightbox.php:1607
643
  msgid "Check out our other"
644
  msgstr ""
645
 
646
- #: ../responsive-lightbox.php:1607
647
  msgid "WordPress plugins"
648
  msgstr ""
649
 
650
- #: ../responsive-lightbox.php:1634
651
  msgid "Are you sure you want to reset scripts settings to defaults?"
652
  msgstr ""
653
 
654
- #: ../responsive-lightbox.php:1831
655
  msgid "Support"
656
  msgstr ""
657
 
658
- #: ../responsive-lightbox.php:1853
659
  msgid "Settings"
660
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Responsive Lightbox\n"
4
+ "POT-Creation-Date: 2013-10-15 11:32+0100\n"
5
+ "PO-Revision-Date: 2013-10-15 11:32+0100\n"
6
  "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
7
  "Language-Team: dFactory <info@dfactory.eu>\n"
8
  "Language: English\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
+ #: ../responsive-lightbox.php:267
19
  msgid "prettyPhoto"
20
  msgstr ""
21
 
22
+ #: ../responsive-lightbox.php:269
23
  msgid "slow"
24
  msgstr ""
25
 
26
+ #: ../responsive-lightbox.php:270
27
  msgid "normal"
28
  msgstr ""
29
 
30
+ #: ../responsive-lightbox.php:271
31
  msgid "fast"
32
  msgstr ""
33
 
34
+ #: ../responsive-lightbox.php:274
35
  msgid "default"
36
  msgstr ""
37
 
38
+ #: ../responsive-lightbox.php:275
39
  msgid "light rounded"
40
  msgstr ""
41
 
42
+ #: ../responsive-lightbox.php:276
43
  msgid "dark rounded"
44
  msgstr ""
45
 
46
+ #: ../responsive-lightbox.php:277
47
  msgid "light square"
48
  msgstr ""
49
 
50
+ #: ../responsive-lightbox.php:278
51
  msgid "dark square"
52
  msgstr ""
53
 
54
+ #: ../responsive-lightbox.php:279
55
  msgid "facebook"
56
  msgstr ""
57
 
58
+ #: ../responsive-lightbox.php:282
59
  msgid "window"
60
  msgstr ""
61
 
62
+ #: ../responsive-lightbox.php:283
63
  msgid "transparent"
64
  msgstr ""
65
 
66
+ #: ../responsive-lightbox.php:284
67
  msgid "opaque"
68
  msgstr ""
69
 
70
+ #: ../responsive-lightbox.php:285
71
  msgid "direct"
72
  msgstr ""
73
 
74
+ #: ../responsive-lightbox.php:286
75
  msgid "gpu"
76
  msgstr ""
77
 
78
+ #: ../responsive-lightbox.php:291
79
  msgid "SwipeBox"
80
  msgstr ""
81
 
82
+ #: ../responsive-lightbox.php:293
83
  msgid "CSS"
84
  msgstr ""
85
 
86
+ #: ../responsive-lightbox.php:294
87
  msgid "jQuery"
88
  msgstr ""
89
 
90
+ #: ../responsive-lightbox.php:298
91
  msgid "FancyBox"
92
  msgstr ""
93
 
94
+ #: ../responsive-lightbox.php:300
95
  msgid "elastic"
96
  msgstr ""
97
 
98
+ #: ../responsive-lightbox.php:301
99
  msgid "fade"
100
  msgstr ""
101
 
102
+ #: ../responsive-lightbox.php:302
103
  msgid "none"
104
  msgstr ""
105
 
106
+ #: ../responsive-lightbox.php:305
107
  msgid "auto"
108
  msgstr ""
109
 
110
+ #: ../responsive-lightbox.php:306
111
  msgid "yes"
112
  msgstr ""
113
 
114
+ #: ../responsive-lightbox.php:307
115
  msgid "no"
116
  msgstr ""
117
 
118
+ #: ../responsive-lightbox.php:310
119
  msgid "swing"
120
  msgstr ""
121
 
122
+ #: ../responsive-lightbox.php:311
123
  msgid "linear"
124
  msgstr ""
125
 
126
+ #: ../responsive-lightbox.php:314
127
  msgid "outside"
128
  msgstr ""
129
 
130
+ #: ../responsive-lightbox.php:315
131
  msgid "inside"
132
  msgstr ""
133
 
134
+ #: ../responsive-lightbox.php:316
135
  msgid "over"
136
  msgstr ""
137
 
138
+ #: ../responsive-lightbox.php:322
139
  msgid "Enable"
140
  msgstr ""
141
 
142
+ #: ../responsive-lightbox.php:323
143
  msgid "Disable"
144
  msgstr ""
145
 
146
+ #: ../responsive-lightbox.php:328 ../responsive-lightbox.php:428
147
  msgid "General settings"
148
  msgstr ""
149
 
150
+ #: ../responsive-lightbox.php:333 ../responsive-lightbox.php:439
151
  msgid "Lightbox settings"
152
  msgstr ""
153
 
154
+ #: ../responsive-lightbox.php:429
155
  msgid "Lightbox script"
156
  msgstr ""
157
 
158
+ #: ../responsive-lightbox.php:430
159
  msgid "Selector"
160
  msgstr ""
161
 
162
+ #: ../responsive-lightbox.php:431
163
  msgid "Galleries"
164
  msgstr ""
165
 
166
+ #: ../responsive-lightbox.php:432
167
  msgid "Video links"
168
  msgstr ""
169
 
170
+ #: ../responsive-lightbox.php:433
171
  msgid "Image links"
172
  msgstr ""
173
 
174
+ #: ../responsive-lightbox.php:434
175
  msgid "Single images as gallery"
176
  msgstr ""
177
 
178
+ #: ../responsive-lightbox.php:435
179
  msgid "Deactivation"
180
  msgstr ""
181
 
182
+ #: ../responsive-lightbox.php:443
183
  msgid "Animation type"
184
  msgstr ""
185
 
186
+ #: ../responsive-lightbox.php:444
187
+ msgid "Force PNG icons"
188
+ msgstr ""
189
+
190
+ #: ../responsive-lightbox.php:445
191
  msgid "Top and bottom bars"
192
  msgstr ""
193
 
194
+ #: ../responsive-lightbox.php:446
195
  msgid "Video max width"
196
  msgstr ""
197
 
198
+ #: ../responsive-lightbox.php:450
199
  msgid "Animation speed"
200
  msgstr ""
201
 
202
+ #: ../responsive-lightbox.php:451
203
  msgid "Slideshow"
204
  msgstr ""
205
 
206
+ #: ../responsive-lightbox.php:452
207
  msgid "Slideshow autoplay"
208
  msgstr ""
209
 
210
+ #: ../responsive-lightbox.php:453 ../responsive-lightbox.php:482
211
  msgid "Opacity"
212
  msgstr ""
213
 
214
+ #: ../responsive-lightbox.php:454
215
  msgid "Show title"
216
  msgstr ""
217
 
218
+ #: ../responsive-lightbox.php:455
219
  msgid "Allow resize big images"
220
  msgstr ""
221
 
222
+ #: ../responsive-lightbox.php:456 ../responsive-lightbox.php:494
223
  msgid "Video width"
224
  msgstr ""
225
 
226
+ #: ../responsive-lightbox.php:457 ../responsive-lightbox.php:495
227
  msgid "Video height"
228
  msgstr ""
229
 
230
+ #: ../responsive-lightbox.php:458
231
  msgid "Theme"
232
  msgstr ""
233
 
234
+ #: ../responsive-lightbox.php:459
235
  msgid "Horizontal padding"
236
  msgstr ""
237
 
238
+ #: ../responsive-lightbox.php:460
239
  msgid "Hide Flash"
240
  msgstr ""
241
 
242
+ #: ../responsive-lightbox.php:461
243
  msgid "Flash Window Mode (wmode)"
244
  msgstr ""
245
 
246
+ #: ../responsive-lightbox.php:462
247
  msgid "Video autoplay"
248
  msgstr ""
249
 
250
+ #: ../responsive-lightbox.php:463 ../responsive-lightbox.php:471
251
  msgid "Modal"
252
  msgstr ""
253
 
254
+ #: ../responsive-lightbox.php:464
255
  msgid "Deeplinking"
256
  msgstr ""
257
 
258
+ #: ../responsive-lightbox.php:465
259
  msgid "Overlay gallery"
260
  msgstr ""
261
 
262
+ #: ../responsive-lightbox.php:466
263
  msgid "Keyboard shortcuts"
264
  msgstr ""
265
 
266
+ #: ../responsive-lightbox.php:467
267
  msgid "Social (Twitter, Facebook)"
268
  msgstr ""
269
 
270
+ #: ../responsive-lightbox.php:472
271
  msgid "Show overlay"
272
  msgstr ""
273
 
274
+ #: ../responsive-lightbox.php:473
275
  msgid "Show close button"
276
  msgstr ""
277
 
278
+ #: ../responsive-lightbox.php:474
279
  msgid "Enable escape button"
280
  msgstr ""
281
 
282
+ #: ../responsive-lightbox.php:475
283
  msgid "Hide on overlay click"
284
  msgstr ""
285
 
286
+ #: ../responsive-lightbox.php:476
287
  msgid "Hide on content click"
288
  msgstr ""
289
 
290
+ #: ../responsive-lightbox.php:477
291
  msgid "Cyclic"
292
  msgstr ""
293
 
294
+ #: ../responsive-lightbox.php:478
295
  msgid "Show nav arrows"
296
  msgstr ""
297
 
298
+ #: ../responsive-lightbox.php:479
299
  msgid "Auto scale"
300
  msgstr ""
301
 
302
+ #: ../responsive-lightbox.php:480
303
  msgid "Scrolling (in/out)"
304
  msgstr ""
305
 
306
+ #: ../responsive-lightbox.php:481
307
  msgid "Center on scroll"
308
  msgstr ""
309
 
310
+ #: ../responsive-lightbox.php:483
311
  msgid "Overlay opacity"
312
  msgstr ""
313
 
314
+ #: ../responsive-lightbox.php:484
315
  msgid "Overlay color"
316
  msgstr ""
317
 
318
+ #: ../responsive-lightbox.php:485
319
  msgid "Title show"
320
  msgstr ""
321
 
322
+ #: ../responsive-lightbox.php:486
323
  msgid "Title position"
324
  msgstr ""
325
 
326
+ #: ../responsive-lightbox.php:487
327
  msgid "Transition (in/out)"
328
  msgstr ""
329
 
330
+ #: ../responsive-lightbox.php:488
331
  msgid "Easings (in/out)"
332
  msgstr ""
333
 
334
+ #: ../responsive-lightbox.php:489
335
  msgid "Speed (in/out)"
336
  msgstr ""
337
 
338
+ #: ../responsive-lightbox.php:490
339
  msgid "Change speed"
340
  msgstr ""
341
 
342
+ #: ../responsive-lightbox.php:491
343
  msgid "Change fade"
344
  msgstr ""
345
 
346
+ #: ../responsive-lightbox.php:492
347
  msgid "Padding"
348
  msgstr ""
349
 
350
+ #: ../responsive-lightbox.php:493
351
  msgid "Margin"
352
  msgstr ""
353
 
354
+ #: ../responsive-lightbox.php:513
355
  msgid "Select your preffered ligthbox effect script."
356
  msgstr ""
357
 
358
+ #: ../responsive-lightbox.php:523
359
  msgid "Select to which rel selector lightbox effect will be applied to."
360
  msgstr ""
361
 
362
+ #: ../responsive-lightbox.php:541
363
  msgid "Add lightbox to WordPress image galleries by default."
364
  msgstr ""
365
 
366
+ #: ../responsive-lightbox.php:559
367
  msgid "Add lightbox to YouTube and Vimeo video links by default."
368
  msgstr ""
369
 
370
+ #: ../responsive-lightbox.php:577
371
  msgid "Add lightbox to WordPress image links by default."
372
  msgstr ""
373
 
374
+ #: ../responsive-lightbox.php:595
375
  msgid "Display single post images as a gallery."
376
  msgstr ""
377
 
378
+ #: ../responsive-lightbox.php:613
379
  msgid "Delete settings on plugin deactivation."
380
  msgstr ""
381
 
382
+ #: ../responsive-lightbox.php:631
383
  msgid "Select a method of applying a lightbox effect."
384
  msgstr ""
385
 
386
+ #: ../responsive-lightbox.php:649
387
  msgid ""
388
  "Disable if you don't want to top and bottom bars to be hidden after a period "
389
  "of time."
390
  msgstr ""
391
 
392
+ #: ../responsive-lightbox.php:652
393
  msgid ""
394
  "Enter the time after which the top and bottom bars will be hidden (when "
395
  "hiding is enabled)."
396
  msgstr ""
397
 
398
+ #: ../responsive-lightbox.php:663
399
  msgid "Enter the max video width in a lightbox."
400
  msgstr ""
401
 
402
+ #: ../responsive-lightbox.php:681
403
+ msgid ""
404
+ "Enable this if you're having problems with navigation icons not visible on "
405
+ "some devices."
406
+ msgstr ""
407
+
408
+ #: ../responsive-lightbox.php:699
409
  msgid "Select animation speed for lightbox effect."
410
  msgstr ""
411
 
412
+ #: ../responsive-lightbox.php:717
413
  msgid "Display images as slideshow."
414
  msgstr ""
415
 
416
+ #: ../responsive-lightbox.php:720
417
  msgid "Enter time (in miliseconds)."
418
  msgstr ""
419
 
420
+ #: ../responsive-lightbox.php:739
421
  msgid "Automatically start slideshow."
422
  msgstr ""
423
 
424
+ #: ../responsive-lightbox.php:752
425
  msgid "Value between 0 and 100, 100 for no opacity."
426
  msgstr ""
427
 
428
+ #: ../responsive-lightbox.php:770
429
  msgid "Display image tiltle."
430
  msgstr ""
431
 
432
+ #: ../responsive-lightbox.php:788
433
  msgid "Resize the photos bigger than viewport."
434
  msgstr ""
435
 
436
+ #: ../responsive-lightbox.php:798 ../responsive-lightbox.php:808
437
  msgid "in pixels"
438
  msgstr ""
439
 
440
+ #: ../responsive-lightbox.php:826
441
  msgid "Select theme for lightbox effect."
442
  msgstr ""
443
 
444
+ #: ../responsive-lightbox.php:836
445
  msgid "Horizontal padding (in pixels)."
446
  msgstr ""
447
 
448
+ #: ../responsive-lightbox.php:854
449
  msgid ""
450
  "Hides all the flash object on a page. Enable this if flash appears over "
451
  "prettyPhoto."
452
  msgstr ""
453
 
454
+ #: ../responsive-lightbox.php:872
455
  msgid "Select flash window mode."
456
  msgstr ""
457
 
458
+ #: ../responsive-lightbox.php:890
459
  msgid "Automatically start videos."
460
  msgstr ""
461
 
462
+ #: ../responsive-lightbox.php:908
463
  msgid "If set to true, only the close button will close the window."
464
  msgstr ""
465
 
466
+ #: ../responsive-lightbox.php:926
467
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
468
  msgstr ""
469
 
470
+ #: ../responsive-lightbox.php:944
471
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
472
  msgstr ""
473
 
474
+ #: ../responsive-lightbox.php:962
475
  msgid "Set to false if you open forms inside prettyPhoto."
476
  msgstr ""
477
 
478
+ #: ../responsive-lightbox.php:980
479
  msgid "Display links to Facebook and Twitter."
480
  msgstr ""
481
 
482
+ #: ../responsive-lightbox.php:998
483
  msgid "The transition type."
484
  msgstr ""
485
 
486
+ #: ../responsive-lightbox.php:1008
487
  msgid "Space between FancyBox wrapper and content."
488
  msgstr ""
489
 
490
+ #: ../responsive-lightbox.php:1018
491
  msgid "Space between viewport and FancyBox wrapper."
492
  msgstr ""
493
 
494
+ #: ../responsive-lightbox.php:1036
495
  msgid ""
496
  "When true, \"overlayShow\" is set to TRUE and \"hideOnOverlayClick\", "
497
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
498
  "to FALSE."
499
  msgstr ""
500
 
501
+ #: ../responsive-lightbox.php:1054
502
  msgid "Toggle overlay."
503
  msgstr ""
504
 
505
+ #: ../responsive-lightbox.php:1072
506
  msgid "Toggle close button."
507
  msgstr ""
508
 
509
+ #: ../responsive-lightbox.php:1090
510
  msgid "Toggle if pressing Esc button closes FancyBox."
511
  msgstr ""
512
 
513
+ #: ../responsive-lightbox.php:1108
514
  msgid "Toggle if clicking the overlay should close FancyBox."
515
  msgstr ""
516
 
517
+ #: ../responsive-lightbox.php:1126
518
  msgid "Toggle if clicking the content should close FancyBox."
519
  msgstr ""
520
 
521
+ #: ../responsive-lightbox.php:1144
522
  msgid ""
523
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
524
  msgstr ""
525
 
526
+ #: ../responsive-lightbox.php:1162
527
  msgid "Toggle navigation arrows."
528
  msgstr ""
529
 
530
+ #: ../responsive-lightbox.php:1180
531
  msgid "If true, FancyBox is scaled to fit in viewport."
532
  msgstr ""
533
 
534
+ #: ../responsive-lightbox.php:1198
535
  msgid "Set the overflow CSS property to create or hide scrollbars."
536
  msgstr ""
537
 
538
+ #: ../responsive-lightbox.php:1216
539
  msgid "When true, FancyBox is centered while scrolling page."
540
  msgstr ""
541
 
542
+ #: ../responsive-lightbox.php:1234
543
  msgid "When true, transparency of content is changed for elastic transitions."
544
  msgstr ""
545
 
546
+ #: ../responsive-lightbox.php:1247
547
  msgid "Opacity of the overlay."
548
  msgstr ""
549
 
550
+ #: ../responsive-lightbox.php:1257
551
  msgid "Color of the overlay."
552
  msgstr ""
553
 
554
+ #: ../responsive-lightbox.php:1275
555
  msgid "Toggle title."
556
  msgstr ""
557
 
558
+ #: ../responsive-lightbox.php:1293
559
  msgid "The position of title."
560
  msgstr ""
561
 
562
+ #: ../responsive-lightbox.php:1311
563
  msgid "Easing used for elastic animations."
564
  msgstr ""
565
 
566
+ #: ../responsive-lightbox.php:1321
567
  msgid "Speed of the fade and elastic transitions, in milliseconds."
568
  msgstr ""
569
 
570
+ #: ../responsive-lightbox.php:1331
571
  msgid "Speed of resizing when changing gallery items, in milliseconds."
572
  msgstr ""
573
 
574
+ #: ../responsive-lightbox.php:1341
575
  msgid "Speed of the content fading while changing gallery items."
576
  msgstr ""
577
 
578
+ #: ../responsive-lightbox.php:1351
579
  msgid "Width of the video."
580
  msgstr ""
581
 
582
+ #: ../responsive-lightbox.php:1361
583
  msgid "Height of the video."
584
  msgstr ""
585
 
586
+ #: ../responsive-lightbox.php:1545
587
  msgid ""
588
  "Changes were not saved because there was attempt to save settings of "
589
  "inactive script. The site has been reloaded to the proper script settings."
590
  msgstr ""
591
 
592
+ #: ../responsive-lightbox.php:1557
593
  msgid "Settings of SwipeBox script were restored to defaults."
594
  msgstr ""
595
 
596
+ #: ../responsive-lightbox.php:1563
597
  msgid "Settings of prettyPhoto script were restored to defaults."
598
  msgstr ""
599
 
600
+ #: ../responsive-lightbox.php:1569
601
  msgid "Settings of FancyBox script were restored to defaults."
602
  msgstr ""
603
 
604
+ #: ../responsive-lightbox.php:1573
605
  msgid ""
606
  "Changes were not set to defaults because there was attempt to reset settings "
607
  "of inactive script. The site has been reloaded to the proper script settings."
608
  msgstr ""
609
 
610
+ #: ../responsive-lightbox.php:1587 ../responsive-lightbox.php:1588
611
+ #: ../responsive-lightbox.php:1602 ../responsive-lightbox.php:1634
612
  msgid "Responsive Lightbox"
613
  msgstr ""
614
 
615
+ #: ../responsive-lightbox.php:1627
616
  msgid "Reset to defaults"
617
  msgstr ""
618
 
619
+ #: ../responsive-lightbox.php:1636
620
  msgid "Need support?"
621
  msgstr ""
622
 
623
+ #: ../responsive-lightbox.php:1637
624
  msgid ""
625
  "If you are having problems with this plugin, please talk about them in the"
626
  msgstr ""
627
 
628
+ #: ../responsive-lightbox.php:1637
629
  msgid "Support forum"
630
  msgstr ""
631
 
632
+ #: ../responsive-lightbox.php:1639
633
  msgid "Do you like this plugin?"
634
  msgstr ""
635
 
636
+ #: ../responsive-lightbox.php:1640
637
  msgid "Rate it 5"
638
  msgstr ""
639
 
640
+ #: ../responsive-lightbox.php:1640
641
  msgid "on WordPress.org"
642
  msgstr ""
643
 
644
+ #: ../responsive-lightbox.php:1641
645
  msgid "Blog about it & link to the"
646
  msgstr ""
647
 
648
+ #: ../responsive-lightbox.php:1641
649
  msgid "plugin page"
650
  msgstr ""
651
 
652
+ #: ../responsive-lightbox.php:1642
653
  msgid "Check out our other"
654
  msgstr ""
655
 
656
+ #: ../responsive-lightbox.php:1642
657
  msgid "WordPress plugins"
658
  msgstr ""
659
 
660
+ #: ../responsive-lightbox.php:1669
661
  msgid "Are you sure you want to reset scripts settings to defaults?"
662
  msgstr ""
663
 
664
+ #: ../responsive-lightbox.php:1882
665
  msgid "Support"
666
  msgstr ""
667
 
668
+ #: ../responsive-lightbox.php:1904
669
  msgid "Settings"
670
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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.6.1
7
- Stable tag: 1.2.1
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -18,7 +18,7 @@ For more information, check out plugin page at [dFactory](http://www.dfactory.eu
18
 
19
  = Features include: =
20
 
21
- * Select from 3 responsive lightbox scripts
22
  * Automatically add lightbox to WordPress image galleries
23
  * Automatically add lightbox to WordPress image links
24
  * Automatically add lightbox to WordPress video links (YouTube, Vimeo)
@@ -54,6 +54,9 @@ No questions yet.
54
 
55
  == Changelog ==
56
 
 
 
 
57
 
58
  = 1.2.1 =
59
  * New: Support for images loaded via AJAX
@@ -99,6 +102,6 @@ Initial release
99
 
100
  == Upgrade Notice ==
101
 
102
- = 1.2.1 =
103
- * New: Support for images loaded via AJAX
104
- * Tweak: Updated Japanese translation
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.6.1
7
+ Stable tag: 1.2.2
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
18
 
19
  = Features include: =
20
 
21
+ * Select from 3 responsive lightbox scripts (SwipeBox, prettyPhoto, FancyBox)
22
  * Automatically add lightbox to WordPress image galleries
23
  * Automatically add lightbox to WordPress image links
24
  * Automatically add lightbox to WordPress video links (YouTube, Vimeo)
54
 
55
  == Changelog ==
56
 
57
+ = 1.2.2 =
58
+ * New: Option to force PNG icons in case of display problems
59
+ * Fix: Bug with video width not working in SwipeBox
60
 
61
  = 1.2.1 =
62
  * New: Support for images loaded via AJAX
102
 
103
  == Upgrade Notice ==
104
 
105
+ = 1.2.2 =
106
+ * New: Option to force PNG icons in case of display problems
107
+ * Fix: Bug with video width not working in SwipeBox
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.2.1
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
@@ -57,6 +57,7 @@ class Responsive_Lightbox
57
  ),
58
  'swipebox' => array(
59
  'animation' => 'css',
 
60
  'hide_bars' => TRUE,
61
  'hide_bars_delay' => 5000,
62
  'video_max_width' => 1080
@@ -89,7 +90,7 @@ class Responsive_Lightbox
89
  'video_height' => 720
90
  )
91
  ),
92
- 'version' => '1.2.1'
93
  );
94
  private $scripts = array();
95
  private $options = array();
@@ -118,23 +119,28 @@ class Responsive_Lightbox
118
  update_option('responsive_lightbox_configuration', $array);
119
  delete_option('rl_configuration');
120
  }
121
-
122
- update_option('responsive_lightbox_version', $this->defaults['version']);
123
  }
124
 
125
- if(version_compare(($db_version === FALSE ? '1.0.0' : $db_version), '1.2.0', '<'))
126
- update_option('responsive_lightbox_version', $this->defaults['version']);
127
 
128
  $this->options['settings'] = array_merge($this->defaults['settings'], (($array = get_option('responsive_lightbox_settings')) === FALSE ? array() : $array));
129
- $this->options['configuration'] = array_merge($this->defaults['configuration'], (($array = get_option('responsive_lightbox_configuration')) === FALSE ? array() : $array));
 
 
 
 
 
 
 
130
 
131
  //actions
132
  add_action('plugins_loaded', array(&$this, 'load_textdomain'));
133
  add_action('plugins_loaded', array(&$this, 'load_defaults'));
134
  add_action('admin_init', array(&$this, 'register_settings'));
135
  add_action('admin_menu', array(&$this, 'admin_menu_options'));
136
- add_action('wp_enqueue_scripts', array(&$this, 'front_comments_scripts_styles'));
137
- add_action('admin_enqueue_scripts', array(&$this, 'admin_comments_scripts_styles'));
138
 
139
  //filters
140
  add_filter('plugin_action_links', array(&$this, 'plugin_settings_link'), 10, 2);
@@ -434,9 +440,10 @@ class Responsive_Lightbox
434
 
435
  if($this->options['settings']['script'] === 'swipebox')
436
  {
437
- add_settings_field('rl_sw_animation', __('Animation type', 'responsive-lightbox'), array(&$this, 'rl_sw_animation'), 'responsive_lightbox_configuration', 'responsive_lightbox_configuration');
438
- add_settings_field('rl_sw_hide_bars', __('Top and bottom bars', 'responsive-lightbox'), array(&$this, 'rl_sw_hide_bars'), 'responsive_lightbox_configuration', 'responsive_lightbox_configuration');
439
- add_settings_field('rl_sw_video_max_width', __('Video max width', 'responsive-lightbox'), array(&$this, 'rl_sw_video_max_width'), 'responsive_lightbox_configuration', 'responsive_lightbox_configuration');
 
440
  }
441
  elseif($this->options['settings']['script'] === 'prettyphoto')
442
  {
@@ -608,16 +615,16 @@ class Responsive_Lightbox
608
  }
609
 
610
 
611
- public function rl_sw_animation()
612
  {
613
  echo '
614
- <div id="rl_sw_animation" class="wplikebtns">';
615
 
616
  foreach($this->scripts['swipebox']['animations'] as $val => $trans)
617
  {
618
  echo '
619
- <input id="rl-sw-animation-'.$val.'" type="radio" name="responsive_lightbox_configuration[swipebox][animation]" value="'.esc_attr($val).'" '.checked($val, $this->options['configuration']['swipebox']['animation'], FALSE).' />
620
- <label for="rl-sw-animation-'.$val.'">'.$trans.'</label>';
621
  }
622
 
623
  echo '
@@ -626,21 +633,21 @@ class Responsive_Lightbox
626
  }
627
 
628
 
629
- public function rl_sw_hide_bars()
630
  {
631
  echo '
632
- <div id="rl_sw_hide_bars" class="wplikebtns">';
633
 
634
  foreach($this->choices as $val => $trans)
635
  {
636
  echo '
637
- <input id="rl-sw-hide-bars-'.$val.'" type="radio" name="responsive_lightbox_configuration[swipebox][hide_bars]" value="'.esc_attr($val).'" '.checked(($val === 'yes' ? TRUE : FALSE), $this->options['configuration']['swipebox']['hide_bars'], FALSE).' />
638
- <label for="rl-sw-hide-bars-'.$val.'">'.$trans.'</label>';
639
  }
640
 
641
  echo '
642
  <p class="description">'.__('Disable if you don\'t want to top and bottom bars to be hidden after a period of time.', 'responsive-lightbox').'</p>
643
- <div id="rl_sw_hide_bars_delay"'.($this->options['configuration']['swipebox']['hide_bars'] === FALSE ? ' style="display: none;"' : '').'>
644
  <input type="text" name="responsive_lightbox_configuration[swipebox][hide_bars_delay]" value="'.esc_attr($this->options['configuration']['swipebox']['hide_bars_delay']).'" />
645
  <p class="description">'.__('Enter the time after which the top and bottom bars will be hidden (when hiding is enabled).', 'responsive-lightbox').'</p>
646
  </div>
@@ -648,16 +655,34 @@ class Responsive_Lightbox
648
  }
649
 
650
 
651
- public function rl_sw_video_max_width()
652
  {
653
  echo '
654
- <div id="rl_sw_video_max_width">
655
  <input type="text" name="responsive_lightbox_configuration[swipebox][video_max_width]" value="'.esc_attr($this->options['configuration']['swipebox']['video_max_width']).'" />
656
  <p class="description">'.__('Enter the max video width in a lightbox.', 'responsive-lightbox').'</p>
657
  </div>';
658
  }
659
 
660
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
661
  public function rl_pp_animation_speed()
662
  {
663
  echo '
@@ -1365,9 +1390,14 @@ class Responsive_Lightbox
1365
  //animation
1366
  $input['swipebox']['animation'] = (isset($input['swipebox']['animation']) && in_array($input['swipebox']['animation'], array_keys($this->scripts['swipebox']['animations'])) ? $input['swipebox']['animation'] : $this->defaults['configuration']['swipebox']['animation']);
1367
 
1368
- //hide bars
 
 
 
1369
  $input['swipebox']['hide_bars'] = (isset($input['swipebox']['hide_bars']) && in_array($input['swipebox']['hide_bars'], array_keys($this->choices)) ? ($input['swipebox']['hide_bars'] === 'yes' ? TRUE : FALSE) : $this->defaults['configuration']['swipebox']['hide_bars']);
1370
  $input['swipebox']['hide_bars_delay'] = (int)($input['swipebox']['hide_bars_delay'] > 0 ? $input['swipebox']['hide_bars_delay'] : $this->defaults['configuration']['swipebox']['hide_bars_delay']);
 
 
1371
  $input['swipebox']['video_max_width'] = (int)($input['swipebox']['video_max_width'] > 0 ? $input['swipebox']['video_max_width'] : $this->defaults['configuration']['swipebox']['video_max_width']);
1372
  }
1373
  elseif($this->options['settings']['script'] === 'prettyphoto' && $_POST['script_r'] === 'prettyphoto')
@@ -1553,7 +1583,7 @@ class Responsive_Lightbox
1553
 
1554
  public function admin_menu_options()
1555
  {
1556
- $watermark_settings_page = add_options_page(
1557
  __('Responsive Lightbox', 'responsive-lightbox'),
1558
  __('Responsive Lightbox', 'responsive-lightbox'),
1559
  'manage_options',
@@ -1601,7 +1631,7 @@ class Responsive_Lightbox
1601
  </form>
1602
  </div>
1603
  <div class="df-credits postbox-container">
1604
- <h3 class="metabox-title">'.__('Responsive Lightbox', 'responsive-lightbox').'</h3>
1605
  <div class="inner">
1606
  <h3>'.__('Need support?', 'responsive-lightbox').'</h3>
1607
  <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>
@@ -1620,7 +1650,7 @@ class Responsive_Lightbox
1620
  }
1621
 
1622
 
1623
- public function admin_comments_scripts_styles($page)
1624
  {
1625
  if($page === 'settings_page_responsive-lightbox')
1626
  {
@@ -1661,7 +1691,7 @@ class Responsive_Lightbox
1661
  }
1662
 
1663
 
1664
- public function front_comments_scripts_styles()
1665
  {
1666
  $args = array(
1667
  'script' => $this->options['settings']['script'],
@@ -1732,12 +1762,20 @@ class Responsive_Lightbox
1732
  $args = array_merge(
1733
  $args,
1734
  array(
1735
- 'animation' => ($this->options['configuration']['swipebox']['animation'] === 'css' ? TRUE : FALSE),
1736
  'hideBars' => $this->getBooleanValue($this->options['configuration']['swipebox']['hide_bars']),
1737
  'hideBarsDelay' => $this->options['configuration']['swipebox']['hide_bars_delay'],
1738
  'videoMaxWidth' => $this->options['configuration']['swipebox']['video_max_width']
1739
  )
1740
  );
 
 
 
 
 
 
 
 
1741
  }
1742
  elseif($this->options['settings']['script'] === 'fancybox')
1743
  {
@@ -1796,6 +1834,11 @@ class Responsive_Lightbox
1796
 
1797
  wp_enqueue_script('responsive-lightbox-front');
1798
 
 
 
 
 
 
1799
  wp_localize_script(
1800
  'responsive-lightbox-front',
1801
  'rlArgs',
@@ -1804,6 +1847,9 @@ class Responsive_Lightbox
1804
  }
1805
 
1806
 
 
 
 
1807
  private function getBooleanValue($option)
1808
  {
1809
  return ($option === TRUE ? 1 : 0);
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.2.2
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
57
  ),
58
  'swipebox' => array(
59
  'animation' => 'css',
60
+ 'force_png_icons' => FALSE,
61
  'hide_bars' => TRUE,
62
  'hide_bars_delay' => 5000,
63
  'video_max_width' => 1080
90
  'video_height' => 720
91
  )
92
  ),
93
+ 'version' => '1.2.2'
94
  );
95
  private $scripts = array();
96
  private $options = array();
119
  update_option('responsive_lightbox_configuration', $array);
120
  delete_option('rl_configuration');
121
  }
 
 
122
  }
123
 
124
+ //update plugin version
125
+ update_option('responsive_lightbox_version', $this->defaults['version'], '', 'no');
126
 
127
  $this->options['settings'] = array_merge($this->defaults['settings'], (($array = get_option('responsive_lightbox_settings')) === FALSE ? array() : $array));
128
+
129
+ //for multi arrays we have to merge them separately
130
+ $db_conf_opts = (($base = get_option('responsive_lightbox_configuration')) === FALSE ? array() : $base);
131
+
132
+ foreach($this->defaults['configuration'] as $script => $settings)
133
+ {
134
+ $this->options['configuration'][$script] = array_merge($settings, (isset($db_conf_opts[$script]) ? $db_conf_opts[$script] : array()));
135
+ }
136
 
137
  //actions
138
  add_action('plugins_loaded', array(&$this, 'load_textdomain'));
139
  add_action('plugins_loaded', array(&$this, 'load_defaults'));
140
  add_action('admin_init', array(&$this, 'register_settings'));
141
  add_action('admin_menu', array(&$this, 'admin_menu_options'));
142
+ add_action('wp_enqueue_scripts', array(&$this, 'front_scripts_styles'));
143
+ add_action('admin_enqueue_scripts', array(&$this, 'admin_scripts_styles'));
144
 
145
  //filters
146
  add_filter('plugin_action_links', array(&$this, 'plugin_settings_link'), 10, 2);
440
 
441
  if($this->options['settings']['script'] === 'swipebox')
442
  {
443
+ add_settings_field('rl_sb_animation', __('Animation type', 'responsive-lightbox'), array(&$this, 'rl_sb_animation'), 'responsive_lightbox_configuration', 'responsive_lightbox_configuration');
444
+ add_settings_field('rl_sb_force_png_icons', __('Force PNG icons', 'responsive-lightbox'), array(&$this, 'rl_sb_force_png_icons'), 'responsive_lightbox_configuration', 'responsive_lightbox_configuration');
445
+ add_settings_field('rl_sb_hide_bars', __('Top and bottom bars', 'responsive-lightbox'), array(&$this, 'rl_sb_hide_bars'), 'responsive_lightbox_configuration', 'responsive_lightbox_configuration');
446
+ add_settings_field('rl_sb_video_max_width', __('Video max width', 'responsive-lightbox'), array(&$this, 'rl_sb_video_max_width'), 'responsive_lightbox_configuration', 'responsive_lightbox_configuration');
447
  }
448
  elseif($this->options['settings']['script'] === 'prettyphoto')
449
  {
615
  }
616
 
617
 
618
+ public function rl_sb_animation()
619
  {
620
  echo '
621
+ <div id="rl_sb_animation" class="wplikebtns">';
622
 
623
  foreach($this->scripts['swipebox']['animations'] as $val => $trans)
624
  {
625
  echo '
626
+ <input id="rl-sb-animation-'.$val.'" type="radio" name="responsive_lightbox_configuration[swipebox][animation]" value="'.esc_attr($val).'" '.checked($val, $this->options['configuration']['swipebox']['animation'], FALSE).' />
627
+ <label for="rl-sb-animation-'.$val.'">'.$trans.'</label>';
628
  }
629
 
630
  echo '
633
  }
634
 
635
 
636
+ public function rl_sb_hide_bars()
637
  {
638
  echo '
639
+ <div id="rl_sb_hide_bars" class="wplikebtns">';
640
 
641
  foreach($this->choices as $val => $trans)
642
  {
643
  echo '
644
+ <input id="rl-sb-hide-bars-'.$val.'" type="radio" name="responsive_lightbox_configuration[swipebox][hide_bars]" value="'.esc_attr($val).'" '.checked(($val === 'yes' ? TRUE : FALSE), $this->options['configuration']['swipebox']['hide_bars'], FALSE).' />
645
+ <label for="rl-sb-hide-bars-'.$val.'">'.$trans.'</label>';
646
  }
647
 
648
  echo '
649
  <p class="description">'.__('Disable if you don\'t want to top and bottom bars to be hidden after a period of time.', 'responsive-lightbox').'</p>
650
+ <div id="rl_sb_hide_bars_delay"'.($this->options['configuration']['swipebox']['hide_bars'] === FALSE ? ' style="display: none;"' : '').'>
651
  <input type="text" name="responsive_lightbox_configuration[swipebox][hide_bars_delay]" value="'.esc_attr($this->options['configuration']['swipebox']['hide_bars_delay']).'" />
652
  <p class="description">'.__('Enter the time after which the top and bottom bars will be hidden (when hiding is enabled).', 'responsive-lightbox').'</p>
653
  </div>
655
  }
656
 
657
 
658
+ public function rl_sb_video_max_width()
659
  {
660
  echo '
661
+ <div id="rl_sb_video_max_width">
662
  <input type="text" name="responsive_lightbox_configuration[swipebox][video_max_width]" value="'.esc_attr($this->options['configuration']['swipebox']['video_max_width']).'" />
663
  <p class="description">'.__('Enter the max video width in a lightbox.', 'responsive-lightbox').'</p>
664
  </div>';
665
  }
666
 
667
 
668
+ public function rl_sb_force_png_icons()
669
+ {
670
+ echo '
671
+ <div id="rl_sb_force_png_icons" class="wplikebtns">';
672
+
673
+ foreach($this->choices as $val => $trans)
674
+ {
675
+ echo '
676
+ <input id="rl-sb-force-png-icons-'.$val.'" type="radio" name="responsive_lightbox_configuration[swipebox][force_png_icons]" value="'.esc_attr($val).'" '.checked(($val === 'yes' ? TRUE : FALSE), $this->options['configuration']['swipebox']['force_png_icons'], FALSE).' />
677
+ <label for="rl-sb-force-png-icons-'.$val.'">'.$trans.'</label>';
678
+ }
679
+
680
+ echo '
681
+ <p class="description">'.__('Enable this if you\'re having problems with navigation icons not visible on some devices.', 'responsive-lightbox').'</p>
682
+ </div>';
683
+ }
684
+
685
+
686
  public function rl_pp_animation_speed()
687
  {
688
  echo '
1390
  //animation
1391
  $input['swipebox']['animation'] = (isset($input['swipebox']['animation']) && in_array($input['swipebox']['animation'], array_keys($this->scripts['swipebox']['animations'])) ? $input['swipebox']['animation'] : $this->defaults['configuration']['swipebox']['animation']);
1392
 
1393
+ //force png icons
1394
+ $input['swipebox']['force_png_icons'] = (isset($input['swipebox']['force_png_icons']) && in_array($input['swipebox']['force_png_icons'], array_keys($this->choices)) ? ($input['swipebox']['force_png_icons'] === 'yes' ? TRUE : FALSE) : $this->defaults['configuration']['swipebox']['force_png_icons']);
1395
+
1396
+ //bars
1397
  $input['swipebox']['hide_bars'] = (isset($input['swipebox']['hide_bars']) && in_array($input['swipebox']['hide_bars'], array_keys($this->choices)) ? ($input['swipebox']['hide_bars'] === 'yes' ? TRUE : FALSE) : $this->defaults['configuration']['swipebox']['hide_bars']);
1398
  $input['swipebox']['hide_bars_delay'] = (int)($input['swipebox']['hide_bars_delay'] > 0 ? $input['swipebox']['hide_bars_delay'] : $this->defaults['configuration']['swipebox']['hide_bars_delay']);
1399
+
1400
+ //video width
1401
  $input['swipebox']['video_max_width'] = (int)($input['swipebox']['video_max_width'] > 0 ? $input['swipebox']['video_max_width'] : $this->defaults['configuration']['swipebox']['video_max_width']);
1402
  }
1403
  elseif($this->options['settings']['script'] === 'prettyphoto' && $_POST['script_r'] === 'prettyphoto')
1583
 
1584
  public function admin_menu_options()
1585
  {
1586
+ add_options_page(
1587
  __('Responsive Lightbox', 'responsive-lightbox'),
1588
  __('Responsive Lightbox', 'responsive-lightbox'),
1589
  'manage_options',
1631
  </form>
1632
  </div>
1633
  <div class="df-credits postbox-container">
1634
+ <h3 class="metabox-title">'.__('Responsive Lightbox', 'responsive-lightbox').' '.$this->defaults['version'].'</h3>
1635
  <div class="inner">
1636
  <h3>'.__('Need support?', 'responsive-lightbox').'</h3>
1637
  <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>
1650
  }
1651
 
1652
 
1653
+ public function admin_scripts_styles($page)
1654
  {
1655
  if($page === 'settings_page_responsive-lightbox')
1656
  {
1691
  }
1692
 
1693
 
1694
+ public function front_scripts_styles()
1695
  {
1696
  $args = array(
1697
  'script' => $this->options['settings']['script'],
1762
  $args = array_merge(
1763
  $args,
1764
  array(
1765
+ 'animation' => $this->getBooleanValue(($this->options['configuration']['swipebox']['animation'] === 'css' ? TRUE : FALSE)),
1766
  'hideBars' => $this->getBooleanValue($this->options['configuration']['swipebox']['hide_bars']),
1767
  'hideBarsDelay' => $this->options['configuration']['swipebox']['hide_bars_delay'],
1768
  'videoMaxWidth' => $this->options['configuration']['swipebox']['video_max_width']
1769
  )
1770
  );
1771
+
1772
+ if($this->options['configuration']['swipebox']['force_png_icons'] === TRUE)
1773
+ {
1774
+ wp_add_inline_style(
1775
+ 'responsive-lightbox-swipebox-front',
1776
+ '#swipebox-action #swipebox-prev, #swipebox-action #swipebox-next, #swipebox-action #swipebox-close { background-image: url('.plugins_url('assets/swipebox/source/img/icons.png' , __FILE__).') !important; }'
1777
+ );
1778
+ }
1779
  }
1780
  elseif($this->options['settings']['script'] === 'fancybox')
1781
  {
1834
 
1835
  wp_enqueue_script('responsive-lightbox-front');
1836
 
1837
+ wp_add_inline_style(
1838
+ 'responsive-lightbox-swipebox',
1839
+ '#swipebox-action #swipebox-close, #swipebox-action #swipebox-prev, #swipebox-action #swipebox-next { background-image: url(\'assets/swipebox/source/img/icons.png\') !important; }'
1840
+ );
1841
+
1842
  wp_localize_script(
1843
  'responsive-lightbox-front',
1844
  'rlArgs',
1847
  }
1848
 
1849
 
1850
+ /**
1851
+ *
1852
+ */
1853
  private function getBooleanValue($option)
1854
  {
1855
  return ($option === TRUE ? 1 : 0);