Crelly Slider - Version 1.1.0

Version Description

  • Awesome community: the slider is now translated in 8 different languages! Thank you!
    English,
    Italian,
    Spanish (Eduardo Aranda),
    Russian (Andrey Dymskiy),
    Slovak (Oliver Juhas),
    Serbian (Branislav Pakic),
    French (sLy kereven),
    German (Andreas Dolinar, Jan Adams)
  • New feature: Duplicate sliders and slides
  • New feature: Import/Export sliders
  • New feature: Support for YouTube and Vimeo videos
  • New feature: The slides can be linked (the entire background is a link)
  • New feature: New preloader: when loading, the background is no more grey. Now the first slide background image is automatically blurred and used as background for the preloader. When the slider is loaded, the blurred background will fade away and the first slide will be displayed
  • New feature: Navigation and controls are much better looking now
  • New feature: Added public methods to control the slider. pause(), resume(), nextSlide(), previousSlide(), changeSlide(slide_index), getCurrentSlide(), getTotalSlides()
  • New feature: Slides background color can now be set manually
  • New feature: Custom CSS classes can now be added to elements
  • New feature: Added "Center vertically" and "Center horizontally" buttons to align elements
  • New feature: The slides background image can now be quickly set as "responsive full width image" or "pattern"
  • Bug fix: Sometimes slides and elements weren't saved correctly
  • Bug fix: Text elements were displayed on two lines when an inline tag was added
  • Bug fix: When automatic slide was set to "no", the out animations were still performed
  • Bug fix: When the backend interface was loading there were some graphical glitches
  • Bug fix: Background position wasn't correct on Firefox
  • Minor change: Texts have now a default line height, color and font. In this way, I can be sure that they are displayed exactly in the same way in the backend and in the frontend
  • Minor change: dropped support for IE < 11
  • Other minor changes and bug fixes
Download this release

Release Info

Developer fabiorino
Plugin Icon 128x128 Crelly Slider
Version 1.1.0
Comparing to
See all releases

Code changes from version 0.8.2 to 1.1.0

Files changed (39) hide show
  1. crellyslider.php +7 -3
  2. css/crellyslider.css +170 -24
  3. demo/demo.html +594 -230
  4. demo/images/bg1 (1).png +0 -0
  5. demo/timing-test.html +271 -0
  6. images/{navigation-links.png → arrow-left.png} +0 -0
  7. images/{controls.png → arrow-right.png} +0 -0
  8. images/preloader.gif +0 -0
  9. js/jquery.crellyslider.js +547 -90
  10. js/jquery.crellyslider.min.js +2 -2
  11. readme.txt +26 -3
  12. wordpress/admin.php +7 -5
  13. wordpress/ajax.php +371 -114
  14. wordpress/common.php +7 -2
  15. wordpress/css/admin.css +92 -23
  16. wordpress/elements.php +391 -8
  17. wordpress/frontend.php +58 -3
  18. wordpress/home.php +9 -5
  19. wordpress/images/plus.png +0 -0
  20. wordpress/js/admin.js +577 -89
  21. wordpress/languages/crellyslider-de_DE.mo +0 -0
  22. wordpress/languages/crellyslider-de_DE.po +685 -0
  23. wordpress/languages/crellyslider-es_ES.mo +0 -0
  24. wordpress/languages/crellyslider-es_ES.po +249 -110
  25. wordpress/languages/crellyslider-fr_FR.mo +0 -0
  26. wordpress/languages/crellyslider-fr_FR.po +705 -0
  27. wordpress/languages/crellyslider-it_IT.mo +0 -0
  28. wordpress/languages/crellyslider-it_IT.po +261 -102
  29. wordpress/languages/crellyslider-ru_RU.mo +0 -0
  30. wordpress/languages/crellyslider-ru_RU.po +685 -0
  31. wordpress/languages/crellyslider-sk_SK.mo +0 -0
  32. wordpress/languages/crellyslider-sk_SK.po +689 -0
  33. wordpress/languages/crellyslider-sr_RS.mo +0 -0
  34. wordpress/languages/crellyslider-sr_RS.po +656 -0
  35. wordpress/languages/crellyslider.pot +228 -98
  36. wordpress/slider.php +3 -3
  37. wordpress/slides.php +64 -10
  38. wordpress/tables.php +7 -0
  39. wordpress/temp/silence.php +1 -0
crellyslider.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Crelly Slider
4
  * Plugin URI: http://fabiorino1.altervista.org/projects/crellyslider
5
  * Description: The first free WordPress slider with elements animations.
6
- * Version: 0.8.2
7
  * Author: fabiorino
8
  * Author URI: http://fabiorino1.altervista.org
9
  * License: MIT
@@ -13,7 +13,9 @@
13
  /** GLOBALS **/
14
  /*************/
15
 
16
- define('CS_VERSION', '0.8.2');
 
 
17
  define('CS_PATH', plugin_dir_path(__FILE__));
18
  define('CS_PLUGIN_URL', plugins_url() . '/crelly-slider');
19
 
@@ -43,9 +45,11 @@ CrellySliderFrontend::addShortcode();
43
 
44
  if(is_admin()) {
45
  // Tables
 
 
 
46
  if(CS_VERSION != get_option('cs_version')) {
47
  CrellySliderTables::setVersion();
48
- CrellySliderTables::setTables();
49
  }
50
 
51
  CrellySliderAdmin::setEnqueues();
3
  * Plugin Name: Crelly Slider
4
  * Plugin URI: http://fabiorino1.altervista.org/projects/crellyslider
5
  * Description: The first free WordPress slider with elements animations.
6
+ * Version: 1.1.0
7
  * Author: fabiorino
8
  * Author URI: http://fabiorino1.altervista.org
9
  * License: MIT
13
  /** GLOBALS **/
14
  /*************/
15
 
16
+ define('CS_DEBUG', false);
17
+
18
+ define('CS_VERSION', '1.1.0');
19
  define('CS_PATH', plugin_dir_path(__FILE__));
20
  define('CS_PLUGIN_URL', plugins_url() . '/crelly-slider');
21
 
45
 
46
  if(is_admin()) {
47
  // Tables
48
+ if(CS_DEBUG || CS_VERSION != get_option('cs_version')) {
49
+ CrellySliderTables::setTables();
50
+ }
51
  if(CS_VERSION != get_option('cs_version')) {
52
  CrellySliderTables::setVersion();
 
53
  }
54
 
55
  CrellySliderAdmin::setEnqueues();
css/crellyslider.css CHANGED
@@ -4,30 +4,150 @@
4
  white-space: nowrap;
5
  overflow: hidden;
6
  line-height: 1.5;
 
 
 
 
 
 
 
 
 
 
 
7
  }
8
 
9
  .crellyslider > .cs-preloader {
10
  width: 100%;
11
  height: 100%;
12
  z-index: 999;
13
- background-color: #ddd;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  }
15
 
16
  .crellyslider > .cs-preloader > .cs-loader {
17
- width: 25px;
18
- height: 25px;
19
  position: absolute;
20
  top: 50%;
21
  left: 50%;
22
- margin-top: -12.5px;
23
- margin-left: -12.5px;
24
- background-image: url('../images/preloader.gif');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  }
26
 
27
  .crellyslider > .cs-controls,
28
  .crellyslider > .cs-navigation {
29
  z-index: 999;
30
  -webkit-transition: all 0.2s;
 
 
 
 
31
  opacity: 0;
32
  filter: alpha(opacity=0);
33
  }
@@ -48,17 +168,33 @@
48
  margin: 0;
49
  padding: 0;
50
  position: absolute;
51
- overflow: hidden;
 
 
 
 
 
 
52
  }
53
 
54
- .crellyslider > .cs-slides > .cs-slide * {
55
- display: block;
56
- margin: 0;
57
  padding: 0;
 
 
 
 
58
  }
59
 
60
  .crellyslider > .cs-slides > .cs-slide > * {
61
  position: absolute;
 
 
 
 
 
 
62
  }
63
 
64
  .crellyslider > .cs-slides > .cs-slide > img,
@@ -78,48 +214,58 @@
78
  width: 100%;
79
  top: 50%;
80
  margin-top: -9px;
81
- z-index: 999;
82
  }
83
 
84
  .crellyslider > .cs-controls > .cs-previous,
85
  .crellyslider > .cs-controls > .cs-next {
86
  display: block;
87
- width: 18px;
88
- height: 18px;
89
  position: absolute;
90
  cursor: pointer;
91
- background-image: url('../images/controls.png');
 
 
 
 
 
92
  }
93
 
94
  .crellyslider > .cs-controls > .cs-previous {
95
- background-position: 0 0;
96
  left: 30px;
97
  }
98
 
99
  .crellyslider > .cs-controls > .cs-next {
100
- background-position: 18px 0;
101
  right: 30px;
102
  }
103
 
104
  .crellyslider > .cs-navigation {
105
  position: absolute;
106
  width: 100%;
107
- bottom: 0;
 
108
  text-align: center;
109
  }
110
 
111
- .crellyslider > .cs-navigation > .cs-slide-link {
 
 
112
  display: inline-block;
113
- width: 7px;
114
- height: 7px;
115
- margin: 5px;
116
  cursor: pointer;
117
- background-image: url('../images/navigation-links.png');
118
- background-position: 0 0;
 
 
 
 
 
119
  }
120
 
121
  .crellyslider > .cs-navigation > .cs-slide-link.cs-active {
122
- background-position: -7px 0;
 
123
  }
124
 
125
  .crellyslider > .cs-progress-bar {
4
  white-space: nowrap;
5
  overflow: hidden;
6
  line-height: 1.5;
7
+ font-size: 14px;
8
+ color: #000;
9
+ font-family: 'Verdana', sans-serif;
10
+ }
11
+
12
+ .crellyslider a {
13
+ color: #0073aa;
14
+ }
15
+
16
+ .crellyslider a:hover {
17
+ color: #0073aa;
18
  }
19
 
20
  .crellyslider > .cs-preloader {
21
  width: 100%;
22
  height: 100%;
23
  z-index: 999;
24
+ background-color: #fff;
25
+ position: relative;
26
+ overflow: hidden;
27
+ }
28
+
29
+ .crellyslider > .cs-preloader > .cs-bg {
30
+ position: absolute;
31
+ top: 0;
32
+ left: 0;
33
+ z-index: 11;
34
+ display: block;
35
+ width: 100%;
36
+ height: 100%;
37
+ filter: blur(5px);
38
+ -webkit-filter: blur(5px);
39
+ -moz-filter: blur(5px);
40
+ -o-filter: blur(5px);
41
+ -ms-filter: blur(5px);
42
  }
43
 
44
  .crellyslider > .cs-preloader > .cs-loader {
45
+ width: 50px;
46
+ height: 50px;
47
  position: absolute;
48
  top: 50%;
49
  left: 50%;
50
+ margin-top: -25px;
51
+ margin-left: -25px;
52
+ z-index: 12;
53
+ background-color:#fff;
54
+ box-shadow:0 3px 10px rgba(0,0,0,0.16), 0 3px 10px rgba(0,0,0,0.23);
55
+ background-repeat: no-repeat;
56
+ background-position: center center;
57
+ border: 10px;
58
+ border-radius: 50%;
59
+ }
60
+
61
+ .crellyslider > .cs-preloader > .cs-loader > .cs-spinner {
62
+ top: 16px;
63
+ left: 50%;
64
+ margin-left: -2px;
65
+ }
66
+
67
+ .crellyslider > .cs-preloader > .cs-loader > .cs-spinner, .crellyslider > .cs-preloader > .cs-loader > .cs-spinner:before, .crellyslider > .cs-preloader > .cs-loader > .cs-spinner:after {
68
+ width: 4px;
69
+ height: 18px;
70
+ background-color: #0b60a9;
71
+ border-radius: 2px;
72
+ }
73
+
74
+ .crellyslider > .cs-preloader > .cs-loader > .cs-spinner {
75
+ display: inline-block;
76
+ position: relative;
77
+ }
78
+ .crellyslider > .cs-preloader > .cs-loader > .cs-spinner:before, .crellyslider > .cs-preloader > .cs-loader > .cs-spinner:after {
79
+ content: "";
80
+ position: absolute;
81
+ display: block;
82
+ top: 0px;
83
+ }
84
+ .crellyslider > .cs-preloader > .cs-loader > .cs-spinner:before {
85
+ left: -6px;
86
+ }
87
+ .crellyslider > .cs-preloader > .cs-loader > .cs-spinner:after {
88
+ left: 6px;
89
+ }
90
+
91
+ @-webkit-keyframes cs-bounce-middle {
92
+ 0% {
93
+ height: 4px;
94
+ margin-top: 8px;
95
+ margin-bottom: 8px;
96
+ }
97
+ 50% {
98
+ height: 20px;
99
+ margin-top: 0px;
100
+ margin-bottom: 0px;
101
+ }
102
+ 100% {
103
+ height: 4px;
104
+ margin-top: 8px;
105
+ margin-bottom: 8px;
106
+ }
107
+ }
108
+ @keyframes cs-bounce-middle {
109
+ 0% {
110
+ height: 4px;
111
+ margin-top: 8px;
112
+ margin-bottom: 8px;
113
+ }
114
+ 50% {
115
+ height: 20px;
116
+ margin-top: 0px;
117
+ margin-bottom: 0px;
118
+ }
119
+ 100% {
120
+ height: 4px;
121
+ margin-top: 8px;
122
+ margin-bottom: 8px;
123
+ }
124
+ }
125
+ .crellyslider > .cs-preloader > .cs-loader > .cs-spinner {
126
+ -webkit-animation: cs-bounce-middle 0.6s ease 0.1s infinite;
127
+ animation: cs-bounce-middle 0.6s ease 0.1s infinite;
128
+ }
129
+ .crellyslider > .cs-preloader > .cs-loader > .cs-spinner:before, .crellyslider > .cs-preloader > .cs-loader > .cs-spinner:after {
130
+ top: 50%;
131
+ -webkit-transform: translateY(-10px) translateZ(0);
132
+ transform: translateY(-10px) translateZ(0);
133
+ }
134
+ .crellyslider > .cs-preloader > .cs-loader > .cs-spinner:before {
135
+ -webkit-animation: cs-bounce-middle 0.6s ease 0s infinite;
136
+ animation: cs-bounce-middle 0.6s ease 0s infinite;
137
+ }
138
+ .crellyslider > .cs-preloader > .cs-loader > .cs-spinner:after {
139
+ -webkit-animation: cs-bounce-middle 0.6s ease 0.2s infinite;
140
+ animation: cs-bounce-middle 0.6s ease 0.2s infinite;
141
  }
142
 
143
  .crellyslider > .cs-controls,
144
  .crellyslider > .cs-navigation {
145
  z-index: 999;
146
  -webkit-transition: all 0.2s;
147
+ -moz-transition: all 0.2s;
148
+ -o-transition: all 0.2s;
149
+ -ms-transition: all 0.2s;
150
+ transition: all 0.2s;
151
  opacity: 0;
152
  filter: alpha(opacity=0);
153
  }
168
  margin: 0;
169
  padding: 0;
170
  position: absolute;
171
+ overflow: hidden;
172
+ -webkit-touch-callout: none;
173
+ -webkit-user-select: none;
174
+ -khtml-user-select: none;
175
+ -moz-user-select: none;
176
+ -ms-user-select: none;
177
+ user-select: none;
178
  }
179
 
180
+ .crellyslider > .cs-slides > .cs-slide > .cs-background-link {
181
+ opacity: 0;
182
+ z-index: 0;
183
  padding: 0;
184
+ width: 100% !important;
185
+ height: 100% !important;
186
+ top: 0 !important;
187
+ left: 0 !important;
188
  }
189
 
190
  .crellyslider > .cs-slides > .cs-slide > * {
191
  position: absolute;
192
+ display: block;
193
+ cursor: default;
194
+ }
195
+
196
+ .crellyslider > .cs-slides > .cs-slide > a {
197
+ cursor: pointer;
198
  }
199
 
200
  .crellyslider > .cs-slides > .cs-slide > img,
214
  width: 100%;
215
  top: 50%;
216
  margin-top: -9px;
 
217
  }
218
 
219
  .crellyslider > .cs-controls > .cs-previous,
220
  .crellyslider > .cs-controls > .cs-next {
221
  display: block;
222
+ width: 35px;
223
+ height: 35px;
224
  position: absolute;
225
  cursor: pointer;
226
+ background-color:#fff;
227
+ box-shadow:0 3px 10px rgba(0,0,0,0.16), 0 3px 10px rgba(0,0,0,0.23);
228
+ background-repeat: no-repeat;
229
+ background-position: center center;
230
+ border: 10px;
231
+ border-radius: 50%;
232
  }
233
 
234
  .crellyslider > .cs-controls > .cs-previous {
235
+ background-image: url('../images/arrow-left.png');
236
  left: 30px;
237
  }
238
 
239
  .crellyslider > .cs-controls > .cs-next {
240
+ background-image: url('../images/arrow-right.png');
241
  right: 30px;
242
  }
243
 
244
  .crellyslider > .cs-navigation {
245
  position: absolute;
246
  width: 100%;
247
+ height: 0;
248
+ bottom: 40px;
249
  text-align: center;
250
  }
251
 
252
+ .crellyslider > .cs-navigation > .cs-slide-link {
253
+ width: 15px;
254
+ height: 15px;
255
  display: inline-block;
 
 
 
256
  cursor: pointer;
257
+ margin: 6px;
258
+ background-color:#fff;
259
+ box-shadow:0 3px 10px rgba(0,0,0,0.16), 0 3px 10px rgba(0,0,0,0.23);
260
+ border: 10px;
261
+ border-radius: 50%;
262
+ opacity: .5;
263
+ filter: alpha(opacity=50);
264
  }
265
 
266
  .crellyslider > .cs-navigation > .cs-slide-link.cs-active {
267
+ opacity: 1;
268
+ filter: alpha(opacity=100);
269
  }
270
 
271
  .crellyslider > .cs-progress-bar {
demo/demo.html CHANGED
@@ -1,5 +1,3 @@
1
- <!-- in this file I do all the tests of the jQuery version -->
2
-
3
  <!doctype html>
4
  <html>
5
 
@@ -33,241 +31,607 @@
33
 
34
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
35
  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
36
- <script type="text/javascript" src="../js/jquery.crellyslider.min.js"></script>
37
-
38
- <script type="text/javascript">
39
- jQuery(document).ready(function($) {
40
- $('#demo-1').crellySlider({
41
- layout : 'full-width',
42
- automaticSlide : false,
43
- ignoreElementsEaseOut : false,
44
- responsive : true,
45
- beforeStart : function() {console.log('before start')},
46
- beforeSetResponsive : function() {console.log('before set responsive')},
47
- beforeSlideStart : function() {console.log(new Date())},
48
- beforePause : function() {console.log('before pause')},
49
- beforeResume : function() {console.log('before resume')},
50
- });
51
- });
52
- </script>
53
  </head>
54
 
55
- <body>
56
- <br />
57
-
58
- <div id="demo-1" style="display: none;">
59
- <ul>
60
- <li style="background: url('images/bg1.png'); background-size: cover;" data-in="slideLeft" data-ease-in="1500" data-ease-out="1500" data-out="slideLeft">
61
- <div style="opacity: 0.5; font-size: 48px; color: #fff; font-family: 'Rokkitt', serif;" data-top="190" data-left="60" data-in="slideRight" data-out="slideLeft" data-ease-in="3000" data-ease-out="2000" data-delay="0" data-time="all"><h1><span>Crelly Slider</span></h1></div>
62
- <div style="font-size: 22px; line-height: 26px; color: #fff; font-family: 'Rokkitt', serif;" data-top="245" data-left="60" data-in="slideRight" data-out="slideLeft" data-ease-in="3000" data-ease-out="2000" data-delay="0" data-time="3000">Is the first FREE Wordpress slider<br />with layers animations!</div>
63
- <div style="font-size: 22px; line-height: 26px; color: #fff; font-family: 'Rokkitt', serif;" data-top="300" data-left="60" data-in="slideRight" data-out="slideLeft" data-ease-in="3000" data-ease-out="2000" data-delay="0" data-time="3000">Another simple text</div>
64
- <a data-top="149" data-left="837" data-in="slideLeft" data-out="slideRight" data-ease-in="200" data-ease-out="200" data-delay="0" data-time="all" href="http://www.google.it" target="_blank">
65
- <img alt="" src="images/house.png" />
66
- </a>
67
- <img alt="" src="images/airplane.png" style="height:auto" data-top="44" data-left="1170" data-in="slideRight" data-out="slideRight" data-ease-in="10800" data-ease-out="0" data-delay="0" data-time="0" data-wait-me-out="1" />
68
- <a data-top="254" data-left="0" data-in="slideUp" data-out="slideDown" data-ease-in="1080" data-ease-out="200" data-delay="0" data-time="all" href="http://www.google.it" target="_blank">
69
- <img alt="" src="images/hill.png" />
70
- </a>
71
- </li>
72
-
73
- <li
74
- style="
75
- background-color: transparent;
76
- background-image: url('images/bg1.png');
77
- background-position-x: auto;
78
- background-position-y: auto;
79
- background-repeat: repeat;
80
- background-size: cover;
81
 
82
- "
83
- data-in="slideLeft"
84
- data-ease-in="1500"
85
- data-out="slideLeft"
86
- data-ease-out="400"
87
- data-time="10000"
88
- >
89
- <div
90
- style="z-index: 1;
91
- font-size: 48px;
92
- color: #fff;
93
- font-family: 'Rokkitt', serif;
94
- "
95
- data-delay="2500"
96
- data-ease-in="30000"
97
- data-ease-out="200"
98
- data-in="slideRight"
99
- data-out="slideLeft"
100
- data-top="190"
101
- data-left="60"
102
- data-time="all"
103
- data-ignore-ease-out="0"
104
- >
105
- <h2>Create Slides</h2>
106
- </div>
107
- <img
108
- src="images/airplane.png"
109
- alt=""
110
- style="
111
- z-index: 1;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
 
113
- "
114
- data-delay="0"
115
- data-ease-in="0"
116
- data-ease-out="10800"
117
- data-in="none"
118
- data-out="slideRight"
119
- data-top="44"
120
- data-left="-2414"
121
- data-time="0"
122
- data-ignore-ease-out="1"
123
- />
124
- <img
125
- src="images/hill.png"
126
- alt=""
127
- style="
128
- z-index: 1;
129
 
130
- "
131
- data-delay="0"
132
- data-ease-in="200"
133
- data-ease-out="200"
134
- data-in="slideUp"
135
- data-out="slideDown"
136
- data-top="254"
137
- data-left="0"
138
- data-time="all"
139
- />
140
- <img
141
- src="images/house.png"
142
- alt=""
143
- style="
144
- z-index: 0;
 
145
 
146
- "
147
- data-delay="400"
148
- data-ease-in="200"
149
- data-ease-out="200"
150
- data-in="slideLeft"
151
- data-out="slideRight"
152
- data-top="149"
153
- data-left="837"
154
- data-time="all"
155
- />
156
- <div
157
- style="z-index: 1;
158
- font-size: 22px;
159
- line-height: 26px;
160
- color: #fff;
161
- font-family: 'Rokkitt', serif;
162
- "
163
- data-delay="1100"
164
- data-ease-in="300"
165
- data-ease-out="200"
166
- data-in="slideRight"
167
- data-out="slideLeft"
168
- data-top="245"
169
- data-left="60"
170
- data-time="3100"
171
- >
172
- 1 They are colored, animated, creative.<br/>Make your WebSite more awesome
173
- </div>
174
- <div
175
- style="z-index: 1;
176
- font-size: 22px;
177
- line-height: 26px;
178
- color: #fff;
179
- font-family: 'Rokkitt', serif;
180
- "
181
- data-delay="5100"
182
- data-ease-in="300"
183
- data-ease-out="200"
184
- data-in="slideRight"
185
- data-out="slideLeft"
186
- data-top="245"
187
- data-left="60"
188
- data-time="7100"
189
- >
190
- 2 They are colored, animated, creative.<br/>Make your WebSite more awesome
191
- </div>
192
- </li>
193
-
194
- <li
195
- style="
196
- background-color: #000;
197
- background-position-x: center;
198
- background-position-y: center;
199
- background-repeat: no-repeat;
200
- background-size: cover;
201
 
202
- "
203
- data-in="fade"
204
- data-ease-in="6000"
205
- data-out="fade"
206
- data-ease-out="300"
207
- data-time="2000"
208
- >
209
- <div
210
- style="z-index: 1;
211
- font-size: 48px;
212
- color: #fff;
213
- font-family: 'Lato';
214
- opacity: .5;
215
- letter-spacing: 10px;
216
- "
217
- data-delay="0"
218
- data-ease-in="600"
219
- data-ease-out="600"
220
- data-in="fadeDown"
221
- data-out="fadeSmallDown"
222
- data-top="195"
223
- data-left="386"
224
- data-time="all"
225
- data-ignore-ease-out="1"
226
- >
227
- CRELLY SLIDER
228
- </div>
229
- <div
230
- style="z-index: 1;
231
- font-size: 18px;
232
- color: #fff;
233
- font-family: 'Lato';
234
- "
235
- data-delay="600"
236
- data-ease-in="400"
237
- data-ease-out="400"
238
- data-in="fadeSmallDown"
239
- data-out="fadeSmallDown"
240
- data-top="273"
241
- data-left="337"
242
- data-time="all"
243
- data-ignore-ease-out="1"
244
- >
245
- the first FREE WordPress slider with elements animations
246
- </div>
247
- </li>
248
-
249
- <li style="background: url('images/bg2.png');" data-in="slideLeft" data-out="slideUp" data-ease-out="2500" data-time="10000">
250
- <div style="font-size: 24px; color: #fff; font-family: 'Bender', 'Rokkitt', serif;" data-top="105" data-left="385" data-in="slideUp" data-out="slideLeft" data-ease-in="300" data-ease-out="300" data-delay="600" data-time="15000" data-ignore-ease-out="1">IT'S FREE</div>
251
- <img alt="" src="images/and.png" data-top="82" data-left="505" data-in="slideUp" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="600" data-time="all" />
252
- <div style="font-size: 24px; color: #fff; font-family: 'Bender', 'Rokkitt', serif;" data-top="105" data-left="578" data-in="slideUp" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="600" data-time="all">IT'S OPEN - SOURCE</div>
253
- <img alt="" src="images/code.png" data-top="216" data-left="60" data-in="slideUp" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="800" data-time="all" />
254
- <img alt="" src="images/magic.png" data-top="323" data-left="705" data-in="slideUp" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="1100" data-time="all" />
255
- <img alt="" src="images/arrow-UpRight.png" data-top="249" data-left="798" data-in="fade" data-out="slideUp" data-ease-in="300" data-ease-out="200" data-delay="1400" data-time="all" />
256
- <img alt="" src="images/arrow-right.png" data-top="349" data-left="798" data-in="fade" data-out="slideUp" data-ease-in="300" data-ease-out="200" data-delay="1700" data-time="all" />
257
- <img alt="" src="images/arrow-downRight.png" data-top="409" data-left="798" data-in="fade" data-out="slideUp" data-ease-in="300" data-ease-out="200" data-delay="2000" data-time="all" />
258
- <img alt="" src="images/document.png" data-top="259" data-left="940" data-in="fadeSmallLeft" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="2300" data-time="all" />
259
- <div style="font-size: 14px; color: #fff;" data-top="258" data-left="976" data-in="fadeSmallLeft" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="2300" data-time="all">Well Documented</div>
260
- <img alt="" src="images/tick.png" data-top="349" data-left="940" data-in="fadeSmallLeft" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="2300" data-time="all" />
261
- <div style="font-size: 14px; color: #fff;" data-top="348" data-left="976" data-in="fadeSmallLeft" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="2300" data-time="all">Clear Code</div>
262
- <img alt="" src="images/heart.png" data-top="439" data-left="940" data-in="fadeSmallLeft" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="2300" data-time="all" />
263
- <div style="font-size: 14px; color: #fff;" data-top="438" data-left="976" data-in="fadeSmallLeft" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="2300" data-time="all">Done with Love</div>
264
- </li>
265
- </ul>
266
  </div>
267
-
268
- <br />
269
- <br />
270
-
271
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
272
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
273
  </html>
 
 
1
  <!doctype html>
2
  <html>
3
 
31
 
32
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
33
  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
34
+ <script type="text/javascript" src="../js/jquery.crellyslider.js"></script> <!-- use jquery.crellyslider.min.js for production -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  </head>
36
 
37
+ <body>
38
+ <div style="display: none;" class="crellyslider-slider crellyslider-slider-fixed crellyslider-slider-home_slider" id="crellyslider-1">
39
+ <ul>
40
+ <li
41
+ style="
42
+ background-color: transparent;
43
+ background-image: url('http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/bg21.png');
44
+ background-position-x: 0;
45
+ background-position-y: 0;
46
+ background-repeat: repeat;
47
+ background-size: auto;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
 
49
+ "
50
+ data-in="slideLeft"
51
+ data-ease-in="400"
52
+ data-out="slideLeft"
53
+ data-ease-out="400"
54
+ data-time="5000"
55
+ >
56
+ <img
57
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/and1.png"
58
+ alt=""
59
+ style="
60
+ z-index: 1;
61
+
62
+ "
63
+ data-delay="600"
64
+ data-ease-in="300"
65
+ data-ease-out="200"
66
+ data-in="slideUp"
67
+ data-out="fade"
68
+ data-ignore-ease-out="0"
69
+ data-top="62"
70
+ data-left="505"
71
+ data-time="all"
72
+ />
73
+ <div
74
+ style="z-index: 1;
75
+ font-size: 24px;
76
+ color: #fff;
77
+ font-family: 'Bender', 'Rokkitt', serif;
78
+ "
79
+ data-delay="600"
80
+ data-ease-in="300"
81
+ data-ease-out="200"
82
+ data-in="slideUp"
83
+ data-out="fadeSmallRight"
84
+ data-ignore-ease-out="0"
85
+ data-top="85"
86
+ data-left="578"
87
+ data-time="all"
88
+ >
89
+ IT'S OPEN SOURCE
90
+ </div>
91
+ <img
92
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/heart.png"
93
+ alt=""
94
+ style="
95
+ z-index: 1;
96
+
97
+ "
98
+ data-delay="2300"
99
+ data-ease-in="300"
100
+ data-ease-out="200"
101
+ data-in="fadeSmallLeft"
102
+ data-out="fadeSmallDown"
103
+ data-ignore-ease-out="0"
104
+ data-top="422"
105
+ data-left="920"
106
+ data-time="all"
107
+ />
108
+ <img
109
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/arrow-right.png"
110
+ alt=""
111
+ style="
112
+ z-index: 1;
113
+
114
+ "
115
+ data-delay="1700"
116
+ data-ease-in="300"
117
+ data-ease-out="200"
118
+ data-in="fade"
119
+ data-out="fadeSmallRight"
120
+ data-ignore-ease-out="0"
121
+ data-top="329"
122
+ data-left="798"
123
+ data-time="all"
124
+ />
125
+ <div
126
+ style="z-index: 1;
127
+ font-size: 24px;
128
+ color: #fff;
129
+ font-family: 'Bender', 'Rokkitt', serif;
130
+ "
131
+ data-delay="600"
132
+ data-ease-in="300"
133
+ data-ease-out="200"
134
+ data-in="slideUp"
135
+ data-out="fadeSmallLeft"
136
+ data-ignore-ease-out="0"
137
+ data-top="85"
138
+ data-left="385"
139
+ data-time="all"
140
+ >
141
+ IT'S FREE
142
+ </div>
143
+ <img
144
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/magic1.png"
145
+ alt=""
146
+ style="
147
+ z-index: 1;
148
 
149
+ "
150
+ data-delay="1100"
151
+ data-ease-in="300"
152
+ data-ease-out="200"
153
+ data-in="slideUp"
154
+ data-out="fade"
155
+ data-ignore-ease-out="0"
156
+ data-top="309"
157
+ data-left="704"
158
+ data-time="all"
159
+ />
160
+ <img
161
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/arrow-upRight.png"
162
+ alt=""
163
+ style="
164
+ z-index: 1;
165
 
166
+ "
167
+ data-delay="1400"
168
+ data-ease-in="300"
169
+ data-ease-out="200"
170
+ data-in="fade"
171
+ data-out="fadeSmallUp"
172
+ data-ignore-ease-out="0"
173
+ data-top="229"
174
+ data-left="798"
175
+ data-time="all"
176
+ />
177
+ <img
178
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/arrow-downRight.png"
179
+ alt=""
180
+ style="
181
+ z-index: 1;
182
 
183
+ "
184
+ data-delay="2000"
185
+ data-ease-in="300"
186
+ data-ease-out="200"
187
+ data-in="fade"
188
+ data-out="fadeSmallDown"
189
+ data-ignore-ease-out="0"
190
+ data-top="398"
191
+ data-left="798"
192
+ data-time="all"
193
+ />
194
+ <img
195
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/code1.png"
196
+ alt=""
197
+ style="
198
+ z-index: 1;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
199
 
200
+ "
201
+ data-delay="800"
202
+ data-ease-in="300"
203
+ data-ease-out="200"
204
+ data-in="slideUp"
205
+ data-out="slideDown"
206
+ data-ignore-ease-out="0"
207
+ data-top="203"
208
+ data-left="60"
209
+ data-time="all"
210
+ />
211
+ <div
212
+ style="z-index: 1;
213
+ font-size: 14px;
214
+ color: #fff;
215
+ "
216
+ data-delay="2300"
217
+ data-ease-in="300"
218
+ data-ease-out="200"
219
+ data-in="fadeSmallLeft"
220
+ data-out="fadeSmallUp"
221
+ data-ignore-ease-out="0"
222
+ data-top="232"
223
+ data-left="959"
224
+ data-time="all"
225
+ >
226
+ Well Documented
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
  </div>
228
+ <div
229
+ style="z-index: 1;
230
+ font-size: 14px;
231
+ color: #fff;
232
+ "
233
+ data-delay="2300"
234
+ data-ease-in="300"
235
+ data-ease-out="200"
236
+ data-in="fadeSmallLeft"
237
+ data-out="fadeSmallRight"
238
+ data-ignore-ease-out="0"
239
+ data-top="327"
240
+ data-left="959"
241
+ data-time="all"
242
+ >
243
+ Clear Code
244
+ </div>
245
+ <img
246
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/document.png"
247
+ alt=""
248
+ style="
249
+ z-index: 1;
250
+
251
+ "
252
+ data-delay="2300"
253
+ data-ease-in="300"
254
+ data-ease-out="200"
255
+ data-in="fadeSmallLeft"
256
+ data-out="fadeSmallUp"
257
+ data-ignore-ease-out="0"
258
+ data-top="232"
259
+ data-left="920"
260
+ data-time="all"
261
+ />
262
+ <div
263
+ style="z-index: 1;
264
+ font-size: 14px;
265
+ color: #fff;
266
+ "
267
+ data-delay="2300"
268
+ data-ease-in="300"
269
+ data-ease-out="200"
270
+ data-in="fadeSmallLeft"
271
+ data-out="fadeSmallDown"
272
+ data-ignore-ease-out="0"
273
+ data-top="422"
274
+ data-left="959"
275
+ data-time="all"
276
+ >
277
+ Done with Love
278
+ </div>
279
+ <img
280
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/tick.png"
281
+ alt=""
282
+ style="
283
+ z-index: 1;
284
+
285
+ "
286
+ data-delay="2300"
287
+ data-ease-in="300"
288
+ data-ease-out="200"
289
+ data-in="fadeSmallLeft"
290
+ data-out="fadeSmallRight"
291
+ data-ignore-ease-out="0"
292
+ data-top="327"
293
+ data-left="920"
294
+ data-time="all"
295
+ />
296
+ </li>
297
+ <li
298
+ style="
299
+ background-color: rgb(255, 255, 255);
300
+ background-image: none;
301
+ background-position-x: 0;
302
+ background-position-y: 0;
303
+ background-repeat: no-repeat;
304
+ background-size: auto;
305
+
306
+ "
307
+ data-in="fade"
308
+ data-ease-in="400"
309
+ data-out="fade"
310
+ data-ease-out="400"
311
+ data-time="3000"
312
+ >
313
+ <img
314
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/man_4.png"
315
+ alt=""
316
+ style="
317
+ z-index: 1;
318
 
319
+ "
320
+ data-delay="450"
321
+ data-ease-in="300"
322
+ data-ease-out="300"
323
+ data-in="slideUp"
324
+ data-out="fade"
325
+ data-ignore-ease-out="0"
326
+ data-top="237"
327
+ data-left="349"
328
+ data-time="all"
329
+ />
330
+ <img
331
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/man_1.png"
332
+ alt=""
333
+ style="
334
+ z-index: 1;
335
+
336
+ "
337
+ data-delay="0"
338
+ data-ease-in="300"
339
+ data-ease-out="300"
340
+ data-in="fadeUp"
341
+ data-out="fade"
342
+ data-ignore-ease-out="0"
343
+ data-top="237"
344
+ data-left="201"
345
+ data-time="all"
346
+ />
347
+ <div
348
+ style="z-index: 1;
349
+ font-size: 24px;
350
+ padding: 5px 0;
351
+ "
352
+ data-delay="1300"
353
+ data-ease-in="300"
354
+ data-ease-out="300"
355
+ data-in="fadeSmallRight"
356
+ data-out="fade"
357
+ data-ignore-ease-out="0"
358
+ data-top="59"
359
+ data-left="511"
360
+ data-time="all"
361
+ >
362
+ LET'S DISCOVER
363
+ </div>
364
+ <img
365
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/man_2.png"
366
+ alt=""
367
+ style="
368
+ z-index: 1;
369
+
370
+ "
371
+ data-delay="150"
372
+ data-ease-in="300"
373
+ data-ease-out="300"
374
+ data-in="slideUp"
375
+ data-out="fade"
376
+ data-ignore-ease-out="0"
377
+ data-top="237"
378
+ data-left="795"
379
+ data-time="all"
380
+ />
381
+ <div
382
+ style="z-index: 1;
383
+ color: #fff;
384
+ padding: 5px 20px;
385
+ font-size: 24px;
386
+ background: red;
387
+ font-weight: bold;
388
+ z-index: 2;
389
+ "
390
+ data-delay="1000"
391
+ data-ease-in="300"
392
+ data-ease-out="300"
393
+ data-in="slideRight"
394
+ data-out="fade"
395
+ data-ignore-ease-out="0"
396
+ data-top="59"
397
+ data-left="381"
398
+ data-time="all"
399
+ >
400
+ HELLO
401
+ </div>
402
+ <img
403
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/man_3.png"
404
+ alt=""
405
+ style="
406
+ z-index: 1;
407
+
408
+ "
409
+ data-delay="900"
410
+ data-ease-in="300"
411
+ data-ease-out="300"
412
+ data-in="slideUp"
413
+ data-out="fade"
414
+ data-ignore-ease-out="0"
415
+ data-top="237"
416
+ data-left="495"
417
+ data-time="all"
418
+ />
419
+ <img
420
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/man_5.png"
421
+ alt=""
422
+ style="
423
+ z-index: 1;
424
+
425
+ "
426
+ data-delay="700"
427
+ data-ease-in="300"
428
+ data-ease-out="300"
429
+ data-in="slideUp"
430
+ data-out="fade"
431
+ data-ignore-ease-out="0"
432
+ data-top="237"
433
+ data-left="649"
434
+ data-time="all"
435
+ />
436
+ </li>
437
+ <li
438
+ style="
439
+ background-color: transparent;
440
+ background-image: url('http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/business.jpg');
441
+ background-position-x: center;
442
+ background-position-y: center;
443
+ background-repeat: no-repeat;
444
+ background-size: cover;
445
+
446
+ "
447
+ data-in="fade"
448
+ data-ease-in="300"
449
+ data-out="fade"
450
+ data-ease-out="300"
451
+ data-time="5000"
452
+ >
453
+ <div
454
+ style="z-index: 1;
455
+ font-size: 48px;
456
+ color: #fff;
457
+ font-family: 'Lato';
458
+ "
459
+ data-delay="0"
460
+ data-ease-in="600"
461
+ data-ease-out="600"
462
+ data-in="fadeDown"
463
+ data-out="fadeSmallDown"
464
+ data-ignore-ease-out="0"
465
+ data-top="195"
466
+ data-left="386"
467
+ data-time="all"
468
+ >
469
+ CRELLY SLIDER
470
+ </div>
471
+ <div
472
+ style="z-index: 1;
473
+ font-size: 18px;
474
+ color: #fff;
475
+ font-family: 'Lato';
476
+ "
477
+ data-delay="600"
478
+ data-ease-in="400"
479
+ data-ease-out="400"
480
+ data-in="fadeSmallDown"
481
+ data-out="fadeSmallDown"
482
+ data-ignore-ease-out="0"
483
+ data-top="273"
484
+ data-left="337"
485
+ data-time="all"
486
+ >
487
+ the first FREE WordPress slider with elements animations
488
+ </div>
489
+ </li>
490
+ <li
491
+ style="
492
+ background-color: transparent;
493
+ background-image: url('http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/bg1.png');
494
+ background-position-x: auto;
495
+ background-position-y: auto;
496
+ background-repeat: repeat;
497
+ background-size: auto;
498
+
499
+ "
500
+ data-in="fade"
501
+ data-ease-in="400"
502
+ data-out="fade"
503
+ data-ease-out="400"
504
+ data-time="5000"
505
+ >
506
+ <img
507
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/hill2.png"
508
+ alt=""
509
+ style="
510
+ z-index: 1;
511
+
512
+ "
513
+ data-delay="0"
514
+ data-ease-in="200"
515
+ data-ease-out="200"
516
+ data-in="slideUp"
517
+ data-out="slideDown"
518
+ data-ignore-ease-out="0"
519
+ data-top="254"
520
+ data-left="0"
521
+ data-time="all"
522
+ />
523
+ <img
524
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/house.png"
525
+ alt=""
526
+ style="
527
+ z-index: 0;
528
+
529
+ "
530
+ data-delay="400"
531
+ data-ease-in="200"
532
+ data-ease-out="200"
533
+ data-in="slideLeft"
534
+ data-out="slideRight"
535
+ data-ignore-ease-out="0"
536
+ data-top="149"
537
+ data-left="837"
538
+ data-time="all"
539
+ />
540
+ <img
541
+ src="http://fabiorino1.altervista.org/projects/crellyslider/wp-content/uploads/2014/08/airplane.png"
542
+ alt=""
543
+ style="
544
+ z-index: 1;
545
+
546
+ "
547
+ data-delay="0"
548
+ data-ease-in="10800"
549
+ data-ease-out="200"
550
+ data-in="slideRight"
551
+ data-out="fade"
552
+ data-ignore-ease-out="1"
553
+ data-top="44"
554
+ data-left="1140"
555
+ data-time="all"
556
+ />
557
+ <div
558
+ style="z-index: 1;
559
+ font-size: 22px;
560
+ line-height: 26px;
561
+ color: #fff;
562
+ font-family: 'Rokkitt', serif;
563
+ "
564
+ data-delay="1100"
565
+ data-ease-in="300"
566
+ data-ease-out="200"
567
+ data-in="slideRight"
568
+ data-out="slideLeft"
569
+ data-ignore-ease-out="0"
570
+ data-top="245"
571
+ data-left="60"
572
+ data-time="all"
573
+ >
574
+ They are colored, animated, creative.<br/>Make your WebSite more awesome
575
+ </div>
576
+ <div
577
+ style="z-index: 1;
578
+ font-size: 48px;
579
+ color: #fff;
580
+ font-family: 'Rokkitt', serif;
581
+ "
582
+ data-delay="800"
583
+ data-ease-in="300"
584
+ data-ease-out="200"
585
+ data-in="slideRight"
586
+ data-out="slideLeft"
587
+ data-ignore-ease-out="0"
588
+ data-top="190"
589
+ data-left="60"
590
+ data-time="all"
591
+ >
592
+ Create Slides
593
+ </div>
594
+ </li>
595
+ </ul>
596
+ </div>
597
+
598
+ <script type="text/javascript">
599
+ (function($) {
600
+ $(document).ready(function() {
601
+ $("#crellyslider-1").crellySlider({
602
+ layout : 'fixed',
603
+ responsive : true,
604
+ startWidth : 1140,
605
+ startHeight : 487,
606
+
607
+ pauseOnHover : true,
608
+ automaticSlide : false,
609
+ showControls : true,
610
+ showNavigation : true,
611
+ showProgressBar : true,
612
+ enableSwipe : true,
613
+
614
+ slidesTime : 3000,
615
+ elementsDelay : 0,
616
+ elementsTime : 'all',
617
+ slidesEaseIn : 300,
618
+ elementsEaseIn : 300,
619
+ slidesEaseOut : 300,
620
+ elementsEaseOut : 300,
621
+ ignoreElementsEaseOut : false,
622
+
623
+ videoAutoplay : true,
624
+ videoLoop : false,
625
+
626
+ beforeStart : function() {},
627
+ beforeSetResponsive : function() {},
628
+ beforeSlideStart : function() {},
629
+ beforePause : function() {},
630
+ beforeResume : function() {},
631
+ });
632
+ });
633
+ })(jQuery);
634
+ </script>
635
+
636
+ </body>
637
  </html>
demo/images/bg1 (1).png DELETED
Binary file
demo/timing-test.html ADDED
@@ -0,0 +1,271 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html>
2
+ <html>
3
+
4
+ <head>
5
+ <meta charset="utf-8" />
6
+ <meta name="viewport" content="width=device-width" />
7
+
8
+ <title>Crelly Slider - Free jQuery Slider</title>
9
+ <meta name="description" content="The first Free Wordpress Slider that supports animations" />
10
+
11
+ <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css" />
12
+ <link rel="stylesheet" type="text/css" href="../css/crellyslider.css" />
13
+
14
+ <link href='http://fonts.googleapis.com/css?family=Rokkitt' rel='stylesheet' type='text/css'>
15
+ <style type="text/css">
16
+ @font-face {font-family:"Bender";src:url("fonts/Bender.eot?") format("eot"),url("fonts/Bender.woff") format("woff"),url("fonts/Bender.ttf") format("truetype"),url("fonts/Bender.svg#Bender") format("svg");font-weight:normal;font-style:normal;}
17
+ body {
18
+ margin: 0;
19
+ padding: 0;
20
+ font-family: arial;
21
+ font-size: 14px;
22
+ line-height: 1.5em;
23
+ vertical-align: baseline;
24
+ }
25
+
26
+ img {
27
+ max-width: 100%;
28
+ height: auto;
29
+ }
30
+ </style>
31
+ </head>
32
+
33
+ <body>
34
+ <br />
35
+
36
+ <div id="demo-1" style="display: none;">
37
+ <ul>
38
+ <li style="background: url('images/bg1.png'); background-size: cover;" data-in="slideLeft" data-ease-in="1500" data-ease-out="1500" data-out="slideLeft">
39
+ <div style="opacity: 0.5; font-size: 48px; color: #fff; font-family: 'Rokkitt', serif;" data-top="190" data-left="60" data-in="slideRight" data-out="slideLeft" data-ease-in="3000" data-ease-out="2000" data-delay="0" data-time="all"><h1><span>Crelly Slider</span></h1></div>
40
+ <div style="font-size: 22px; line-height: 26px; color: #fff; font-family: 'Rokkitt', serif;" data-top="245" data-left="60" data-in="slideRight" data-out="slideLeft" data-ease-in="3000" data-ease-out="2000" data-delay="0" data-time="3000">Is the first FREE Wordpress slider<br />with layers animations!</div>
41
+ <div style="font-size: 22px; line-height: 26px; color: #fff; font-family: 'Rokkitt', serif;" data-top="300" data-left="60" data-in="slideRight" data-out="slideLeft" data-ease-in="3000" data-ease-out="2000" data-delay="0" data-time="3000">Another simple text</div>
42
+ <a data-top="149" data-left="837" data-in="slideLeft" data-out="slideRight" data-ease-in="200" data-ease-out="200" data-delay="0" data-time="all" href="http://www.google.it" target="_blank">
43
+ <img alt="" src="images/house.png" />
44
+ </a>
45
+ <img alt="" src="images/airplane.png" style="height:auto" data-top="44" data-left="1140" data-in="slideRight" data-out="slideRight" data-ease-in="10800" data-ease-out="0" data-delay="0" data-time="0" data-wait-me-out="1" />
46
+ <a data-top="254" data-left="0" data-in="slideUp" data-out="slideDown" data-ease-in="1080" data-ease-out="200" data-delay="0" data-time="all" href="http://www.google.it" target="_blank">
47
+ <img alt="" src="images/hill.png" />
48
+ </a>
49
+ </li>
50
+
51
+ <li
52
+ style="
53
+ background-color: transparent;
54
+ background-image: url('images/bg1.png');
55
+ background-position-x: auto;
56
+ background-position-y: auto;
57
+ background-repeat: repeat;
58
+ background-size: cover;
59
+
60
+ "
61
+ data-in="slideLeft"
62
+ data-ease-in="1500"
63
+ data-out="slideLeft"
64
+ data-ease-out="400"
65
+ data-time="10000"
66
+ >
67
+ <div
68
+ style="z-index: 1;
69
+ font-size: 48px;
70
+ color: #fff;
71
+ font-family: 'Rokkitt', serif;
72
+ "
73
+ data-delay="2500"
74
+ data-ease-in="30000"
75
+ data-ease-out="200"
76
+ data-in="slideRight"
77
+ data-out="slideLeft"
78
+ data-top="190"
79
+ data-left="60"
80
+ data-time="all"
81
+ data-ignore-ease-out="0"
82
+ >
83
+ <h2>Create Slides</h2>
84
+ </div>
85
+ <img
86
+ src="images/airplane.png"
87
+ alt=""
88
+ style="
89
+ z-index: 1;
90
+
91
+ "
92
+ data-delay="0"
93
+ data-ease-in="0"
94
+ data-ease-out="10800"
95
+ data-in="none"
96
+ data-out="slideRight"
97
+ data-top="44"
98
+ data-left="-2414"
99
+ data-time="0"
100
+ data-ignore-ease-out="1"
101
+ />
102
+ <img
103
+ src="images/hill.png"
104
+ alt=""
105
+ style="
106
+ z-index: 1;
107
+
108
+ "
109
+ data-delay="0"
110
+ data-ease-in="200"
111
+ data-ease-out="200"
112
+ data-in="slideUp"
113
+ data-out="slideDown"
114
+ data-top="254"
115
+ data-left="0"
116
+ data-time="all"
117
+ />
118
+ <img
119
+ src="images/house.png"
120
+ alt=""
121
+ style="
122
+ z-index: 0;
123
+
124
+ "
125
+ data-delay="400"
126
+ data-ease-in="200"
127
+ data-ease-out="200"
128
+ data-in="slideLeft"
129
+ data-out="slideRight"
130
+ data-top="149"
131
+ data-left="837"
132
+ data-time="all"
133
+ />
134
+ <div
135
+ style="z-index: 1;
136
+ font-size: 22px;
137
+ line-height: 26px;
138
+ color: #fff;
139
+ font-family: 'Rokkitt', serif;
140
+ "
141
+ data-delay="1100"
142
+ data-ease-in="300"
143
+ data-ease-out="200"
144
+ data-in="slideRight"
145
+ data-out="slideLeft"
146
+ data-top="245"
147
+ data-left="60"
148
+ data-time="3100"
149
+ >
150
+ 1 They are colored, animated, creative.<br/>Make your WebSite more awesome
151
+ </div>
152
+ <div
153
+ style="z-index: 1;
154
+ font-size: 22px;
155
+ line-height: 26px;
156
+ color: #fff;
157
+ font-family: 'Rokkitt', serif;
158
+ "
159
+ data-delay="5100"
160
+ data-ease-in="300"
161
+ data-ease-out="200"
162
+ data-in="slideRight"
163
+ data-out="slideLeft"
164
+ data-top="245"
165
+ data-left="60"
166
+ data-time="7100"
167
+ >
168
+ 2 They are colored, animated, creative.<br/>Make your WebSite more awesome
169
+ </div>
170
+ </li>
171
+
172
+ <li
173
+ style="
174
+ background-color: #000;
175
+ background-position-x: center;
176
+ background-position-y: center;
177
+ background-repeat: no-repeat;
178
+ background-size: cover;
179
+
180
+ "
181
+ data-in="fade"
182
+ data-ease-in="6000"
183
+ data-out="fade"
184
+ data-ease-out="300"
185
+ data-time="2000"
186
+ >
187
+ <div
188
+ style="z-index: 1;
189
+ font-size: 48px;
190
+ color: #fff;
191
+ font-family: 'Lato';
192
+ opacity: .5;
193
+ letter-spacing: 10px;
194
+ "
195
+ data-delay="0"
196
+ data-ease-in="600"
197
+ data-ease-out="600"
198
+ data-in="fadeDown"
199
+ data-out="fadeSmallDown"
200
+ data-top="195"
201
+ data-left="386"
202
+ data-time="all"
203
+ data-ignore-ease-out="1"
204
+ >
205
+ CRELLY SLIDER
206
+ </div>
207
+ <div
208
+ style="z-index: 1;
209
+ font-size: 18px;
210
+ color: #fff;
211
+ font-family: 'Lato';
212
+ "
213
+ data-delay="600"
214
+ data-ease-in="400"
215
+ data-ease-out="400"
216
+ data-in="fadeSmallDown"
217
+ data-out="fadeSmallDown"
218
+ data-top="273"
219
+ data-left="337"
220
+ data-time="all"
221
+ data-ignore-ease-out="1"
222
+ >
223
+ the first FREE WordPress slider with elements animations
224
+ </div>
225
+ </li>
226
+
227
+ <li style="background: url('images/bg2.png');" data-in="slideLeft" data-out="slideUp" data-ease-out="2500" data-time="10000">
228
+ <div style="font-size: 24px; color: #fff; font-family: 'Bender', 'Rokkitt', serif;" data-top="105" data-left="385" data-in="slideUp" data-out="slideLeft" data-ease-in="300" data-ease-out="300" data-delay="600" data-time="15000" data-ignore-ease-out="1">IT'S FREE</div>
229
+ <img alt="" src="images/and.png" data-top="82" data-left="505" data-in="slideUp" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="600" data-time="all" />
230
+ <div style="font-size: 24px; color: #fff; font-family: 'Bender', 'Rokkitt', serif;" data-top="105" data-left="578" data-in="slideUp" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="600" data-time="all">IT'S OPEN - SOURCE</div>
231
+ <img alt="" src="images/code.png" data-top="216" data-left="60" data-in="slideUp" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="800" data-time="all" />
232
+ <img alt="" src="images/magic.png" data-top="323" data-left="705" data-in="slideUp" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="1100" data-time="all" />
233
+ <img alt="" src="images/arrow-UpRight.png" data-top="249" data-left="798" data-in="fade" data-out="slideUp" data-ease-in="300" data-ease-out="200" data-delay="1400" data-time="all" />
234
+ <img alt="" src="images/arrow-right.png" data-top="349" data-left="798" data-in="fade" data-out="slideUp" data-ease-in="300" data-ease-out="200" data-delay="1700" data-time="all" />
235
+ <img alt="" src="images/arrow-downRight.png" data-top="409" data-left="798" data-in="fade" data-out="slideUp" data-ease-in="300" data-ease-out="200" data-delay="2000" data-time="all" />
236
+ <img alt="" src="images/document.png" data-top="259" data-left="940" data-in="fadeSmallLeft" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="2300" data-time="all" />
237
+ <div style="font-size: 14px; color: #fff;" data-top="258" data-left="976" data-in="fadeSmallLeft" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="2300" data-time="all">Well Documented</div>
238
+ <img alt="" src="images/tick.png" data-top="349" data-left="940" data-in="fadeSmallLeft" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="2300" data-time="all" />
239
+ <div style="font-size: 14px; color: #fff;" data-top="348" data-left="976" data-in="fadeSmallLeft" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="2300" data-time="all">Clear Code</div>
240
+ <img alt="" src="images/heart.png" data-top="439" data-left="940" data-in="fadeSmallLeft" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="2300" data-time="all" />
241
+ <div style="font-size: 14px; color: #fff;" data-top="438" data-left="976" data-in="fadeSmallLeft" data-out="slideLeft" data-ease-in="300" data-ease-out="200" data-delay="2300" data-time="all">Done with Love</div>
242
+ </li>
243
+ </ul>
244
+ </div>
245
+
246
+ <br />
247
+ <br />
248
+
249
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
250
+ <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
251
+ <script type="text/javascript" src="../js/jquery.crellyslider.js"></script>
252
+
253
+ <script type="text/javascript">
254
+ jQuery(document).ready(function($) {
255
+ $('#demo-1').crellySlider({
256
+ layout : 'full-width',
257
+ automaticSlide : false,
258
+ ignoreElementsEaseOut : false,
259
+ responsive : true,
260
+ beforeStart : function() {console.log('before start')},
261
+ beforeSetResponsive : function() {console.log('before set responsive')},
262
+ beforeSlideStart : function() {console.log(new Date())},
263
+ beforePause : function() {console.log('before pause')},
264
+ beforeResume : function() {console.log('before resume')},
265
+ });
266
+ });
267
+ </script>
268
+
269
+ </body>
270
+
271
+ </html>
images/{navigation-links.png → arrow-left.png} RENAMED
Binary file
images/{controls.png → arrow-right.png} RENAMED
Binary file
images/preloader.gif DELETED
Binary file
js/jquery.crellyslider.js CHANGED
@@ -2,7 +2,7 @@
2
  * Plugin Name: Crelly Slider
3
  * Plugin URI: http://fabiorino1.altervista.org/projects/crellyslider
4
  * Description: The first free WordPress slider with elements animations.
5
- * Version: 0.8.2
6
  * Author: fabiorino
7
  * Author URI: http://fabiorino1.altervista.org
8
  * License: MIT
@@ -10,19 +10,30 @@
10
 
11
  (function($) {
12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  /*******************/
14
  /** CRELLY SLIDER **/
15
  /*******************/
16
 
17
- var CrellySlider = function(target, settings) {
18
-
19
- /************************/
20
- /** EXTERNAL RESOURCES **/
21
- /************************/
22
-
23
- // TouchSwipe 1.6 (http://labs.rampinteractive.co.uk/touchSwipe/)
24
- // fn.swipe has been replaced with fn.crellyslider_swipe to avoid compatibility issues with other scripts
25
- (function(a){if(typeof define==="function"&&define.amd&&define.amd.jQuery){define(["jquery"],a)}else{a(jQuery)}}(function(f){var p="left",o="right",e="up",x="down",c="in",z="out",m="none",s="auto",l="swipe",t="pinch",A="tap",j="doubletap",b="longtap",y="hold",D="horizontal",u="vertical",i="all",r=10,g="start",k="move",h="end",q="cancel",a="ontouchstart" in window,v=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,d=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,B="TouchSwipe";var n={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:true,triggerOnTouchLeave:false,allowPageScroll:"auto",fallbackToMouseEvents:true,excludedElements:"label, button, input, select, textarea, a, .noSwipe"};f.fn.crellyslider_swipe=function(G){var F=f(this),E=F.data(B);if(E&&typeof G==="string"){if(E[G]){return E[G].apply(this,Array.prototype.slice.call(arguments,1))}else{f.error("Method "+G+" does not exist on jQuery.swipe")}}else{if(!E&&(typeof G==="object"||!G)){return w.apply(this,arguments)}}return F};f.fn.crellyslider_swipe.defaults=n;f.fn.crellyslider_swipe.phases={PHASE_START:g,PHASE_MOVE:k,PHASE_END:h,PHASE_CANCEL:q};f.fn.crellyslider_swipe.directions={LEFT:p,RIGHT:o,UP:e,DOWN:x,IN:c,OUT:z};f.fn.crellyslider_swipe.pageScroll={NONE:m,HORIZONTAL:D,VERTICAL:u,AUTO:s};f.fn.crellyslider_swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:i};function w(E){if(E&&(E.allowPageScroll===undefined&&(E.swipe!==undefined||E.swipeStatus!==undefined))){E.allowPageScroll=m}if(E.click!==undefined&&E.tap===undefined){E.tap=E.click}if(!E){E={}}E=f.extend({},f.fn.crellyslider_swipe.defaults,E);return this.each(function(){var G=f(this);var F=G.data(B);if(!F){F=new C(this,E);G.data(B,F)}})}function C(a4,av){var az=(a||d||!av.fallbackToMouseEvents),J=az?(d?(v?"MSPointerDown":"pointerdown"):"touchstart"):"mousedown",ay=az?(d?(v?"MSPointerMove":"pointermove"):"touchmove"):"mousemove",U=az?(d?(v?"MSPointerUp":"pointerup"):"touchend"):"mouseup",S=az?null:"mouseleave",aD=(d?(v?"MSPointerCancel":"pointercancel"):"touchcancel");var ag=0,aP=null,ab=0,a1=0,aZ=0,G=1,aq=0,aJ=0,M=null;var aR=f(a4);var Z="start";var W=0;var aQ=null;var T=0,a2=0,a5=0,ad=0,N=0;var aW=null,af=null;try{aR.bind(J,aN);aR.bind(aD,a9)}catch(ak){f.error("events not supported "+J+","+aD+" on jQuery.swipe")}this.enable=function(){aR.bind(J,aN);aR.bind(aD,a9);return aR};this.disable=function(){aK();return aR};this.destroy=function(){aK();aR.data(B,null);return aR};this.option=function(bc,bb){if(av[bc]!==undefined){if(bb===undefined){return av[bc]}else{av[bc]=bb}}else{f.error("Option "+bc+" does not exist on jQuery.swipe.options")}return null};function aN(bd){if(aB()){return}if(f(bd.target).closest(av.excludedElements,aR).length>0){return}var be=bd.originalEvent?bd.originalEvent:bd;var bc,bb=a?be.touches[0]:be;Z=g;if(a){W=be.touches.length}else{bd.preventDefault()}ag=0;aP=null;aJ=null;ab=0;a1=0;aZ=0;G=1;aq=0;aQ=aj();M=aa();R();if(!a||(W===av.fingers||av.fingers===i)||aX()){ai(0,bb);T=at();if(W==2){ai(1,be.touches[1]);a1=aZ=au(aQ[0].start,aQ[1].start)}if(av.swipeStatus||av.pinchStatus){bc=O(be,Z)}}else{bc=false}if(bc===false){Z=q;O(be,Z);return bc}else{if(av.hold){af=setTimeout(f.proxy(function(){aR.trigger("hold",[be.target]);if(av.hold){bc=av.hold.call(aR,be,be.target)}},this),av.longTapThreshold)}ao(true)}return null}function a3(be){var bh=be.originalEvent?be.originalEvent:be;if(Z===h||Z===q||am()){return}var bd,bc=a?bh.touches[0]:bh;var bf=aH(bc);a2=at();if(a){W=bh.touches.length}if(av.hold){clearTimeout(af)}Z=k;if(W==2){if(a1==0){ai(1,bh.touches[1]);a1=aZ=au(aQ[0].start,aQ[1].start)}else{aH(bh.touches[1]);aZ=au(aQ[0].end,aQ[1].end);aJ=ar(aQ[0].end,aQ[1].end)}G=a7(a1,aZ);aq=Math.abs(a1-aZ)}if((W===av.fingers||av.fingers===i)||!a||aX()){aP=aL(bf.start,bf.end);al(be,aP);ag=aS(bf.start,bf.end);ab=aM();aI(aP,ag);if(av.swipeStatus||av.pinchStatus){bd=O(bh,Z)}if(!av.triggerOnTouchEnd||av.triggerOnTouchLeave){var bb=true;if(av.triggerOnTouchLeave){var bg=aY(this);bb=E(bf.end,bg)}if(!av.triggerOnTouchEnd&&bb){Z=aC(k)}else{if(av.triggerOnTouchLeave&&!bb){Z=aC(h)}}if(Z==q||Z==h){O(bh,Z)}}}else{Z=q;O(bh,Z)}if(bd===false){Z=q;O(bh,Z)}}function L(bb){var bc=bb.originalEvent;if(a){if(bc.touches.length>0){F();return true}}if(am()){W=ad}a2=at();ab=aM();if(ba()||!an()){Z=q;O(bc,Z)}else{if(av.triggerOnTouchEnd||(av.triggerOnTouchEnd==false&&Z===k)){bb.preventDefault();Z=h;O(bc,Z)}else{if(!av.triggerOnTouchEnd&&a6()){Z=h;aF(bc,Z,A)}else{if(Z===k){Z=q;O(bc,Z)}}}}ao(false);return null}function a9(){W=0;a2=0;T=0;a1=0;aZ=0;G=1;R();ao(false)}function K(bb){var bc=bb.originalEvent;if(av.triggerOnTouchLeave){Z=aC(h);O(bc,Z)}}function aK(){aR.unbind(J,aN);aR.unbind(aD,a9);aR.unbind(ay,a3);aR.unbind(U,L);if(S){aR.unbind(S,K)}ao(false)}function aC(bf){var be=bf;var bd=aA();var bc=an();var bb=ba();if(!bd||bb){be=q}else{if(bc&&bf==k&&(!av.triggerOnTouchEnd||av.triggerOnTouchLeave)){be=h}else{if(!bc&&bf==h&&av.triggerOnTouchLeave){be=q}}}return be}function O(bd,bb){var bc=undefined;if(I()||V()){bc=aF(bd,bb,l)}else{if((P()||aX())&&bc!==false){bc=aF(bd,bb,t)}}if(aG()&&bc!==false){bc=aF(bd,bb,j)}else{if(ap()&&bc!==false){bc=aF(bd,bb,b)}else{if(ah()&&bc!==false){bc=aF(bd,bb,A)}}}if(bb===q){a9(bd)}if(bb===h){if(a){if(bd.touches.length==0){a9(bd)}}else{a9(bd)}}return bc}function aF(be,bb,bd){var bc=undefined;if(bd==l){aR.trigger("swipeStatus",[bb,aP||null,ag||0,ab||0,W,aQ]);if(av.swipeStatus){bc=av.swipeStatus.call(aR,be,bb,aP||null,ag||0,ab||0,W,aQ);if(bc===false){return false}}if(bb==h&&aV()){aR.trigger("swipe",[aP,ag,ab,W,aQ]);if(av.swipe){bc=av.swipe.call(aR,be,aP,ag,ab,W,aQ);if(bc===false){return false}}switch(aP){case p:aR.trigger("swipeLeft",[aP,ag,ab,W,aQ]);if(av.swipeLeft){bc=av.swipeLeft.call(aR,be,aP,ag,ab,W,aQ)}break;case o:aR.trigger("swipeRight",[aP,ag,ab,W,aQ]);if(av.swipeRight){bc=av.swipeRight.call(aR,be,aP,ag,ab,W,aQ)}break;case e:aR.trigger("swipeUp",[aP,ag,ab,W,aQ]);if(av.swipeUp){bc=av.swipeUp.call(aR,be,aP,ag,ab,W,aQ)}break;case x:aR.trigger("swipeDown",[aP,ag,ab,W,aQ]);if(av.swipeDown){bc=av.swipeDown.call(aR,be,aP,ag,ab,W,aQ)}break}}}if(bd==t){aR.trigger("pinchStatus",[bb,aJ||null,aq||0,ab||0,W,G,aQ]);if(av.pinchStatus){bc=av.pinchStatus.call(aR,be,bb,aJ||null,aq||0,ab||0,W,G,aQ);if(bc===false){return false}}if(bb==h&&a8()){switch(aJ){case c:aR.trigger("pinchIn",[aJ||null,aq||0,ab||0,W,G,aQ]);if(av.pinchIn){bc=av.pinchIn.call(aR,be,aJ||null,aq||0,ab||0,W,G,aQ)}break;case z:aR.trigger("pinchOut",[aJ||null,aq||0,ab||0,W,G,aQ]);if(av.pinchOut){bc=av.pinchOut.call(aR,be,aJ||null,aq||0,ab||0,W,G,aQ)}break}}}if(bd==A){if(bb===q||bb===h){clearTimeout(aW);clearTimeout(af);if(Y()&&!H()){N=at();aW=setTimeout(f.proxy(function(){N=null;aR.trigger("tap",[be.target]);if(av.tap){bc=av.tap.call(aR,be,be.target)}},this),av.doubleTapThreshold)}else{N=null;aR.trigger("tap",[be.target]);if(av.tap){bc=av.tap.call(aR,be,be.target)}}}}else{if(bd==j){if(bb===q||bb===h){clearTimeout(aW);N=null;aR.trigger("doubletap",[be.target]);if(av.doubleTap){bc=av.doubleTap.call(aR,be,be.target)}}}else{if(bd==b){if(bb===q||bb===h){clearTimeout(aW);N=null;aR.trigger("longtap",[be.target]);if(av.longTap){bc=av.longTap.call(aR,be,be.target)}}}}}return bc}function an(){var bb=true;if(av.threshold!==null){bb=ag>=av.threshold}return bb}function ba(){var bb=false;if(av.cancelThreshold!==null&&aP!==null){bb=(aT(aP)-ag)>=av.cancelThreshold}return bb}function ae(){if(av.pinchThreshold!==null){return aq>=av.pinchThreshold}return true}function aA(){var bb;if(av.maxTimeThreshold){if(ab>=av.maxTimeThreshold){bb=false}else{bb=true}}else{bb=true}return bb}function al(bb,bc){if(av.allowPageScroll===m||aX()){bb.preventDefault()}else{var bd=av.allowPageScroll===s;switch(bc){case p:if((av.swipeLeft&&bd)||(!bd&&av.allowPageScroll!=D)){bb.preventDefault()}break;case o:if((av.swipeRight&&bd)||(!bd&&av.allowPageScroll!=D)){bb.preventDefault()}break;case e:if((av.swipeUp&&bd)||(!bd&&av.allowPageScroll!=u)){bb.preventDefault()}break;case x:if((av.swipeDown&&bd)||(!bd&&av.allowPageScroll!=u)){bb.preventDefault()}break}}}function a8(){var bc=aO();var bb=X();var bd=ae();return bc&&bb&&bd}function aX(){return !!(av.pinchStatus||av.pinchIn||av.pinchOut)}function P(){return !!(a8()&&aX())}function aV(){var be=aA();var bg=an();var bd=aO();var bb=X();var bc=ba();var bf=!bc&&bb&&bd&&bg&&be;return bf}function V(){return !!(av.swipe||av.swipeStatus||av.swipeLeft||av.swipeRight||av.swipeUp||av.swipeDown)}function I(){return !!(aV()&&V())}function aO(){return((W===av.fingers||av.fingers===i)||!a)}function X(){return aQ[0].end.x!==0}function a6(){return !!(av.tap)}function Y(){return !!(av.doubleTap)}function aU(){return !!(av.longTap)}function Q(){if(N==null){return false}var bb=at();return(Y()&&((bb-N)<=av.doubleTapThreshold))}function H(){return Q()}function ax(){return((W===1||!a)&&(isNaN(ag)||ag<av.threshold))}function a0(){return((ab>av.longTapThreshold)&&(ag<r))}function ah(){return !!(ax()&&a6())}function aG(){return !!(Q()&&Y())}function ap(){return !!(a0()&&aU())}function F(){a5=at();ad=event.touches.length+1}function R(){a5=0;ad=0}function am(){var bb=false;if(a5){var bc=at()-a5;if(bc<=av.fingerReleaseThreshold){bb=true}}return bb}function aB(){return !!(aR.data(B+"_intouch")===true)}function ao(bb){if(bb===true){aR.bind(ay,a3);aR.bind(U,L);if(S){aR.bind(S,K)}}else{aR.unbind(ay,a3,false);aR.unbind(U,L,false);if(S){aR.unbind(S,K,false)}}aR.data(B+"_intouch",bb===true)}function ai(bc,bb){var bd=bb.identifier!==undefined?bb.identifier:0;aQ[bc].identifier=bd;aQ[bc].start.x=aQ[bc].end.x=bb.pageX||bb.clientX;aQ[bc].start.y=aQ[bc].end.y=bb.pageY||bb.clientY;return aQ[bc]}function aH(bb){var bd=bb.identifier!==undefined?bb.identifier:0;var bc=ac(bd);bc.end.x=bb.pageX||bb.clientX;bc.end.y=bb.pageY||bb.clientY;return bc}function ac(bc){for(var bb=0;bb<aQ.length;bb++){if(aQ[bb].identifier==bc){return aQ[bb]}}}function aj(){var bb=[];for(var bc=0;bc<=5;bc++){bb.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0})}return bb}function aI(bb,bc){bc=Math.max(bc,aT(bb));M[bb].distance=bc}function aT(bb){if(M[bb]){return M[bb].distance}return undefined}function aa(){var bb={};bb[p]=aw(p);bb[o]=aw(o);bb[e]=aw(e);bb[x]=aw(x);return bb}function aw(bb){return{direction:bb,distance:0}}function aM(){return a2-T}function au(be,bd){var bc=Math.abs(be.x-bd.x);var bb=Math.abs(be.y-bd.y);return Math.round(Math.sqrt(bc*bc+bb*bb))}function a7(bb,bc){var bd=(bc/bb)*1;return bd.toFixed(2)}function ar(){if(G<1){return z}else{return c}}function aS(bc,bb){return Math.round(Math.sqrt(Math.pow(bb.x-bc.x,2)+Math.pow(bb.y-bc.y,2)))}function aE(be,bc){var bb=be.x-bc.x;var bg=bc.y-be.y;var bd=Math.atan2(bg,bb);var bf=Math.round(bd*180/Math.PI);if(bf<0){bf=360-Math.abs(bf)}return bf}function aL(bc,bb){var bd=aE(bc,bb);if((bd<=45)&&(bd>=0)){return p}else{if((bd<=360)&&(bd>=315)){return p}else{if((bd>=135)&&(bd<=225)){return o}else{if((bd>45)&&(bd<135)){return x}else{return e}}}}}function at(){var bb=new Date();return bb.getTime()}function aY(bb){bb=f(bb);var bd=bb.offset();var bc={left:bd.left,right:bd.left+bb.outerWidth(),top:bd.top,bottom:bd.top+bb.outerHeight()};return bc}function E(bb,bc){return(bb.x>bc.left&&bb.x<bc.right&&bb.y>bc.top&&bb.y<bc.bottom)}}}));
26
 
27
  /**********************/
28
  /** USEFUL VARIABLES **/
@@ -39,14 +50,19 @@
39
  var current_slide = 0;
40
 
41
  var paused = false;
42
- var can_pause = false;
43
- var can_change_slide = false;
 
44
 
45
  // Slide timer: only current slide. Elements timers: all the elements. This prevents conflicts during changes and pauses
46
  var current_slide_time_timer = new Timer(function() {}, 0);
47
  var elements_times_timers = new Array();
48
  var elements_delays_timers = new Array();
49
 
 
 
 
 
50
  var scale = 1;
51
  var window_width_before_setResponsive = 0; // This variable is useful ONLY to prevent that window.resize fires on vertical resizing or on a right window width
52
 
@@ -54,7 +70,19 @@
54
  /** INITIALIZATION **/
55
  /********************/
56
 
57
- init();
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
  // The slider constructor: runs automatically only the first time, sets the basic needs of the slider and the preloader then runs Crelly Slider
60
  function init() {
@@ -111,15 +139,172 @@
111
  }
112
  setLayout();
113
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  setPreloader();
115
 
116
- // In WP window.load does not fire. Need to add that variable
117
- if(typeof crellyslider_is_wordpress_admin == 'undefined' || ! crellyslider_is_wordpress_admin) {
118
- loadWindow();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  }
120
- else {
121
- loadedWindow();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  }
124
 
125
  // Waits until the window loads
@@ -130,9 +315,7 @@
130
  }
131
 
132
  // Does operations after window.load is complete. Need to do it as a function for back-end compatibility
133
- function loadedWindow() {
134
- unsetPreloader();
135
-
136
  // Set layout for the second time
137
  if(settings.responsive) {
138
  setScale();
@@ -145,6 +328,8 @@
145
 
146
  addListeners();
147
 
 
 
148
  settings.beforeStart();
149
 
150
  // Positions and responsive dimensions then run
@@ -224,26 +409,21 @@
224
  });
225
 
226
  // Swipe and drag
227
- if(settings.enableSwipe) {
228
- SLIDER.find(CRELLY).crellyslider_swipe({
229
- swipeLeft : function(event, direction, distance, duration, fingerCount) {
230
- resume();
231
- changeSlide(getNextSlide());
232
- },
233
-
234
- swipeRight : function(event, direction, distance, duration, fingerCount) {
235
- resume();
236
- changeSlide(getPreviousSlide());
237
- },
238
  });
239
  }
240
 
241
  // Navigation link click
242
  SLIDER.find(CRELLY).find('.cs-navigation > .cs-slide-link').click(function() {
243
- if($(this).index() != current_slide) {
244
- paused = false;
245
- changeSlide($(this).index());
246
- }
247
  });
248
 
249
  // Pause on hover
@@ -258,22 +438,75 @@
258
  }
259
  }
260
 
261
- // Sets gif loader
262
  function setPreloader() {
263
- SLIDER.find(CRELLY).find(SLIDES).css('display', 'none');
 
264
  SLIDER.find(CRELLY).find('.cs-progress-bar').css('display', 'none');
265
  SLIDER.find(CRELLY).find('.cs-navigation').css('display', 'none');
266
- SLIDER.find(CRELLY).find('.cs-controls').css('display', 'none');
267
- SLIDER.find(CRELLY).append('<div class="cs-preloader"><div class="cs-loader"></div></div>');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
268
  }
269
 
270
- // Removes gif loader
271
  function unsetPreloader() {
272
- SLIDER.find(CRELLY).find(SLIDES).css('display', 'block');
 
273
  SLIDER.find(CRELLY).find('.cs-progress-bar').css('display', 'block');
274
  SLIDER.find(CRELLY).find('.cs-navigation').css('display', 'block');
275
  SLIDER.find(CRELLY).find('.cs-controls').css('display', 'block');
276
- SLIDER.find(CRELLY).find('.cs-preloader').remove();
 
 
 
 
 
 
 
 
 
 
277
  }
278
 
279
  /*******************************/
@@ -360,6 +593,10 @@
360
  element.finish();
361
  elementIn(element);
362
  element.finish();
 
 
 
 
363
  });
364
  });
365
 
@@ -384,6 +621,10 @@
384
  element.finish();
385
  elementOut(element);
386
  element.finish();
 
 
 
 
387
  });
388
 
389
  slide.finish();
@@ -397,11 +638,9 @@
397
  }
398
 
399
  // Scales a text or an image and their contents
400
- function scaleElement(element) {
401
  // Standard element
402
  element.css({
403
- 'width' : getScaled(getItemData(element, 'width')),
404
- 'height' : getScaled(getItemData(element, 'height')),
405
  'top' : getScaled(getItemData(element, 'top') + getLayoutGaps(element).top),
406
  'left' : getScaled(getItemData(element, 'left') + getLayoutGaps(element).left),
407
  'padding-top' : getScaled(getItemData(element, 'padding-top')),
@@ -411,30 +650,20 @@
411
  });
412
 
413
  // Element contains text
414
- if(element.text() != '') {
415
- element.css({
416
- 'width' : 'auto',
417
- 'height' : 'auto',
418
  'line-height' : getScaled(getItemData(element, 'line-height')) + 'px',
419
  'letter-spacing' : getScaled(getItemData(element, 'letter-spacing')),
420
  'font-size' : getScaled(getItemData(element, 'font-size')),
421
  });
422
-
423
- /*
424
- Warning: these lines were here because, in text elements, the width and the height depends on font-size, line height etc..
425
- Because of that, the we didn't really have to set the width and the height manually because the browser calculated them based on font-size, line-height etc.
426
- But, because I hate to see "width: auto", I wanted to set them.
427
- The problem appears when we have other HTML inside the text layer. It is scaled correctly but the width and the height aren't.
428
- This is not a big problem because, without specifying the dimensions, the slider works with "auto" parameter (wich is correct).
429
- If, in a future, I will have to specify a width and a height, I will have to try to fix the width() jQuery function that returns 0 when the element is in "display: none"
430
-
431
- if(element.width() > 0) {
432
- element.css('width', element.width());
433
- }
434
- if(element.height() > 0) {
435
- element.css('height', element.height());
436
- }
437
- */
438
  }
439
  }
440
 
@@ -461,13 +690,15 @@
461
  /*********************/
462
 
463
  // Runs Crelly from the current slide
464
- function play() {
465
  if(settings.automaticSlide) {
466
  loopSlides();
467
  }
468
  else {
469
  executeSlide(current_slide);
470
  }
 
 
471
  }
472
 
473
  // Stops all the slides and the elements and resets the progress bar
@@ -625,6 +856,26 @@
625
  return settings.ignoreElementsEaseOut;
626
  break;
627
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
628
  case 'top' :
629
  case 'left' :
630
  case 'width' :
@@ -692,6 +943,11 @@
692
  this.resume();
693
  }
694
 
 
 
 
 
 
695
  /*****************/
696
  /** SLIDER CORE **/
697
  /*****************/
@@ -706,8 +962,8 @@
706
  });
707
  }
708
 
709
- // Resets the progress bar and draw the new progress bar for the received slide
710
- function drawProgressBar(slide_index) {
711
  var progress_bar = SLIDER.find(CRELLY).find('.cs-progress-bar');
712
 
713
  resetProgressBar();
@@ -743,8 +999,12 @@
743
  }
744
 
745
  // Finishes the current slide (animations out of elements and slide) and then plays the new slide
746
- function changeSlide(slide_index) {
747
- if(can_change_slide) {
 
 
 
 
748
  stop(false);
749
 
750
  finishSlide(current_slide, false, true).done(function() {
@@ -760,6 +1020,8 @@
760
 
761
  var def = new $.Deferred();
762
 
 
 
763
  // If something is still animating, reset
764
  for(var i = 0; i < elements_times_timers.length; i++) {
765
  elements_times_timers[i].clear();
@@ -786,11 +1048,13 @@
786
 
787
  if(settings.automaticSlide) {
788
  finishSlide(slide_index, true, true).done(function() {
 
789
  def.resolve();
790
  });
791
  }
792
  else {
793
  finishSlide(slide_index, true, false).done(function() {
 
794
  def.resolve();
795
  });
796
  }
@@ -809,14 +1073,12 @@
809
  var def = new $.Deferred();
810
 
811
  can_pause = false;
812
- can_change_slide = false;
813
 
814
  // Do slide in animation
815
- slideIn(slide_index).done(function() {
816
- drawProgressBar(slide_index);
817
 
818
  can_pause = true;
819
- can_change_slide = true;
820
 
821
  slide_in_completed = true;
822
  if(slide_in_completed && elements_in_completed == elements.length) {
@@ -830,7 +1092,11 @@
830
  var element_delay = getItemData(element, 'delay');
831
 
832
  elements_delays_timers.push(new Timer(function() {
833
- elementIn(element).done(function() {
 
 
 
 
834
  elements_in_completed++;
835
  if(slide_in_completed && elements_in_completed == elements.length) {
836
  def.resolve();
@@ -842,7 +1108,9 @@
842
  return def.promise();
843
  }
844
 
845
- // Does all times, elements out animations and slide out animation. If necessary, won't animate out the slide and the elements with time == "all"
 
 
846
  function finishSlide(slide_index, execute_time, animate_all_out) {
847
  var slide = getSlide(slide_index);
848
  var elements = slide.find(ELEMENTS);
@@ -864,7 +1132,8 @@
864
  if(getItemData(element, 'ignore-ease-out')) {
865
  elements_out_completed++;
866
 
867
- if(elements.length == elements_out_completed && slide_time_completed) {
 
868
  slideOut(slide_index);
869
  def.resolve();
870
  }
@@ -875,7 +1144,8 @@
875
  if(! getItemData(element, 'ignore-ease-out')) {
876
  elements_out_completed++;
877
 
878
- if(elements.length == elements_out_completed && slide_time_completed) {
 
879
  slideOut(slide_index);
880
  def.resolve();
881
  }
@@ -893,18 +1163,16 @@
893
 
894
  slide_time_completed = true;
895
 
896
- if(elements.length == elements_out_completed && slide_time_completed) {
 
897
  slideOut(slide_index);
898
  def.resolve();
899
  }
900
 
901
  if(! animate_all_out) {
902
- can_change_slide = true;
903
  def.resolve();
904
  }
905
- else {
906
- can_change_slide = false;
907
-
908
  // Elements with time == "all"
909
  elements.each(function() {
910
  var element = $(this);
@@ -914,7 +1182,8 @@
914
  if(getItemData(element, 'ignore-ease-out')) {
915
  elements_out_completed++;
916
 
917
- if(elements.length == elements_out_completed && slide_time_completed) {
 
918
  slideOut(slide_index);
919
  def.resolve();
920
  }
@@ -924,7 +1193,8 @@
924
  if(! getItemData(element, 'ignore-ease-out')) {
925
  elements_out_completed++;
926
 
927
- if(elements.length == elements_out_completed && slide_time_completed) {
 
928
  slideOut(slide_index);
929
  def.resolve();
930
  }
@@ -938,12 +1208,143 @@
938
  return def.promise();
939
  }
940
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
941
  /****************/
942
  /** ANIMATIONS **/
943
  /****************/
944
 
 
 
945
  // Does slide in animation
946
- function slideIn(slide_index) {
947
  var slide = getSlide(slide_index);
948
  var data_in = getItemData(slide, 'in');
949
  var data_ease_in = getItemData(slide, 'ease-in');
@@ -954,6 +1355,17 @@
954
  return def.resolve().promise();
955
  }
956
 
 
 
 
 
 
 
 
 
 
 
 
957
  switch(data_in) {
958
  case 'fade' :
959
  slide.css({
@@ -998,6 +1410,7 @@
998
  'display' : 'block',
999
  'top' : 0,
1000
  'left' : getWidth(),
 
1001
  });
1002
  slide.animate({
1003
  'left' : 0,
@@ -1009,6 +1422,7 @@
1009
  'display' : 'block',
1010
  'top' : 0,
1011
  'left' : -getWidth(),
 
1012
  });
1013
  slide.animate({
1014
  'left' : 0,
@@ -1020,6 +1434,7 @@
1020
  'display' : 'block',
1021
  'top' : getHeight(),
1022
  'left' : 0,
 
1023
  });
1024
  slide.animate({
1025
  'top' : 0,
@@ -1031,6 +1446,7 @@
1031
  'display' : 'block',
1032
  'top' : -getHeight(),
1033
  'left' : 0,
 
1034
  });
1035
  slide.animate({
1036
  'top' : 0,
@@ -1191,6 +1607,7 @@
1191
  'display' : 'block',
1192
  'top' : -element_height,
1193
  'left' : getScaled(data_left + getLayoutGaps(element).left),
 
1194
  }).animate({
1195
  'top' : getScaled(data_top + getLayoutGaps(element).top),
1196
  }, data_ease_in, function() { def.resolve(); });
@@ -1201,6 +1618,7 @@
1201
  'display' : 'block',
1202
  'top' : getHeight(),
1203
  'left' : getScaled(data_left + getLayoutGaps(element).left),
 
1204
  }).animate({
1205
  'top' : getScaled(data_top + getLayoutGaps(element).top),
1206
  }, data_ease_in, function() { def.resolve(); });
@@ -1211,6 +1629,7 @@
1211
  'display' : 'block',
1212
  'top' : getScaled(data_top + getLayoutGaps(element).top),
1213
  'left' : getWidth(),
 
1214
  }).animate({
1215
  'left' : getScaled(data_left + getLayoutGaps(element).left),
1216
  }, data_ease_in, function() { def.resolve(); });
@@ -1221,6 +1640,7 @@
1221
  'display' : 'block',
1222
  'top' : getScaled(data_top + getLayoutGaps(element).top),
1223
  'left' : -element_width,
 
1224
  }).animate({
1225
  'left' : getScaled(data_left + getLayoutGaps(element).left),
1226
  }, data_ease_in, function() { def.resolve(); });
@@ -1545,18 +1965,49 @@
1545
  return def.promise();
1546
  }
1547
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1548
  };
1549
 
1550
  /**************************/
1551
  /** CRELLY SLIDER PLUGIN **/
1552
  /**************************/
1553
 
1554
- // Plugin
1555
  $.fn.crellySlider = function(options) {
1556
  var settings = $.extend({
1557
  layout : 'fixed',
1558
  responsive : true,
1559
- startWidth : 1170,
1560
  startHeight : 500,
1561
 
1562
  pauseOnHover : true,
@@ -1575,6 +2026,9 @@
1575
  elementsEaseOut : 300,
1576
  ignoreElementsEaseOut : false,
1577
 
 
 
 
1578
  beforeStart : function() {},
1579
  beforeSetResponsive : function() {},
1580
  beforeSlideStart : function() {},
@@ -1583,7 +2037,10 @@
1583
  }, options);
1584
 
1585
  return this.each(function() {
1586
- new CrellySlider(this, settings);
 
 
 
1587
  });
1588
  };
1589
 
2
  * Plugin Name: Crelly Slider
3
  * Plugin URI: http://fabiorino1.altervista.org/projects/crellyslider
4
  * Description: The first free WordPress slider with elements animations.
5
+ * Version: 1.1.0
6
  * Author: fabiorino
7
  * Author URI: http://fabiorino1.altervista.org
8
  * License: MIT
10
 
11
  (function($) {
12
 
13
+ /************************/
14
+ /** EXTERNAL RESOURCES **/
15
+ /************************/
16
+
17
+ // Custom build of jQuery mobile. I need it for swipeleft and swiperight
18
+ (function(e,t,n){typeof define=="function"&&define.amd?define(["jquery"],function(r){return n(r,e,t),r.mobile}):n(e.jQuery,e,t)})(this,document,function(e,t,n,r){(function(e,t,n,r){function T(e){while(e&&typeof e.originalEvent!="undefined")e=e.originalEvent;return e}function N(t,n){var i=t.type,s,o,a,l,c,h,p,d,v;t=e.Event(t),t.type=n,s=t.originalEvent,o=e.event.props,i.search(/^(mouse|click)/)>-1&&(o=f);if(s)for(p=o.length,l;p;)l=o[--p],t[l]=s[l];i.search(/mouse(down|up)|click/)>-1&&!t.which&&(t.which=1);if(i.search(/^touch/)!==-1){a=T(s),i=a.touches,c=a.changedTouches,h=i&&i.length?i[0]:c&&c.length?c[0]:r;if(h)for(d=0,v=u.length;d<v;d++)l=u[d],t[l]=h[l]}return t}function C(t){var n={},r,s;while(t){r=e.data(t,i);for(s in r)r[s]&&(n[s]=n.hasVirtualBinding=!0);t=t.parentNode}return n}function k(t,n){var r;while(t){r=e.data(t,i);if(r&&(!n||r[n]))return t;t=t.parentNode}return null}function L(){g=!1}function A(){g=!0}function O(){E=0,v.length=0,m=!1,A()}function M(){L()}function _(){D(),c=setTimeout(function(){c=0,O()},e.vmouse.resetTimerDuration)}function D(){c&&(clearTimeout(c),c=0)}function P(t,n,r){var i;if(r&&r[t]||!r&&k(n.target,t))i=N(n,t),e(n.target).trigger(i);return i}function H(t){var n=e.data(t.target,s),r;!m&&(!E||E!==n)&&(r=P("v"+t.type,t),r&&(r.isDefaultPrevented()&&t.preventDefault(),r.isPropagationStopped()&&t.stopPropagation(),r.isImmediatePropagationStopped()&&t.stopImmediatePropagation()))}function B(t){var n=T(t).touches,r,i,o;n&&n.length===1&&(r=t.target,i=C(r),i.hasVirtualBinding&&(E=w++,e.data(r,s,E),D(),M(),d=!1,o=T(t).touches[0],h=o.pageX,p=o.pageY,P("vmouseover",t,i),P("vmousedown",t,i)))}function j(e){if(g)return;d||P("vmousecancel",e,C(e.target)),d=!0,_()}function F(t){if(g)return;var n=T(t).touches[0],r=d,i=e.vmouse.moveDistanceThreshold,s=C(t.target);d=d||Math.abs(n.pageX-h)>i||Math.abs(n.pageY-p)>i,d&&!r&&P("vmousecancel",t,s),P("vmousemove",t,s),_()}function I(e){if(g)return;A();var t=C(e.target),n,r;P("vmouseup",e,t),d||(n=P("vclick",e,t),n&&n.isDefaultPrevented()&&(r=T(e).changedTouches[0],v.push({touchID:E,x:r.clientX,y:r.clientY}),m=!0)),P("vmouseout",e,t),d=!1,_()}function q(t){var n=e.data(t,i),r;if(n)for(r in n)if(n[r])return!0;return!1}function R(){}function U(t){var n=t.substr(1);return{setup:function(){q(this)||e.data(this,i,{});var r=e.data(this,i);r[t]=!0,l[t]=(l[t]||0)+1,l[t]===1&&b.bind(n,H),e(this).bind(n,R),y&&(l.touchstart=(l.touchstart||0)+1,l.touchstart===1&&b.bind("touchstart",B).bind("touchend",I).bind("touchmove",F).bind("scroll",j))},teardown:function(){--l[t],l[t]||b.unbind(n,H),y&&(--l.touchstart,l.touchstart||b.unbind("touchstart",B).unbind("touchmove",F).unbind("touchend",I).unbind("scroll",j));var r=e(this),s=e.data(this,i);s&&(s[t]=!1),r.unbind(n,R),q(this)||r.removeData(i)}}}var i="virtualMouseBindings",s="virtualTouchID",o="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),u="clientX clientY pageX pageY screenX screenY".split(" "),a=e.event.mouseHooks?e.event.mouseHooks.props:[],f=e.event.props.concat(a),l={},c=0,h=0,p=0,d=!1,v=[],m=!1,g=!1,y="addEventListener"in n,b=e(n),w=1,E=0,S,x;e.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};for(x=0;x<o.length;x++)e.event.special[o[x]]=U(o[x]);y&&n.addEventListener("click",function(t){var n=v.length,r=t.target,i,o,u,a,f,l;if(n){i=t.clientX,o=t.clientY,S=e.vmouse.clickDistanceThreshold,u=r;while(u){for(a=0;a<n;a++){f=v[a],l=0;if(u===r&&Math.abs(f.x-i)<S&&Math.abs(f.y-o)<S||e.data(u,s)===f.touchID){t.preventDefault(),t.stopPropagation();return}}u=u.parentNode}}},!0)})(e,t,n),function(e){e.mobile={}}(e),function(e,t){var r={touch:"ontouchend"in n};e.mobile.support=e.mobile.support||{},e.extend(e.support,r),e.extend(e.mobile.support,r)}(e),function(e,t,r){function l(t,n,i,s){var o=i.type;i.type=n,s?e.event.trigger(i,r,t):e.event.dispatch.call(t,i),i.type=o}var i=e(n),s=e.mobile.support.touch,o="touchmove scroll",u=s?"touchstart":"mousedown",a=s?"touchend":"mouseup",f=s?"touchmove":"mousemove";e.each("touchstart touchmove touchend tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(t,n){e.fn[n]=function(e){return e?this.bind(n,e):this.trigger(n)},e.attrFn&&(e.attrFn[n]=!0)}),e.event.special.scrollstart={enabled:!0,setup:function(){function s(e,n){r=n,l(t,r?"scrollstart":"scrollstop",e)}var t=this,n=e(t),r,i;n.bind(o,function(t){if(!e.event.special.scrollstart.enabled)return;r||s(t,!0),clearTimeout(i),i=setTimeout(function(){s(t,!1)},50)})},teardown:function(){e(this).unbind(o)}},e.event.special.tap={tapholdThreshold:750,emitTapOnTaphold:!0,setup:function(){var t=this,n=e(t),r=!1;n.bind("vmousedown",function(s){function a(){clearTimeout(u)}function f(){a(),n.unbind("vclick",c).unbind("vmouseup",a),i.unbind("vmousecancel",f)}function c(e){f(),!r&&o===e.target?l(t,"tap",e):r&&e.preventDefault()}r=!1;if(s.which&&s.which!==1)return!1;var o=s.target,u;n.bind("vmouseup",a).bind("vclick",c),i.bind("vmousecancel",f),u=setTimeout(function(){e.event.special.tap.emitTapOnTaphold||(r=!0),l(t,"taphold",e.Event("taphold",{target:o}))},e.event.special.tap.tapholdThreshold)})},teardown:function(){e(this).unbind("vmousedown").unbind("vclick").unbind("vmouseup"),i.unbind("vmousecancel")}},e.event.special.swipe={scrollSupressionThreshold:30,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:30,getLocation:function(e){var n=t.pageXOffset,r=t.pageYOffset,i=e.clientX,s=e.clientY;if(e.pageY===0&&Math.floor(s)>Math.floor(e.pageY)||e.pageX===0&&Math.floor(i)>Math.floor(e.pageX))i-=n,s-=r;else if(s<e.pageY-r||i<e.pageX-n)i=e.pageX-n,s=e.pageY-r;return{x:i,y:s}},start:function(t){var n=t.originalEvent.touches?t.originalEvent.touches[0]:t,r=e.event.special.swipe.getLocation(n);return{time:(new Date).getTime(),coords:[r.x,r.y],origin:e(t.target)}},stop:function(t){var n=t.originalEvent.touches?t.originalEvent.touches[0]:t,r=e.event.special.swipe.getLocation(n);return{time:(new Date).getTime(),coords:[r.x,r.y]}},handleSwipe:function(t,n,r,i){if(n.time-t.time<e.event.special.swipe.durationThreshold&&Math.abs(t.coords[0]-n.coords[0])>e.event.special.swipe.horizontalDistanceThreshold&&Math.abs(t.coords[1]-n.coords[1])<e.event.special.swipe.verticalDistanceThreshold){var s=t.coords[0]>n.coords[0]?"swipeleft":"swiperight";return l(r,"swipe",e.Event("swipe",{target:i,swipestart:t,swipestop:n}),!0),l(r,s,e.Event(s,{target:i,swipestart:t,swipestop:n}),!0),!0}return!1},eventInProgress:!1,setup:function(){var t,n=this,r=e(n),s={};t=e.data(this,"mobile-events"),t||(t={length:0},e.data(this,"mobile-events",t)),t.length++,t.swipe=s,s.start=function(t){if(e.event.special.swipe.eventInProgress)return;e.event.special.swipe.eventInProgress=!0;var r,o=e.event.special.swipe.start(t),u=t.target,l=!1;s.move=function(t){if(!o||t.isDefaultPrevented())return;r=e.event.special.swipe.stop(t),l||(l=e.event.special.swipe.handleSwipe(o,r,n,u),l&&(e.event.special.swipe.eventInProgress=!1)),Math.abs(o.coords[0]-r.coords[0])>e.event.special.swipe.scrollSupressionThreshold&&t.preventDefault()},s.stop=function(){l=!0,e.event.special.swipe.eventInProgress=!1,i.off(f,s.move),s.move=null},i.on(f,s.move).one(a,s.stop)},r.on(u,s.start)},teardown:function(){var t,n;t=e.data(this,"mobile-events"),t&&(n=t.swipe,delete t.swipe,t.length--,t.length===0&&e.removeData(this,"mobile-events")),n&&(n.start&&e(this).off(u,n.start),n.move&&i.off(f,n.move),n.stop&&i.off(a,n.stop))}},e.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe.left",swiperight:"swipe.right"},function(t,n){e.event.special[t]={setup:function(){e(this).bind(n,e.noop)},teardown:function(){e(this).unbind(n)}}})}(e,this)});
19
+
20
+ // YouTube API:
21
+ var tag = document.createElement('script');
22
+ tag.src = "https://www.youtube.com/iframe_api";
23
+ var firstScriptTag = document.getElementsByTagName('script')[0];
24
+ firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
25
+
26
+ // Vimeo API
27
+ var Froogaloop=function(){function e(a){return new e.fn.init(a)}function g(a,c,b){if(!b.contentWindow.postMessage)return!1;a=JSON.stringify({method:a,value:c});b.contentWindow.postMessage(a,h)}function l(a){var c,b;try{c=JSON.parse(a.data),b=c.event||c.method}catch(e){}"ready"!=b||k||(k=!0);if(!/^https?:\/\/player.vimeo.com/.test(a.origin))return!1;"*"===h&&(h=a.origin);a=c.value;var m=c.data,f=""===f?null:c.player_id;c=f?d[f][b]:d[b];b=[];if(!c)return!1;void 0!==a&&b.push(a);m&&b.push(m);f&&b.push(f);
28
+ return 0<b.length?c.apply(null,b):c.call()}function n(a,c,b){b?(d[b]||(d[b]={}),d[b][a]=c):d[a]=c}var d={},k=!1,h="*";e.fn=e.prototype={element:null,init:function(a){"string"===typeof a&&(a=document.getElementById(a));this.element=a;return this},api:function(a,c){if(!this.element||!a)return!1;var b=this.element,d=""!==b.id?b.id:null,e=c&&c.constructor&&c.call&&c.apply?null:c,f=c&&c.constructor&&c.call&&c.apply?c:null;f&&n(a,f,d);g(a,e,b);return this},addEvent:function(a,c){if(!this.element)return!1;
29
+ var b=this.element,d=""!==b.id?b.id:null;n(a,c,d);"ready"!=a?g("addEventListener",a,b):"ready"==a&&k&&c.call(null,d);return this},removeEvent:function(a){if(!this.element)return!1;var c=this.element,b=""!==c.id?c.id:null;a:{if(b&&d[b]){if(!d[b][a]){b=!1;break a}d[b][a]=null}else{if(!d[a]){b=!1;break a}d[a]=null}b=!0}"ready"!=a&&b&&g("removeEventListener",a,c)}};e.fn.init.prototype=e.fn;window.addEventListener?window.addEventListener("message",l,!1):window.attachEvent("onmessage",l);return window.Froogaloop=
30
+ window.$f=e}();
31
+
32
  /*******************/
33
  /** CRELLY SLIDER **/
34
  /*******************/
35
 
36
+ $.CrellySlider = function(target, settings) {
 
 
 
 
 
 
 
 
37
 
38
  /**********************/
39
  /** USEFUL VARIABLES **/
50
  var current_slide = 0;
51
 
52
  var paused = false;
53
+ var can_pause = false; // Also used as "can change slide"
54
+ var executed_slide = false; // Will be true as soon as the current slide is executed
55
+ var first_play = true;
56
 
57
  // Slide timer: only current slide. Elements timers: all the elements. This prevents conflicts during changes and pauses
58
  var current_slide_time_timer = new Timer(function() {}, 0);
59
  var elements_times_timers = new Array();
60
  var elements_delays_timers = new Array();
61
 
62
+ // The arrays "link" every DOM iframe element to its player element that can interact with APIs
63
+ var youtube_videos = {};
64
+ var vimeo_videos = {};
65
+
66
  var scale = 1;
67
  var window_width_before_setResponsive = 0; // This variable is useful ONLY to prevent that window.resize fires on vertical resizing or on a right window width
68
 
70
  /** INITIALIZATION **/
71
  /********************/
72
 
73
+ // EVERYTHING BEGINS HERE
74
+ // Before initializing Crelly Slider, we have to wait for the YouTube API. I use the setInterval method to prevent compatibility issues with other plugins and to be sure that, if there is more than a slider loaded on the page, everything works
75
+ if((typeof(YT) == 'undefined' || typeof(YT.Player) == 'undefined')) {
76
+ var temp = setInterval(function() {
77
+ if(typeof(YT) != 'undefined' && typeof(YT.Player) != 'undefined') {
78
+ clearInterval(temp);
79
+ init();
80
+ }
81
+ }, 100);
82
+ }
83
+ else {
84
+ init();
85
+ }
86
 
87
  // The slider constructor: runs automatically only the first time, sets the basic needs of the slider and the preloader then runs Crelly Slider
88
  function init() {
139
  }
140
  setLayout();
141
 
142
+ // Set slides links
143
+ getSlides().find('.cs-background-link')
144
+ .html(' ')
145
+ .data({
146
+ 'left' : 0,
147
+ 'top' : 0,
148
+ 'in' : 'none',
149
+ 'out' : 'none',
150
+ 'easeIn' : 0,
151
+ 'easeOut' : 0,
152
+ 'delay' : 0,
153
+ 'time' : 'all',
154
+ });
155
+
156
  setPreloader();
157
 
158
+ initVideos().done(function() {
159
+ // Timeout needed when running on localhost
160
+ setTimeout(function() {
161
+ if(document.readyState != 'complete') {
162
+ loadWindow();
163
+ }
164
+ else {
165
+ loadedWindow();
166
+ }
167
+ }, 10);
168
+ });
169
+ }
170
+
171
+ // Inits Youtube and Vimeo videos
172
+ function initVideos() {
173
+ var def = new $.Deferred();
174
+ var total_iframes = getSlides().find('.cs-yt-iframe, .cs-vimeo-iframe').length;
175
+ var loaded_iframes = 0;
176
+
177
+ if(total_iframes == 0) {
178
+ return def.resolve().promise();
179
  }
180
+
181
+ // When iframes are loaded...
182
+ getSlides().find('.cs-yt-iframe, .cs-vimeo-iframe').each(function() {
183
+ var iframe = $(this);
184
+
185
+ iframe.one('load', function() {
186
+ loaded_iframes++;
187
+ if(loaded_iframes == total_iframes) {
188
+ // ...init videos
189
+ initYoutubeVideos().done(function() {
190
+ initVimeoVideos().done(function() {
191
+ def.resolve();
192
+ });
193
+ });
194
+ }
195
+ })
196
+ });
197
+
198
+ return def.promise();
199
+ }
200
+
201
+ // Generates an unique id for each youtube iframe, then links them to a new YouTube player
202
+ function initYoutubeVideos() {
203
+ var def = new $.Deferred();
204
+ var slides = getSlides();
205
+ var total_yt_videos = slides.find(ELEMENTS + '.cs-yt-iframe').length;
206
+ var loaded_videos = 0;
207
+ var temp;
208
+
209
+ if(total_yt_videos == 0) {
210
+ return def.resolve().promise();
211
  }
212
+
213
+ slides.each(function() {
214
+ var slide = $(this);
215
+ var elements = slide.find(ELEMENTS + '.cs-yt-iframe');
216
+
217
+ elements.each(function() {
218
+ var element = $(this);
219
+
220
+ element.uniqueId();
221
+ element.attr('id', 'cs-yt-iframe-' + element.attr('id'));
222
+
223
+ var player = new YT.Player(element.attr('id'), {
224
+ events: {
225
+ 'onReady' : function() {
226
+ loaded_videos++;
227
+ if(loaded_videos == total_yt_videos) {
228
+ def.resolve();
229
+ }
230
+ },
231
+
232
+ 'onStateChange' : function(e) {
233
+ if(e.data === YT.PlayerState.ENDED && getItemData(element, 'loop')) {
234
+ player.playVideo();
235
+ }
236
+ },
237
+ },
238
+ });
239
+
240
+ temp = {
241
+ player : player,
242
+ played_once : false
243
+ };
244
+
245
+ youtube_videos[element.attr('id')] = temp;
246
+ });
247
+ });
248
+
249
+ return def.promise();
250
+ }
251
+
252
+ // Generates an unique id for each Vimeo iframe, then links them to a new Vimeo player
253
+ function initVimeoVideos() {
254
+ var def = new $.Deferred();
255
+ var slides = getSlides();
256
+ var total_vimeo_videos = slides.find(ELEMENTS + '.cs-vimeo-iframe').length;
257
+ var loaded_videos = 0;
258
+ var temp;
259
+
260
+ if(total_vimeo_videos == 0) {
261
+ return def.resolve().promise();
262
+ }
263
+
264
+ slides.each(function() {
265
+ var slide = $(this);
266
+ var elements = slide.find(ELEMENTS + '.cs-vimeo-iframe');
267
+
268
+ elements.each(function() {
269
+ var element = $(this);
270
+
271
+ element.uniqueId();
272
+ element.attr('id', 'cs-vimeo-iframe-' + element.attr('id'));
273
+ element.attr('src', element.attr('src') + '&player_id=' + element.attr('id'));
274
+
275
+ var player = $f(element[0]);
276
+
277
+ player.addEvent('ready', function() {
278
+ player.addEvent('finish', function() {
279
+ vimeo_videos[element.attr('id')].ended = true;
280
+ });
281
+
282
+ player.addEvent('play', function() {
283
+ vimeo_videos[element.attr('id')].played_once = true;
284
+ vimeo_videos[element.attr('id')].ended = false;
285
+ });
286
+
287
+ if(getItemData(element, 'loop')) {
288
+ player.api('setLoop', true);
289
+ }
290
+
291
+ loaded_videos++;
292
+ if(loaded_videos == total_vimeo_videos) {
293
+ def.resolve();
294
+ }
295
+ });
296
+
297
+ temp = {
298
+ player : player,
299
+ played_once : false,
300
+ ended : false,
301
+ };
302
+
303
+ vimeo_videos[element.attr('id')] = temp;
304
+ });
305
+ });
306
+
307
+ return def.promise();
308
  }
309
 
310
  // Waits until the window loads
315
  }
316
 
317
  // Does operations after window.load is complete. Need to do it as a function for back-end compatibility
318
+ function loadedWindow() {
 
 
319
  // Set layout for the second time
320
  if(settings.responsive) {
321
  setScale();
328
 
329
  addListeners();
330
 
331
+ unsetPreloader();
332
+
333
  settings.beforeStart();
334
 
335
  // Positions and responsive dimensions then run
409
  });
410
 
411
  // Swipe and drag
412
+ if(settings.enableSwipe) {
413
+ SLIDER.find(CRELLY).on('swipeleft', function() {
414
+ resume();
415
+ changeSlide(getNextSlide());
416
+ });
417
+
418
+ SLIDER.find(CRELLY).on('swiperight', function() {
419
+ resume();
420
+ changeSlide(getPreviousSlide());
 
 
421
  });
422
  }
423
 
424
  // Navigation link click
425
  SLIDER.find(CRELLY).find('.cs-navigation > .cs-slide-link').click(function() {
426
+ changeSlide($(this).index());
 
 
 
427
  });
428
 
429
  // Pause on hover
438
  }
439
  }
440
 
441
+ // Hides the unnecessary divs and sets the blurred preloader and the gif spinner
442
  function setPreloader() {
443
+ // Setup
444
+ SLIDER.find(CRELLY).find(SLIDES).css('visibility', 'hidden');
445
  SLIDER.find(CRELLY).find('.cs-progress-bar').css('display', 'none');
446
  SLIDER.find(CRELLY).find('.cs-navigation').css('display', 'none');
447
+ SLIDER.find(CRELLY).find('.cs-controls').css('display', 'none');
448
+
449
+ // Get the URL of the background image of the first slide
450
+ var img_url = getSlide(0).css('background-image');
451
+ img_url = img_url.replace(/^url\(["']?/, '').replace(/["']?\)$/, '');
452
+
453
+ if(img_url == '' || img_url == 'undefined' || img_url == 'none') {
454
+ addPreloaderHTML();
455
+ }
456
+ else {
457
+ // When the background image of the first slide is loaded
458
+ $('<img>')
459
+ .load(function() {
460
+ addPreloaderHTML();
461
+ })
462
+ .attr('src', img_url)
463
+ .each(function() {
464
+ if(this.complete) {
465
+ $(this).load();
466
+ }
467
+ });
468
+ }
469
+
470
+ function addPreloaderHTML() {
471
+ // Add preloader
472
+ SLIDER.find(CRELLY).append('<div class="cs-preloader"><div class="cs-bg"></div><div class="cs-loader"><div class="cs-spinner"></div></div></div>');
473
+
474
+ // Set background. Background is set to both the preloader div and the bg div to fix the CSS blur effect
475
+ SLIDER.find(CRELLY).find('.cs-preloader').css({
476
+ 'background-color' : getSlide(0).css('background-color'),
477
+ 'background-image' : getSlide(0).css('background-image'),
478
+ 'background-position' : getSlide(0).css('background-position'),
479
+ 'background-repeat' : getSlide(0).css('background-repeat'),
480
+ 'background-size' : getSlide(0).css('background-size'),
481
+ });
482
+ SLIDER.find(CRELLY).find('.cs-preloader > .cs-bg').css({
483
+ 'background-color' : getSlide(0).css('background-color'),
484
+ 'background-image' : getSlide(0).css('background-image'),
485
+ 'background-position' : getSlide(0).css('background-position'),
486
+ 'background-repeat' : getSlide(0).css('background-repeat'),
487
+ 'background-size' : getSlide(0).css('background-size'),
488
+ });
489
+ }
490
  }
491
 
492
+ // Shows the necessary divs and fades out the preloader
493
  function unsetPreloader() {
494
+ // Setup
495
+ SLIDER.find(CRELLY).find(SLIDES).css('visibility', 'visible');
496
  SLIDER.find(CRELLY).find('.cs-progress-bar').css('display', 'block');
497
  SLIDER.find(CRELLY).find('.cs-navigation').css('display', 'block');
498
  SLIDER.find(CRELLY).find('.cs-controls').css('display', 'block');
499
+
500
+ // Display the first slide to avoid the slide in animation
501
+ slideIn(getSlide(0));
502
+ getSlide(0).finish();
503
+
504
+ // Fade out
505
+ SLIDER.find(CRELLY).find('.cs-preloader').animate({
506
+ 'opacity' : 0,
507
+ }, 300, function() {
508
+ SLIDER.find(CRELLY).find('.cs-preloader').remove();
509
+ });
510
  }
511
 
512
  /*******************************/
593
  element.finish();
594
  elementIn(element);
595
  element.finish();
596
+
597
+ if(isVideo(element)) {
598
+ pauseVideo(element);
599
+ }
600
  });
601
  });
602
 
621
  element.finish();
622
  elementOut(element);
623
  element.finish();
624
+
625
+ if(isVideo(element)) {
626
+ pauseVideo(element);
627
+ }
628
  });
629
 
630
  slide.finish();
638
  }
639
 
640
  // Scales a text or an image and their contents
641
+ function scaleElement(element) {
642
  // Standard element
643
  element.css({
 
 
644
  'top' : getScaled(getItemData(element, 'top') + getLayoutGaps(element).top),
645
  'left' : getScaled(getItemData(element, 'left') + getLayoutGaps(element).left),
646
  'padding-top' : getScaled(getItemData(element, 'padding-top')),
650
  });
651
 
652
  // Element contains text
653
+ if(element.is('input') || element.is('button') || element.text().trim().length) {
654
+ element.css({
 
 
655
  'line-height' : getScaled(getItemData(element, 'line-height')) + 'px',
656
  'letter-spacing' : getScaled(getItemData(element, 'letter-spacing')),
657
  'font-size' : getScaled(getItemData(element, 'font-size')),
658
  });
659
+ }
660
+
661
+ // Element doesn't contain text (like images or iframes)
662
+ else {
663
+ element.css({
664
+ 'width' : getScaled(getItemData(element, 'width')),
665
+ 'height' : getScaled(getItemData(element, 'height')),
666
+ });
 
 
 
 
 
 
 
 
667
  }
668
  }
669
 
690
  /*********************/
691
 
692
  // Runs Crelly from the current slide
693
+ function play() {
694
  if(settings.automaticSlide) {
695
  loopSlides();
696
  }
697
  else {
698
  executeSlide(current_slide);
699
  }
700
+
701
+ first_play = false;
702
  }
703
 
704
  // Stops all the slides and the elements and resets the progress bar
856
  return settings.ignoreElementsEaseOut;
857
  break;
858
 
859
+ case 'autoplay' :
860
+ if(parseInt(item.data(data)) == 1) {
861
+ return true;
862
+ }
863
+ else if(parseInt(item.data(data)) == 0) {
864
+ return false;
865
+ }
866
+ return settings.videoAutoplay;
867
+ break;
868
+
869
+ case 'loop' :
870
+ if(parseInt(item.data(data)) == 1) {
871
+ return true;
872
+ }
873
+ else if(parseInt(item.data(data)) == 0) {
874
+ return false;
875
+ }
876
+ return settings.videoLoop;
877
+ break;
878
+
879
  case 'top' :
880
  case 'left' :
881
  case 'width' :
943
  this.resume();
944
  }
945
 
946
+ // Returns true if the user is using a mobile browser
947
+ function isMobile() {
948
+ return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
949
+ }
950
+
951
  /*****************/
952
  /** SLIDER CORE **/
953
  /*****************/
962
  });
963
  }
964
 
965
+ // Resets the progress bar and draws the progress bar of the current slide
966
+ function drawProgressBar() {
967
  var progress_bar = SLIDER.find(CRELLY).find('.cs-progress-bar');
968
 
969
  resetProgressBar();
999
  }
1000
 
1001
  // Finishes the current slide (animations out of elements and slide) and then plays the new slide
1002
+ function changeSlide(slide_index) {
1003
+ if(slide_index == current_slide) {
1004
+ return;
1005
+ }
1006
+
1007
+ if(can_pause || executed_slide) {
1008
  stop(false);
1009
 
1010
  finishSlide(current_slide, false, true).done(function() {
1020
 
1021
  var def = new $.Deferred();
1022
 
1023
+ executed_slide = false;
1024
+
1025
  // If something is still animating, reset
1026
  for(var i = 0; i < elements_times_timers.length; i++) {
1027
  elements_times_timers[i].clear();
1048
 
1049
  if(settings.automaticSlide) {
1050
  finishSlide(slide_index, true, true).done(function() {
1051
+ executed_slide = true;
1052
  def.resolve();
1053
  });
1054
  }
1055
  else {
1056
  finishSlide(slide_index, true, false).done(function() {
1057
+ executed_slide = true;
1058
  def.resolve();
1059
  });
1060
  }
1073
  var def = new $.Deferred();
1074
 
1075
  can_pause = false;
 
1076
 
1077
  // Do slide in animation
1078
+ slideIn(slide_index).done(function() {
1079
+ drawProgressBar();
1080
 
1081
  can_pause = true;
 
1082
 
1083
  slide_in_completed = true;
1084
  if(slide_in_completed && elements_in_completed == elements.length) {
1092
  var element_delay = getItemData(element, 'delay');
1093
 
1094
  elements_delays_timers.push(new Timer(function() {
1095
+ elementIn(element).done(function() {
1096
+ if(isVideo(element)) {
1097
+ playVideo(element);
1098
+ }
1099
+
1100
  elements_in_completed++;
1101
  if(slide_in_completed && elements_in_completed == elements.length) {
1102
  def.resolve();
1108
  return def.promise();
1109
  }
1110
 
1111
+ // Does all times, elements out animations and slide out animation
1112
+ // execute_time, if true, will do the slide and the elements timers. If false, the timers will be = 0 so the plugin will execute the code of the callback function immediately.
1113
+ // animate_all_out, if false, will execute the elements with time != all out animations but not the slide and the elements with time == all out animations. If true, executes all the out animations
1114
  function finishSlide(slide_index, execute_time, animate_all_out) {
1115
  var slide = getSlide(slide_index);
1116
  var elements = slide.find(ELEMENTS);
1132
  if(getItemData(element, 'ignore-ease-out')) {
1133
  elements_out_completed++;
1134
 
1135
+ if(elements.length == elements_out_completed && slide_time_completed && animate_all_out) {
1136
+ pauseVideos(slide_index);
1137
  slideOut(slide_index);
1138
  def.resolve();
1139
  }
1144
  if(! getItemData(element, 'ignore-ease-out')) {
1145
  elements_out_completed++;
1146
 
1147
+ if(elements.length == elements_out_completed && slide_time_completed && animate_all_out) {
1148
+ pauseVideos(slide_index);
1149
  slideOut(slide_index);
1150
  def.resolve();
1151
  }
1163
 
1164
  slide_time_completed = true;
1165
 
1166
+ if(elements.length == elements_out_completed && slide_time_completed && animate_all_out) {
1167
+ pauseVideos(slide_index);
1168
  slideOut(slide_index);
1169
  def.resolve();
1170
  }
1171
 
1172
  if(! animate_all_out) {
 
1173
  def.resolve();
1174
  }
1175
+ else {
 
 
1176
  // Elements with time == "all"
1177
  elements.each(function() {
1178
  var element = $(this);
1182
  if(getItemData(element, 'ignore-ease-out')) {
1183
  elements_out_completed++;
1184
 
1185
+ if(elements.length == elements_out_completed && slide_time_completed && animate_all_out) {
1186
+ pauseVideos(slide_index);
1187
  slideOut(slide_index);
1188
  def.resolve();
1189
  }
1193
  if(! getItemData(element, 'ignore-ease-out')) {
1194
  elements_out_completed++;
1195
 
1196
+ if(elements.length == elements_out_completed && slide_time_completed && animate_all_out) {
1197
+ pauseVideos(slide_index);
1198
  slideOut(slide_index);
1199
  def.resolve();
1200
  }
1208
  return def.promise();
1209
  }
1210
 
1211
+ // VIDEOS FUNCTIONS
1212
+
1213
+ // Returns true if the element is a YouTube or a Vimeo iframe
1214
+ function isVideo(element) {
1215
+ return isYoutubeVideo(element) || isVimeoVideo(element);
1216
+ }
1217
+
1218
+ // Checks what's the source of the video, then plays it
1219
+ function playVideo(element) {
1220
+ if(isYoutubeVideo(element)) {
1221
+ playYoutubeVideo(element);
1222
+ }
1223
+ else {
1224
+ playVimeoVideo(element);
1225
+ }
1226
+ }
1227
+
1228
+ // Pauses all the YouTube and Vimeo videos
1229
+ function pauseVideos(slide_index) {
1230
+ pauseYoutubeVideos(slide_index);
1231
+ pauseVimeoVideos(slide_index);
1232
+ }
1233
+
1234
+ // Checks what's the source of the video, then pauses it
1235
+ function pauseVideo(element) {
1236
+ if(isYoutubeVideo(element)) {
1237
+ pauseYoutubeVideo(element);
1238
+ }
1239
+ else {
1240
+ pauseVimeoVideo(element);
1241
+ }
1242
+ }
1243
+
1244
+ // Checks if the element is a YouTube video
1245
+ function isYoutubeVideo(element) {
1246
+ return element.hasClass('cs-yt-iframe');
1247
+ }
1248
+
1249
+ // Returns the player associated to the element
1250
+ function getYoutubePlayer(element) {
1251
+ return youtube_videos[element.attr('id')].player;
1252
+ return false;
1253
+ }
1254
+
1255
+ /*
1256
+ Returns:
1257
+ -1 – unstarted
1258
+ 0 – ended
1259
+ 1 – playing
1260
+ 2 – paused
1261
+ 3 – buffering
1262
+ 5 – video cued
1263
+ */
1264
+ function getYoutubePlayerState(element) {
1265
+ return getYoutubePlayer(element).getPlayerState();
1266
+ }
1267
+
1268
+ // Checks if the video can be played and plays it
1269
+ function playYoutubeVideo(element) {
1270
+ // If autplay and first slide loop. Disabled on mobile for compatibility reasons (details on the Youtube's website)
1271
+ if(getItemData(element, 'autoplay') && ! youtube_videos[element.attr('id')].played_once && ! isMobile()) {
1272
+ getYoutubePlayer(element).playVideo();
1273
+ }
1274
+
1275
+ // If was paused
1276
+ if(getYoutubePlayerState(element) == 2) {
1277
+ getYoutubePlayer(element).playVideo();
1278
+ }
1279
+
1280
+ youtube_videos[element.attr('id')].played_once = true;
1281
+ }
1282
+
1283
+ // Pause all the videos in a slide
1284
+ function pauseYoutubeVideos(slide_index) {
1285
+ getSlide(slide_index).each(function() {
1286
+ var slide = $(this);
1287
+
1288
+ slide.find(ELEMENTS + '.cs-yt-iframe').each(function() {
1289
+ pauseYoutubeVideo($(this));
1290
+ });
1291
+ });
1292
+ }
1293
+
1294
+ // Checks if the video can be paused and pauses it
1295
+ function pauseYoutubeVideo(element) {
1296
+ if(getYoutubePlayerState(element) == 1) {
1297
+ getYoutubePlayer(element).pauseVideo();
1298
+ }
1299
+ }
1300
+
1301
+ // Checks if the element is a Vimeo video
1302
+ function isVimeoVideo(element) {
1303
+ return element.hasClass('cs-vimeo-iframe');
1304
+ }
1305
+
1306
+ // Returns the player associated to the element
1307
+ function getVimeoPlayer(element) {
1308
+ return vimeo_videos[element.attr('id')].player;
1309
+ }
1310
+
1311
+ // Plays the video
1312
+ function playVimeoVideo(element) {
1313
+ // If autplay and first slide loop. Disabled on mobile for compatibility reasons (details on the Vimeo's website)
1314
+ if(getItemData(element, 'autoplay') && ! vimeo_videos[element.attr('id')].played_once && ! isMobile()) {
1315
+ getVimeoPlayer(element).api('play');
1316
+ }
1317
+
1318
+ // If was paused
1319
+ if(getVimeoPlayer(element).api('paused') && ! vimeo_videos[element.attr('id')].ended && vimeo_videos[element.attr('id')].played_once) {
1320
+ getVimeoPlayer(element).api('play');
1321
+ }
1322
+ }
1323
+
1324
+ // Pause all the videos in a slide
1325
+ function pauseVimeoVideos(slide_index) {
1326
+ getSlide(slide_index).each(function() {
1327
+ var slide = $(this);
1328
+
1329
+ slide.find(ELEMENTS + '.cs-vimeo-iframe').each(function() {
1330
+ pauseVimeoVideo($(this));
1331
+ });
1332
+ });
1333
+ }
1334
+
1335
+ // Pauses the video
1336
+ function pauseVimeoVideo(element) {
1337
+ getVimeoPlayer(element).api('pause');
1338
+ }
1339
+
1340
  /****************/
1341
  /** ANIMATIONS **/
1342
  /****************/
1343
 
1344
+ // WARNING: slideIn and elementIn must reset every CSS propriety to the correct value before start
1345
+
1346
  // Does slide in animation
1347
+ function slideIn(slide_index) {
1348
  var slide = getSlide(slide_index);
1349
  var data_in = getItemData(slide, 'in');
1350
  var data_ease_in = getItemData(slide, 'ease-in');
1355
  return def.resolve().promise();
1356
  }
1357
 
1358
+ // If first play, don't execute the animation
1359
+ if(first_play) {
1360
+ slide.css({
1361
+ 'display' : 'block',
1362
+ 'top' : 0,
1363
+ 'left' : 0,
1364
+ 'opacity' : getItemData(slide, 'opacity'),
1365
+ });
1366
+ return def.resolve().promise();
1367
+ }
1368
+
1369
  switch(data_in) {
1370
  case 'fade' :
1371
  slide.css({
1410
  'display' : 'block',
1411
  'top' : 0,
1412
  'left' : getWidth(),
1413
+ 'opacity' : getItemData(slide, 'opacity'),
1414
  });
1415
  slide.animate({
1416
  'left' : 0,
1422
  'display' : 'block',
1423
  'top' : 0,
1424
  'left' : -getWidth(),
1425
+ 'opacity' : getItemData(slide, 'opacity'),
1426
  });
1427
  slide.animate({
1428
  'left' : 0,
1434
  'display' : 'block',
1435
  'top' : getHeight(),
1436
  'left' : 0,
1437
+ 'opacity' : getItemData(slide, 'opacity'),
1438
  });
1439
  slide.animate({
1440
  'top' : 0,
1446
  'display' : 'block',
1447
  'top' : -getHeight(),
1448
  'left' : 0,
1449
+ 'opacity' : getItemData(slide, 'opacity'),
1450
  });
1451
  slide.animate({
1452
  'top' : 0,
1607
  'display' : 'block',
1608
  'top' : -element_height,
1609
  'left' : getScaled(data_left + getLayoutGaps(element).left),
1610
+ 'opacity' : getItemData(element, 'opacity'),
1611
  }).animate({
1612
  'top' : getScaled(data_top + getLayoutGaps(element).top),
1613
  }, data_ease_in, function() { def.resolve(); });
1618
  'display' : 'block',
1619
  'top' : getHeight(),
1620
  'left' : getScaled(data_left + getLayoutGaps(element).left),
1621
+ 'opacity' : getItemData(element, 'opacity'),
1622
  }).animate({
1623
  'top' : getScaled(data_top + getLayoutGaps(element).top),
1624
  }, data_ease_in, function() { def.resolve(); });
1629
  'display' : 'block',
1630
  'top' : getScaled(data_top + getLayoutGaps(element).top),
1631
  'left' : getWidth(),
1632
+ 'opacity' : getItemData(element, 'opacity'),
1633
  }).animate({
1634
  'left' : getScaled(data_left + getLayoutGaps(element).left),
1635
  }, data_ease_in, function() { def.resolve(); });
1640
  'display' : 'block',
1641
  'top' : getScaled(data_top + getLayoutGaps(element).top),
1642
  'left' : -element_width,
1643
+ 'opacity' : getItemData(element, 'opacity'),
1644
  }).animate({
1645
  'left' : getScaled(data_left + getLayoutGaps(element).left),
1646
  }, data_ease_in, function() { def.resolve(); });
1965
  return def.promise();
1966
  }
1967
 
1968
+ /**********************/
1969
+ /** PUBLIC FUNCTIONS **/
1970
+ /**********************/
1971
+
1972
+ this.resume = function() {
1973
+ resume();
1974
+ }
1975
+
1976
+ this.pause = function() {
1977
+ pause();
1978
+ }
1979
+
1980
+ this.nextSlide = function() {
1981
+ changeSlide(getNextSlide());
1982
+ }
1983
+
1984
+ this.previousSlide = function() {
1985
+ changeSlide(getPreviousSlide());
1986
+ }
1987
+
1988
+ this.changeSlide = function(slide_index) {
1989
+ changeSlide(slide_index);
1990
+ }
1991
+
1992
+ this.getCurrentSlide = function() {
1993
+ return current_slide;
1994
+ }
1995
+
1996
+ this.getTotalSlides = function() {
1997
+ return total_slides;
1998
+ }
1999
+
2000
  };
2001
 
2002
  /**************************/
2003
  /** CRELLY SLIDER PLUGIN **/
2004
  /**************************/
2005
 
 
2006
  $.fn.crellySlider = function(options) {
2007
  var settings = $.extend({
2008
  layout : 'fixed',
2009
  responsive : true,
2010
+ startWidth : 1140,
2011
  startHeight : 500,
2012
 
2013
  pauseOnHover : true,
2026
  elementsEaseOut : 300,
2027
  ignoreElementsEaseOut : false,
2028
 
2029
+ videoAutoplay : true,
2030
+ videoLoop : false,
2031
+
2032
  beforeStart : function() {},
2033
  beforeSetResponsive : function() {},
2034
  beforeSlideStart : function() {},
2037
  }, options);
2038
 
2039
  return this.each(function() {
2040
+ if(undefined == $(this).data('crellySlider')) {
2041
+ var plugin = new $.CrellySlider(this, settings);
2042
+ $(this).data('crellySlider', plugin);
2043
+ }
2044
  });
2045
  };
2046
 
js/jquery.crellyslider.min.js CHANGED
@@ -2,10 +2,10 @@
2
  * Plugin Name: Crelly Slider
3
  * Plugin URI: http://fabiorino1.altervista.org/projects/crellyslider
4
  * Description: The first free WordPress slider with elements animations.
5
- * Version: 0.8.2
6
  * Author: fabiorino
7
  * Author URI: http://fabiorino1.altervista.org
8
  * License: MIT
9
  */
10
 
11
- (function(e){var t=function(t,n){function y(){r.wrapInner('<div class="crellyslider" />');r.find(i+" > ul").addClass("cs-slides");r.find(i+" "+s+" > li").addClass("cs-slide");a=R().length;if(a==0){return false}if(a==1){var e=U(0);var t=r.find(i).find(s);e.clone().prependTo(t);a++}if(n.showControls){r.find(i).append('<div class="cs-controls"><span class="cs-next"></span><span class="cs-previous"></span></div>')}if(n.showNavigation){var o='<div class="cs-navigation">';for(var u=0;u<a;u++){o+='<span class="cs-slide-link"></span>'}o+="</div>";r.find(i).append(o)}if(n.showProgressBar){r.find(i).append('<div class="cs-progress-bar"></div>')}else{r.find(i).append('<div class="cs-progress-bar cs-progress-bar-hidden"></div>')}r.css("display","block");if(n.responsive){O()}C();T();if(typeof crellyslider_is_wordpress_admin=="undefined"||!crellyslider_is_wordpress_admin){b()}else{w()}}function b(){e(window).load(function(){w()})}function w(){N();if(n.responsive){O()}C();g=e(window).width();E();x();n.beforeStart();if(n.responsive){L()}else{_()}}function E(){R().each(function(){var t=e(this);t.find(u).each(function(){var t=e(this);t.find("*").each(function(){var t=e(this);S(t,true)});S(t,false)});t.css("display","none");t.data("opacity",parseFloat(t.css("opacity")))})}function S(e,t){e.data("width",parseFloat(e.width()));e.data("height",parseFloat(e.height()));e.data("letter-spacing",parseFloat(e.css("letter-spacing")));e.data("font-size",parseFloat(e.css("font-size")));if(e.css("line-height").slice(-2).toLowerCase()=="px"){e.data("line-height",parseFloat(e.css("line-height")))}else{e.data("line-height",parseFloat(e.css("line-height"))*q(e,"font-size"))}e.data("padding-top",parseFloat(e.css("padding-top")));e.data("padding-right",parseFloat(e.css("padding-right")));e.data("padding-bottom",parseFloat(e.css("padding-bottom")));e.data("padding-left",parseFloat(e.css("padding-left")));e.data("opacity",parseFloat(e.css("opacity")));if(!t){e.css("display","none")}}function x(){if(n.responsive){e(window).resize(function(){if(g!=e(window).width()&&(n.layout=="full-width"&&B()!=e(r).width()||e(r).width()<B()||e(r).width()>B()&&B()<n.startWidth)){L()}})}r.find(i).find(".cs-controls > .cs-previous").click(function(){K(I())});r.find(i).find(".cs-controls > .cs-next").click(function(){K(F())});if(n.enableSwipe){r.find(i).crellyslider_swipe({swipeLeft:function(e,t,n,r,i){H();K(F())},swipeRight:function(e,t,n,r,i){H();K(I())}})}r.find(i).find(".cs-navigation > .cs-slide-link").click(function(){if(e(this).index()!=f){l=false;K(e(this).index())}});if(n.pauseOnHover){r.find(i).find(s).hover(function(){P()});r.find(i).find(s).mouseleave(function(){H()})}}function T(){r.find(i).find(s).css("display","none");r.find(i).find(".cs-progress-bar").css("display","none");r.find(i).find(".cs-navigation").css("display","none");r.find(i).find(".cs-controls").css("display","none");r.find(i).append('<div class="cs-preloader"><div class="cs-loader"></div></div>')}function N(){r.find(i).find(s).css("display","block");r.find(i).find(".cs-progress-bar").css("display","block");r.find(i).find(".cs-navigation").css("display","block");r.find(i).find(".cs-controls").css("display","block");r.find(i).find(".cs-preloader").remove()}function C(){var e=n.layout;var t,s;switch(e){case"fixed":t=n.startWidth;s=n.startHeight;r.find(i).css({width:M(t),height:M(s)});R().css({width:M(t),height:M(s)});break;case"full-width":t=r.width();s=n.startHeight;r.find(i).css({width:t,height:M(s)});R().css({width:t,height:M(s)});break;default:return false;break}}function k(e){var t=(j()-n.startHeight)/2;var r=(B()-n.startWidth)/2;var i=0;var s=0;if(t>0){i=t}if(r>0){s=r}return{top:i,left:s}}function L(){n.beforeSetResponsive();var t=R();D(true);t.each(function(){var t=e(this);var n=t.find(u);t.finish();Z(t);t.finish();n.each(function(){var t=e(this);t.finish();tt(t);t.finish()})});O();C();t.each(function(){var t=e(this);var n=t.find(u);n.each(function(){var t=e(this);t.find("*").each(function(){var t=e(this);A(t)});A(t);t.finish();nt(t);t.finish()});t.finish();et(t);t.finish()});g=e(window).width();_()}function A(e){e.css({width:M(q(e,"width")),height:M(q(e,"height")),top:M(q(e,"top")+k(e).top),left:M(q(e,"left")+k(e).left),"padding-top":M(q(e,"padding-top")),"padding-right":M(q(e,"padding-right")),"padding-bottom":M(q(e,"padding-bottom")),"padding-left":M(q(e,"padding-left"))});if(e.text()!=""){e.css({width:"auto",height:"auto","line-height":M(q(e,"line-height"))+"px","letter-spacing":M(q(e,"letter-spacing")),"font-size":M(q(e,"font-size"))})}}function O(){var e=r.width();var t=n.startWidth;if(e>=t||!n.responsive){m=1}else{m=e/t}}function M(e){return e*m}function _(){if(n.automaticSlide){W()}else{Q(f)}}function D(t){for(var n=0;n<d.length;n++){d[n].clear()}for(var n=0;n<v.length;n++){v[n].clear()}p.clear();R().each(function(){var n=e(this);if(t){n.finish()}else{n.stop(true,true)}n.find(u).each(function(){var n=e(this);if(t){n.finish()}else{n.stop(true,true)}})});V()}function P(){if(!l&&c){n.beforePause();var e=r.find(i).find(".cs-progress-bar");e.stop(true);p.pause();l=true}}function H(){if(l&&c){n.beforeResume();var e=r.find(i).find(".cs-progress-bar");var t=q(U(f),"time");var s=p.getRemaining();e.animate({width:"100%"},s);p.resume();l=false}}function B(){return r.find(i).width()}function j(){return r.find(i).height()}function F(){if(f+1==a){return 0}return f+1}function I(){if(f-1<0){return a-1}return f-1}function q(e,t){var r;if(e.parent("ul").hasClass("cs-slides")){r=true}else{r=false}switch(t){case"ease-in":if(r){return isNaN(parseInt(e.data(t)))?n.slidesEaseIn:parseInt(e.data(t))}else{return isNaN(parseInt(e.data(t)))?n.elementsEaseIn:parseInt(e.data(t))}break;case"ease-out":if(r){return isNaN(parseInt(e.data(t)))?n.slidesEaseOut:parseInt(e.data(t))}else{return isNaN(parseInt(e.data(t)))?n.elementsEaseOut:parseInt(e.data(t))}break;case"delay":return isNaN(parseInt(e.data(t)))?n.elementsDelay:parseInt(e.data(t));break;case"time":if(r){return isNaN(parseInt(e.data(t)))?n.slidesTime:parseInt(e.data(t))}else{if(e.data(t)=="all"){return"all"}else{return isNaN(parseInt(e.data(t)))?n.itemsTime:parseInt(e.data(t))}}break;case"ignore-ease-out":if(parseInt(e.data(t))==1){return true}else if(parseInt(e.data(t))==0){return false}return n.ignoreElementsEaseOut;break;case"top":case"left":case"width":case"height":case"padding-top":case"padding-right":case"padding-bottom":case"padding-left":case"line-height":case"letter-spacing":case"font-size":return isNaN(parseFloat(e.data(t)))?0:parseFloat(e.data(t));break;case"in":case"out":case"opacity":return e.data(t);break;default:return false;break}}function R(){return r.find(i).find(s).find(o)}function U(e){return R().eq(e)}function z(e,t){var n;var r;var i=t;this.pause=function(){clearTimeout(n);i-=new Date-r};this.resume=function(){r=new Date;clearTimeout(n);n=window.setTimeout(function(){e()},i)};this.clear=function(){clearTimeout(n)};this.getRemaining=function(){return i};this.resume()}function W(){Q(f).done(function(){if(!l){f=F();W()}})}function X(e){var t=r.find(i).find(".cs-progress-bar");V();t.animate({width:"100%"},q(U(f),"time"))}function V(){var e=r.find(i).find(".cs-progress-bar");e.stop();e.css("width",0)}function J(){var t=r.find(i).find(".cs-navigation");var n=t.find("> .cs-slide-link");n.each(function(){var t=e(this);if(t.index()==f){t.addClass("cs-active")}else{t.removeClass("cs-active")}})}function K(e){if(h){D(false);Y(f,false,true).done(function(){f=e;_()})}}function Q(t){n.beforeSlideStart();var r=new e.Deferred;for(var i=0;i<d.length;i++){d[i].clear()}for(var i=0;i<v.length;i++){v[i].clear()}p.clear();U(t).finish();et(t);U(t).finish();var s=U(t).find(u);s.each(function(){var t=e(this);t.finish();nt(t);t.finish()});J();G(t);if(n.automaticSlide){Y(t,true,true).done(function(){r.resolve()})}else{Y(t,true,false).done(function(){r.resolve()})}return r.promise()}function G(t){var n=U(t);var r=n.find(u);var i=0;var s=false;var o=new e.Deferred;c=false;h=false;Z(t).done(function(){X(t);c=true;h=true;s=true;if(s&&i==r.length){o.resolve()}});r.each(function(){var t=e(this);var n=q(t,"delay");v.push(new z(function(){tt(t).done(function(){i++;if(s&&i==r.length){o.resolve()}})},n))});return o.promise()}function Y(t,n,r){var i=U(t);var s=i.find(u);var o=n?q(i,"time")+q(i,"ease-in"):0;var a=0;var f=false;var l=new e.Deferred;s.each(function(){var r=e(this);var i=q(r,"time");if(i!="all"){var o=n?i:0;if(q(r,"ignore-ease-out")){a++;if(s.length==a&&f){et(t);l.resolve()}}d.push(new z(function(){nt(r).done(function(){if(!q(r,"ignore-ease-out")){a++;if(s.length==a&&f){et(t);l.resolve()}}})},o))}});p=new z(function(){c=false;V();f=true;if(s.length==a&&f){et(t);l.resolve()}if(!r){h=true;l.resolve()}else{h=false;s.each(function(){var n=e(this);var r=q(n,"time");if(r=="all"){if(q(n,"ignore-ease-out")){a++;if(s.length==a&&f){et(t);l.resolve()}}nt(n).done(function(){if(!q(n,"ignore-ease-out")){a++;if(s.length==a&&f){et(t);l.resolve()}}})}})}},o);return l.promise()}function Z(t){var n=U(t);var r=q(n,"in");var i=q(n,"ease-in");var s=new e.Deferred;if(n.css("display")=="block"){return s.resolve().promise()}switch(r){case"fade":n.css({display:"block",top:0,left:0,opacity:0});n.animate({opacity:q(n,"opacity")},i,function(){s.resolve()});break;case"fadeLeft":n.css({display:"block",top:0,left:B(),opacity:0});n.animate({opacity:q(n,"opacity"),left:0},i,function(){s.resolve()});break;case"fadeRight":n.css({display:"block",top:0,left:-B(),opacity:0});n.animate({opacity:q(n,"opacity"),left:0},i,function(){s.resolve()});break;case"slideLeft":n.css({display:"block",top:0,left:B()});n.animate({left:0},i,function(){s.resolve()});break;case"slideRight":n.css({display:"block",top:0,left:-B()});n.animate({left:0},i,function(){s.resolve()});break;case"slideUp":n.css({display:"block",top:j(),left:0});n.animate({top:0},i,function(){s.resolve()});break;case"slideDown":n.css({display:"block",top:-j(),left:0});n.animate({top:0},i,function(){s.resolve()});break;default:n.css({display:"block",top:0,left:0,opacity:q(n,"opacity")});s.resolve();break}return s.promise()}function et(t){var n=U(t);var r=q(n,"out");var i=q(n,"ease-out");var s=new e.Deferred;if(n.css("display")=="none"){return s.resolve().promise()}switch(r){case"fade":n.animate({opacity:0},i,function(){n.css({display:"none",opacity:q(n,"opacity")});s.resolve()});break;case"fadeLeft":n.animate({opacity:0,left:-B()},i,function(){n.css({display:"none",opacity:q(n,"opacity"),left:0});s.resolve()});break;case"fadeRight":n.animate({opacity:0,left:B()},i,function(){n.css({display:"none",opacity:q(n,"opacity"),left:0});s.resolve()});break;case"slideLeft":n.animate({left:-B()},i,function(){n.css({display:"none",left:0});s.resolve()});break;case"slideRight":n.animate({left:B()},i,function(){n.css({display:"none",left:0});s.resolve()});break;case"slideUp":n.animate({top:-j()},i,function(){n.css({display:"none",top:0});s.resolve()});break;case"slideDown":n.animate({top:j()},i,function(){n.css({display:"none",top:0});s.resolve()});break;default:n.css({display:"none"});s.resolve();break}return s.promise()}function tt(t){var n=t.outerWidth();var r=t.outerHeight();var i=q(t,"in");var s=q(t,"ease-in");var o=q(t,"top");var u=q(t,"left");var a=new e.Deferred;if(t.css("display")=="block"){return a.resolve().promise()}switch(i){case"slideDown":t.css({display:"block",top:-r,left:M(u+k(t).left)}).animate({top:M(o+k(t).top)},s,function(){a.resolve()});break;case"slideUp":t.css({display:"block",top:j(),left:M(u+k(t).left)}).animate({top:M(o+k(t).top)},s,function(){a.resolve()});break;case"slideLeft":t.css({display:"block",top:M(o+k(t).top),left:B()}).animate({left:M(u+k(t).left)},s,function(){a.resolve()});break;case"slideRight":t.css({display:"block",top:M(o+k(t).top),left:-n}).animate({left:M(u+k(t).left)},s,function(){a.resolve()});break;case"fade":t.css({display:"block",top:M(o+k(t).top),left:M(u+k(t).left),opacity:0}).animate({opacity:q(t,"opacity")},s,function(){a.resolve()});break;case"fadeDown":t.css({display:"block",top:-r,left:M(u+k(t).left),opacity:0}).animate({top:M(o+k(t).top),opacity:q(t,"opacity")},s,function(){a.resolve()});break;case"fadeUp":t.css({display:"block",top:j(),left:M(u+k(t).left),opacity:0}).animate({top:M(o+k(t).top),opacity:q(t,"opacity")},s,function(){a.resolve()});break;case"fadeLeft":t.css({display:"block",top:M(o+k(t).top),left:B(),opacity:0}).animate({left:M(u+k(t).left),opacity:q(t,"opacity")},s,function(){a.resolve()});break;case"fadeRight":t.css({display:"block",top:M(o+k(t).top),left:-n,opacity:0}).animate({left:M(u+k(t).left),opacity:q(t,"opacity")},s,function(){a.resolve()});break;case"fadeSmallDown":t.css({display:"block",top:M(o+k(t).top-30),left:M(u+k(t).left),opacity:0}).animate({top:M(o+k(t).top),opacity:q(t,"opacity")},s,function(){a.resolve()});break;case"fadeSmallUp":t.css({display:"block",top:M(o+k(t).top+30),left:M(u+k(t).left),opacity:0}).animate({top:M(o+k(t).top),opacity:q(t,"opacity")},s,function(){a.resolve()});break;case"fadeSmallLeft":t.css({display:"block",top:M(o+k(t).top),left:M(u+k(t).left+30),opacity:0}).animate({left:M(u+k(t).left),opacity:q(t,"opacity")},s,function(){a.resolve()});break;case"fadeSmallRight":t.css({display:"block",top:M(o+k(t).top),left:M(u+k(t).left-30),opacity:0}).animate({left:M(u+k(t).left),opacity:q(t,"opacity")},s,function(){a.resolve()});break;default:t.css({display:"block",top:M(o+k(t).top),left:M(u+k(t).left),opacity:q(t,"opacity")});a.resolve();break}return a.promise()}function nt(t){var n=t.outerWidth();var r=t.outerHeight();var i=q(t,"out");var s=q(t,"ease-out");var o=new e.Deferred;if(t.css("display")=="none"){return o.resolve().promise()}switch(i){case"slideDown":t.animate({top:j()},s,function(){t.css({display:"none"});o.resolve()});break;case"slideUp":t.animate({top:-r},s,function(){t.css({display:"none"});o.resolve()});break;case"slideLeft":t.animate({left:-n},s,function(){t.css({display:"none"});o.resolve()});break;case"slideRight":t.animate({left:B()},s,function(){t.css({display:"none"});o.resolve()});break;case"fade":t.animate({opacity:0},s,function(){t.css({display:"none",opacity:q(t,"opacity")});o.resolve()});break;case"fadeDown":t.animate({top:j(),opacity:0},s,function(){t.css({display:"none",opacity:q(t,"opacity")});o.resolve()});break;case"fadeUp":t.animate({top:-r,opacity:0},s,function(){t.css({display:"none",opacity:q(t,"opacity")});o.resolve()});break;case"fadeLeft":t.animate({left:-n,opacity:0},s,function(){t.css({display:"none",opacity:q(t,"opacity")});o.resolve()});break;case"fadeRight":t.animate({left:B(),opacity:0},s,function(){t.css({display:"none",opacity:q(t,"opacity")});o.resolve()});break;case"fadeSmallDown":t.animate({top:M(q(t,"top")+k(t).top+30),opacity:0},s,function(){t.css({display:"none",opacity:q(t,"opacity")});o.resolve()});break;case"fadeSmallUp":t.animate({top:M(q(t,"top")+k(t).top-30),opacity:0},s,function(){t.css({display:"none",opacity:q(t,"opacity")});o.resolve()});break;case"fadeSmallLeft":t.animate({left:M(q(t,"left")+k(t).left-30),opacity:0},s,function(){t.css({display:"none",opacity:q(t,"opacity")});o.resolve()});break;case"fadeSmallRight":t.animate({left:M(q(t,"left")+k(t).left+30),opacity:0},s,function(){t.css({display:"none",opacity:q(t,"opacity")});o.resolve()});break;default:t.css({display:"none"});o.resolve();break}return o.promise()}(function(e){if(typeof define==="function"&&define.amd&&define.amd.jQuery){define(["jquery"],e)}else{e(jQuery)}})(function(e){function L(t){if(t&&t.allowPageScroll===undefined&&(t.swipe!==undefined||t.swipeStatus!==undefined)){t.allowPageScroll=u}if(t.click!==undefined&&t.tap===undefined){t.tap=t.click}if(!t){t={}}t=e.extend({},e.fn.crellyslider_swipe.defaults,t);return this.each(function(){var n=e(this);var r=n.data(C);if(!r){r=new A(this,t);n.data(C,r)}})}function A(d,k){function tt(t){if(Bt()){return}if(e(t.target).closest(k.excludedElements,z).length>0){return}var n=t.originalEvent?t.originalEvent:t;var r,i=x?n.touches[0]:n;W=b;if(x){X=n.touches.length}else{t.preventDefault()}P=0;H=null;R=null;B=0;j=0;F=0;I=1;q=0;V=Rt();U=Wt();Pt();if(!x||X===k.fingers||k.fingers===g||mt()){Ft(0,i);$=Zt();if(X==2){Ft(1,n.touches[1]);j=F=$t(V[0].start,V[1].start)}if(k.swipeStatus||k.pinchStatus){r=at(n,W)}}else{r=false}if(r===false){W=S;at(n,W);return r}else{if(k.hold){Z=setTimeout(e.proxy(function(){z.trigger("hold",[n.target]);if(k.hold){r=k.hold.call(z,n,n.target)}},this),k.longTapThreshold)}jt(true)}return null}function nt(e){var t=e.originalEvent?e.originalEvent:e;if(W===E||W===S||Ht()){return}var n,r=x?t.touches[0]:t;var i=It(r);J=Zt();if(x){X=t.touches.length}if(k.hold){clearTimeout(Z)}W=w;if(X==2){if(j==0){Ft(1,t.touches[1]);j=F=$t(V[0].start,V[1].start)}else{It(t.touches[1]);F=$t(V[0].end,V[1].end);R=Kt(V[0].end,V[1].end)}I=Jt(j,F);q=Math.abs(j-F)}if(X===k.fingers||k.fingers===g||!x||mt()){H=Yt(i.start,i.end);dt(e,H);P=Qt(i.start,i.end);B=Vt();Ut(H,P);if(k.swipeStatus||k.pinchStatus){n=at(t,W)}if(!k.triggerOnTouchEnd||k.triggerOnTouchLeave){var s=true;if(k.triggerOnTouchLeave){var o=en(this);s=tn(i.end,o)}if(!k.triggerOnTouchEnd&&s){W=ut(w)}else{if(k.triggerOnTouchLeave&&!s){W=ut(E)}}if(W==S||W==E){at(t,W)}}}else{W=S;at(t,W)}if(n===false){W=S;at(t,W)}}function rt(e){var t=e.originalEvent;if(x){if(t.touches.length>0){Dt();return true}}if(Ht()){X=Q}J=Zt();B=Vt();if(ct()||!lt()){W=S;at(t,W)}else{if(k.triggerOnTouchEnd||k.triggerOnTouchEnd==false&&W===w){e.preventDefault();W=E;at(t,W)}else{if(!k.triggerOnTouchEnd&&xt()){W=E;ft(t,W,c)}else{if(W===w){W=S;at(t,W)}}}}jt(false);return null}function it(){X=0;J=0;$=0;j=0;F=0;I=1;Pt();jt(false)}function st(e){var t=e.originalEvent;if(k.triggerOnTouchLeave){W=ut(E);at(t,W)}}function ot(){z.unbind(A,tt);z.unbind(D,it);z.unbind(O,nt);z.unbind(M,rt);if(_){z.unbind(_,st)}jt(false)}function ut(e){var t=e;var n=pt();var r=lt();var i=ct();if(!n||i){t=S}else{if(r&&e==w&&(!k.triggerOnTouchEnd||k.triggerOnTouchLeave)){t=E}else{if(!r&&e==E&&k.triggerOnTouchLeave){t=S}}}return t}function at(e,t){var n=undefined;if(wt()||bt()){n=ft(e,t,f)}else{if((gt()||mt())&&n!==false){n=ft(e,t,l)}}if(Mt()&&n!==false){n=ft(e,t,h)}else{if(_t()&&n!==false){n=ft(e,t,p)}else{if(Ot()&&n!==false){n=ft(e,t,c)}}}if(t===S){it(e)}if(t===E){if(x){if(e.touches.length==0){it(e)}}else{it(e)}}return n}function ft(u,a,d){var v=undefined;if(d==f){z.trigger("swipeStatus",[a,H||null,P||0,B||0,X,V]);if(k.swipeStatus){v=k.swipeStatus.call(z,u,a,H||null,P||0,B||0,X,V);if(v===false){return false}}if(a==E&&yt()){z.trigger("swipe",[H,P,B,X,V]);if(k.swipe){v=k.swipe.call(z,u,H,P,B,X,V);if(v===false){return false}}switch(H){case t:z.trigger("swipeLeft",[H,P,B,X,V]);if(k.swipeLeft){v=k.swipeLeft.call(z,u,H,P,B,X,V)}break;case n:z.trigger("swipeRight",[H,P,B,X,V]);if(k.swipeRight){v=k.swipeRight.call(z,u,H,P,B,X,V)}break;case r:z.trigger("swipeUp",[H,P,B,X,V]);if(k.swipeUp){v=k.swipeUp.call(z,u,H,P,B,X,V)}break;case i:z.trigger("swipeDown",[H,P,B,X,V]);if(k.swipeDown){v=k.swipeDown.call(z,u,H,P,B,X,V)}break}}}if(d==l){z.trigger("pinchStatus",[a,R||null,q||0,B||0,X,I,V]);if(k.pinchStatus){v=k.pinchStatus.call(z,u,a,R||null,q||0,B||0,X,I,V);if(v===false){return false}}if(a==E&&vt()){switch(R){case s:z.trigger("pinchIn",[R||null,q||0,B||0,X,I,V]);if(k.pinchIn){v=k.pinchIn.call(z,u,R||null,q||0,B||0,X,I,V)}break;case o:z.trigger("pinchOut",[R||null,q||0,B||0,X,I,V]);if(k.pinchOut){v=k.pinchOut.call(z,u,R||null,q||0,B||0,X,I,V)}break}}}if(d==c){if(a===S||a===E){clearTimeout(Y);clearTimeout(Z);if(Tt()&&!kt()){G=Zt();Y=setTimeout(e.proxy(function(){G=null;z.trigger("tap",[u.target]);if(k.tap){v=k.tap.call(z,u,u.target)}},this),k.doubleTapThreshold)}else{G=null;z.trigger("tap",[u.target]);if(k.tap){v=k.tap.call(z,u,u.target)}}}}else{if(d==h){if(a===S||a===E){clearTimeout(Y);G=null;z.trigger("doubletap",[u.target]);if(k.doubleTap){v=k.doubleTap.call(z,u,u.target)}}}else{if(d==p){if(a===S||a===E){clearTimeout(Y);G=null;z.trigger("longtap",[u.target]);if(k.longTap){v=k.longTap.call(z,u,u.target)}}}}}return v}function lt(){var e=true;if(k.threshold!==null){e=P>=k.threshold}return e}function ct(){var e=false;if(k.cancelThreshold!==null&&H!==null){e=zt(H)-P>=k.cancelThreshold}return e}function ht(){if(k.pinchThreshold!==null){return q>=k.pinchThreshold}return true}function pt(){var e;if(k.maxTimeThreshold){if(B>=k.maxTimeThreshold){e=false}else{e=true}}else{e=true}return e}function dt(e,s){if(k.allowPageScroll===u||mt()){e.preventDefault()}else{var o=k.allowPageScroll===a;switch(s){case t:if(k.swipeLeft&&o||!o&&k.allowPageScroll!=v){e.preventDefault()}break;case n:if(k.swipeRight&&o||!o&&k.allowPageScroll!=v){e.preventDefault()}break;case r:if(k.swipeUp&&o||!o&&k.allowPageScroll!=m){e.preventDefault()}break;case i:if(k.swipeDown&&o||!o&&k.allowPageScroll!=m){e.preventDefault()}break}}}function vt(){var e=Et();var t=St();var n=ht();return e&&t&&n}function mt(){return!!(k.pinchStatus||k.pinchIn||k.pinchOut)}function gt(){return!!(vt()&&mt())}function yt(){var e=pt();var t=lt();var n=Et();var r=St();var i=ct();var s=!i&&r&&n&&t&&e;return s}function bt(){return!!(k.swipe||k.swipeStatus||k.swipeLeft||k.swipeRight||k.swipeUp||k.swipeDown)}function wt(){return!!(yt()&&bt())}function Et(){return X===k.fingers||k.fingers===g||!x}function St(){return V[0].end.x!==0}function xt(){return!!k.tap}function Tt(){return!!k.doubleTap}function Nt(){return!!k.longTap}function Ct(){if(G==null){return false}var e=Zt();return Tt()&&e-G<=k.doubleTapThreshold}function kt(){return Ct()}function Lt(){return(X===1||!x)&&(isNaN(P)||P<k.threshold)}function At(){return B>k.longTapThreshold&&P<y}function Ot(){return!!(Lt()&&xt())}function Mt(){return!!(Ct()&&Tt())}function _t(){return!!(At()&&Nt())}function Dt(){K=Zt();Q=event.touches.length+1}function Pt(){K=0;Q=0}function Ht(){var e=false;if(K){var t=Zt()-K;if(t<=k.fingerReleaseThreshold){e=true}}return e}function Bt(){return!!(z.data(C+"_intouch")===true)}function jt(e){if(e===true){z.bind(O,nt);z.bind(M,rt);if(_){z.bind(_,st)}}else{z.unbind(O,nt,false);z.unbind(M,rt,false);if(_){z.unbind(_,st,false)}}z.data(C+"_intouch",e===true)}function Ft(e,t){var n=t.identifier!==undefined?t.identifier:0;V[e].identifier=n;V[e].start.x=V[e].end.x=t.pageX||t.clientX;V[e].start.y=V[e].end.y=t.pageY||t.clientY;return V[e]}function It(e){var t=e.identifier!==undefined?e.identifier:0;var n=qt(t);n.end.x=e.pageX||e.clientX;n.end.y=e.pageY||e.clientY;return n}function qt(e){for(var t=0;t<V.length;t++){if(V[t].identifier==e){return V[t]}}}function Rt(){var e=[];for(var t=0;t<=5;t++){e.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0})}return e}function Ut(e,t){t=Math.max(t,zt(e));U[e].distance=t}function zt(e){if(U[e]){return U[e].distance}return undefined}function Wt(){var e={};e[t]=Xt(t);e[n]=Xt(n);e[r]=Xt(r);e[i]=Xt(i);return e}function Xt(e){return{direction:e,distance:0}}function Vt(){return J-$}function $t(e,t){var n=Math.abs(e.x-t.x);var r=Math.abs(e.y-t.y);return Math.round(Math.sqrt(n*n+r*r))}function Jt(e,t){var n=t/e*1;return n.toFixed(2)}function Kt(){if(I<1){return o}else{return s}}function Qt(e,t){return Math.round(Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)))}function Gt(e,t){var n=e.x-t.x;var r=t.y-e.y;var i=Math.atan2(r,n);var s=Math.round(i*180/Math.PI);if(s<0){s=360-Math.abs(s)}return s}function Yt(e,s){var o=Gt(e,s);if(o<=45&&o>=0){return t}else{if(o<=360&&o>=315){return t}else{if(o>=135&&o<=225){return n}else{if(o>45&&o<135){return i}else{return r}}}}}function Zt(){var e=new Date;return e.getTime()}function en(t){t=e(t);var n=t.offset();var r={left:n.left,right:n.left+t.outerWidth(),top:n.top,bottom:n.top+t.outerHeight()};return r}function tn(e,t){return e.x>t.left&&e.x<t.right&&e.y>t.top&&e.y<t.bottom}var L=x||N||!k.fallbackToMouseEvents,A=L?N?T?"MSPointerDown":"pointerdown":"touchstart":"mousedown",O=L?N?T?"MSPointerMove":"pointermove":"touchmove":"mousemove",M=L?N?T?"MSPointerUp":"pointerup":"touchend":"mouseup",_=L?null:"mouseleave",D=N?T?"MSPointerCancel":"pointercancel":"touchcancel";var P=0,H=null,B=0,j=0,F=0,I=1,q=0,R=0,U=null;var z=e(d);var W="start";var X=0;var V=null;var $=0,J=0,K=0,Q=0,G=0;var Y=null,Z=null;try{z.bind(A,tt);z.bind(D,it)}catch(et){e.error("events not supported "+A+","+D+" on jQuery.swipe")}this.enable=function(){z.bind(A,tt);z.bind(D,it);return z};this.disable=function(){ot();return z};this.destroy=function(){ot();z.data(C,null);return z};this.option=function(t,n){if(k[t]!==undefined){if(n===undefined){return k[t]}else{k[t]=n}}else{e.error("Option "+t+" does not exist on jQuery.swipe.options")}return null}}var t="left",n="right",r="up",i="down",s="in",o="out",u="none",a="auto",f="swipe",l="pinch",c="tap",h="doubletap",p="longtap",d="hold",v="horizontal",m="vertical",g="all",y=10,b="start",w="move",E="end",S="cancel",x="ontouchstart"in window,T=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,N=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,C="TouchSwipe";var k={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:true,triggerOnTouchLeave:false,allowPageScroll:"auto",fallbackToMouseEvents:true,excludedElements:"label, button, input, select, textarea, a, .noSwipe"};e.fn.crellyslider_swipe=function(t){var n=e(this),r=n.data(C);if(r&&typeof t==="string"){if(r[t]){return r[t].apply(this,Array.prototype.slice.call(arguments,1))}else{e.error("Method "+t+" does not exist on jQuery.swipe")}}else{if(!r&&(typeof t==="object"||!t)){return L.apply(this,arguments)}}return n};e.fn.crellyslider_swipe.defaults=k;e.fn.crellyslider_swipe.phases={PHASE_START:b,PHASE_MOVE:w,PHASE_END:E,PHASE_CANCEL:S};e.fn.crellyslider_swipe.directions={LEFT:t,RIGHT:n,UP:r,DOWN:i,IN:s,OUT:o};e.fn.crellyslider_swipe.pageScroll={NONE:u,HORIZONTAL:v,VERTICAL:m,AUTO:a};e.fn.crellyslider_swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:g}});var r=e(t);var i="div.crellyslider";var s="ul.cs-slides";var o="li.cs-slide";var u="> *";var a;var f=0;var l=false;var c=false;var h=false;var p=new z(function(){},0);var d=new Array;var v=new Array;var m=1;var g=0;y()};e.fn.crellySlider=function(n){var r=e.extend({layout:"fixed",responsive:true,startWidth:1170,startHeight:500,pauseOnHover:true,automaticSlide:true,showControls:true,showNavigation:true,showProgressBar:true,enableSwipe:true,slidesTime:3e3,elementsDelay:0,elementsTime:"all",slidesEaseIn:300,elementsEaseIn:300,slidesEaseOut:300,elementsEaseOut:300,ignoreElementsEaseOut:false,beforeStart:function(){},beforeSetResponsive:function(){},beforeSlideStart:function(){},beforePause:function(){},beforeResume:function(){}},n);return this.each(function(){new t(this,r)})}})(jQuery)
2
  * Plugin Name: Crelly Slider
3
  * Plugin URI: http://fabiorino1.altervista.org/projects/crellyslider
4
  * Description: The first free WordPress slider with elements animations.
5
+ * Version: 1.1.0
6
  * Author: fabiorino
7
  * Author URI: http://fabiorino1.altervista.org
8
  * License: MIT
9
  */
10
 
11
+ !function(e){!function(e,t,n){"function"==typeof define&&define.amd?define(["jquery"],function(i){return n(i,e,t),i.mobile}):n(e.jQuery,e,t)}(this,document,function(e,t,n,i){!function(e,t,n,i){function a(e){for(;e&&"undefined"!=typeof e.originalEvent;)e=e.originalEvent;return e}function o(t,n){var o,s,r,c,l,d,p,f,u,h=t.type;if(t=e.Event(t),t.type=n,o=t.originalEvent,s=e.event.props,h.search(/^(mouse|click)/)>-1&&(s=Y),o)for(p=s.length,c;p;)c=s[--p],t[c]=o[c];if(h.search(/mouse(down|up)|click/)>-1&&!t.which&&(t.which=1),-1!==h.search(/^touch/)&&(r=a(o),h=r.touches,l=r.changedTouches,d=h&&h.length?h[0]:l&&l.length?l[0]:i,d))for(f=0,u=P.length;u>f;f++)c=P[f],t[c]=d[c];return t}function s(t){for(var n,i,a={};t;){n=e.data(t,I);for(i in n)n[i]&&(a[i]=a.hasVirtualBinding=!0);t=t.parentNode}return a}function r(t,n){for(var i;t;){if(i=e.data(t,I),i&&(!n||i[n]))return t;t=t.parentNode}return null}function c(){X=!1}function l(){X=!0}function d(){W=0,C.length=0,z=!1,l()}function p(){c()}function f(){u(),F=setTimeout(function(){F=0,d()},e.vmouse.resetTimerDuration)}function u(){F&&(clearTimeout(F),F=0)}function h(t,n,i){var a;return(i&&i[t]||!i&&r(n.target,t))&&(a=o(n,t),e(n.target).trigger(a)),a}function v(t){var n,i=e.data(t.target,E);!z&&(!W||W!==i)&&(n=h("v"+t.type,t),n&&(n.isDefaultPrevented()&&t.preventDefault(),n.isPropagationStopped()&&t.stopPropagation(),n.isImmediatePropagationStopped()&&t.stopImmediatePropagation()))}function m(t){var n,i,o,r=a(t).touches;r&&1===r.length&&(n=t.target,i=s(n),i.hasVirtualBinding&&(W=_++,e.data(n,E,W),u(),p(),M=!1,o=a(t).touches[0],O=o.pageX,R=o.pageY,h("vmouseover",t,i),h("vmousedown",t,i)))}function y(e){X||(M||h("vmousecancel",e,s(e.target)),M=!0,f())}function g(t){if(!X){var n=a(t).touches[0],i=M,o=e.vmouse.moveDistanceThreshold,r=s(t.target);M=M||Math.abs(n.pageX-O)>o||Math.abs(n.pageY-R)>o,M&&!i&&h("vmousecancel",t,r),h("vmousemove",t,r),f()}}function b(e){if(!X){l();var t,n,i=s(e.target);h("vmouseup",e,i),M||(t=h("vclick",e,i),t&&t.isDefaultPrevented()&&(n=a(e).changedTouches[0],C.push({touchID:W,x:n.clientX,y:n.clientY}),z=!0)),h("vmouseout",e,i),M=!1,f()}}function w(t){var n,i=e.data(t,I);if(i)for(n in i)if(i[n])return!0;return!1}function k(){}function T(t){var n=t.substr(1);return{setup:function(){w(this)||e.data(this,I,{});var i=e.data(this,I);i[t]=!0,x[t]=(x[t]||0)+1,1===x[t]&&H.bind(n,v),e(this).bind(n,k),B&&(x.touchstart=(x.touchstart||0)+1,1===x.touchstart&&H.bind("touchstart",m).bind("touchend",b).bind("touchmove",g).bind("scroll",y))},teardown:function(){--x[t],x[t]||H.unbind(n,v),B&&(--x.touchstart,x.touchstart||H.unbind("touchstart",m).unbind("touchmove",g).unbind("touchend",b).unbind("scroll",y));var i=e(this),a=e.data(this,I);a&&(a[t]=!1),i.unbind(n,k),w(this)||i.removeData(I)}}}var D,S,I="virtualMouseBindings",E="virtualTouchID",N="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),P="clientX clientY pageX pageY screenX screenY".split(" "),L=e.event.mouseHooks?e.event.mouseHooks.props:[],Y=e.event.props.concat(L),x={},F=0,O=0,R=0,M=!1,C=[],z=!1,X=!1,B="addEventListener"in n,H=e(n),_=1,W=0;for(e.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500},S=0;S<N.length;S++)e.event.special[N[S]]=T(N[S]);B&&n.addEventListener("click",function(t){var n,i,a,o,s,r,c=C.length,l=t.target;if(c)for(n=t.clientX,i=t.clientY,D=e.vmouse.clickDistanceThreshold,a=l;a;){for(o=0;c>o;o++)if(s=C[o],r=0,a===l&&Math.abs(s.x-n)<D&&Math.abs(s.y-i)<D||e.data(a,E)===s.touchID)return t.preventDefault(),void t.stopPropagation();a=a.parentNode}},!0)}(e,t,n),function(e){e.mobile={}}(e),function(e,t){var i={touch:"ontouchend"in n};e.mobile.support=e.mobile.support||{},e.extend(e.support,i),e.extend(e.mobile.support,i)}(e),function(e,t,i){function a(t,n,a,o){var s=a.type;a.type=n,o?e.event.trigger(a,i,t):e.event.dispatch.call(t,a),a.type=s}var o=e(n),s=e.mobile.support.touch,r="touchmove scroll",c=s?"touchstart":"mousedown",l=s?"touchend":"mouseup",d=s?"touchmove":"mousemove";e.each("touchstart touchmove touchend tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(t,n){e.fn[n]=function(e){return e?this.bind(n,e):this.trigger(n)},e.attrFn&&(e.attrFn[n]=!0)}),e.event.special.scrollstart={enabled:!0,setup:function(){function t(e,t){n=t,a(o,n?"scrollstart":"scrollstop",e)}var n,i,o=this,s=e(o);s.bind(r,function(a){e.event.special.scrollstart.enabled&&(n||t(a,!0),clearTimeout(i),i=setTimeout(function(){t(a,!1)},50))})},teardown:function(){e(this).unbind(r)}},e.event.special.tap={tapholdThreshold:750,emitTapOnTaphold:!0,setup:function(){var t=this,n=e(t),i=!1;n.bind("vmousedown",function(s){function r(){clearTimeout(d)}function c(){r(),n.unbind("vclick",l).unbind("vmouseup",r),o.unbind("vmousecancel",c)}function l(e){c(),i||p!==e.target?i&&e.preventDefault():a(t,"tap",e)}if(i=!1,s.which&&1!==s.which)return!1;var d,p=s.target;n.bind("vmouseup",r).bind("vclick",l),o.bind("vmousecancel",c),d=setTimeout(function(){e.event.special.tap.emitTapOnTaphold||(i=!0),a(t,"taphold",e.Event("taphold",{target:p}))},e.event.special.tap.tapholdThreshold)})},teardown:function(){e(this).unbind("vmousedown").unbind("vclick").unbind("vmouseup"),o.unbind("vmousecancel")}},e.event.special.swipe={scrollSupressionThreshold:30,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:30,getLocation:function(e){var n=t.pageXOffset,i=t.pageYOffset,a=e.clientX,o=e.clientY;return 0===e.pageY&&Math.floor(o)>Math.floor(e.pageY)||0===e.pageX&&Math.floor(a)>Math.floor(e.pageX)?(a-=n,o-=i):(o<e.pageY-i||a<e.pageX-n)&&(a=e.pageX-n,o=e.pageY-i),{x:a,y:o}},start:function(t){var n=t.originalEvent.touches?t.originalEvent.touches[0]:t,i=e.event.special.swipe.getLocation(n);return{time:(new Date).getTime(),coords:[i.x,i.y],origin:e(t.target)}},stop:function(t){var n=t.originalEvent.touches?t.originalEvent.touches[0]:t,i=e.event.special.swipe.getLocation(n);return{time:(new Date).getTime(),coords:[i.x,i.y]}},handleSwipe:function(t,n,i,o){if(n.time-t.time<e.event.special.swipe.durationThreshold&&Math.abs(t.coords[0]-n.coords[0])>e.event.special.swipe.horizontalDistanceThreshold&&Math.abs(t.coords[1]-n.coords[1])<e.event.special.swipe.verticalDistanceThreshold){var s=t.coords[0]>n.coords[0]?"swipeleft":"swiperight";return a(i,"swipe",e.Event("swipe",{target:o,swipestart:t,swipestop:n}),!0),a(i,s,e.Event(s,{target:o,swipestart:t,swipestop:n}),!0),!0}return!1},eventInProgress:!1,setup:function(){var t,n=this,i=e(n),a={};t=e.data(this,"mobile-events"),t||(t={length:0},e.data(this,"mobile-events",t)),t.length++,t.swipe=a,a.start=function(t){if(!e.event.special.swipe.eventInProgress){e.event.special.swipe.eventInProgress=!0;var i,s=e.event.special.swipe.start(t),r=t.target,c=!1;a.move=function(t){s&&!t.isDefaultPrevented()&&(i=e.event.special.swipe.stop(t),c||(c=e.event.special.swipe.handleSwipe(s,i,n,r),c&&(e.event.special.swipe.eventInProgress=!1)),Math.abs(s.coords[0]-i.coords[0])>e.event.special.swipe.scrollSupressionThreshold&&t.preventDefault())},a.stop=function(){c=!0,e.event.special.swipe.eventInProgress=!1,o.off(d,a.move),a.move=null},o.on(d,a.move).one(l,a.stop)}},i.on(c,a.start)},teardown:function(){var t,n;t=e.data(this,"mobile-events"),t&&(n=t.swipe,delete t.swipe,t.length--,0===t.length&&e.removeData(this,"mobile-events")),n&&(n.start&&e(this).off(c,n.start),n.move&&o.off(d,n.move),n.stop&&o.off(l,n.stop))}},e.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe.left",swiperight:"swipe.right"},function(t,n){e.event.special[t]={setup:function(){e(this).bind(n,e.noop)},teardown:function(){e(this).unbind(n)}}})}(e,this)});var t=document.createElement("script");t.src="https://www.youtube.com/iframe_api";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n);(function(){function e(t){return new e.fn.init(t)}function t(e,t,n){return n.contentWindow.postMessage?(e=JSON.stringify({method:e,value:t}),void n.contentWindow.postMessage(e,s)):!1}function n(e){var t,n;try{t=JSON.parse(e.data),n=t.event||t.method}catch(i){}if("ready"!=n||o||(o=!0),!/^https?:\/\/player.vimeo.com/.test(e.origin))return!1;"*"===s&&(s=e.origin),e=t.value;var r=t.data,c=""===c?null:t.player_id;return t=c?a[c][n]:a[n],n=[],t?(void 0!==e&&n.push(e),r&&n.push(r),c&&n.push(c),0<n.length?t.apply(null,n):t.call()):!1}function i(e,t,n){n?(a[n]||(a[n]={}),a[n][e]=t):a[e]=t}var a={},o=!1,s="*";return e.fn=e.prototype={element:null,init:function(e){return"string"==typeof e&&(e=document.getElementById(e)),this.element=e,this},api:function(e,n){if(!this.element||!e)return!1;var a=this.element,o=""!==a.id?a.id:null,s=n&&n.constructor&&n.call&&n.apply?null:n,r=n&&n.constructor&&n.call&&n.apply?n:null;return r&&i(e,r,o),t(e,s,a),this},addEvent:function(e,n){if(!this.element)return!1;var a=this.element,s=""!==a.id?a.id:null;return i(e,n,s),"ready"!=e?t("addEventListener",e,a):"ready"==e&&o&&n.call(null,s),this},removeEvent:function(e){if(!this.element)return!1;var n=this.element,i=""!==n.id?n.id:null;e:{if(i&&a[i]){if(!a[i][e]){i=!1;break e}a[i][e]=null}else{if(!a[e]){i=!1;break e}a[e]=null}i=!0}"ready"!=e&&i&&t("removeEventListener",e,n)}},e.fn.init.prototype=e.fn,window.addEventListener?window.addEventListener("message",n,!1):window.attachEvent("onmessage",n),window.Froogaloop=window.$f=e})();e.CrellySlider=function(t,n){function i(){if(re.wrapInner('<div class="crellyslider" />'),re.find(ce+" > ul").addClass("cs-slides"),re.find(ce+" "+le+" > li").addClass("cs-slide"),se=L().length,0==se)return!1;if(1==se){var e=Y(0),t=re.find(ce).find(le);e.clone().prependTo(t),se++}if(n.showControls&&re.find(ce).append('<div class="cs-controls"><span class="cs-next"></span><span class="cs-previous"></span></div>'),n.showNavigation){for(var i='<div class="cs-navigation">',o=0;se>o;o++)i+='<span class="cs-slide-link"></span>';i+="</div>",re.find(ce).append(i)}n.showProgressBar?re.find(ce).append('<div class="cs-progress-bar"></div>'):re.find(ce).append('<div class="cs-progress-bar cs-progress-bar-hidden"></div>'),re.css("display","block"),n.responsive&&g(),h(),L().find(".cs-background-link").html(" ").data({left:0,top:0,"in":"none",out:"none",easeIn:0,easeOut:0,delay:0,time:"all"}),f(),a().done(function(){setTimeout(function(){"complete"!=document.readyState?r():c()},10)})}function a(){var t=new e.Deferred,n=L().find(".cs-yt-iframe, .cs-vimeo-iframe").length,i=0;return 0==n?t.resolve().promise():(L().find(".cs-yt-iframe, .cs-vimeo-iframe").each(function(){var a=e(this);a.one("load",function(){i++,i==n&&o().done(function(){s().done(function(){t.resolve()})})})}),t.promise())}function o(){var t,n=new e.Deferred,i=L(),a=i.find(pe+".cs-yt-iframe").length,o=0;return 0==a?n.resolve().promise():(i.each(function(){var i=e(this),s=i.find(pe+".cs-yt-iframe");s.each(function(){var i=e(this);i.uniqueId(),i.attr("id","cs-yt-iframe-"+i.attr("id"));var s=new YT.Player(i.attr("id"),{events:{onReady:function(){o++,o==a&&n.resolve()},onStateChange:function(e){e.data===YT.PlayerState.ENDED&&P(i,"loop")&&s.playVideo()}}});t={player:s,played_once:!1},we[i.attr("id")]=t})}),n.promise())}function s(){var t,n=new e.Deferred,i=L(),a=i.find(pe+".cs-vimeo-iframe").length,o=0;return 0==a?n.resolve().promise():(i.each(function(){var i=e(this),s=i.find(pe+".cs-vimeo-iframe");s.each(function(){var i=e(this);i.uniqueId(),i.attr("id","cs-vimeo-iframe-"+i.attr("id")),i.attr("src",i.attr("src")+"&player_id="+i.attr("id"));var s=$f(i[0]);s.addEvent("ready",function(){s.addEvent("finish",function(){ke[i.attr("id")].ended=!0}),s.addEvent("play",function(){ke[i.attr("id")].played_once=!0,ke[i.attr("id")].ended=!1}),P(i,"loop")&&s.api("setLoop",!0),o++,o==a&&n.resolve()}),t={player:s,played_once:!1,ended:!1},ke[i.attr("id")]=t})}),n.promise())}function r(){e(window).load(function(){c()})}function c(){n.responsive&&g(),h(),De=e(window).width(),l(),p(),u(),n.beforeStart(),n.responsive?m():w()}function l(){L().each(function(){var t=e(this);t.find(pe).each(function(){var t=e(this);t.find("*").each(function(){var t=e(this);d(t,!0)}),d(t,!1)}),t.css("display","none"),t.data("opacity",parseFloat(t.css("opacity")))})}function d(e,t){e.data("width",parseFloat(e.width())),e.data("height",parseFloat(e.height())),e.data("letter-spacing",parseFloat(e.css("letter-spacing"))),e.data("font-size",parseFloat(e.css("font-size"))),"px"==e.css("line-height").slice(-2).toLowerCase()?e.data("line-height",parseFloat(e.css("line-height"))):e.data("line-height",parseFloat(e.css("line-height"))*P(e,"font-size")),e.data("padding-top",parseFloat(e.css("padding-top"))),e.data("padding-right",parseFloat(e.css("padding-right"))),e.data("padding-bottom",parseFloat(e.css("padding-bottom"))),e.data("padding-left",parseFloat(e.css("padding-left"))),e.data("opacity",parseFloat(e.css("opacity"))),t||e.css("display","none")}function p(){n.responsive&&e(window).resize(function(){De!=e(window).width()&&("full-width"==n.layout&&S()!=e(re).width()||e(re).width()<S()||e(re).width()>S()&&S()<n.startWidth)&&m()}),re.find(ce).find(".cs-controls > .cs-previous").click(function(){z(N())}),re.find(ce).find(".cs-controls > .cs-next").click(function(){z(E())}),n.enableSwipe&&(re.find(ce).on("swipeleft",function(){D(),z(E())}),re.find(ce).on("swiperight",function(){D(),z(N())})),re.find(ce).find(".cs-navigation > .cs-slide-link").click(function(){z(e(this).index())}),n.pauseOnHover&&(re.find(ce).find(le).hover(function(){T()}),re.find(ce).find(le).mouseleave(function(){D()}))}function f(){function t(){re.find(ce).append('<div class="cs-preloader"><div class="cs-bg"></div><div class="cs-loader"><div class="cs-spinner"></div></div></div>'),re.find(ce).find(".cs-preloader").css({"background-color":Y(0).css("background-color"),"background-image":Y(0).css("background-image"),"background-position":Y(0).css("background-position"),"background-repeat":Y(0).css("background-repeat"),"background-size":Y(0).css("background-size")}),re.find(ce).find(".cs-preloader > .cs-bg").css({"background-color":Y(0).css("background-color"),"background-image":Y(0).css("background-image"),"background-position":Y(0).css("background-position"),"background-repeat":Y(0).css("background-repeat"),"background-size":Y(0).css("background-size")})}re.find(ce).find(le).css("visibility","hidden"),re.find(ce).find(".cs-progress-bar").css("display","none"),re.find(ce).find(".cs-navigation").css("display","none"),re.find(ce).find(".cs-controls").css("display","none");var n=Y(0).css("background-image");n=n.replace(/^url\(["']?/,"").replace(/["']?\)$/,""),""==n||"undefined"==n||"none"==n?t():e("<img>").load(function(){t()}).attr("src",n).each(function(){this.complete&&e(this).load()})}function u(){re.find(ce).find(le).css("visibility","visible"),re.find(ce).find(".cs-progress-bar").css("display","block"),re.find(ce).find(".cs-navigation").css("display","block"),re.find(ce).find(".cs-controls").css("display","block"),ne(Y(0)),Y(0).finish(),re.find(ce).find(".cs-preloader").animate({opacity:0},300,function(){re.find(ce).find(".cs-preloader").remove()})}function h(){var e,t,i=n.layout;switch(i){case"fixed":e=n.startWidth,t=n.startHeight,re.find(ce).css({width:b(e),height:b(t)}),L().css({width:b(e),height:b(t)});break;case"full-width":e=re.width(),t=n.startHeight,re.find(ce).css({width:e,height:b(t)}),L().css({width:e,height:b(t)});break;default:return!1}}function v(e){var t=(I()-n.startHeight)/2,i=(S()-n.startWidth)/2,a=0,o=0;return t>0&&(a=t),i>0&&(o=i),{top:a,left:o}}function m(){n.beforeSetResponsive();var t=L();k(!0),t.each(function(){var t=e(this),n=t.find(pe);t.finish(),ne(t),t.finish(),n.each(function(){var t=e(this);t.finish(),ae(t),t.finish(),_(t)&&A(t)})}),g(),h(),t.each(function(){var t=e(this),n=t.find(pe);n.each(function(){var t=e(this);t.find("*").each(function(){var t=e(this);y(t)}),y(t),t.finish(),oe(t),t.finish(),_(t)&&A(t)}),t.finish(),ie(t),t.finish()}),De=e(window).width(),w()}function y(e){e.css({top:b(P(e,"top")+v(e).top),left:b(P(e,"left")+v(e).left),"padding-top":b(P(e,"padding-top")),"padding-right":b(P(e,"padding-right")),"padding-bottom":b(P(e,"padding-bottom")),"padding-left":b(P(e,"padding-left"))}),e.is("input")||e.is("button")||e.text().trim().length?e.css({"line-height":b(P(e,"line-height"))+"px","letter-spacing":b(P(e,"letter-spacing")),"font-size":b(P(e,"font-size"))}):e.css({width:b(P(e,"width")),height:b(P(e,"height"))})}function g(){var e=re.width(),t=n.startWidth;Te=e>=t||!n.responsive?1:e/t}function b(e){return e*Te}function w(){n.automaticSlide?O():X(fe),me=!1}function k(t){for(var n=0;n<ge.length;n++)ge[n].clear();for(var n=0;n<be.length;n++)be[n].clear();ye.clear(),L().each(function(){var n=e(this);t?n.finish():n.stop(!0,!0),n.find(pe).each(function(){var n=e(this);t?n.finish():n.stop(!0,!0)})}),M()}function T(){if(!ue&&he){n.beforePause();var e=re.find(ce).find(".cs-progress-bar");e.stop(!0),ye.pause(),ue=!0}}function D(){if(ue&&he){n.beforeResume();var e=re.find(ce).find(".cs-progress-bar"),t=(P(Y(fe),"time"),ye.getRemaining());e.animate({width:"100%"},t),ye.resume(),ue=!1}}function S(){return re.find(ce).width()}function I(){return re.find(ce).height()}function E(){return fe+1==se?0:fe+1}function N(){return 0>fe-1?se-1:fe-1}function P(e,t){var i;switch(i=e.parent("ul").hasClass("cs-slides")?!0:!1,t){case"ease-in":return i?isNaN(parseInt(e.data(t)))?n.slidesEaseIn:parseInt(e.data(t)):isNaN(parseInt(e.data(t)))?n.elementsEaseIn:parseInt(e.data(t));case"ease-out":return i?isNaN(parseInt(e.data(t)))?n.slidesEaseOut:parseInt(e.data(t)):isNaN(parseInt(e.data(t)))?n.elementsEaseOut:parseInt(e.data(t));case"delay":return isNaN(parseInt(e.data(t)))?n.elementsDelay:parseInt(e.data(t));case"time":return i?isNaN(parseInt(e.data(t)))?n.slidesTime:parseInt(e.data(t)):"all"==e.data(t)?"all":isNaN(parseInt(e.data(t)))?n.itemsTime:parseInt(e.data(t));case"ignore-ease-out":return 1==parseInt(e.data(t))?!0:0==parseInt(e.data(t))?!1:n.ignoreElementsEaseOut;case"autoplay":return 1==parseInt(e.data(t))?!0:0==parseInt(e.data(t))?!1:n.videoAutoplay;case"loop":return 1==parseInt(e.data(t))?!0:0==parseInt(e.data(t))?!1:n.videoLoop;case"top":case"left":case"width":case"height":case"padding-top":case"padding-right":case"padding-bottom":case"padding-left":case"line-height":case"letter-spacing":case"font-size":return isNaN(parseFloat(e.data(t)))?0:parseFloat(e.data(t));case"in":case"out":case"opacity":return e.data(t);default:return!1}}function L(){return re.find(ce).find(le).find(de)}function Y(e){return L().eq(e)}function x(e,t){var n,i,a=t;this.pause=function(){clearTimeout(n),a-=new Date-i},this.resume=function(){i=new Date,clearTimeout(n),n=window.setTimeout(function(){e()},a)},this.clear=function(){clearTimeout(n)},this.getRemaining=function(){return a},this.resume()}function F(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}function O(){X(fe).done(function(){ue||(fe=E(),O())})}function R(){var e=re.find(ce).find(".cs-progress-bar");M(),e.animate({width:"100%"},P(Y(fe),"time"))}function M(){var e=re.find(ce).find(".cs-progress-bar");e.stop(),e.css("width",0)}function C(){var t=re.find(ce).find(".cs-navigation"),n=t.find("> .cs-slide-link");n.each(function(){var t=e(this);t.index()==fe?t.addClass("cs-active"):t.removeClass("cs-active")})}function z(e){e!=fe&&(he||ve)&&(k(!1),H(fe,!1,!0).done(function(){fe=e,w()}))}function X(t){n.beforeSlideStart();var i=new e.Deferred;ve=!1;for(var a=0;a<ge.length;a++)ge[a].clear();for(var a=0;a<be.length;a++)be[a].clear();ye.clear(),Y(t).finish(),ie(t),Y(t).finish();var o=Y(t).find(pe);return o.each(function(){var t=e(this);t.finish(),oe(t),t.finish()}),C(),B(t),n.automaticSlide?H(t,!0,!0).done(function(){ve=!0,i.resolve()}):H(t,!0,!1).done(function(){ve=!0,i.resolve()}),i.promise()}function B(t){var n=Y(t),i=n.find(pe),a=0,o=!1,s=new e.Deferred;return he=!1,ne(t).done(function(){R(),he=!0,o=!0,o&&a==i.length&&s.resolve()}),i.each(function(){var t=e(this),n=P(t,"delay");be.push(new x(function(){ae(t).done(function(){_(t)&&W(t),a++,o&&a==i.length&&s.resolve()})},n))}),s.promise()}function H(t,n,i){var a=Y(t),o=a.find(pe),s=n?P(a,"time")+P(a,"ease-in"):0,r=0,c=!1,l=new e.Deferred;return o.each(function(){var a=e(this),s=P(a,"time");if("all"!=s){var d=n?s:0;P(a,"ignore-ease-out")&&(r++,o.length==r&&c&&i&&(U(t),ie(t),l.resolve())),ge.push(new x(function(){oe(a).done(function(){P(a,"ignore-ease-out")||(r++,o.length==r&&c&&i&&(U(t),ie(t),l.resolve()))})},d))}}),ye=new x(function(){he=!1,M(),c=!0,o.length==r&&c&&i&&(U(t),ie(t),l.resolve()),i?o.each(function(){var n=e(this),a=P(n,"time");"all"==a&&(P(n,"ignore-ease-out")&&(r++,o.length==r&&c&&i&&(U(t),ie(t),l.resolve())),oe(n).done(function(){P(n,"ignore-ease-out")||(r++,o.length==r&&c&&i&&(U(t),ie(t),l.resolve()))}))}):l.resolve()},s),l.promise()}function _(e){return V(e)||G(e)}function W(e){V(e)?$(e):Z(e)}function U(e){J(e),ee(e)}function A(e){V(e)?Q(e):te(e)}function V(e){return e.hasClass("cs-yt-iframe")}function q(e){return we[e.attr("id")].player}function j(e){return q(e).getPlayerState()}function $(e){!P(e,"autoplay")||we[e.attr("id")].played_once||F()||q(e).playVideo(),2==j(e)&&q(e).playVideo(),we[e.attr("id")].played_once=!0}function J(t){Y(t).each(function(){var t=e(this);t.find(pe+".cs-yt-iframe").each(function(){Q(e(this))})})}function Q(e){1==j(e)&&q(e).pauseVideo()}function G(e){return e.hasClass("cs-vimeo-iframe")}function K(e){return ke[e.attr("id")].player}function Z(e){!P(e,"autoplay")||ke[e.attr("id")].played_once||F()||K(e).api("play"),K(e).api("paused")&&!ke[e.attr("id")].ended&&ke[e.attr("id")].played_once&&K(e).api("play")}function ee(t){Y(t).each(function(){var t=e(this);t.find(pe+".cs-vimeo-iframe").each(function(){te(e(this))})})}function te(e){K(e).api("pause")}function ne(t){var n=Y(t),i=P(n,"in"),a=P(n,"ease-in"),o=new e.Deferred;if("block"==n.css("display"))return o.resolve().promise();if(me)return n.css({display:"block",top:0,left:0,opacity:P(n,"opacity")}),o.resolve().promise();switch(i){case"fade":n.css({display:"block",top:0,left:0,opacity:0}),n.animate({opacity:P(n,"opacity")},a,function(){o.resolve()});break;case"fadeLeft":n.css({display:"block",top:0,left:S(),opacity:0}),n.animate({opacity:P(n,"opacity"),left:0},a,function(){o.resolve()});break;case"fadeRight":n.css({display:"block",top:0,left:-S(),opacity:0}),n.animate({opacity:P(n,"opacity"),left:0},a,function(){o.resolve()});break;case"slideLeft":n.css({display:"block",top:0,left:S(),opacity:P(n,"opacity")}),n.animate({left:0},a,function(){o.resolve()});break;case"slideRight":n.css({display:"block",top:0,left:-S(),opacity:P(n,"opacity")}),n.animate({left:0},a,function(){o.resolve()});break;case"slideUp":n.css({display:"block",top:I(),left:0,opacity:P(n,"opacity")}),n.animate({top:0},a,function(){o.resolve()});break;case"slideDown":n.css({display:"block",top:-I(),left:0,opacity:P(n,"opacity")}),n.animate({top:0},a,function(){o.resolve()});break;default:n.css({display:"block",top:0,left:0,opacity:P(n,"opacity")}),o.resolve()}return o.promise()}function ie(t){var n=Y(t),i=P(n,"out"),a=P(n,"ease-out"),o=new e.Deferred;if("none"==n.css("display"))return o.resolve().promise();switch(i){case"fade":n.animate({opacity:0},a,function(){n.css({display:"none",opacity:P(n,"opacity")}),o.resolve()});break;case"fadeLeft":n.animate({opacity:0,left:-S()},a,function(){n.css({display:"none",opacity:P(n,"opacity"),left:0}),o.resolve()});break;case"fadeRight":n.animate({opacity:0,left:S()},a,function(){n.css({display:"none",opacity:P(n,"opacity"),left:0}),o.resolve()});break;case"slideLeft":n.animate({left:-S()},a,function(){n.css({display:"none",left:0}),o.resolve()});break;case"slideRight":n.animate({left:S()},a,function(){n.css({display:"none",left:0}),o.resolve()});break;case"slideUp":n.animate({top:-I()},a,function(){n.css({display:"none",top:0}),o.resolve()});break;case"slideDown":n.animate({top:I()},a,function(){n.css({display:"none",top:0}),o.resolve()});break;default:n.css({display:"none"}),o.resolve()}return o.promise()}function ae(t){var n=t.outerWidth(),i=t.outerHeight(),a=P(t,"in"),o=P(t,"ease-in"),s=P(t,"top"),r=P(t,"left"),c=new e.Deferred;if("block"==t.css("display"))return c.resolve().promise();switch(a){case"slideDown":t.css({display:"block",top:-i,left:b(r+v(t).left),opacity:P(t,"opacity")}).animate({top:b(s+v(t).top)},o,function(){c.resolve()});break;case"slideUp":t.css({display:"block",top:I(),left:b(r+v(t).left),opacity:P(t,"opacity")}).animate({top:b(s+v(t).top)},o,function(){c.resolve()});break;case"slideLeft":t.css({display:"block",top:b(s+v(t).top),left:S(),opacity:P(t,"opacity")}).animate({left:b(r+v(t).left)},o,function(){c.resolve()});break;case"slideRight":t.css({display:"block",top:b(s+v(t).top),left:-n,opacity:P(t,"opacity")}).animate({left:b(r+v(t).left)},o,function(){c.resolve()});break;case"fade":t.css({display:"block",top:b(s+v(t).top),left:b(r+v(t).left),opacity:0}).animate({opacity:P(t,"opacity")},o,function(){c.resolve()});break;case"fadeDown":t.css({display:"block",top:-i,left:b(r+v(t).left),opacity:0}).animate({top:b(s+v(t).top),opacity:P(t,"opacity")},o,function(){c.resolve()});break;case"fadeUp":t.css({display:"block",top:I(),left:b(r+v(t).left),opacity:0}).animate({top:b(s+v(t).top),opacity:P(t,"opacity")},o,function(){c.resolve()});break;case"fadeLeft":t.css({display:"block",top:b(s+v(t).top),left:S(),opacity:0}).animate({left:b(r+v(t).left),opacity:P(t,"opacity")},o,function(){c.resolve()});break;case"fadeRight":t.css({display:"block",top:b(s+v(t).top),left:-n,opacity:0}).animate({left:b(r+v(t).left),opacity:P(t,"opacity")},o,function(){c.resolve()});break;case"fadeSmallDown":t.css({display:"block",top:b(s+v(t).top-30),left:b(r+v(t).left),opacity:0}).animate({top:b(s+v(t).top),opacity:P(t,"opacity")},o,function(){c.resolve()});break;case"fadeSmallUp":t.css({display:"block",top:b(s+v(t).top+30),left:b(r+v(t).left),opacity:0}).animate({top:b(s+v(t).top),opacity:P(t,"opacity")},o,function(){c.resolve()});break;case"fadeSmallLeft":t.css({display:"block",top:b(s+v(t).top),left:b(r+v(t).left+30),opacity:0}).animate({left:b(r+v(t).left),opacity:P(t,"opacity")},o,function(){c.resolve()});break;case"fadeSmallRight":t.css({display:"block",top:b(s+v(t).top),left:b(r+v(t).left-30),opacity:0}).animate({left:b(r+v(t).left),opacity:P(t,"opacity")},o,function(){c.resolve()});break;default:t.css({display:"block",top:b(s+v(t).top),left:b(r+v(t).left),opacity:P(t,"opacity")}),c.resolve()}return c.promise()}function oe(t){var n=t.outerWidth(),i=t.outerHeight(),a=P(t,"out"),o=P(t,"ease-out"),s=new e.Deferred;if("none"==t.css("display"))return s.resolve().promise();switch(a){case"slideDown":t.animate({top:I()},o,function(){t.css({display:"none"}),s.resolve()});break;case"slideUp":t.animate({top:-i},o,function(){t.css({display:"none"}),s.resolve()});break;case"slideLeft":t.animate({left:-n},o,function(){t.css({display:"none"}),s.resolve()});break;case"slideRight":t.animate({left:S()},o,function(){t.css({display:"none"}),s.resolve()});break;case"fade":t.animate({opacity:0},o,function(){t.css({display:"none",opacity:P(t,"opacity")}),s.resolve()});break;case"fadeDown":t.animate({top:I(),opacity:0},o,function(){t.css({display:"none",opacity:P(t,"opacity")}),s.resolve()});break;case"fadeUp":t.animate({top:-i,opacity:0},o,function(){t.css({display:"none",opacity:P(t,"opacity")}),s.resolve()});break;case"fadeLeft":t.animate({left:-n,opacity:0},o,function(){t.css({display:"none",opacity:P(t,"opacity")}),s.resolve()});break;case"fadeRight":t.animate({left:S(),opacity:0},o,function(){t.css({display:"none",opacity:P(t,"opacity")}),s.resolve()});break;case"fadeSmallDown":t.animate({top:b(P(t,"top")+v(t).top+30),opacity:0},o,function(){t.css({display:"none",opacity:P(t,"opacity")}),s.resolve()});break;case"fadeSmallUp":t.animate({top:b(P(t,"top")+v(t).top-30),opacity:0},o,function(){t.css({display:"none",opacity:P(t,"opacity")}),s.resolve()});break;case"fadeSmallLeft":t.animate({left:b(P(t,"left")+v(t).left-30),opacity:0},o,function(){t.css({display:"none",opacity:P(t,"opacity")}),s.resolve()});break;case"fadeSmallRight":t.animate({left:b(P(t,"left")+v(t).left+30),opacity:0},o,function(){t.css({display:"none",opacity:P(t,"opacity")}),s.resolve()});break;default:t.css({display:"none"}),s.resolve()}return s.promise()}var se,re=e(t),ce="div.crellyslider",le="ul.cs-slides",de="li.cs-slide",pe="> *",fe=0,ue=!1,he=!1,ve=!1,me=!0,ye=new x(function(){},0),ge=new Array,be=new Array,we={},ke={},Te=1,De=0;if("undefined"==typeof YT||"undefined"==typeof YT.Player)var Se=setInterval(function(){"undefined"!=typeof YT&&"undefined"!=typeof YT.Player&&(clearInterval(Se),i())},100);else i();this.resume=function(){D()},this.pause=function(){T()},this.nextSlide=function(){z(E())},this.previousSlide=function(){z(N())},this.changeSlide=function(e){z(e)},this.getCurrentSlide=function(){return fe},this.getTotalSlides=function(){return se}},e.fn.crellySlider=function(t){var n=e.extend({layout:"fixed",responsive:!0,startWidth:1140,startHeight:500,pauseOnHover:!0,automaticSlide:!0,showControls:!0,showNavigation:!0,showProgressBar:!0,enableSwipe:!0,slidesTime:3e3,elementsDelay:0,elementsTime:"all",slidesEaseIn:300,elementsEaseIn:300,slidesEaseOut:300,elementsEaseOut:300,ignoreElementsEaseOut:!1,videoAutoplay:!0,videoLoop:!1,beforeStart:function(){},beforeSetResponsive:function(){},beforeSlideStart:function(){},beforePause:function(){},beforeResume:function(){}},t);return this.each(function(){if(void 0==e(this).data("crellySlider")){var t=new e.CrellySlider(this,n);e(this).data("crellySlider",t)}})}}(jQuery);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://fabiorino1.altervista.org/projects/crellyslider/contribute-a
4
  Tags: slider, slides, animations, drag & drop, drag and drop, layers, elements
5
  Requires at least: 3.6.0
6
  Tested up to: 4.4
7
- Stable tag: 0.8.2
8
  License: MIT
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -50,11 +50,34 @@ You can find the documentation <a href="http://fabiorino1.altervista.org/project
50
  == Screenshots ==
51
 
52
  1. An example of a slide you can create
53
- 2. The slider back-end interface
54
- 3. Unlimited sliders
 
55
 
56
  == Changelog ==
57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  = 0.8.2 =
59
  * Fixed: broken admin layout on Firefox (<a href="https://github.com/fabiorino/crelly-slider/pull/5">Thanks eduardoarandah</a>)
60
  * Crelly Slider is now translated in Spanish (<a href="https://github.com/eduardoarandah/crelly-slider/commit/3b7d49b63d9dbe60c420669edea898de34cd720f">Again, thanks eduardoarandah</a>) and in Italian!
4
  Tags: slider, slides, animations, drag & drop, drag and drop, layers, elements
5
  Requires at least: 3.6.0
6
  Tested up to: 4.4
7
+ Stable tag: 1.1.0
8
  License: MIT
9
  License URI: http://opensource.org/licenses/MIT
10
 
50
  == Screenshots ==
51
 
52
  1. An example of a slide you can create
53
+ 2. Unlimited sliders
54
+ 3. Slider settings
55
+ 4. Slides and elements options (in this case, a text element)
56
 
57
  == Changelog ==
58
 
59
+ = 1.1.0 =
60
+ * Awesome community: the slider is now translated in 8 different languages! Thank you!<br />English,<br />Italian,<br />Spanish (<a href="https://github.com/eduardoarandah">Eduardo Aranda</a>),<br />Russian (<a href="http://dymskiy.ru/">Andrey Dymskiy</a>),<br />Slovak (<a href="https://github.com/webmandesign">Oliver Juhas</a>),<br />Serbian (Branislav Pakic),<br />French (sLy kereven),<br />German (Andreas Dolinar, <a href="http://elokron.de/">Jan Adams</a>)
61
+ * New feature: Duplicate sliders and slides
62
+ * New feature: Import/Export sliders
63
+ * New feature: Support for YouTube and Vimeo videos
64
+ * New feature: The slides can be linked (the entire background is a link)
65
+ * New feature: New preloader: when loading, the background is no more grey. Now the first slide background image is automatically blurred and used as background for the preloader. When the slider is loaded, the blurred background will fade away and the first slide will be displayed
66
+ * New feature: Navigation and controls are much better looking now
67
+ * New feature: Added public methods to control the slider. pause(), resume(), nextSlide(), previousSlide(), changeSlide(slide_index), getCurrentSlide(), getTotalSlides()
68
+ * New feature: Slides background color can now be set manually
69
+ * New feature: Custom CSS classes can now be added to elements
70
+ * New feature: Added "Center vertically" and "Center horizontally" buttons to align elements
71
+ * New feature: The slides background image can now be quickly set as "responsive full width image" or "pattern"
72
+ * Bug fix: Sometimes slides and elements weren't saved correctly
73
+ * Bug fix: Text elements were displayed on two lines when an inline tag was added
74
+ * Bug fix: When automatic slide was set to "no", the out animations were still performed
75
+ * Bug fix: When the backend interface was loading there were some graphical glitches
76
+ * Bug fix: Background position wasn't correct on Firefox
77
+ * Minor change: Texts have now a default line height, color and font. In this way, I can be sure that they are displayed exactly in the same way in the backend and in the frontend
78
+ * Minor change: dropped support for IE < 11
79
+ * Other minor changes and bug fixes
80
+
81
  = 0.8.2 =
82
  * Fixed: broken admin layout on Firefox (<a href="https://github.com/fabiorino/crelly-slider/pull/5">Thanks eduardoarandah</a>)
83
  * Crelly Slider is now translated in Spanish (<a href="https://github.com/eduardoarandah/crelly-slider/commit/3b7d49b63d9dbe60c420669edea898de34cd720f">Again, thanks eduardoarandah</a>) and in Italian!
wordpress/admin.php CHANGED
@@ -9,8 +9,6 @@ class CrellySliderAdmin {
9
 
10
  public static function pluginMenus() {
11
  add_menu_page('Crelly Slider', 'Crelly Slider', 'manage_options', 'crellyslider', 'CrellySliderAdmin::displayPage', 'div');
12
- //add_submenu_page('crellyslider', 'View Sliders', 'View Sliders', 'manage_options', 'crellyslider', 'CrellySliderAdmin::displayHome');
13
- //add_submenu_page('crellyslider', 'Add Slider', 'Add Slider', 'manage_options', 'cs_slider', 'CrellySliderAdmin::displaySlider');
14
  }
15
 
16
  // Go to the correct page
@@ -42,7 +40,7 @@ class CrellySliderAdmin {
42
  <?php if($edit && isset($slider)): ?>
43
  style="width: <?php echo $slider->startWidth; ?>px;"
44
  <?php else: ?>
45
- style="width: 1170px;"
46
  <?php endif; ?>
47
  >
48
 
@@ -118,11 +116,11 @@ class CrellySliderAdmin {
118
 
119
  <li>
120
  <span class="cs-icon icon-settings"></span>
121
- <a href="#cs-slider-settings"><?php _e('Slider Settings', 'crellyslider'); ?></a>
122
  </li>
123
  <li>
124
  <span class="cs-icon icon-edit"></span>
125
- <a href="#cs-slides"><?php _e('Edit Slides', 'crellyslider'); ?></a>
126
  </li>
127
  </ul>
128
 
@@ -167,6 +165,7 @@ class CrellySliderAdmin {
167
  wp_enqueue_script('jquery-ui-draggable');
168
  wp_enqueue_script('jquery-ui-tabs');
169
  wp_enqueue_script('jquery-ui-sortable');
 
170
  wp_enqueue_style('wp-color-picker');
171
  wp_enqueue_media();
172
 
@@ -248,6 +247,9 @@ class CrellySliderAdmin {
248
  'text_element_default_html' => __('Text element', 'crellyslider'),
249
  'slide_live_preview' => __('Live preview', 'crellyslider'),
250
  'slide_stop_preview' => __('Stop preview', 'crellyslider'),
 
 
 
251
  );
252
  wp_localize_script('crellyslider-admin', 'crellyslider_translations', $crellyslider_translations);
253
  }
9
 
10
  public static function pluginMenus() {
11
  add_menu_page('Crelly Slider', 'Crelly Slider', 'manage_options', 'crellyslider', 'CrellySliderAdmin::displayPage', 'div');
 
 
12
  }
13
 
14
  // Go to the correct page
40
  <?php if($edit && isset($slider)): ?>
41
  style="width: <?php echo $slider->startWidth; ?>px;"
42
  <?php else: ?>
43
+ style="width: 1140px;"
44
  <?php endif; ?>
45
  >
46
 
116
 
117
  <li>
118
  <span class="cs-icon icon-settings"></span>
119
+ <a id="cs-show-slider-settings"><?php _e('Slider Settings', 'crellyslider'); ?></a>
120
  </li>
121
  <li>
122
  <span class="cs-icon icon-edit"></span>
123
+ <a id="cs-show-slides"><?php _e('Edit Slides', 'crellyslider'); ?></a>
124
  </li>
125
  </ul>
126
 
165
  wp_enqueue_script('jquery-ui-draggable');
166
  wp_enqueue_script('jquery-ui-tabs');
167
  wp_enqueue_script('jquery-ui-sortable');
168
+ wp_enqueue_script('jquery-ui-dialog');
169
  wp_enqueue_style('wp-color-picker');
170
  wp_enqueue_media();
171
 
247
  'text_element_default_html' => __('Text element', 'crellyslider'),
248
  'slide_live_preview' => __('Live preview', 'crellyslider'),
249
  'slide_stop_preview' => __('Stop preview', 'crellyslider'),
250
+ 'duplicate_slide' => __('Duplicate slide', 'crellyslider'),
251
+ 'remove_slide' => __('Delete slide', 'crellyslider'),
252
+ 'exit_without_saving' => __('All unsaved changes will be lost. Are you sure you want to leave this page?', 'crellyslider'),
253
  );
254
  wp_localize_script('crellyslider-admin', 'crellyslider_translations', $crellyslider_translations);
255
  }
wordpress/ajax.php CHANGED
@@ -3,16 +3,85 @@
3
  /** AJAX CALLBACKS **/
4
  /********************/
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  // Add slider
7
  add_action('wp_ajax_crellyslider_addSlider', 'crellyslider_addSlider_callback');
8
  function crellyslider_addSlider_callback() {
9
  global $wpdb;
10
  $options = $_POST['datas'];
11
- $table_name = $wpdb->prefix . 'crellyslider_sliders';
12
 
13
- $output = true;
14
- $output = $wpdb->insert(
15
- $table_name,
 
 
 
 
 
 
 
 
 
 
 
 
16
  array(
17
  'name' => $options['name'],
18
  'alias' => $options['alias'],
@@ -44,13 +113,6 @@ function crellyslider_addSlider_callback() {
44
  '%d',
45
  )
46
  );
47
-
48
- // Returning
49
- $output = json_encode($wpdb->insert_id);
50
- if(is_array($output)) print_r($output);
51
- else echo $output;
52
-
53
- die();
54
  }
55
 
56
  // Edit slider
@@ -109,59 +171,17 @@ add_action('wp_ajax_crellyslider_editSlides', 'crellyslider_editSlides_callback'
109
  function crellyslider_editSlides_callback() {
110
  global $wpdb;
111
  $options = $_POST['datas'];
112
- $table_name = $wpdb->prefix . 'crellyslider_slides';
113
 
114
  $output = true;
115
 
116
  // Remove all the old slides
117
- $output = $wpdb->delete($table_name, array('slider_parent' => $options['slider_parent']), array('%d'));
118
  if($output === false) {
119
  echo json_encode(false);
120
  }
121
  else {
122
  // It's impossible to have 0 slides (jQuery checks it)
123
- // Insert row per row
124
- foreach($options['options'] as $option) {
125
- $output = $wpdb->insert(
126
- $table_name,
127
- array(
128
- 'slider_parent' => $options['slider_parent'],
129
- 'position' => $option['position'],
130
- 'background_type_image' => $option['background_type_image'],
131
- 'background_type_color' => $option['background_type_color'],
132
- 'background_propriety_position_x' => $option['background_propriety_position_x'],
133
- 'background_propriety_position_y' => $option['background_propriety_position_y'],
134
- 'background_repeat' => $option['background_repeat'],
135
- 'background_propriety_size' => $option['background_propriety_size'],
136
- 'data_in' => $option['data_in'],
137
- 'data_out' => $option['data_out'],
138
- 'data_time' => $option['data_time'],
139
- 'data_easeIn' => $option['data_easeIn'],
140
- 'data_easeOut' => $option['data_easeOut'],
141
- 'custom_css' => stripslashes_deep($option['custom_css']),
142
- ),
143
- array(
144
- '%d',
145
- '%d',
146
- '%s',
147
- '%s',
148
- '%s',
149
- '%s',
150
- '%s',
151
- '%s',
152
- '%s',
153
- '%s',
154
- '%d',
155
- '%d',
156
- '%d',
157
- '%s',
158
- )
159
- );
160
-
161
- if($output === false) {
162
- break;
163
- }
164
- }
165
 
166
  // Returning
167
  $output = json_encode($output);
@@ -177,75 +197,24 @@ add_action('wp_ajax_crellyslider_editElements', 'crellyslider_editElements_callb
177
  function crellyslider_editElements_callback() {
178
  global $wpdb;
179
  $options = $_POST['datas'];
180
- $table_name = $wpdb->prefix . 'crellyslider_elements';
181
 
182
  $output = true;
183
 
184
  // Remove all the old elements
185
- $output = $wpdb->delete($table_name, array('slider_parent' => $options['slider_parent']), array('%d'));
186
  if($output === false) {
187
  echo json_encode(false);
188
  }
189
- else {
190
  // No elements
191
- if($options['elements'] == 0) {
 
192
  echo json_encode(true);
193
  }
194
- else {
195
- // Insert row per row
196
- foreach($options['options'] as $option) {
197
- $output = $wpdb->insert(
198
- $table_name,
199
- array(
200
- 'slider_parent' => $options['slider_parent'],
201
- 'slide_parent' => $option['slide_parent'],
202
- 'position' => $option['position'],
203
- 'type' => $option['type'],
204
- 'inner_html' => $option['inner_html'],
205
- 'image_src' => $option['image_src'],
206
- 'image_alt' => $option['image_alt'],
207
- 'data_left' => $option['data_left'],
208
- 'data_top' => $option['data_top'],
209
- 'z_index' => $option['z_index'],
210
- 'data_delay' => $option['data_delay'],
211
- 'data_time' => $option['data_time'],
212
- 'data_in' => $option['data_in'],
213
- 'data_out' => $option['data_out'],
214
- 'data_easeIn' => $option['data_easeIn'],
215
- 'data_easeOut' => $option['data_easeOut'],
216
- 'custom_css' => $option['custom_css'],
217
- 'link' => $option['link'],
218
- 'link_new_tab' => $option['link_new_tab'],
219
- 'data_ignoreEaseOut' => $option['data_ignoreEaseOut'],
220
- ),
221
- array(
222
- '%d',
223
- '%d',
224
- '%d',
225
- '%s',
226
- '%s',
227
- '%s',
228
- '%s',
229
- '%d',
230
- '%d',
231
- '%d',
232
- '%d',
233
- '%s',
234
- '%s',
235
- '%s',
236
- '%d',
237
- '%d',
238
- '%s',
239
- '%s',
240
- '%d',
241
- '%d',
242
- )
243
- );
244
-
245
- if($output === false) {
246
- break;
247
- }
248
- }
249
 
250
  // Returning
251
  $output = json_encode($output);
@@ -293,4 +262,292 @@ function crellyslider_deleteSlider_callback() {
293
 
294
  die();
295
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
296
  ?>
3
  /** AJAX CALLBACKS **/
4
  /********************/
5
 
6
+ // Inserts an array into the database
7
+ // https://github.com/mirzazeyrek/wp-multiple-insert
8
+ function crellyslider_wp_insert_rows($row_arrays = array(), $wp_table_name) {
9
+ global $wpdb;
10
+ $wp_table_name = esc_sql($wp_table_name);
11
+ // Setup arrays for Actual Values, and Placeholders
12
+ $values = array();
13
+ $place_holders = array();
14
+ $query = "";
15
+ $query_columns = "";
16
+
17
+ $query .= "INSERT INTO {$wp_table_name} (";
18
+
19
+ foreach($row_arrays as $count => $row_array)
20
+ {
21
+
22
+ foreach($row_array as $key => $value) {
23
+
24
+ if($count == 0) {
25
+ if($query_columns) {
26
+ $query_columns .= ",".$key."";
27
+ } else {
28
+ $query_columns .= "".$key."";
29
+ }
30
+ }
31
+
32
+ $values[] = $value;
33
+
34
+ if(is_numeric($value)) {
35
+ if(isset($place_holders[$count])) {
36
+ $place_holders[$count] .= ", '%d'";
37
+ } else {
38
+ $place_holders[$count] = "( '%d'";
39
+ }
40
+ } else {
41
+ if(isset($place_holders[$count])) {
42
+ $place_holders[$count] .= ", '%s'";
43
+ } else {
44
+ $place_holders[$count] = "( '%s'";
45
+ }
46
+ }
47
+ }
48
+ // mind closing the GAP
49
+ $place_holders[$count] .= ")";
50
+ }
51
+
52
+ $query .= " $query_columns ) VALUES ";
53
+
54
+ $query .= implode(', ', $place_holders);
55
+
56
+ if($wpdb->query($wpdb->prepare($query, $values))){
57
+ return true;
58
+ } else {
59
+ return false;
60
+ }
61
+
62
+ }
63
+
64
  // Add slider
65
  add_action('wp_ajax_crellyslider_addSlider', 'crellyslider_addSlider_callback');
66
  function crellyslider_addSlider_callback() {
67
  global $wpdb;
68
  $options = $_POST['datas'];
 
69
 
70
+ $output = crellyslider_insertSliderSQL($options);
71
+
72
+ // Returning
73
+ $output = json_encode($wpdb->insert_id);
74
+ if(is_array($output)) print_r($output);
75
+ else echo $output;
76
+
77
+ die();
78
+ }
79
+
80
+ function crellyslider_insertSliderSQL($options) {
81
+ global $wpdb;
82
+
83
+ return $wpdb->insert(
84
+ $wpdb->prefix . 'crellyslider_sliders',
85
  array(
86
  'name' => $options['name'],
87
  'alias' => $options['alias'],
113
  '%d',
114
  )
115
  );
 
 
 
 
 
 
 
116
  }
117
 
118
  // Edit slider
171
  function crellyslider_editSlides_callback() {
172
  global $wpdb;
173
  $options = $_POST['datas'];
 
174
 
175
  $output = true;
176
 
177
  // Remove all the old slides
178
+ $output = $wpdb->delete($wpdb->prefix . 'crellyslider_slides', array('slider_parent' => $options['slider_parent']), array('%d'));
179
  if($output === false) {
180
  echo json_encode(false);
181
  }
182
  else {
183
  // It's impossible to have 0 slides (jQuery checks it)
184
+ $output = crellyslider_wp_insert_rows($options['options'], $wpdb->prefix . 'crellyslider_slides');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
 
186
  // Returning
187
  $output = json_encode($output);
197
  function crellyslider_editElements_callback() {
198
  global $wpdb;
199
  $options = $_POST['datas'];
 
200
 
201
  $output = true;
202
 
203
  // Remove all the old elements
204
+ $output = $wpdb->delete($wpdb->prefix . 'crellyslider_elements', array('slider_parent' => $options['slider_parent']), array('%d'));
205
  if($output === false) {
206
  echo json_encode(false);
207
  }
208
+ else {
209
  // No elements
210
+ $quick_temp = json_decode(stripslashes($options['options']));
211
+ if(empty($quick_temp)) {
212
  echo json_encode(true);
213
  }
214
+ else {
215
+ $options_array = json_decode(stripslashes($options['options']));
216
+
217
+ $output = crellyslider_wp_insert_rows($options_array, $wpdb->prefix . 'crellyslider_elements');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
218
 
219
  // Returning
220
  $output = json_encode($output);
262
 
263
  die();
264
  }
265
+
266
+ // Duplicate slider and its content
267
+ add_action('wp_ajax_crellyslider_duplicateSlider', 'crellyslider_duplicateSlider_callback');
268
+ function crellyslider_duplicateSlider_callback() {
269
+ global $wpdb;
270
+ $options = $_POST['datas'];
271
+
272
+ $output = true;
273
+ $real_output = true;
274
+
275
+ $slider_id = $options['id'];
276
+
277
+ $cloned_slider_name = '';
278
+ $cloned_slider_alias = '';
279
+
280
+ $sliders = $wpdb->get_results('SELECT * FROM ' . $wpdb->prefix . 'crellyslider_sliders WHERE id = \'' . $slider_id . '\'', ARRAY_A);
281
+ foreach($sliders as $slider) {
282
+ $cloned_slider_name = $slider['name'] = $slider['name'] . '_' . __('Copy', 'crellyslider');
283
+ $cloned_slider_alias = $slider['alias'] = $slider['alias'] . '_' . __('copy', 'crellyslider');
284
+ $output = crellyslider_insertSliderSQL($slider);
285
+ }
286
+
287
+ if($output === false) {
288
+ $real_output = false;
289
+ }
290
+ else {
291
+ $cloned_slider_id = $wpdb->insert_id;
292
+
293
+ // Clone slides
294
+ $slides = $wpdb->get_results('SELECT * FROM ' . $wpdb->prefix . 'crellyslider_slides WHERE slider_parent = ' . $slider_id . ' ORDER BY position', ARRAY_A);
295
+ if(empty($slides)) {
296
+ $output = true;
297
+ }
298
+ else {
299
+ foreach($slides as $key => $slide) {
300
+ unset($slides[$key]['id']);
301
+ $slides[$key]['slider_parent'] = $cloned_slider_id;
302
+ }
303
+ $temp = crellyslider_wp_insert_rows($slides, $wpdb->prefix . 'crellyslider_slides');
304
+ if($temp === false) {
305
+ $output = false;
306
+ }
307
+ }
308
+
309
+ // Clone elements
310
+ $elements = $wpdb->get_results('SELECT * FROM ' . $wpdb->prefix . 'crellyslider_elements WHERE slider_parent = ' . $slider_id, ARRAY_A);
311
+ if(empty($elements)) {
312
+ $output = true;
313
+ }
314
+ else {
315
+ foreach($elements as $key => $element) {
316
+ unset($elements[$key]['id']);
317
+ $elements[$key]['slider_parent'] = $cloned_slider_id;
318
+ }
319
+ $temp = crellyslider_wp_insert_rows($elements, $wpdb->prefix . 'crellyslider_elements');
320
+ if($temp === false) {
321
+ $output = false;
322
+ }
323
+
324
+ if($output === false) {
325
+ $real_output = false;
326
+ }
327
+ }
328
+ }
329
+
330
+ if($real_output === true) {
331
+ $real_output = array(
332
+ 'response' => true,
333
+ 'cloned_slider_id' => $cloned_slider_id,
334
+ 'cloned_slider_name' => $cloned_slider_name,
335
+ 'cloned_slider_alias' => $cloned_slider_alias,
336
+ );
337
+ }
338
+ else {
339
+ $real_output = array(
340
+ 'response' => false,
341
+ 'cloned_slider_id' => false,
342
+ 'cloned_slider_name' => false,
343
+ 'cloned_slider_alias' => false,
344
+ );
345
+ }
346
+
347
+ // Returning
348
+ $real_output = json_encode($real_output);
349
+ if(is_array($real_output)) print_r($real_output);
350
+ else echo $real_output;
351
+
352
+ die();
353
+ }
354
+
355
+ // Exports the slider in xml
356
+ add_action('wp_ajax_crellyslider_exportSlider', 'crellyslider_exportSlider_callback');
357
+ function crellyslider_exportSlider_callback() {
358
+ global $wpdb;
359
+
360
+ // Clear the temp folder
361
+ array_map('unlink', glob(CS_PATH . '/wordpress/temp/*'));
362
+
363
+ $options = $_POST['datas'];
364
+
365
+ $real_output = true;
366
+
367
+ $result = array();
368
+
369
+ // Get the slider
370
+ $sliders = $wpdb->get_results('SELECT * FROM ' . $wpdb->prefix . 'crellyslider_sliders WHERE id = \'' . $options['id'] . '\'', ARRAY_A);
371
+ if(empty($sliders)) {
372
+ $real_output = false;
373
+ }
374
+ else {
375
+ foreach($sliders as $key => $temp) {
376
+ unset($sliders[$key]['id']);
377
+ }
378
+ $result['sliders'] = $sliders;
379
+ }
380
+
381
+ $zip = new ZipArchive();
382
+ $filename = 'crellyslider-' . $sliders[0]['alias'] . '.zip';
383
+ if($zip->open(CS_PATH . '/wordpress/temp/' . $filename, ZipArchive::CREATE) !== TRUE) {
384
+ echo false;
385
+ die();
386
+ }
387
+
388
+ // Get the slides
389
+ $slides = $wpdb->get_results('SELECT * FROM ' . $wpdb->prefix . 'crellyslider_slides WHERE slider_parent = ' . $options['id'] . ' ORDER BY position', ARRAY_A);
390
+ if(! empty($slides)) {
391
+ foreach($slides as $key => $temp) {
392
+ unset($slides[$key]['id']);
393
+ unset($slides[$key]['slider_parent']);
394
+
395
+ // Add images to zip and remove media directory URLs
396
+ if($slides[$key]['background_type_image'] != 'none' && $slides[$key]['background_type_image'] != 'undefined') {
397
+ $img = $slides[$key]['background_type_image'];
398
+ $zip->addFromString(basename($img), file_get_contents($img));
399
+ $slides[$key]['background_type_image'] = basename($img);
400
+ }
401
+ }
402
+ $result['slides'] = $slides;
403
+ }
404
+
405
+ // Get the elements
406
+ $elements = $wpdb->get_results('SELECT * FROM ' . $wpdb->prefix . 'crellyslider_elements WHERE slider_parent = ' . $options['id'], ARRAY_A);
407
+ if(! empty($elements)) {
408
+ foreach($elements as $key => $temp) {
409
+ unset($elements[$key]['id']);
410
+ unset($elements[$key]['slider_parent']);
411
+
412
+ // Add images to zip and remove media directory URLs
413
+ if($elements[$key]['type'] == 'image') {
414
+ $img = $elements[$key]['image_src'];
415
+ $zip->addFromString(basename($img), file_get_contents($img));
416
+ $elements[$key]['image_src'] = basename($img);
417
+ }
418
+ }
419
+ $result['elements'] = $elements;
420
+ }
421
+
422
+ $json = json_encode($result);
423
+ $zip->addFromString("slider.json", $json);
424
+
425
+ $zip->close();
426
+
427
+ if($real_output === true) {
428
+ $real_output = array(
429
+ 'response' => true,
430
+ 'url' => CS_PLUGIN_URL . '/wordpress/temp/' . $filename,
431
+ );
432
+ }
433
+ else {
434
+ $real_output = array(
435
+ 'response' => false,
436
+ 'url' => false,
437
+ );
438
+ }
439
+
440
+ // Returning
441
+ $real_output = json_encode($real_output);
442
+ if(is_array($real_output)) print_r($real_output);
443
+ else echo $real_output;
444
+
445
+ die();
446
+ }
447
+
448
+ // Inport the slider from a json string
449
+ add_action('wp_ajax_crellyslider_importSlider', 'crellyslider_importSlider_callback');
450
+ function crellyslider_importSlider_callback() {
451
+ global $wpdb;
452
+
453
+ // Clear the temp folder
454
+ array_map('unlink', glob(CS_PATH . '/wordpress/temp/*'));
455
+
456
+ foreach($_FILES as $file) {
457
+ $output = true;
458
+ $real_output = true;
459
+
460
+ $zip = new ZipArchive();
461
+ if($zip->open($file['tmp_name']) !== TRUE) {
462
+ echo false;
463
+ die();
464
+ }
465
+
466
+ $zip->extractTo(CS_PATH . '/wordpress/temp/');
467
+
468
+ $imported_array = json_decode(file_get_contents(CS_PATH . '/wordpress/temp/slider.json'));
469
+
470
+ $sliders = $imported_array->sliders;
471
+ foreach($sliders as $slider) {
472
+ $output = crellyslider_insertSliderSQL((array) $slider);
473
+ }
474
+
475
+ if($output === false) {
476
+ $real_output = false;
477
+ }
478
+ else {
479
+ $imported_slider_id = $wpdb->insert_id;
480
+
481
+ // Import slides
482
+ $slides = $imported_array->slides;
483
+ if(empty($slides)) {
484
+ $output = true;
485
+ }
486
+ else {
487
+ foreach($slides as $key => $slide) {
488
+ $slides[$key]->slider_parent = $imported_slider_id;
489
+
490
+ // Set background images
491
+ if($slides[$key]->background_type_image != 'undefined' && $slides[$key]->background_type_image != 'none') {
492
+ $upload = media_sideload_image(CS_PLUGIN_URL . '/wordpress/temp/' . $slides[$key]->background_type_image, 0, null, 'src');
493
+ $slides[$key]->background_type_image = $upload;
494
+ }
495
+ }
496
+ $temp = crellyslider_wp_insert_rows($slides, $wpdb->prefix . 'crellyslider_slides');
497
+ if($temp === false) {
498
+ $output = false;
499
+ }
500
+ }
501
+
502
+ // Import elements
503
+ $elements = (array) $imported_array->elements;
504
+ if(empty($elements)) {
505
+ $output = true;
506
+ }
507
+ else {
508
+ foreach($elements as $key => $element) {
509
+ $elements[$key]->slider_parent = $imported_slider_id;
510
+
511
+ // Set images
512
+ if($elements[$key]->type == 'image') {
513
+ $upload = media_sideload_image(CS_PLUGIN_URL . '/wordpress/temp/' . $elements[$key]->image_src, 0, null, 'src');
514
+ $elements[$key]->image_src = $upload;
515
+ }
516
+ }
517
+ $temp = crellyslider_wp_insert_rows($elements, $wpdb->prefix . 'crellyslider_elements');
518
+ if($temp === false) {
519
+ $output = false;
520
+ }
521
+
522
+ if($output === false) {
523
+ $real_output = false;
524
+ }
525
+ }
526
+ }
527
+
528
+ if($real_output === true) {
529
+ $real_output = array(
530
+ 'response' => true,
531
+ 'imported_slider_id' => $imported_slider_id,
532
+ 'imported_slider_name' => $imported_array->sliders[0]->name,
533
+ 'imported_slider_alias' => $imported_array->sliders[0]->alias,
534
+ );
535
+ }
536
+ else {
537
+ $real_output = array(
538
+ 'response' => false,
539
+ 'imported_slider_id' => false,
540
+ 'imported_slider_name' => false,
541
+ 'imported_slider_alias' => false,
542
+ );
543
+ }
544
+
545
+ // Returning
546
+ $real_output = json_encode($real_output);
547
+ if(is_array($real_output)) print_r($real_output);
548
+ else echo $real_output;
549
+
550
+ die();
551
+ }
552
+ }
553
  ?>
wordpress/common.php CHANGED
@@ -1,12 +1,17 @@
1
  <?php
2
 
3
  class CrellySliderCommon {
4
- // Include CSS and JavaScript
5
  public static function enqueues() {
6
  wp_enqueue_script('jquery');
7
  wp_enqueue_script('jquery-ui-core');
8
  wp_enqueue_style('crellyslider', CS_PLUGIN_URL . '/css/crellyslider.css', array(), CS_VERSION);
9
- wp_enqueue_script('jquery.crellyslider.min', CS_PLUGIN_URL . '/js/jquery.crellyslider.min.js', array(), CS_VERSION, false);
 
 
 
 
 
10
  }
11
 
12
  public static function setEnqueues() {
1
  <?php
2
 
3
  class CrellySliderCommon {
4
+ // Includes CSS and JavaScript
5
  public static function enqueues() {
6
  wp_enqueue_script('jquery');
7
  wp_enqueue_script('jquery-ui-core');
8
  wp_enqueue_style('crellyslider', CS_PLUGIN_URL . '/css/crellyslider.css', array(), CS_VERSION);
9
+ if(CS_DEBUG) {
10
+ wp_enqueue_script('jquery.crellyslider', CS_PLUGIN_URL . '/js/jquery.crellyslider.js', array(), CS_VERSION, false);
11
+ }
12
+ else {
13
+ wp_enqueue_script('jquery.crellyslider.min', CS_PLUGIN_URL . '/js/jquery.crellyslider.min.js', array(), CS_VERSION, false);
14
+ }
15
  }
16
 
17
  public static function setEnqueues() {
wordpress/css/admin.css CHANGED
@@ -11,12 +11,29 @@
11
  box-shadow: none;
12
  }
13
 
14
- .cs-admin .cs-close {
 
 
 
 
 
 
15
  display: inline-block;
16
  width: 13px;
17
  height: 13px;
18
- background-image: url('../images/close.png');
19
  cursor: pointer;
 
 
 
 
 
 
 
 
 
 
 
 
20
  }
21
 
22
  .cs-admin .cs-button {
@@ -322,11 +339,15 @@
322
  border-color: #f4a911;
323
  }
324
 
 
 
 
 
325
  .cs-admin .cs-slides .cs-slide-build {
326
  border: solid 1px #ddd;
327
  }
328
 
329
- .cs-admin .cs-tabs .ui-tabs-nav {
330
  width: auto;
331
  }
332
 
@@ -334,7 +355,7 @@
334
  margin: 0;
335
  }
336
 
337
- .cs-admin .cs-tabs .ui-tabs-nav li {
338
  float: left;
339
  margin-bottom: 0;
340
  padding-right: 20px;
@@ -343,9 +364,11 @@
343
  text-transform: uppercase;
344
  font-weight: bold;
345
  outline: none;
 
 
346
  }
347
 
348
- .cs-admin .cs-tabs.cs-tabs-border .ui-tabs-nav li {
349
  border-top: solid 1px #ddd;
350
  margin-right: 0;
351
  padding-top: 20px;
@@ -354,39 +377,38 @@
354
  padding-right: 30px;
355
  }
356
 
357
- .cs-admin .cs-tabs.cs-tabs-border .ui-tabs-nav li:hover,
358
- .cs-admin .cs-tabs.cs-tabs-border .ui-tabs-nav li.active {
359
  background-color: #e9e9e9;
360
  }
361
 
362
- .cs-admin .cs-tabs .ui-tabs-nav li a {
363
  margin-left: 5px;
364
  }
365
 
366
- .cs-admin .cs-tabs .ui-tabs-nav li .cs-close {
367
- margin-left: 10px;
368
- vertical-align: middle;
369
- }
370
-
371
- .cs-admin .cs-tabs.cs-tabs-border .ui-tabs-nav li:first-child {
372
  border-left: solid 1px #ddd;
373
  }
374
 
375
- .cs-admin .cs-tabs.cs-tabs-border .ui-tabs-nav li:last-child {
376
  border-right: solid 1px #ddd;
377
  }
378
 
379
- .cs-admin .cs-tabs .ui-tabs-nav li:last-child {
380
  border-right: none;
381
  }
382
 
383
- .cs-admin .cs-slide-tabs .ui-tabs-nav li,
384
- .cs-admin .cs-slide-tabs .ui-tabs-nav li a {
385
  cursor: move;
386
  }
387
 
388
- .cs-admin .cs-slide-tabs .ui-tabs-nav li.ui-state-disabled,
389
- .cs-admin .cs-slide-tabs .ui-tabs-nav li.ui-state-disabled a {
 
 
 
 
390
  cursor: pointer;
391
  }
392
 
@@ -407,7 +429,7 @@
407
  margin: 0 auto;
408
  }
409
 
410
- .cs-admin .cs-slide,
411
  .cs-admin .cs-void-slide {
412
  display: none;
413
  }
@@ -420,13 +442,36 @@
420
  display: none !important;
421
  }
422
 
423
- .cs-admin .cs-slide .cs-slide-editing-area{
 
 
 
 
424
  position: relative;
425
  background-color: #fff;
426
  -moz-border-radius: 4px;
427
  border-radius: 4px;
428
  margin: 0 auto;
429
  line-height: 1.5;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
430
  }
431
 
432
  .cs-admin .cs-slide .cs-slide-editing-area:before,
@@ -477,8 +522,32 @@
477
  cursor: move;
478
  }
479
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
480
  .cs-admin .cs-slide .cs-slide-editing-area .cs-element.active {
481
  -webkit-box-shadow: 0px 0px 0px 2px rgba(50, 50, 50, 0.75);
482
  -moz-box-shadow: 0px 0px 0px 2px rgba(50, 50, 50, 0.75);
483
  box-shadow: 0px 0px 0px 2px rgba(50, 50, 50, 0.75);
484
- }
11
  box-shadow: none;
12
  }
13
 
14
+ .cs-admin .cs-style-list {
15
+ list-style-type: disc;
16
+ padding-left: 20px;
17
+ }
18
+
19
+ .cs-admin .cs-close,
20
+ .cs-admin .cs-duplicate {
21
  display: inline-block;
22
  width: 13px;
23
  height: 13px;
 
24
  cursor: pointer;
25
+ margin-top: -3px;
26
+ vertical-align: middle;
27
+ }
28
+
29
+ .cs-admin .cs-close {
30
+ background-image: url('../images/close.png');
31
+ margin-left: 5px;
32
+ }
33
+
34
+ .cs-admin .cs-duplicate {
35
+ background-image: url('../images/plus.png');
36
+ margin-left: 10px;
37
  }
38
 
39
  .cs-admin .cs-button {
339
  border-color: #f4a911;
340
  }
341
 
342
+ #cs-slides {
343
+ display: none;
344
+ }
345
+
346
  .cs-admin .cs-slides .cs-slide-build {
347
  border: solid 1px #ddd;
348
  }
349
 
350
+ .cs-admin .cs-tabs > ul {
351
  width: auto;
352
  }
353
 
355
  margin: 0;
356
  }
357
 
358
+ .cs-admin .cs-tabs > ul > li {
359
  float: left;
360
  margin-bottom: 0;
361
  padding-right: 20px;
364
  text-transform: uppercase;
365
  font-weight: bold;
366
  outline: none;
367
+ display: block;
368
+ white-space: nowrap;
369
  }
370
 
371
+ .cs-admin .cs-tabs.cs-tabs-border > ul > li {
372
  border-top: solid 1px #ddd;
373
  margin-right: 0;
374
  padding-top: 20px;
377
  padding-right: 30px;
378
  }
379
 
380
+ .cs-admin .cs-tabs.cs-tabs-border > ul > li:hover,
381
+ .cs-admin .cs-tabs.cs-tabs-border > ul > li.active {
382
  background-color: #e9e9e9;
383
  }
384
 
385
+ .cs-admin .cs-tabs > ul > li > a {
386
  margin-left: 5px;
387
  }
388
 
389
+ .cs-admin .cs-tabs.cs-tabs-border > ul > li:first-child {
 
 
 
 
 
390
  border-left: solid 1px #ddd;
391
  }
392
 
393
+ .cs-admin .cs-tabs.cs-tabs-border > ul > li:last-child {
394
  border-right: solid 1px #ddd;
395
  }
396
 
397
+ .cs-admin .cs-tabs > ul > li:last-child {
398
  border-right: none;
399
  }
400
 
401
+ .cs-admin .cs-slide-tabs > ul > li,
402
+ .cs-admin .cs-slide-tabs > ul > li > a {
403
  cursor: move;
404
  }
405
 
406
+ .cs-admin .cs-slide-tabs > ul > li > a > .cs-slide-name-text {
407
+ cursor: pointer;
408
+ }
409
+
410
+ .cs-admin .cs-slide-tabs > ul > li.ui-state-disabled,
411
+ .cs-admin .cs-slide-tabs > ul > li.ui-state-disabled a {
412
  cursor: pointer;
413
  }
414
 
429
  margin: 0 auto;
430
  }
431
 
432
+ .cs-admin .cs-slides-list > .cs-slide,
433
  .cs-admin .cs-void-slide {
434
  display: none;
435
  }
442
  display: none !important;
443
  }
444
 
445
+ .cs-admin .wp-picker-holder {
446
+ position: absolute;
447
+ }
448
+
449
+ .cs-admin .cs-slide .cs-slide-editing-area {
450
  position: relative;
451
  background-color: #fff;
452
  -moz-border-radius: 4px;
453
  border-radius: 4px;
454
  margin: 0 auto;
455
  line-height: 1.5;
456
+ white-space: nowrap;
457
+
458
+ line-height: 1.5;
459
+ font-size: 14px;
460
+ color: #000;
461
+ font-family: 'Verdana', sans-serif;
462
+
463
+ /* Default slide background settings: */
464
+ background-repeat: no-repeat;
465
+ background-size: cover;
466
+ background-position: center center;
467
+ }
468
+
469
+ .cs-admin .cs-slide .cs-slide-editing-area a {
470
+ color: #0073aa;
471
+ }
472
+
473
+ .cs-admin .cs-slide .cs-slide-editing-area a:hover {
474
+ color: #0073aa;
475
  }
476
 
477
  .cs-admin .cs-slide .cs-slide-editing-area:before,
522
  cursor: move;
523
  }
524
 
525
+ .crellyslider ul li * {
526
+ cursor: auto !important;
527
+ }
528
+
529
+ .cs-admin .cs-slide .cs-slide-live-preview-area > ul,
530
+ .cs-admin .cs-slide .cs-slide-live-preview-area > ul > li {
531
+ margin: 0;
532
+ padding: 0;
533
+ }
534
+
535
+ .cs-admin .cs-slide .cs-slide-editing-area .cs-video-element {
536
+ min-width: 560px;
537
+ min-height: 315px;
538
+ background-color: #000;
539
+ }
540
+
541
+ .cs-admin .cs-slide .cs-slide-editing-area .cs-video-element .cs-avoid-interaction {
542
+ width: 100%;
543
+ height: 100%;
544
+ position: absolute;
545
+ top: 0;
546
+ left: 0;
547
+ }
548
+
549
  .cs-admin .cs-slide .cs-slide-editing-area .cs-element.active {
550
  -webkit-box-shadow: 0px 0px 0px 2px rgba(50, 50, 50, 0.75);
551
  -moz-box-shadow: 0px 0px 0px 2px rgba(50, 50, 50, 0.75);
552
  box-shadow: 0px 0px 0px 2px rgba(50, 50, 50, 0.75);
553
+ }
wordpress/elements.php CHANGED
@@ -16,8 +16,7 @@ function crellyslider_printElements($edit, $slider, $slide, $elements) {
16
  height: <?php echo $slider->startHeight; ?>px;
17
  background-image: url('<?php echo $slide->background_type_image; ?>');
18
  background-color: <?php echo $slide->background_type_color == 'transparent' ? 'rgb(255, 255, 255)' : $slide->background_type_color; ?>;
19
- background-position-x: <?php echo $slide->background_propriety_position_x; ?>;
20
- background-position-y: <?php echo $slide->background_propriety_position_y; ?>;
21
  background-repeat: <?php echo $slide->background_repeat; ?>;
22
  background-size: <?php echo $slide->background_propriety_size; ?>;
23
  <?php echo stripslashes($slide->custom_css); ?>
@@ -59,7 +58,10 @@ function crellyslider_printElements($edit, $slider, $slide, $elements) {
59
  "
60
  <?php
61
  if($element->link == '') {
62
- echo 'class="cs-element cs-text-element"';
 
 
 
63
  }
64
  ?>
65
  >
@@ -67,6 +69,7 @@ function crellyslider_printElements($edit, $slider, $slide, $elements) {
67
  </div>
68
  <?php
69
  break;
 
70
  case 'image':
71
  ?>
72
  <img
@@ -84,12 +87,55 @@ function crellyslider_printElements($edit, $slider, $slide, $elements) {
84
  "
85
  <?php
86
  if($element->link == '') {
87
- echo 'class="cs-element cs-image-element"';
 
 
 
88
  }
89
  ?>
90
  />
91
  <?php
92
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  }
94
 
95
  if($element->link != '') {
@@ -107,6 +153,7 @@ function crellyslider_printElements($edit, $slider, $slide, $elements) {
107
  <div style="float: left;">
108
  <a class="cs-add-text-element cs-button cs-is-warning"><?php _e('Add text', 'crellyslider'); ?></a>
109
  <a class="cs-add-image-element cs-button cs-is-warning"><?php _e('Add image', 'crellyslider'); ?></a>
 
110
  </div>
111
  <div style="float: right;">
112
  <a class="cs-live-preview cs-button cs-is-success"><?php _e('Live preview', 'crellyslider'); ?></a>
@@ -129,11 +176,19 @@ function crellyslider_printElements($edit, $slider, $slide, $elements) {
129
  crellyslider_printTextElement($element);
130
  echo '</div>';
131
  break;
 
132
  case 'image':
133
  echo '<div class="cs-element-settings cs-image-element-settings" style="display: none;">';
134
  crellyslider_printImageElement($element);
135
  echo '</div>';
136
  break;
 
 
 
 
 
 
 
137
  }
138
  }
139
  }
@@ -143,6 +198,9 @@ function crellyslider_printElements($edit, $slider, $slide, $elements) {
143
  echo '<div class="cs-void-element-settings cs-void-image-element-settings cs-element-settings cs-image-element-settings">';
144
  crellyslider_printImageElement(false);
145
  echo '</div>';
 
 
 
146
  ?>
147
  </div>
148
 
@@ -154,6 +212,7 @@ function crellyslider_printTextElement($element) {
154
  $void = !$element ? true : false;
155
 
156
  $animations = array(
 
157
  'slideDown' => array(__('Slide down', 'crellyslider'), false),
158
  'slideUp' => array(__('Slide up', 'crellyslider'), false),
159
  'slideLeft' => array(__('Slide left', 'crellyslider'), false),
@@ -203,6 +262,9 @@ function crellyslider_printTextElement($element) {
203
  else echo '<input class="cs-element-data_left" type="text" value="' . $element->data_left .'" />';
204
  ?>
205
  px
 
 
 
206
  </td>
207
  <td class="cs-description">
208
  <?php _e('Left distance in px from the start width.', 'crellyslider'); ?>
@@ -216,6 +278,9 @@ function crellyslider_printTextElement($element) {
216
  else echo '<input class="cs-element-data_top" type="text" value="' . $element->data_top .'" />';
217
  ?>
218
  px
 
 
 
219
  </td>
220
  <td class="cs-description">
221
  <?php _e('Top distance in px from the start height.', 'crellyslider'); ?>
@@ -256,7 +321,13 @@ function crellyslider_printTextElement($element) {
256
  ms
257
  </td>
258
  <td class="cs-description">
259
- <?php _e('How long will the element be displayed during the slide execution. Write "all" to set the entire time.', 'crellyslider'); ?>
 
 
 
 
 
 
260
  </td>
261
  </tr>
262
  <tr>
@@ -371,6 +442,18 @@ function crellyslider_printTextElement($element) {
371
  <?php _e('Style the element.', 'crellyslider'); ?>
372
  </td>
373
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
374
  </tbody>
375
  </table>
376
  <?php
@@ -380,6 +463,7 @@ function crellyslider_printImageElement($element) {
380
  $void = !$element ? true : false;
381
 
382
  $animations = array(
 
383
  'slideDown' => array(__('Slide down', 'crellyslider'), false),
384
  'slideUp' => array(__('Slide up', 'crellyslider'), false),
385
  'slideLeft' => array(__('Slide left', 'crellyslider'), false),
@@ -428,6 +512,9 @@ function crellyslider_printImageElement($element) {
428
  else echo '<input class="cs-element-data_left" type="text" value="' . $element->data_left .'" />';
429
  ?>
430
  px
 
 
 
431
  </td>
432
  <td class="cs-description">
433
  <?php _e('Left distance in px from the start width.', 'crellyslider'); ?>
@@ -441,6 +528,9 @@ function crellyslider_printImageElement($element) {
441
  else echo '<input class="cs-element-data_top" type="text" value="' . $element->data_top .'" />';
442
  ?>
443
  px
 
 
 
444
  </td>
445
  <td class="cs-description">
446
  <?php _e('Top distance in px from the start height.', 'crellyslider'); ?>
@@ -481,7 +571,13 @@ function crellyslider_printImageElement($element) {
481
  ms
482
  </td>
483
  <td class="cs-description">
484
- <?php _e('How long will the element be displayed during the slide execution. Write "all" to set the entire time.', 'crellyslider'); ?>
 
 
 
 
 
 
485
  </td>
486
  </tr>
487
  <tr>
@@ -596,8 +692,295 @@ function crellyslider_printImageElement($element) {
596
  <?php _e('Style the element.', 'crellyslider'); ?>
597
  </td>
598
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
599
  </tbody>
600
  </table>
601
- <?php
602
  }
603
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  height: <?php echo $slider->startHeight; ?>px;
17
  background-image: url('<?php echo $slide->background_type_image; ?>');
18
  background-color: <?php echo $slide->background_type_color == 'transparent' ? 'rgb(255, 255, 255)' : $slide->background_type_color; ?>;
19
+ background-position: <?php echo $slide->background_propriety_position_x . ' ' . $slide->background_propriety_position_y; ?>;
 
20
  background-repeat: <?php echo $slide->background_repeat; ?>;
21
  background-size: <?php echo $slide->background_propriety_size; ?>;
22
  <?php echo stripslashes($slide->custom_css); ?>
58
  "
59
  <?php
60
  if($element->link == '') {
61
+ echo 'class="cs-element cs-text-element ' . stripslashes($element->custom_css_classes) . '"';
62
+ }
63
+ else {
64
+ echo 'class="' . stripslashes($element->custom_css_classes) . '"';
65
  }
66
  ?>
67
  >
69
  </div>
70
  <?php
71
  break;
72
+
73
  case 'image':
74
  ?>
75
  <img
87
  "
88
  <?php
89
  if($element->link == '') {
90
+ echo 'class="cs-element cs-image-element ' . stripslashes($element->custom_css_classes) . '"';
91
+ }
92
+ else {
93
+ echo 'class="' . stripslashes($element->custom_css_classes) . '"';
94
  }
95
  ?>
96
  />
97
  <?php
98
  break;
99
+
100
+ case 'youtube_video':
101
+ ?>
102
+ <div
103
+ class="cs-element cs-video-element"
104
+ style="
105
+ <?php
106
+ if($element->link == '') {
107
+ echo 'z-index: ' . $element->z_index . ';';
108
+ echo 'left: ' . $element->data_left . 'px;';
109
+ echo 'top: ' . $element->data_top . 'px;';
110
+ }
111
+ ?>
112
+ "
113
+ >
114
+ <div class="cs-avoid-interaction"></div>
115
+ <iframe style="<?php echo stripslashes($element->custom_css); ?>" class="cs-yt-iframe <?php echo stripslashes($element->custom_css_classes); ?>" type="text/html" width="560" height="315" src="http://www.youtube.com/embed/<?php echo $element->video_id; ?>?enablejsapi=1" frameborder="0"></iframe>
116
+ </div>
117
+ <?php
118
+ break;
119
+
120
+ case 'vimeo_video':
121
+ ?>
122
+ <div
123
+ class="cs-element cs-video-element"
124
+ style="
125
+ <?php
126
+ if($element->link == '') {
127
+ echo 'z-index: ' . $element->z_index . ';';
128
+ echo 'left: ' . $element->data_left . 'px;';
129
+ echo 'top: ' . $element->data_top . 'px;';
130
+ }
131
+ ?>
132
+ "
133
+ >
134
+ <div class="cs-avoid-interaction"></div>
135
+ <iframe style="<?php echo stripslashes($element->custom_css); ?>" class="cs-vimeo-iframe <?php echo stripslashes($element->custom_css_classes); ?>" src="https://player.vimeo.com/video/<?php echo $element->video_id; ?>?api=1" width="560" height="315" frameborder="0" ></iframe>
136
+ </div>
137
+ <?php
138
+ break;
139
  }
140
 
141
  if($element->link != '') {
153
  <div style="float: left;">
154
  <a class="cs-add-text-element cs-button cs-is-warning"><?php _e('Add text', 'crellyslider'); ?></a>
155
  <a class="cs-add-image-element cs-button cs-is-warning"><?php _e('Add image', 'crellyslider'); ?></a>
156
+ <a class="cs-add-video-element cs-button cs-is-warning"><?php _e('Add video', 'crellyslider'); ?></a>
157
  </div>
158
  <div style="float: right;">
159
  <a class="cs-live-preview cs-button cs-is-success"><?php _e('Live preview', 'crellyslider'); ?></a>
176
  crellyslider_printTextElement($element);
177
  echo '</div>';
178
  break;
179
+
180
  case 'image':
181
  echo '<div class="cs-element-settings cs-image-element-settings" style="display: none;">';
182
  crellyslider_printImageElement($element);
183
  echo '</div>';
184
  break;
185
+
186
+ case 'youtube_video':
187
+ case 'vimeo_video':
188
+ echo '<div class="cs-element-settings cs-video-element-settings" style="display: none;">';
189
+ crellyslider_printVideoElement($element);
190
+ echo '</div>';
191
+ break;
192
  }
193
  }
194
  }
198
  echo '<div class="cs-void-element-settings cs-void-image-element-settings cs-element-settings cs-image-element-settings">';
199
  crellyslider_printImageElement(false);
200
  echo '</div>';
201
+ echo '<div class="cs-void-element-settings cs-void-video-element-settings cs-element-settings cs-video-element-settings">';
202
+ crellyslider_printVideoElement(false);
203
+ echo '</div>';
204
  ?>
205
  </div>
206
 
212
  $void = !$element ? true : false;
213
 
214
  $animations = array(
215
+ 'none' => array(__('None', 'crellyslider'), false),
216
  'slideDown' => array(__('Slide down', 'crellyslider'), false),
217
  'slideUp' => array(__('Slide up', 'crellyslider'), false),
218
  'slideLeft' => array(__('Slide left', 'crellyslider'), false),
262
  else echo '<input class="cs-element-data_left" type="text" value="' . $element->data_left .'" />';
263
  ?>
264
  px
265
+ <br />
266
+ <br />
267
+ <input type="button" class="cs-element-center-x cs-button cs-is-default" value="<?php _e('Center horizontally', 'crellyslider'); ?>" />
268
  </td>
269
  <td class="cs-description">
270
  <?php _e('Left distance in px from the start width.', 'crellyslider'); ?>
278
  else echo '<input class="cs-element-data_top" type="text" value="' . $element->data_top .'" />';
279
  ?>
280
  px
281
+ <br />
282
+ <br />
283
+ <input type="button" class="cs-element-center-y cs-button cs-is-default" value="<?php _e('Center vertically', 'crellyslider'); ?>" />
284
  </td>
285
  <td class="cs-description">
286
  <?php _e('Top distance in px from the start height.', 'crellyslider'); ?>
321
  ms
322
  </td>
323
  <td class="cs-description">
324
+ <?php _e('How long will the element be displayed during the slide execution.', 'crellyslider'); ?>
325
+ <br />
326
+ <br />
327
+ <?php _e('Write "all" to set the entire time.', 'crellyslider'); ?>
328
+ <br />
329
+ <br />
330
+ <?php _e('Write "3000" to set 3000 milliseconds minus delay time (so, if the delay time is 1000 milliseconds, the element will be displayed for 3000-1000=2000 milliseconds).', 'crellyslider'); ?>
331
  </td>
332
  </tr>
333
  <tr>
442
  <?php _e('Style the element.', 'crellyslider'); ?>
443
  </td>
444
  </tr>
445
+ <tr>
446
+ <td class="cs-name"><?php _e('Custom classes', 'crellyslider'); ?></td>
447
+ <td class="cs-content">
448
+ <?php
449
+ if($void) echo '<input class="cs-element-custom_css_classes" type="text" />';
450
+ else echo '<input class="cs-element-custom_css_classes" type="text" value="' . stripslashes($element->custom_css_classes) . '" />';
451
+ ?>
452
+ </td>
453
+ <td class="cs-description">
454
+ <?php _e('Apply custom CSS classes to the element. The style of the classes may not work when working on backend.', 'crellyslider'); ?>
455
+ </td>
456
+ </tr>
457
  </tbody>
458
  </table>
459
  <?php
463
  $void = !$element ? true : false;
464
 
465
  $animations = array(
466
+ 'none' => array(__('None', 'crellyslider'), false),
467
  'slideDown' => array(__('Slide down', 'crellyslider'), false),
468
  'slideUp' => array(__('Slide up', 'crellyslider'), false),
469
  'slideLeft' => array(__('Slide left', 'crellyslider'), false),
512
  else echo '<input class="cs-element-data_left" type="text" value="' . $element->data_left .'" />';
513
  ?>
514
  px
515
+ <br />
516
+ <br />
517
+ <input type="button" class="cs-element-center-x cs-button cs-is-default" value="<?php _e('Center horizontally', 'crellyslider'); ?>" />
518
  </td>
519
  <td class="cs-description">
520
  <?php _e('Left distance in px from the start width.', 'crellyslider'); ?>
528
  else echo '<input class="cs-element-data_top" type="text" value="' . $element->data_top .'" />';
529
  ?>
530
  px
531
+ <br />
532
+ <br />
533
+ <input type="button" class="cs-element-center-y cs-button cs-is-default" value="<?php _e('Center vertically', 'crellyslider'); ?>" />
534
  </td>
535
  <td class="cs-description">
536
  <?php _e('Top distance in px from the start height.', 'crellyslider'); ?>
571
  ms
572
  </td>
573
  <td class="cs-description">
574
+ <?php _e('How long will the element be displayed during the slide execution.', 'crellyslider'); ?>
575
+ <br />
576
+ <br />
577
+ <?php _e('Write "all" to set the entire time.', 'crellyslider'); ?>
578
+ <br />
579
+ <br />
580
+ <?php _e('Write "3000" to set 3000 milliseconds minus delay time (so, if the delay time is 1000 milliseconds, the element will be displayed for 3000-1000=2000 milliseconds).', 'crellyslider'); ?>
581
  </td>
582
  </tr>
583
  <tr>
692
  <?php _e('Style the element.', 'crellyslider'); ?>
693
  </td>
694
  </tr>
695
+ <tr>
696
+ <td class="cs-name"><?php _e('Custom classes', 'crellyslider'); ?></td>
697
+ <td class="cs-content">
698
+ <?php
699
+ if($void) echo '<input class="cs-element-custom_css_classes" type="text" />';
700
+ else echo '<input class="cs-element-custom_css_classes" type="text" value="' . stripslashes($element->custom_css_classes) . '" />';
701
+ ?>
702
+ </td>
703
+ <td class="cs-description">
704
+ <?php _e('Apply custom CSS classes to the element. The style of the classes may not work when working on backend.', 'crellyslider'); ?>
705
+ </td>
706
+ </tr>
707
  </tbody>
708
  </table>
709
+ <?php
710
  }
711
+
712
+ function crellyslider_printVideoElement($element) {
713
+ $void = !$element ? true : false;
714
+
715
+ $animations = array(
716
+ 'none' => array(__('None', 'crellyslider'), false),
717
+ 'slideDown' => array(__('Slide down', 'crellyslider'), false),
718
+ 'slideUp' => array(__('Slide up', 'crellyslider'), false),
719
+ 'slideLeft' => array(__('Slide left', 'crellyslider'), false),
720
+ 'slideRight' => array(__('Slide right', 'crellyslider'), false),
721
+ 'fade' => array(__('Fade', 'crellyslider'), true),
722
+ 'fadeDown' => array(__('Fade down', 'crellyslider'), false),
723
+ 'fadeUp' => array(__('Fade up', 'crellyslider'), false),
724
+ 'fadeLeft' => array(__('Fade left', 'crellyslider'), false),
725
+ 'fadeRight' => array(__('Fade right', 'crellyslider'), false),
726
+ 'fadeSmallDown' => array(__('Fade small down', 'crellyslider'), false),
727
+ 'fadeSmallUp' => array(__('Fade small up', 'crellyslider'), false),
728
+ 'fadeSmallLeft' => array(__('Fade small left', 'crellyslider'), false),
729
+ 'fadeSmallRight' => array(__('Fade small right', 'crellyslider'), false),
730
+ );
731
+
732
+ ?>
733
+ <table class="cs-element-settings-list cs-video-element-settings-list cs-table">
734
+ <thead>
735
+ <tr class="odd-row">
736
+ <th colspan="3"><?php _e('Element Options', 'crellyslider'); ?></th>
737
+ </tr>
738
+ </thead>
739
+
740
+ <tbody>
741
+ <tr class="cs-table-header">
742
+ <td><?php _e('Option', 'crellyslider'); ?></td>
743
+ <td><?php _e('Parameter', 'crellyslider'); ?></td>
744
+ <td><?php _e('Description', 'crellyslider'); ?></td>
745
+ </tr>
746
+ <tr>
747
+ <td class="cs-name"><?php _e('Video source', 'crellyslider'); ?></td>
748
+ <td class="cs-content">
749
+ <?php
750
+ if($void) echo '<select class="cs-element-video_src"><option selected value="youtube">YouTube</option><option value="vimeo">Vimeo</option></select>';
751
+ else {
752
+ if($element->type == 'youtube_video') {
753
+ echo '<select class="cs-element-video_src"><option selected value="youtube">YouTube</option><option value="vimeo">Vimeo</option></select>';
754
+ }
755
+ else {
756
+ echo '<select class="cs-element-video_src"><option value="youtube">YouTube</option><option selected value="vimeo">Vimeo</option></select>';
757
+ }
758
+ }
759
+
760
+ echo '<br /><br />';
761
+
762
+ if($void) echo '<input placeholder="Video ID" class="cs-element-video_id" type="text" />';
763
+ else echo '<input placeholder="Video ID" class="cs-element-video_id" type="text" value="' . $element->video_id .'" />';
764
+ ?>
765
+ </td>
766
+ <td class="cs-description">
767
+ <?php _e('Set source and ID.', 'crellyslider'); ?>
768
+ </td>
769
+ </tr>
770
+ <tr>
771
+ <td class="cs-name"><?php _e('Loop video', 'crellyslider'); ?></td>
772
+ <td class="cs-content">
773
+ <?php
774
+ if($void) echo '<select class="cs-element-video_loop"><option value="1">Yes</option><option selected value="0">No</option></select>';
775
+ else {
776
+ if($element->video_loop == 0) {
777
+ echo '<select class="cs-element-video_loop"><option value="1">Yes</option><option selected value="0">No</option></select>';
778
+ }
779
+ else {
780
+ echo '<select class="cs-element-video_loop"><option selected value="1">Yes</option><option value="0">No</option></select>';
781
+ }
782
+ }
783
+ ?>
784
+ </td>
785
+ <td class="cs-description">
786
+ <?php _e('The video will automatically restart from the beginning when it reaches the end.', 'crellyslider'); ?>
787
+ </td>
788
+ </tr>
789
+ <tr>
790
+ <td class="cs-name"><?php _e('Autoplay', 'crellyslider'); ?></td>
791
+ <td class="cs-content">
792
+ <?php
793
+ if($void) echo '<select class="cs-element-video_autoplay"><option value="1">Yes</option><option selected value="0">No</option></select>';
794
+ else {
795
+ if($element->video_autoplay == 0) {
796
+ echo '<select class="cs-element-video_autoplay"><option value="1">Yes</option><option selected value="0">No</option></select>';
797
+ }
798
+ else {
799
+ echo '<select class="cs-element-video_autoplay"><option selected value="1">Yes</option><option value="0">No</option></select>';
800
+ }
801
+ }
802
+ ?>
803
+ </td>
804
+ <td class="cs-description">
805
+ <?php _e('The video will automatically be played after the in animation.', 'crellyslider'); ?>
806
+ </td>
807
+ </tr>
808
+ <tr>
809
+ <td class="cs-name"><?php _e('Left', 'crellyslider'); ?></td>
810
+ <td class="cs-content">
811
+ <?php
812
+ if($void) echo '<input class="cs-element-data_left" type="text" value="0" />';
813
+ else echo '<input class="cs-element-data_left" type="text" value="' . $element->data_left .'" />';
814
+ ?>
815
+ px
816
+ <br />
817
+ <br />
818
+ <input type="button" class="cs-element-center-x cs-button cs-is-default" value="<?php _e('Center horizontally', 'crellyslider'); ?>" />
819
+ </td>
820
+ <td class="cs-description">
821
+ <?php _e('Left distance in px from the start width.', 'crellyslider'); ?>
822
+ </td>
823
+ </tr>
824
+ <tr>
825
+ <td class="cs-name"><?php _e('Top', 'crellyslider'); ?></td>
826
+ <td class="cs-content">
827
+ <?php
828
+ if($void) echo '<input class="cs-element-data_top" type="text" value="0" />';
829
+ else echo '<input class="cs-element-data_top" type="text" value="' . $element->data_top .'" />';
830
+ ?>
831
+ px
832
+ <br />
833
+ <br />
834
+ <input type="button" class="cs-element-center-y cs-button cs-is-default" value="<?php _e('Center vertically', 'crellyslider'); ?>" />
835
+ </td>
836
+ <td class="cs-description">
837
+ <?php _e('Top distance in px from the start height.', 'crellyslider'); ?>
838
+ </td>
839
+ </tr>
840
+ <tr>
841
+ <td class="cs-name"><?php _e('Z - index', 'crellyslider'); ?></td>
842
+ <td class="cs-content">
843
+ <?php
844
+ if($void) echo '<input class="cs-element-z_index" type="text" value="1" />';
845
+ else echo '<input class="cs-element-z_index" type="text" value="' . $element->z_index .'" />';
846
+ ?>
847
+ </td>
848
+ <td class="cs-description">
849
+ <?php _e('An element with an high z-index will cover an element with a lower z-index if they overlap.', 'crellyslider'); ?>
850
+ </td>
851
+ </tr>
852
+ <tr>
853
+ <td class="cs-name"><?php _e('Delay', 'crellyslider'); ?></td>
854
+ <td class="cs-content">
855
+ <?php
856
+ if($void) echo '<input class="cs-element-data_delay" type="text" value="0" />';
857
+ else echo '<input class="cs-element-data_delay" type="text" value="' . $element->data_delay .'" />';
858
+ ?>
859
+ ms
860
+ </td>
861
+ <td class="cs-description">
862
+ <?php _e('How long will the element wait before the entrance.', 'crellyslider'); ?>
863
+ </td>
864
+ </tr>
865
+ <tr>
866
+ <td class="cs-name"><?php _e('Time', 'crellyslider'); ?></td>
867
+ <td class="cs-content">
868
+ <?php
869
+ if($void) echo '<input class="cs-element-data_time" type="text" value="all" />';
870
+ else echo '<input class="cs-element-data_time" type="text" value="' . $element->data_time .'" />';
871
+ ?>
872
+ ms
873
+ </td>
874
+ <td class="cs-description">
875
+ <?php _e('How long will the element be displayed during the slide execution.', 'crellyslider'); ?>
876
+ <br />
877
+ <br />
878
+ <?php _e('Write "all" to set the entire time.', 'crellyslider'); ?>
879
+ <br />
880
+ <br />
881
+ <?php _e('Write "3000" to set 3000 milliseconds minus delay time (so, if the delay time is 1000 milliseconds, the element will be displayed for 3000-1000=2000 milliseconds).', 'crellyslider'); ?>
882
+ </td>
883
+ </tr>
884
+ <tr>
885
+ <td class="cs-name"><?php _e('In animation', 'crellyslider'); ?></td>
886
+ <td class="cs-content">
887
+ <select class="cs-element-data_in">
888
+ <?php
889
+ foreach($animations as $key => $value) {
890
+ echo '<option value="' . $key . '"';
891
+ if(($void && $value[1]) || (!$void && $element->data_in == $key)) {
892
+ echo ' selected';
893
+ }
894
+ echo '>' . $value[0] . '</option>';
895
+ }
896
+ ?>
897
+ </select>
898
+ </td>
899
+ <td class="cs-description">
900
+ <?php _e('The in animation of the element.', 'crellyslider'); ?>
901
+ </td>
902
+ </tr>
903
+ <tr>
904
+ <td class="cs-name"><?php _e('Out animation', 'crellyslider'); ?></td>
905
+ <td class="cs-content">
906
+ <select class="cs-element-data_out">
907
+ <?php
908
+ foreach($animations as $key => $value) {
909
+ echo '<option value="' . $key . '"';
910
+ if(($void && $value[1]) || (!$void && $element->data_out == $key)) {
911
+ echo ' selected';
912
+ }
913
+ echo '>' . $value[0] . '</option>';
914
+ }
915
+ ?>
916
+ </select>
917
+ <br />
918
+ <?php
919
+ if($void) echo '<input class="cs-element-data_ignoreEaseOut" type="checkbox" />' . __('Disable synchronization with slide out animation', 'crellyslider');
920
+ else {
921
+ if($element->data_ignoreEaseOut) {
922
+ echo '<input class="cs-element-data_ignoreEaseOut" type="checkbox" checked />' . __('Disable synchronization with slide out animation', 'crellyslider');
923
+ }
924
+ else {
925
+ echo '<input class="cs-element-data_ignoreEaseOut" type="checkbox" />' . __('Disable synchronization with slide out animation', 'crellyslider');
926
+ }
927
+ }
928
+ ?>
929
+ </td>
930
+ <td class="cs-description">
931
+ <?php _e('The out animation of the element.<br /><br />Disable synchronization with slide out animation: if not checked, the slide out animation won\'t start until all the elements that have this option unchecked are animated out.', 'crellyslider'); ?>
932
+ </td>
933
+ </tr>
934
+ <tr>
935
+ <td class="cs-name"><?php _e('Ease in', 'crellyslider'); ?></td>
936
+ <td class="cs-content">
937
+ <?php
938
+ if($void) echo '<input class="cs-element-data_easeIn" type="text" value="300" />';
939
+ else echo '<input class="cs-element-data_easeIn" type="text" value="' . $element->data_easeIn .'" />';
940
+ ?>
941
+ ms
942
+ </td>
943
+ <td class="cs-description">
944
+ <?php _e('How long will the in animation take.', 'crellyslider'); ?>
945
+ </td>
946
+ </tr>
947
+ <tr>
948
+ <td class="cs-name"><?php _e('Ease out', 'crellyslider'); ?></td>
949
+ <td class="cs-content">
950
+ <?php
951
+ if($void) echo '<input class="cs-element-data_easeOut" type="text" value="300" />';
952
+ else echo '<input class="cs-element-data_easeOut" type="text" value="' . $element->data_easeOut .'" />';
953
+ ?>
954
+ ms
955
+ </td>
956
+ <td class="cs-description">
957
+ <?php _e('How long will the out animation take.', 'crellyslider'); ?>
958
+ </td>
959
+ </tr>
960
+ <tr>
961
+ <td class="cs-name"><?php _e('Custom CSS', 'crellyslider'); ?></td>
962
+ <td class="cs-content">
963
+ <?php
964
+ if($void) echo '<textarea class="cs-element-custom_css"></textarea>';
965
+ else echo '<textarea class="cs-element-custom_css">' . stripslashes($element->custom_css) . '</textarea>';
966
+ ?>
967
+ </td>
968
+ <td class="cs-description">
969
+ <?php _e('Style the element.', 'crellyslider'); ?>
970
+ </td>
971
+ </tr>
972
+ <tr>
973
+ <td class="cs-name"><?php _e('Custom classes', 'crellyslider'); ?></td>
974
+ <td class="cs-content">
975
+ <?php
976
+ if($void) echo '<input class="cs-element-custom_css_classes" type="text" />';
977
+ else echo '<input class="cs-element-custom_css_classes" type="text" value="' . stripslashes($element->custom_css_classes) . '" />';
978
+ ?>
979
+ </td>
980
+ <td class="cs-description">
981
+ <?php _e('Apply custom CSS classes to the element. The style of the classes may not work when working on backend.', 'crellyslider'); ?>
982
+ </td>
983
+ </tr>
984
+ </tbody>
985
+ </table>
986
+ <?php } ?>
wordpress/frontend.php CHANGED
@@ -61,8 +61,7 @@ class CrellySliderFrontend {
61
  'style="' . "\n" .
62
  'background-color: ' . $slide->background_type_color . ';' . "\n" .
63
  'background-image: ' . $background_type_image . "\n" .
64
- 'background-position-x: ' . $slide->background_propriety_position_x . ';' . "\n" .
65
- 'background-position-y: ' . $slide->background_propriety_position_y . ';' . "\n" .
66
  'background-repeat: ' . $slide->background_repeat . ';' . "\n" .
67
  'background-size: ' . $slide->background_propriety_size . ';' . "\n" .
68
  stripslashes($slide->custom_css) . "\n" .
@@ -75,6 +74,15 @@ class CrellySliderFrontend {
75
  'data-time="' . $slide->data_time . '"' . "\n" .
76
  '>' . "\n";
77
 
 
 
 
 
 
 
 
 
 
78
  $slide_parent = $slide->position;
79
  $elements = $wpdb->get_results('SELECT * FROM ' . $wpdb->prefix . 'crellyslider_elements WHERE slider_parent = ' . $slider_id . ' AND slide_parent = ' . $slide_parent);
80
 
@@ -102,6 +110,7 @@ class CrellySliderFrontend {
102
  switch($element->type) {
103
  case 'text':
104
  $output .= '<div' . "\n" .
 
105
  'style="';
106
  if($element->link == '') {
107
  $output .= 'z-index: ' . $element->z_index . ';' . "\n";
@@ -123,8 +132,10 @@ class CrellySliderFrontend {
123
  stripslashes($element->inner_html) . "\n" .
124
  '</div>' . "\n";
125
  break;
 
126
  case 'image':
127
  $output .= '<img' . "\n" .
 
128
  'src="' . $element->image_src . '"' . "\n" .
129
  'alt="' . $element->image_alt . '"' . "\n" .
130
  'style="' . "\n";
@@ -146,6 +157,50 @@ class CrellySliderFrontend {
146
  }
147
  $output .= '/>' . "\n";
148
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
  }
150
 
151
  if($element->link != '') {
@@ -172,7 +227,7 @@ class CrellySliderFrontend {
172
  $output .= 'enableSwipe: ' . $slider->enableSwipe . ',' . "\n";
173
  $output .= 'showProgressBar: ' . $slider->showProgressBar . ',' . "\n";
174
  $output .= 'pauseOnHover: ' . $slider->pauseOnHover . ',' . "\n";
175
- $output .= $slider->callbacks . "\n";
176
  $output .= '});' . "\n";
177
  $output .= '});' . "\n";
178
  $output .= '})(jQuery);' . "\n";
61
  'style="' . "\n" .
62
  'background-color: ' . $slide->background_type_color . ';' . "\n" .
63
  'background-image: ' . $background_type_image . "\n" .
64
+ 'background-position: ' . $slide->background_propriety_position_x . ' ' . $slide->background_propriety_position_y . ';' . "\n" .
 
65
  'background-repeat: ' . $slide->background_repeat . ';' . "\n" .
66
  'background-size: ' . $slide->background_propriety_size . ';' . "\n" .
67
  stripslashes($slide->custom_css) . "\n" .
74
  'data-time="' . $slide->data_time . '"' . "\n" .
75
  '>' . "\n";
76
 
77
+ if($slide->link != '') {
78
+ if($slide->link_new_tab) {
79
+ $output .= '<a class="cs-background-link" target="_blank" href="' . stripslashes($slide->link) . '"></a>';
80
+ }
81
+ else {
82
+ $output .= '<a class="cs-background-link" href="' . stripslashes($slide->link) . '"></a>';
83
+ }
84
+ }
85
+
86
  $slide_parent = $slide->position;
87
  $elements = $wpdb->get_results('SELECT * FROM ' . $wpdb->prefix . 'crellyslider_elements WHERE slider_parent = ' . $slider_id . ' AND slide_parent = ' . $slide_parent);
88
 
110
  switch($element->type) {
111
  case 'text':
112
  $output .= '<div' . "\n" .
113
+ 'class="' . stripslashes($element->custom_css_classes) . '"' . "\n" .
114
  'style="';
115
  if($element->link == '') {
116
  $output .= 'z-index: ' . $element->z_index . ';' . "\n";
132
  stripslashes($element->inner_html) . "\n" .
133
  '</div>' . "\n";
134
  break;
135
+
136
  case 'image':
137
  $output .= '<img' . "\n" .
138
+ 'class="' . stripslashes($element->custom_css_classes) . '"' . "\n" .
139
  'src="' . $element->image_src . '"' . "\n" .
140
  'alt="' . $element->image_alt . '"' . "\n" .
141
  'style="' . "\n";
157
  }
158
  $output .= '/>' . "\n";
159
  break;
160
+
161
+ case 'youtube_video':
162
+ $output .= '<iframe frameborder="0" type="text/html" width="560" height="315"' . "\n" .
163
+ 'class="cs-yt-iframe ' . stripslashes($element->custom_css_classes) . '"' . "\n" .
164
+ 'src="https://www.youtube.com/embed/' . stripslashes($element->video_id) . '?enablejsapi=1"' . "\n" .
165
+ 'data-autoplay="' . $element->video_autoplay . '"' . "\n" .
166
+ 'data-loop="' . $element->video_loop . '"' . "\n" .
167
+ 'style="' . "\n" .
168
+ 'z-index: ' . $element->z_index . ';' . "\n" .
169
+ stripslashes($element->custom_css) . "\n" .
170
+ '"' . "\n" .
171
+ 'data-delay="' . $element->data_delay . '"' . "\n" .
172
+ 'data-ease-in="' . $element->data_easeIn . '"' . "\n" .
173
+ 'data-ease-out="' . $element->data_easeOut . '"' . "\n" .
174
+ 'data-in="' . $element->data_in . '"' . "\n" .
175
+ 'data-out="' . $element->data_out . '"' . "\n" .
176
+ 'data-ignore-ease-out="' . $element->data_ignoreEaseOut . '"' . "\n" .
177
+ 'data-top="' . $element->data_top . '"' . "\n" .
178
+ 'data-left="' . $element->data_left . '"' . "\n" .
179
+ 'data-time="' . $element->data_time . '"' . "\n" .
180
+ '></iframe>' . "\n";
181
+ break;
182
+
183
+ case 'vimeo_video':
184
+ $output .= '<iframe frameborder="0" width="560" height="315"' . "\n" .
185
+ 'class="cs-vimeo-iframe ' . stripslashes($element->custom_css_classes) . '"' . "\n" .
186
+ 'src="https://player.vimeo.com/video/' . stripslashes($element->video_id) . '?api=1"' . "\n" .
187
+ 'data-autoplay="' . $element->video_autoplay . '"' . "\n" .
188
+ 'data-loop="' . $element->video_loop . '"' . "\n" .
189
+ 'style="' . "\n" .
190
+ 'z-index: ' . $element->z_index . ';' . "\n" .
191
+ stripslashes($element->custom_css) . "\n" .
192
+ '"' . "\n" .
193
+ 'data-delay="' . $element->data_delay . '"' . "\n" .
194
+ 'data-ease-in="' . $element->data_easeIn . '"' . "\n" .
195
+ 'data-ease-out="' . $element->data_easeOut . '"' . "\n" .
196
+ 'data-in="' . $element->data_in . '"' . "\n" .
197
+ 'data-out="' . $element->data_out . '"' . "\n" .
198
+ 'data-ignore-ease-out="' . $element->data_ignoreEaseOut . '"' . "\n" .
199
+ 'data-top="' . $element->data_top . '"' . "\n" .
200
+ 'data-left="' . $element->data_left . '"' . "\n" .
201
+ 'data-time="' . $element->data_time . '"' . "\n" .
202
+ '></iframe>' . "\n";
203
+ break;
204
  }
205
 
206
  if($element->link != '') {
227
  $output .= 'enableSwipe: ' . $slider->enableSwipe . ',' . "\n";
228
  $output .= 'showProgressBar: ' . $slider->showProgressBar . ',' . "\n";
229
  $output .= 'pauseOnHover: ' . $slider->pauseOnHover . ',' . "\n";
230
+ $output .= stripslashes($slider->callbacks) . "\n";
231
  $output .= '});' . "\n";
232
  $output .= '});' . "\n";
233
  $output .= '})(jQuery);' . "\n";
wordpress/home.php CHANGED
@@ -28,12 +28,14 @@ else {
28
  <?php
29
  foreach($sliders as $slider) {
30
  echo '<tr>';
31
- echo '<td>' . $slider->id . '</td>';
32
- echo '<td><a href="?page=crellyslider&view=edit&id=' . $slider->id . '">' . $slider->name . '</a></td>';
33
- echo '<td>' . $slider->alias . '</td>';
34
- echo '<td>[crellyslider alias="' . $slider->alias . '"]</td>';
35
  echo '<td>
36
  <a class="cs-edit-slider cs-button cs-button cs-is-success" href="?page=crellyslider&view=edit&id=' . $slider->id . '">' . __('Edit Slider', 'crellyslider') . '</a>
 
 
37
  <a class="cs-delete-slider cs-button cs-button cs-is-danger" href="javascript:void(0)" data-delete="' . $slider->id . '">' . __('Delete Slider', 'crellyslider') . '</a>
38
  </td>';
39
  echo '</tr>';
@@ -46,4 +48,6 @@ else {
46
  ?>
47
 
48
  <br />
49
- <a class="cs-button cs-is-primary cs-add-slider" href="?page=crellyslider&view=add"><?php _e('Add Slider', 'crellyslider'); ?></a>
 
 
28
  <?php
29
  foreach($sliders as $slider) {
30
  echo '<tr>';
31
+ echo '<td class="cs-slider-id">' . $slider->id . '</td>';
32
+ echo '<td class="cs-slider-name"><a href="?page=crellyslider&view=edit&id=' . $slider->id . '">' . $slider->name . '</a></td>';
33
+ echo '<td class="cs-slider-alias">' . $slider->alias . '</td>';
34
+ echo '<td class="cs-slider-shortcode">[crellyslider alias="' . $slider->alias . '"]</td>';
35
  echo '<td>
36
  <a class="cs-edit-slider cs-button cs-button cs-is-success" href="?page=crellyslider&view=edit&id=' . $slider->id . '">' . __('Edit Slider', 'crellyslider') . '</a>
37
+ <a class="cs-duplicate-slider cs-button cs-button cs-is-primary" href="javascript:void(0)" data-duplicate="' . $slider->id . '">' . __('Duplicate Slider', 'crellyslider') . '</a>
38
+ <a class="cs-export-slider cs-button cs-button cs-is-warning" href="javascript:void(0)" data-export="' . $slider->id . '">' . __('Export Slider', 'crellyslider') . '</a>
39
  <a class="cs-delete-slider cs-button cs-button cs-is-danger" href="javascript:void(0)" data-delete="' . $slider->id . '">' . __('Delete Slider', 'crellyslider') . '</a>
40
  </td>';
41
  echo '</tr>';
48
  ?>
49
 
50
  <br />
51
+ <a class="cs-button cs-is-primary cs-add-slider" href="?page=crellyslider&view=add"><?php _e('Add Slider', 'crellyslider'); ?></a>
52
+ <a class="cs-button cs-is-warning cs-import-slider" href="javascript:void(0)"><?php _e('Import Slider', 'crellyslider'); ?></a>
53
+ <input id="cs-import-file" type="file" style="display: none;">
wordpress/images/plus.png ADDED
Binary file
wordpress/js/admin.js CHANGED
@@ -1,27 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  (function($) {
2
  $(window).load(function() {
3
 
4
- // Run tabs
5
- $('.cs-tabs').tabs({
6
- show: function(event, ui) {
7
- var $target = $(ui.panel);
8
- if(target.hasClass('cs-tabs-fade')) {
9
- $('.content:visible').effect(
10
- 'explode',
11
- {},
12
- 1500,
13
- function(){
14
- $target.fadeIn(300);
15
- }
16
- );
17
- }
18
- }
19
  });
20
 
21
  // Run draggables
22
  crellyslider_draggableElements();
23
 
24
  function crellyslider_showSuccess() {
 
 
25
  var target = $('.cs-admin .cs-message.cs-message-ok');
26
  target.css({
27
  'display' : 'block',
@@ -39,6 +69,8 @@
39
  }
40
 
41
  function crellyslider_showError() {
 
 
42
  var target = $('.cs-admin .cs-message.cs-message-error');
43
  target.css({
44
  'display' : 'block',
@@ -100,7 +132,7 @@
100
  /** SLIDES **/
101
  /************/
102
 
103
- var slides_number = $('.cs-admin #cs-slides .cs-slide-tabs ul li').length - 1;
104
 
105
  // Run sortable
106
  var slide_before; // Contains the index before the sorting
@@ -108,14 +140,20 @@
108
  $('.cs-slide-tabs .cs-sortable').sortable({
109
  items: 'li:not(.ui-state-disabled)',
110
  cancel: '.ui-state-disabled',
 
 
 
111
 
112
- // Store the actual index
113
  start: function(event, ui) {
 
114
  slide_before = $(ui.item).index();
 
 
 
115
  },
116
 
117
  // Change the .cs-slide order based on the new index and rename the tabs
118
- update: function(event, ui) {
119
  // Store the new index
120
  slide_after = $(ui.item).index();
121
 
@@ -130,10 +168,10 @@
130
  }
131
 
132
  // Rename all the tabs
133
- $('.cs-admin #cs-slides .cs-slide-tabs ul li').each(function() {
134
  var temp = $(this);
135
- if(!temp.find('a').hasClass('cs-add-new')) {
136
- temp.find('a').text(crellyslider_translations.slide + (temp.index() + 1));
137
  }
138
  });
139
  }
@@ -141,16 +179,28 @@
141
  $('.cs-slide-tabs .cs-sortable li').disableSelection();
142
 
143
  // Show the slide when clicking on the link
144
- $('.cs-admin #cs-slides .cs-slide-tabs ul li a').live('click', function() {
145
  // Do only if is not click add new
146
  if($(this).parent().index() != slides_number) {
 
 
 
 
 
 
 
 
 
 
 
 
147
  // Hide all tabs
148
  $('.cs-admin #cs-slides .cs-slides-list .cs-slide').css('display', 'none');
149
  var tab = $(this).parent().index();
150
  $('.cs-admin #cs-slides .cs-slides-list .cs-slide:eq(' + tab + ')').css('display', 'block');
151
 
152
  // Active class
153
- $('.cs-admin #cs-slides .cs-slide-tabs ul li').removeClass('active');
154
  $(this).parent().addClass('active');
155
  }
156
  });
@@ -161,7 +211,7 @@
161
 
162
  var void_slide = $('.cs-admin #cs-slides .cs-void-slide').html();
163
  // Insert the link at the end of the list
164
- add_btn.parent().before('<li class="ui-state-default"><a>' + crellyslider_translations.slide + ' <span class="cs-slide-index">' + (slides_number + 1) + '</span></a><span class="cs-close"></span></li>');
165
  // jQuery UI tabs are not working here. For now, just use a manual created tab
166
  $('.cs-admin #cs-slides .cs-slide-tab').tabs('refresh');
167
  // Create the slide
@@ -170,11 +220,11 @@
170
 
171
  // Open the tab just created
172
  var tab_index = add_btn.parent().index() - 1;
173
- $('.cs-admin #cs-slides .cs-slide-tabs ul li').eq(tab_index).find('a').click();
174
 
175
  // Active class
176
- $('.cs-admin #cs-slides .cs-slide-tabs ul li').removeClass('active');
177
- $('.cs-admin #cs-slides .cs-slide-tabs ul li').eq(tab_index).addClass('active');
178
 
179
  // Set editing area sizes
180
  crellyslider_setSlidesEditingAreaSizes();
@@ -191,12 +241,12 @@
191
  crellyslider_addSlide();
192
  }
193
  else {
194
- $('.cs-admin #cs-slides .cs-slide-tabs ul li').eq(0).find('a').click();
195
  }
196
 
197
  // Delete
198
- $('.cs-admin #cs-slides .cs-slide-tabs ul li .cs-close').live('click', function() {
199
- if($('.cs-admin #cs-slides .cs-slide-tabs ul li').length <= 2) {
200
  alert(crellyslider_translations.slide_delete_just_one);
201
  return;
202
  }
@@ -211,8 +261,8 @@
211
  var slide_index = $(this).parent().index();
212
 
213
  // If is deleting the current viewing slide, set the first as active
214
- if($('.cs-admin #cs-slides .cs-slide-tabs ul li').eq(slide_index).hasClass('active') && slides_number != 0) {
215
- $('.cs-admin #cs-slides .cs-slide-tabs ul li').eq(0).addClass('active');
216
  $('.cs-admin #cs-slides .cs-slides-list .cs-slide').css('display', 'none');
217
  $('.cs-admin #cs-slides .cs-slides-list .cs-slide').eq(0).css('display', 'block');
218
  }
@@ -224,11 +274,28 @@
224
 
225
  // Scale back all the slides text
226
  for(var i = slide_index; i < slides_number; i++) {
227
- var slide = $('.cs-admin #cs-slides .cs-slide-tabs ul li').eq(i);
228
  var indx = parseInt(slide.find('.cs-slide-index').text());
229
  slide.find('.cs-slide-index').text(indx - 1);
230
  }
231
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
 
233
  // Set correct size for the editing area
234
  function crellyslider_setSlidesEditingAreaSizes() {
@@ -252,12 +319,12 @@
252
  $('.cs-admin #cs-slides .cs-slides-list .cs-slide-settings-list .cs-slide-background_type_color-picker-input').wpColorPicker({
253
  // a callback to fire whenever the color changes to a valid color
254
  change: function(event, ui){
255
- // Change only if the color picker is the user choice
256
  var btn = $(this);
257
- if(btn.closest('.cs-content').find('input[name="cs-slide-background_type_color"]:checked').val() == '1') {
258
- var area = btn.closest('.cs-slide').find('.cs-elements .cs-slide-editing-area');
259
- area.css('background-color', ui.color.toString());
260
  }
 
 
261
  },
262
  // a callback to fire when the input is emptied or an invalid color
263
  clear: function() {},
@@ -269,18 +336,31 @@
269
  });
270
  }
271
 
272
- // Set background color (transparent or color-picker)
273
  $('.cs-admin #cs-slides').on('change', '.cs-slides-list .cs-slide-settings-list input[name="cs-slide-background_type_color"]:radio', function() {
274
  var btn = $(this);
 
275
  var area = btn.closest('.cs-slide').find('.cs-elements .cs-slide-editing-area');
276
 
277
- if(btn.val() == '0') {
278
  area.css('background-color', '#fff');
279
  }
280
- else {
281
  var color_picker_value = btn.closest('.cs-content').find('.wp-color-result').css('background-color');
282
  area.css('background-color', color_picker_value);
283
  }
 
 
 
 
 
 
 
 
 
 
 
 
284
  });
285
 
286
  // Set background image (none or image)
@@ -304,6 +384,11 @@
304
  var slide_parent = $(this).closest('.cs-slide');
305
  crellyslider_addSlideImageBackground(slide_parent);
306
  }
 
 
 
 
 
307
  });
308
  function crellyslider_addSlideImageBackground(slide_parent) {
309
  var area = slide_parent.find('.cs-slide-editing-area');
@@ -361,17 +446,21 @@
361
  // Background propriety: positions x and y
362
  $('.cs-admin #cs-slides').on('keyup', '.cs-slides-list .cs-slide-settings-list .cs-slide-background_propriety_position_x', function() {
363
  var text = $(this);
364
- var val = text.val();
365
- var area = text.closest('.cs-slide').find('.cs-elements .cs-slide-editing-area');
366
-
367
- area.css('background-position-x', val);
 
 
368
  });
369
  $('.cs-admin #cs-slides').on('keyup', '.cs-slides-list .cs-slide-settings-list .cs-slide-background_propriety_position_y', function() {
370
  var text = $(this);
371
- var val = text.val();
372
  var area = text.closest('.cs-slide').find('.cs-elements .cs-slide-editing-area');
373
-
374
- area.css('background-position-y', val);
 
 
 
375
  });
376
 
377
  // Background propriety: size
@@ -383,6 +472,43 @@
383
  area.css('background-size', val);
384
  });
385
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
386
  // Apply custom CSS
387
  $('.cs-admin #cs-slides').on('keyup', '.cs-slides-list .cs-slide-settings-list .cs-slide-custom_css', function() {
388
  var text = $(this);
@@ -394,8 +520,7 @@
394
  var height = area.css('height');
395
  var background_image = area.css('background-image');
396
  var background_color = area.css('background-color');
397
- var background_position_x = area.css('background-position-x');
398
- var background_position_y = area.css('background-position-y');
399
  var background_repeat = area.css('background-repeat');
400
  var background_size = area.css('background-size');
401
 
@@ -406,8 +531,7 @@
406
  'height' : height,
407
  'background-image' : background_image,
408
  'background-color' : background_color,
409
- 'background-position-x' : background_position_x,
410
- 'background-position-y' : background_position_y,
411
  'background-repeat' : background_repeat,
412
  'background-size' : background_size
413
  });
@@ -513,23 +637,21 @@
513
  var index = element.index();
514
  var slide_parent = element.closest('.cs-slide');
515
 
516
- element.clone().appendTo(element.parent());
 
 
 
517
  var element_options = slide_parent.find('.cs-elements-list .cs-element-settings').eq(index);
518
- element_options.clone().insertBefore(element_options.parent().find('.cs-void-text-element-settings'));
519
 
520
  crellyslider_deselectElements();
521
  crellyslider_selectElement(element.parent().find('.cs-element').last());
522
 
523
- // Clone fixes (Google "jQuery clone() bug")
524
  var cloned_options = element.parent().find('.cs-element').last().closest('.cs-slide').find('.cs-elements-list .cs-element-settings.active');
525
 
526
- cloned_options.find('.cs-element-data_in').val(element_options.find('.cs-element-data_in').val());
527
- cloned_options.find('.cs-element-data_out').val(element_options.find('.cs-element-data_out').val());
528
- cloned_options.find('.cs-element-custom_css').val(element_options.find('.cs-element-custom_css').val());
529
- if(element_options.hasClass('cs-image-element-settings')) {
530
- cloned_options.find('.cs-image-element-upload-button').data('src', element_options.find('.cs-image-element-upload-button').data('src'));
531
- cloned_options.find('.cs-image-element-upload-button').data('alt', element_options.find('.cs-image-element-upload-button').data('alt'));
532
- }
533
 
534
  // Make draggable
535
  crellyslider_draggableElements();
@@ -551,12 +673,28 @@
551
  $(this).closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').css('left', parseFloat($(this).val()));
552
  });
553
 
 
 
 
 
 
 
 
 
554
  // Modify top position
555
  $('.cs-admin').on('keyup', '.cs-elements .cs-elements-list .cs-element-settings .cs-element-data_top', function() {
556
  var index = $(this).closest('.cs-element-settings').index();
557
  $(this).closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').css('top', parseFloat($(this).val()));
558
  });
559
 
 
 
 
 
 
 
 
 
560
  // Modify z-index
561
  $('.cs-admin').on('keyup', '.cs-elements .cs-elements-list .cs-element-settings .cs-element-z_index', function() {
562
  var index = $(this).closest('.cs-element-settings').index();
@@ -579,6 +717,10 @@
579
  var reapply_css = false;
580
 
581
  if(textbox_link.val() != '' && !textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').parent('a').hasClass('cs-element')) {
 
 
 
 
582
  var link_new_tab = textbox_link.parent().find('.cs-element-link_new_tab').prop('checked') ? 'target="_blank"' : '';
583
  textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').wrap('<a href="' + textbox_link.val() + '"' + link_new_tab + ' />');
584
  copy_attributes = true;
@@ -607,6 +749,9 @@
607
  textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').css('left', textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').parent('a').css('left'));
608
  textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').css('z-index', textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').parent('a').css('z-index'));
609
 
 
 
 
610
  textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').unwrap();
611
  textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').parent('a').draggable('destroy');
612
  copy_attributes = false;
@@ -625,6 +770,7 @@
625
 
626
  if(reapply_css) {
627
  applyCustomCss(textbox_link.closest('.cs-element-settings').find('.cs-element-custom_css'));
 
628
  }
629
  }
630
 
@@ -641,11 +787,12 @@
641
  var z_index = textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').css('z-index');
642
 
643
  // Apply CSS
644
- if(! textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').is('a')) {
645
  textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').attr('style', textarea.val());
646
  }
647
  else {
648
  textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').attr('style', textarea.val());
 
649
  textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').removeAttr('style');
650
  }
651
  textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').css('top', top);
@@ -653,6 +800,38 @@
653
  textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').css('z-index', z_index);
654
  }
655
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
656
  // TEXT ELEMENTS
657
 
658
  // Add text click
@@ -782,6 +961,63 @@
782
  file_frame.open();
783
  }
784
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
785
  /******************/
786
  /** LIVE PREVIEW **/
787
  /******************/
@@ -820,6 +1056,38 @@
820
  elements.each(function() {
821
  var element = $(this);
822
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
823
  element.attr({
824
  'data-left' : parseInt(original_elements.eq(i).find('.cs-element-data_left').val()),
825
  'data-top' : parseInt(original_elements.eq(i).find('.cs-element-data_top').val()),
@@ -832,14 +1100,6 @@
832
  'data-ease-out' : parseInt(original_elements.eq(i).find('.cs-element-data_easeOut').val()),
833
  });
834
 
835
- element.removeAttr('style');
836
- element.attr('style', original_elements.eq(i).find('.cs-element-custom_css').val());
837
- element.css({
838
- 'z-index' : parseInt(original_elements.eq(i).find('.cs-element-z_index').val()),
839
- });
840
-
841
- element.removeAttr('class');
842
-
843
  i++;
844
  });
845
 
@@ -847,10 +1107,22 @@
847
  prev.wrapInner('<li />');
848
  prev.wrapInner('<ul />');
849
 
850
- // Set slide data and styles
851
  var slide = prev.find('ul > li');
852
  var original_slide = area.closest('.cs-slide');
853
  var content = original_slide.find('.cs-slide-settings-list');
 
 
 
 
 
 
 
 
 
 
 
 
854
  slide.attr({
855
  'data-in' : content.find('.cs-slide-data_in').val(),
856
  'data-out' : content.find('.cs-slide-data_out').val(),
@@ -863,8 +1135,7 @@
863
  slide.css({
864
  'background-image' : area.css('background-image') ,
865
  'background-color' : area.css('background-color') + "",
866
- 'background-position-x' : content.find('.cs-slide-background_propriety_position_x').val(),
867
- 'background-position-y' : content.find('.cs-slide-background_propriety_position_y').val(),
868
  'background-repeat' : content.find('input[name="cs-slide-background_repeat"]:checked').val() == '0' ? 'no-repeat' : 'repeat',
869
  'background-size' : content.find('.cs-slide-background_propriety_size').val(),
870
  });
@@ -885,6 +1156,16 @@
885
  'showProgressBar' : false,
886
  'pauseOnHover' : false,
887
  });
 
 
 
 
 
 
 
 
 
 
888
  }
889
 
890
  function crellyslider_stopLivePreview(slide_parent) {
@@ -901,11 +1182,22 @@
901
 
902
  // Save or update the new slider in the database
903
  $('.cs-admin .cs-slider .cs-save-settings').click(function() {
 
 
 
 
 
 
 
 
 
 
 
904
  crellyslider_saveSlider();
905
  });
906
 
907
  // Delete slider
908
- $('.cs-admin .cs-home .cs-sliders-list .cs-delete-slider').click(function() {
909
  var confirm = window.confirm(crellyslider_translations.slider_delete_confirm);
910
  if(!confirm) {
911
  return;
@@ -914,8 +1206,26 @@
914
  crellyslider_deleteSlider($(this));
915
  });
916
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
917
  // Sends an array with the new or current slider options
918
- function crellyslider_saveSlider() {
919
  var content = $('.cs-admin .cs-slider #cs-slider-settings');
920
  var options = {
921
  id : parseInt($('.cs-admin .cs-slider .cs-save-settings').data('id')),
@@ -963,8 +1273,7 @@
963
 
964
  error: function(XMLHttpRequest, textStatus, errorThrown) {
965
  alert('Error saving slider');
966
- alert("Status: " + textStatus);
967
- alert("Error: " + errorThrown);
968
  crellyslider_showError();
969
  }
970
  });
@@ -981,11 +1290,24 @@
981
  var slide = $(this);
982
  var content = slide.find('.cs-slide-settings-list');
983
 
 
 
 
 
 
 
 
 
 
 
 
984
  var options = {
 
985
  position : i,
986
 
987
  background_type_image : slide.find('.cs-slide-editing-area').css('background-image') == 'none' ? 'none' : slide.find('.cs-slide-editing-area').data('background-image-src') + "",
988
- background_type_color : content.find('input[name="cs-slide-background_type_color"]:checked').val() == '0' ? 'transparent' : slide.find('.cs-slide-editing-area').css('background-color') + "",
 
989
  background_propriety_position_x : content.find('.cs-slide-background_propriety_position_x').val(),
990
  background_propriety_position_y : content.find('.cs-slide-background_propriety_position_y').val(),
991
  background_repeat : content.find('input[name="cs-slide-background_repeat"]:checked').val() == '0' ? 'no-repeat' : 'repeat',
@@ -995,6 +1317,8 @@
995
  data_time : parseInt(content.find('.cs-slide-data_time').val()),
996
  data_easeIn : parseInt(content.find('.cs-slide-data_easeIn').val()),
997
  data_easeOut : parseInt(content.find('.cs-slide-data_easeOut').val()),
 
 
998
  custom_css : content.find('.cs-slide-custom_css').val(),
999
  };
1000
 
@@ -1015,7 +1339,7 @@
1015
  datas : final_options,
1016
  },
1017
  success: function(response) {
1018
- //alert('Save slides response: ' + response);
1019
  if(response !== false) {
1020
  crellyslider_saveElements();
1021
  }
@@ -1026,8 +1350,7 @@
1026
 
1027
  error: function(XMLHttpRequest, textStatus, errorThrown) {
1028
  alert('Error saving slides');
1029
- alert("Status: " + textStatus);
1030
- alert("Error: " + errorThrown);
1031
  crellyslider_showError();
1032
  }
1033
  });
@@ -1052,10 +1375,31 @@
1052
  return;
1053
  }
1054
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1055
  var options = {
 
1056
  slide_parent : i,
1057
  position : element.index(),
1058
- type : element.hasClass('cs-text-element-settings') ? 'text' : element.hasClass('cs-image-element-settings') ? 'image' : '',
1059
 
1060
  inner_html : element.hasClass('cs-text-element-settings') ? element.find('.cs-element-inner_html').val() : '',
1061
  image_src : element.hasClass('cs-image-element-settings') ? element.find('.cs-image-element-upload-button').data('src') : '',
@@ -1071,8 +1415,12 @@
1071
  data_easeIn : parseInt(element.find('.cs-element-data_easeIn').val()),
1072
  data_easeOut : parseInt(element.find('.cs-element-data_easeOut').val()),
1073
  custom_css : element.find('.cs-element-custom_css').val(),
1074
- link : element.find('.cs-element-link').val(),
 
1075
  link_new_tab : element.find('.cs-element-link_new_tab').prop('checked') ? 1 : 0,
 
 
 
1076
  };
1077
 
1078
  final_options['options'][j] = options;
@@ -1091,6 +1439,8 @@
1091
 
1092
  final_options['slider_parent'] = parseInt($('.cs-admin .cs-save-settings').data('id'));
1093
 
 
 
1094
  // Do the ajax call
1095
  jQuery.ajax({
1096
  type : 'POST',
@@ -1101,7 +1451,7 @@
1101
  datas : final_options,
1102
  },
1103
  success: function(response) {
1104
- //alert('Save elements response: ' + response);
1105
  if(response !== false) {
1106
  crellyslider_showSuccess();
1107
  }
@@ -1112,8 +1462,7 @@
1112
 
1113
  error: function(XMLHttpRequest, textStatus, errorThrown) {
1114
  alert('Error saving elements');
1115
- alert("Status: " + textStatus);
1116
- alert("Error: " + errorThrown);
1117
  crellyslider_showError();
1118
  }
1119
  });
@@ -1137,7 +1486,12 @@
1137
  success: function(response) {
1138
  //alert('Delete slider response: ' + response);
1139
  if(response !== false) {
1140
- content.parent().parent().remove();
 
 
 
 
 
1141
  crellyslider_showSuccess();
1142
  }
1143
  else {
@@ -1147,8 +1501,142 @@
1147
 
1148
  error: function(XMLHttpRequest, textStatus, errorThrown) {
1149
  alert('Error deleting slider');
1150
- alert("Status: " + textStatus);
1151
- alert("Error: " + errorThrown);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1152
  crellyslider_showError();
1153
  },
1154
  });
1
+ /************************/
2
+ /** EXTERNAL RESOURCES **/
3
+ /************************/
4
+
5
+ // An improved jQuery clone function that fixes some jQuery issues. https://github.com/spencertipping/jquery.fix.clone
6
+ // The function has been renamed and modified a bit to prevent compatibility issues
7
+ (function (original) {
8
+ jQuery.fn.crellyslider_betterClone = function () {
9
+ var result = original.apply(this, arguments),
10
+ my_textareas = this.find('textarea').add(this.filter('textarea')),
11
+ result_textareas = result.find('textarea').add(result.filter('textarea')),
12
+ my_selects = this.find('select').add(this.filter('select')),
13
+ result_selects = result.find('select').add(result.filter('select'));
14
+
15
+ for (var i = 0, l = my_textareas.length; i < l; ++i) jQuery(result_textareas[i]).val(jQuery(my_textareas[i]).val());
16
+ for (var i = 0, l = my_selects.length; i < l; ++i) {
17
+ for (var j = 0, m = my_selects[i].options.length; j < m; ++j) {
18
+ if (my_selects[i].options[j].selected === true) {
19
+ result_selects[i].options[j].selected = true;
20
+ }
21
+ }
22
+ }
23
+ return result;
24
+ };
25
+ }) (jQuery.fn.clone);
26
+
27
+ /*************/
28
+ /** BACKEND **/
29
+ /*************/
30
+
31
  (function($) {
32
  $(window).load(function() {
33
 
34
+ // Simulate keyup. Useful when textboxes change value
35
+ function crellyslider_keyup(element) {
36
+ $(element).trigger('keyup');
37
+ }
38
+
39
+ // Slider settings and slide tabs
40
+ $('#cs-show-slider-settings').click(function() {
41
+ $('#cs-slider-settings').fadeIn();
42
+ $('#cs-slides').hide();
43
+ });
44
+ $('#cs-show-slides').click(function() {
45
+ $('#cs-slides').fadeIn();
46
+ $('#cs-slider-settings').hide();
 
 
47
  });
48
 
49
  // Run draggables
50
  crellyslider_draggableElements();
51
 
52
  function crellyslider_showSuccess() {
53
+ $('.cs-admin .cs-message .cs-message-working').css('display', 'none');
54
+
55
  var target = $('.cs-admin .cs-message.cs-message-ok');
56
  target.css({
57
  'display' : 'block',
69
  }
70
 
71
  function crellyslider_showError() {
72
+ $('.cs-admin .cs-message .cs-message-working').css('display', 'none');
73
+
74
  var target = $('.cs-admin .cs-message.cs-message-error');
75
  target.css({
76
  'display' : 'block',
132
  /** SLIDES **/
133
  /************/
134
 
135
+ var slides_number = $('.cs-admin #cs-slides .cs-slide-tabs > ul > li').length - 1;
136
 
137
  // Run sortable
138
  var slide_before; // Contains the index before the sorting
140
  $('.cs-slide-tabs .cs-sortable').sortable({
141
  items: 'li:not(.ui-state-disabled)',
142
  cancel: '.ui-state-disabled',
143
+ connectWith: '.cs-slide-tabs .cs-sortable',
144
+ containment: 'parent',
145
+ placeholder: 'sortable-placeholder',
146
 
 
147
  start: function(event, ui) {
148
+ // Store the current index
149
  slide_before = $(ui.item).index();
150
+
151
+ ui.placeholder.height(ui.helper.height() - 1);
152
+ ui.placeholder.width(ui.helper.width() - 1);
153
  },
154
 
155
  // Change the .cs-slide order based on the new index and rename the tabs
156
+ update: function(event, ui) {
157
  // Store the new index
158
  slide_after = $(ui.item).index();
159
 
168
  }
169
 
170
  // Rename all the tabs
171
+ $('.cs-admin #cs-slides .cs-slide-tabs > ul > li').each(function() {
172
  var temp = $(this);
173
+ if(!temp.find('a').hasClass('cs-add-new')) {
174
+ temp.find('a').html('<span class="cs-slide-name-text">' + crellyslider_translations.slide + ' <span class="cs-slide-index">' + (temp.index() + 1) + '</span></span>');
175
  }
176
  });
177
  }
179
  $('.cs-slide-tabs .cs-sortable li').disableSelection();
180
 
181
  // Show the slide when clicking on the link
182
+ $('.cs-admin #cs-slides .cs-slide-tabs > ul > li > a').live('click', function() {
183
  // Do only if is not click add new
184
  if($(this).parent().index() != slides_number) {
185
+ // Stop previews
186
+ $('.cs-admin #cs-slides .cs-slide .cs-elements .cs-elements-actions .cs-live-preview').each(function() {
187
+ var btn = $(this);
188
+ var slide_parent = btn.closest('.cs-slide');
189
+
190
+ if(btn.hasClass('cs-live-preview-running')) {
191
+ btn.removeClass('cs-live-preview-running');
192
+ btn.text(crellyslider_translations.slide_live_preview);
193
+ crellyslider_stopLivePreview(slide_parent);
194
+ }
195
+ });
196
+
197
  // Hide all tabs
198
  $('.cs-admin #cs-slides .cs-slides-list .cs-slide').css('display', 'none');
199
  var tab = $(this).parent().index();
200
  $('.cs-admin #cs-slides .cs-slides-list .cs-slide:eq(' + tab + ')').css('display', 'block');
201
 
202
  // Active class
203
+ $('.cs-admin #cs-slides .cs-slide-tabs > ul > li').removeClass('active');
204
  $(this).parent().addClass('active');
205
  }
206
  });
211
 
212
  var void_slide = $('.cs-admin #cs-slides .cs-void-slide').html();
213
  // Insert the link at the end of the list
214
+ add_btn.parent().before('<li class="ui-state-default"><a><span class="cs-slide-name-text">' + crellyslider_translations.slide + ' <span class="cs-slide-index">' + (slides_number + 1) + '</span></span></a><span title="' + crellyslider_translations.duplicate_slide + '" class="cs-duplicate"></span><span title="' + crellyslider_translations.remove_slide + '" class="cs-close"></span></li>');
215
  // jQuery UI tabs are not working here. For now, just use a manual created tab
216
  $('.cs-admin #cs-slides .cs-slide-tab').tabs('refresh');
217
  // Create the slide
220
 
221
  // Open the tab just created
222
  var tab_index = add_btn.parent().index() - 1;
223
+ $('.cs-admin #cs-slides .cs-slide-tabs > ul > li').eq(tab_index).find('a').click();
224
 
225
  // Active class
226
+ $('.cs-admin #cs-slides .cs-slide-tabs > ul > li').removeClass('active');
227
+ $('.cs-admin #cs-slides .cs-slide-tabs > ul > li').eq(tab_index).addClass('active');
228
 
229
  // Set editing area sizes
230
  crellyslider_setSlidesEditingAreaSizes();
241
  crellyslider_addSlide();
242
  }
243
  else {
244
+ $('.cs-admin #cs-slides .cs-slide-tabs > ul > li').eq(0).find('a').click();
245
  }
246
 
247
  // Delete
248
+ $('.cs-admin #cs-slides .cs-slide-tabs > ul > li .cs-close').live('click', function() {
249
+ if($('.cs-admin #cs-slides .cs-slide-tabs > ul > li').length <= 2) {
250
  alert(crellyslider_translations.slide_delete_just_one);
251
  return;
252
  }
261
  var slide_index = $(this).parent().index();
262
 
263
  // If is deleting the current viewing slide, set the first as active
264
+ if($('.cs-admin #cs-slides .cs-slide-tabs > ul > li').eq(slide_index).hasClass('active') && slides_number != 0) {
265
+ $('.cs-admin #cs-slides .cs-slide-tabs > ul > li').eq(0).addClass('active');
266
  $('.cs-admin #cs-slides .cs-slides-list .cs-slide').css('display', 'none');
267
  $('.cs-admin #cs-slides .cs-slides-list .cs-slide').eq(0).css('display', 'block');
268
  }
274
 
275
  // Scale back all the slides text
276
  for(var i = slide_index; i < slides_number; i++) {
277
+ var slide = $('.cs-admin #cs-slides .cs-slide-tabs > ul > li').eq(i);
278
  var indx = parseInt(slide.find('.cs-slide-index').text());
279
  slide.find('.cs-slide-index').text(indx - 1);
280
  }
281
  });
282
+
283
+ // Duplicate
284
+ $('.cs-admin #cs-slides .cs-slide-tabs > ul > li .cs-duplicate').live('click', function() {
285
+ var slide_index = $(this).parent().index();
286
+ var slide = $('.cs-admin #cs-slides .cs-slides-list .cs-slide').eq(slide_index);
287
+
288
+ // Clone the slide settings table
289
+ slide.crellyslider_betterClone(true).appendTo(slide.parent()).css('display', 'none');
290
+
291
+ // Insert the link at the end of the list
292
+ $(this).parent().parent().find('.cs-add-new').parent().before('<li class="ui-state-default"><a><span class="cs-slide-name-text">' + crellyslider_translations.slide + ' <span class="cs-slide-index">' + (slides_number + 1) + '</span></span></a><span title="' + crellyslider_translations.duplicate_slide + '" class="cs-duplicate"></span><span title="' + crellyslider_translations.remove_slide + '" class="cs-close"></span></li>');
293
+ $('.cs-admin #cs-slides .cs-slide-tab').tabs('refresh');
294
+
295
+ crellyslider_draggableElements();
296
+
297
+ slides_number++;
298
+ });
299
 
300
  // Set correct size for the editing area
301
  function crellyslider_setSlidesEditingAreaSizes() {
319
  $('.cs-admin #cs-slides .cs-slides-list .cs-slide-settings-list .cs-slide-background_type_color-picker-input').wpColorPicker({
320
  // a callback to fire whenever the color changes to a valid color
321
  change: function(event, ui){
 
322
  var btn = $(this);
323
+ if(btn.closest('.cs-content').find('input[name="cs-slide-background_type_color"]:checked').val() != '1') {
324
+ btn.closest('.cs-content').find('input[name="cs-slide-background_type_color"][value="1"]:radio').prop('checked', true);
 
325
  }
326
+ var area = btn.closest('.cs-slide').find('.cs-elements .cs-slide-editing-area');
327
+ area.css('background-color', ui.color.toString());
328
  },
329
  // a callback to fire when the input is emptied or an invalid color
330
  clear: function() {},
336
  });
337
  }
338
 
339
+ // Set background color (transparent == 0, color-picker == 1 or manual == 2). For backward compatiblity, a "-1" is used to indicate that there were no way to set the bg color manually
340
  $('.cs-admin #cs-slides').on('change', '.cs-slides-list .cs-slide-settings-list input[name="cs-slide-background_type_color"]:radio', function() {
341
  var btn = $(this);
342
+ var btn_val = btn.val();
343
  var area = btn.closest('.cs-slide').find('.cs-elements .cs-slide-editing-area');
344
 
345
+ if(btn_val == '0') {
346
  area.css('background-color', '#fff');
347
  }
348
+ else if(btn_val == '1') {
349
  var color_picker_value = btn.closest('.cs-content').find('.wp-color-result').css('background-color');
350
  area.css('background-color', color_picker_value);
351
  }
352
+ else {
353
+ area.css('background-color', btn.closest('.cs-content').find('.cs-slide-background_type_color-manual').val());
354
+ }
355
+ });
356
+
357
+ $('.cs-admin #cs-slides').on('keyup', '.cs-slides-list .cs-slide-settings-list .cs-slide-background_type_color-manual', function() {
358
+ var text = $(this);
359
+ var val = text.val();
360
+ var area = text.closest('.cs-slide').find('.cs-elements .cs-slide-editing-area');
361
+
362
+ text.closest('.cs-slide').find('input[name="cs-slide-background_type_color"][value="2"]:radio').prop('checked', true);
363
+ area.css('background-color', val);
364
  });
365
 
366
  // Set background image (none or image)
384
  var slide_parent = $(this).closest('.cs-slide');
385
  crellyslider_addSlideImageBackground(slide_parent);
386
  }
387
+ else {
388
+ btn.closest('.cs-content').find('input[name="cs-slide-background_type_image"]').prop('checked', true);
389
+ var slide_parent = $(this).closest('.cs-slide');
390
+ crellyslider_addSlideImageBackground(slide_parent);
391
+ }
392
  });
393
  function crellyslider_addSlideImageBackground(slide_parent) {
394
  var area = slide_parent.find('.cs-slide-editing-area');
446
  // Background propriety: positions x and y
447
  $('.cs-admin #cs-slides').on('keyup', '.cs-slides-list .cs-slide-settings-list .cs-slide-background_propriety_position_x', function() {
448
  var text = $(this);
449
+ var area = text.closest('.cs-slide').find('.cs-elements .cs-slide-editing-area');
450
+
451
+ var x = text.val();
452
+ var y = text.parent().find('.cs-slide-background_propriety_position_y').val();
453
+
454
+ area.css('background-position', x + ' ' + y);
455
  });
456
  $('.cs-admin #cs-slides').on('keyup', '.cs-slides-list .cs-slide-settings-list .cs-slide-background_propriety_position_y', function() {
457
  var text = $(this);
 
458
  var area = text.closest('.cs-slide').find('.cs-elements .cs-slide-editing-area');
459
+
460
+ var x = text.parent().find('.cs-slide-background_propriety_position_x').val();
461
+ var y = text.val();
462
+
463
+ area.css('background-position', x + ' ' + y);
464
  });
465
 
466
  // Background propriety: size
472
  area.css('background-size', val);
473
  });
474
 
475
+ // Background presets
476
+ $('.cs-slide-background-image-fullwidth-preset').click(function() {
477
+ var text = $(this);
478
+ var area = text.closest('.cs-slide').find('.cs-elements .cs-slide-editing-area');
479
+ var settings = text.closest('.cs-slide');
480
+
481
+ settings.find('.cs-slide-background_propriety_position_x').val('center');
482
+ crellyslider_keyup(settings.find('.cs-slide-background_propriety_position_x'));
483
+
484
+ settings.find('.cs-slide-background_propriety_position_y').val('center');
485
+ crellyslider_keyup(settings.find('.cs-slide-background_propriety_position_y'));
486
+
487
+ settings.find('input[name="cs-slide-background_repeat"][value="0"]').prop('checked', true);
488
+ area.css('background-repeat', 'no-repeat');
489
+
490
+ settings.find('.cs-slide-background_propriety_size').val('cover');
491
+ crellyslider_keyup(settings.find('.cs-slide-background_propriety_size'));
492
+ });
493
+
494
+ $('.cs-slide-background-image-pattern-preset').click(function() {
495
+ var text = $(this);
496
+ var area = text.closest('.cs-slide').find('.cs-elements .cs-slide-editing-area');
497
+ var settings = text.closest('.cs-slide');
498
+
499
+ settings.find('.cs-slide-background_propriety_position_x').val(0);
500
+ crellyslider_keyup(settings.find('.cs-slide-background_propriety_position_x'));
501
+
502
+ settings.find('.cs-slide-background_propriety_position_y').val(0);
503
+ crellyslider_keyup(settings.find('.cs-slide-background_propriety_position_y'));
504
+
505
+ settings.find('input[name="cs-slide-background_repeat"][value="1"]').prop('checked', true);
506
+ area.css('background-repeat', 'repeat');
507
+
508
+ settings.find('.cs-slide-background_propriety_size').val('auto');
509
+ crellyslider_keyup(settings.find('.cs-slide-background_propriety_size'));
510
+ });
511
+
512
  // Apply custom CSS
513
  $('.cs-admin #cs-slides').on('keyup', '.cs-slides-list .cs-slide-settings-list .cs-slide-custom_css', function() {
514
  var text = $(this);
520
  var height = area.css('height');
521
  var background_image = area.css('background-image');
522
  var background_color = area.css('background-color');
523
+ var background_position = area.css('background-position');
 
524
  var background_repeat = area.css('background-repeat');
525
  var background_size = area.css('background-size');
526
 
531
  'height' : height,
532
  'background-image' : background_image,
533
  'background-color' : background_color,
534
+ 'background-position' : background_position,
 
535
  'background-repeat' : background_repeat,
536
  'background-size' : background_size
537
  });
637
  var index = element.index();
638
  var slide_parent = element.closest('.cs-slide');
639
 
640
+ element.clone().appendTo(element.parent()).css({
641
+ 'left' : '+=10',
642
+ 'top' : '+=10',
643
+ });
644
  var element_options = slide_parent.find('.cs-elements-list .cs-element-settings').eq(index);
645
+ element_options.crellyslider_betterClone(true).insertBefore(element_options.parent().find('.cs-void-text-element-settings'));
646
 
647
  crellyslider_deselectElements();
648
  crellyslider_selectElement(element.parent().find('.cs-element').last());
649
 
 
650
  var cloned_options = element.parent().find('.cs-element').last().closest('.cs-slide').find('.cs-elements-list .cs-element-settings.active');
651
 
652
+ // Move the element 10 pixels away
653
+ cloned_options.find('.cs-element-data_left').val(parseInt(element_options.find('.cs-element-data_left').val()) + 10);
654
+ cloned_options.find('.cs-element-data_top').val(parseInt(element_options.find('.cs-element-data_top').val()) + 10);
 
 
 
 
655
 
656
  // Make draggable
657
  crellyslider_draggableElements();
673
  $(this).closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').css('left', parseFloat($(this).val()));
674
  });
675
 
676
+ // Center horizontally
677
+ $('.cs-admin').on('click', '.cs-elements .cs-elements-list .cs-element-settings .cs-element-center-x', function() {
678
+ var index = $(this).closest('.cs-element-settings').index();
679
+ var left = parseInt(($('.cs-admin #cs-slider-settings .cs-slider-settings-list #cs-slider-startWidth').val() / 2) - (parseFloat($(this).closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').width()) / 2));
680
+ $(this).closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').css('left', left);
681
+ $(this).closest('.cs-elements').find('.cs-elements-list .cs-element-settings:eq(' + index + ') .cs-element-data_left').val(left);
682
+ });
683
+
684
  // Modify top position
685
  $('.cs-admin').on('keyup', '.cs-elements .cs-elements-list .cs-element-settings .cs-element-data_top', function() {
686
  var index = $(this).closest('.cs-element-settings').index();
687
  $(this).closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').css('top', parseFloat($(this).val()));
688
  });
689
 
690
+ // Center vertically
691
+ $('.cs-admin').on('click', '.cs-elements .cs-elements-list .cs-element-settings .cs-element-center-y', function() {
692
+ var index = $(this).closest('.cs-element-settings').index();
693
+ var top = parseInt(($('.cs-admin #cs-slider-settings .cs-slider-settings-list #cs-slider-startHeight').val() / 2) - (parseFloat($(this).closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').height()) / 2));
694
+ $(this).closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').css('top', top);
695
+ $(this).closest('.cs-elements').find('.cs-elements-list .cs-element-settings:eq(' + index + ') .cs-element-data_top').val(top);
696
+ });
697
+
698
  // Modify z-index
699
  $('.cs-admin').on('keyup', '.cs-elements .cs-elements-list .cs-element-settings .cs-element-z_index', function() {
700
  var index = $(this).closest('.cs-element-settings').index();
717
  var reapply_css = false;
718
 
719
  if(textbox_link.val() != '' && !textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').parent('a').hasClass('cs-element')) {
720
+ // Remove custom css classes
721
+ textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').removeClass(textbox_link.closest('.cs-element-settings').find('.cs-element-custom_css_classes').val());
722
+ textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').removeClass(textbox_link.closest('.cs-element-settings').find('.cs-element-custom_css_classes').val());
723
+
724
  var link_new_tab = textbox_link.parent().find('.cs-element-link_new_tab').prop('checked') ? 'target="_blank"' : '';
725
  textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').wrap('<a href="' + textbox_link.val() + '"' + link_new_tab + ' />');
726
  copy_attributes = true;
749
  textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').css('left', textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').parent('a').css('left'));
750
  textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').css('z-index', textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').parent('a').css('z-index'));
751
 
752
+ // Reapply custom css classes
753
+ crellyslider_applyCustomCssClasses(textbox_link.closest('.cs-element-settings').find('.cs-element-custom_css_classes'));
754
+
755
  textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').unwrap();
756
  textbox_link.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').parent('a').draggable('destroy');
757
  copy_attributes = false;
770
 
771
  if(reapply_css) {
772
  applyCustomCss(textbox_link.closest('.cs-element-settings').find('.cs-element-custom_css'));
773
+ crellyslider_applyCustomCssClasses(textbox_link.closest('.cs-element-settings').find('.cs-element-custom_css_classes'));
774
  }
775
  }
776
 
787
  var z_index = textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').css('z-index');
788
 
789
  // Apply CSS
790
+ if(! textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').is('a') && ! textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').hasClass('cs-video-element')) {
791
  textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').attr('style', textarea.val());
792
  }
793
  else {
794
  textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').attr('style', textarea.val());
795
+ textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > .cs-avoid-interaction').removeAttr('style');
796
  textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').removeAttr('style');
797
  }
798
  textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').css('top', top);
800
  textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').css('z-index', z_index);
801
  }
802
 
803
+ // Add custom CSS classes
804
+ $('.cs-admin').on('keydown', '.cs-elements .cs-elements-list .cs-element-settings .cs-element-custom_css_classes', function() {
805
+ var textarea = $(this);
806
+ var index = textarea.closest('.cs-element-settings').index();
807
+
808
+ if(! textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').is('a') && ! textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').hasClass('cs-video-element')) {
809
+ textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').removeClass(textarea.val());
810
+ }
811
+ else {
812
+ textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').removeClass(textarea.val());
813
+ var avoid_interaction = textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > .cs-avoid-interaction');
814
+ avoid_interaction.removeAttr('class');
815
+ avoid_interaction.addClass('cs-avoid-interaction');
816
+ }
817
+ });
818
+ $('.cs-admin').on('keyup', '.cs-elements .cs-elements-list .cs-element-settings .cs-element-custom_css_classes', function() {
819
+ crellyslider_applyCustomCssClasses($(this));
820
+ });
821
+ function crellyslider_applyCustomCssClasses(textarea) {
822
+ var index = textarea.closest('.cs-element-settings').index();
823
+
824
+ if(! textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').is('a') && ! textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').hasClass('cs-video-element')) {
825
+ textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')').addClass(textarea.val());
826
+ }
827
+ else {
828
+ textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > *').addClass(textarea.val());
829
+ var avoid_interaction = textarea.closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ') > .cs-avoid-interaction');
830
+ avoid_interaction.removeAttr('class');
831
+ avoid_interaction.addClass('cs-avoid-interaction');
832
+ }
833
+ }
834
+
835
  // TEXT ELEMENTS
836
 
837
  // Add text click
961
  file_frame.open();
962
  }
963
 
964
+ // VIDEO ELEMENTS
965
+
966
+ // Add video click
967
+ $('.cs-admin #cs-slides').on('click', '.cs-slide .cs-elements .cs-elements-actions .cs-add-video-element', function() {
968
+ var slide_parent = $(this).closest('.cs-slide');
969
+ crellyslider_addVideoElement(slide_parent);
970
+ });
971
+
972
+ // Adds a video container. Receives the slide as object
973
+ function crellyslider_addVideoElement(slide_parent) {
974
+ var area = slide_parent.find('.cs-slide-editing-area');
975
+ var settings_div = slide_parent.find('.cs-elements .cs-elements-list .cs-void-text-element-settings');
976
+ var settings = '<div class="cs-element-settings cs-video-element-settings">' + $('.cs-admin .cs-slide .cs-elements .cs-void-video-element-settings').html() + '</div>';
977
+
978
+ // Insert in editing area
979
+ area.append('<div class="cs-element cs-video-element" style="z-index: 1;"></div>');
980
+
981
+ // Insert the options
982
+ settings_div.before(settings);
983
+
984
+ // Make draggable
985
+ crellyslider_draggableElements();
986
+
987
+ // Display settings
988
+ crellyslider_selectElement(area.find('.cs-element').last());
989
+
990
+ // Select youtube video as default
991
+ area.find('.cs-element').last().closest('.cs-slide').find('.cs-elements .cs-elements-list .cs-element-video_src').trigger('change');
992
+ }
993
+
994
+ // Change video id
995
+ $('.cs-admin').on('change keyup input', '.cs-elements .cs-elements-list .cs-element-settings .cs-element-video_id', function() {
996
+ var index = $(this).closest('.cs-element-settings').index();
997
+ var element = $(this).closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')');
998
+
999
+ crellyslider_changeVideo($(this), element, $(this).parent().find('.cs-element-video_src').val(), $(this).val());
1000
+ });
1001
+ // Change video source
1002
+ $('.cs-admin').on('change', '.cs-elements .cs-elements-list .cs-element-settings .cs-element-video_src', function() {
1003
+ var index = $(this).closest('.cs-element-settings').index();
1004
+ var element = $(this).closest('.cs-elements').find('.cs-slide-editing-area .cs-element:eq(' + index + ')');
1005
+
1006
+ crellyslider_changeVideo($(this), element, $(this).val(), $(this).parent().find('.cs-element-video_id').val());
1007
+ });
1008
+ function crellyslider_changeVideo(input, element, source, video_id) {
1009
+ if(source == 'youtube') {
1010
+ element.html('<div class="cs-avoid-interaction"></div><iframe class="cs-yt-iframe" type="text/html" width="560" height="315" src="https://www.youtube.com/embed/' + video_id + '?enablejsapi=1" frameborder="0"></iframe>');
1011
+ }
1012
+ else {
1013
+ element.html('<div class="cs-avoid-interaction"></div><iframe class="cs-vimeo-iframe" src="https://player.vimeo.com/video/' + video_id + '?api=1" width="560" height="315" frameborder="0" ></iframe>');
1014
+ }
1015
+
1016
+ // Re-apply custom CSS and custom CSS classes
1017
+ crellyslider_keyup(input.closest('.cs-element-settings').find('.cs-element-custom_css'));
1018
+ crellyslider_keyup(input.closest('.cs-element-settings').find('.cs-element-custom_css_classes'));
1019
+ }
1020
+
1021
  /******************/
1022
  /** LIVE PREVIEW **/
1023
  /******************/
1056
  elements.each(function() {
1057
  var element = $(this);
1058
 
1059
+ element.removeAttr('style');
1060
+ element.attr('style', original_elements.eq(i).find('.cs-element-custom_css').val());
1061
+ element.css({
1062
+ 'z-index' : parseInt(original_elements.eq(i).find('.cs-element-z_index').val()),
1063
+ 'display' : 'none',
1064
+ });
1065
+
1066
+ element.removeAttr('class');
1067
+ element.addClass(original_elements.eq(i).find('.cs-element-custom_css_classes').val());
1068
+
1069
+ // Video elements settings only
1070
+ if(element.find('.cs-yt-iframe').length > 0) {
1071
+ element.find('.cs-avoid-interaction').remove();
1072
+ element = element.find('.cs-yt-iframe');
1073
+ element.unwrap();
1074
+ element.attr({
1075
+ 'data-autoplay' : parseInt(original_elements.eq(i).find('.cs-element-video_autoplay').val()),
1076
+ 'data-loop' : parseInt(original_elements.eq(i).find('.cs-element-video_loop').val()),
1077
+ });
1078
+ element.addClass('cs-yt-iframe ' + original_elements.eq(i).find('.cs-element-custom_css_classes').val());
1079
+ }
1080
+ else if(element.find('.cs-vimeo-iframe').length > 0) {
1081
+ element.find('.cs-avoid-interaction').remove();
1082
+ element = element.find('.cs-vimeo-iframe');
1083
+ element.unwrap();
1084
+ element.attr({
1085
+ 'data-autoplay' : parseInt(original_elements.eq(i).find('.cs-element-video_autoplay').val()),
1086
+ 'data-loop' : parseInt(original_elements.eq(i).find('.cs-element-video_loop').val()),
1087
+ });
1088
+ element.addClass('cs-vimeo-iframe ' + original_elements.eq(i).find('.cs-element-custom_css_classes').val());
1089
+ }
1090
+
1091
  element.attr({
1092
  'data-left' : parseInt(original_elements.eq(i).find('.cs-element-data_left').val()),
1093
  'data-top' : parseInt(original_elements.eq(i).find('.cs-element-data_top').val()),
1100
  'data-ease-out' : parseInt(original_elements.eq(i).find('.cs-element-data_easeOut').val()),
1101
  });
1102
 
 
 
 
 
 
 
 
 
1103
  i++;
1104
  });
1105
 
1107
  prev.wrapInner('<li />');
1108
  prev.wrapInner('<ul />');
1109
 
1110
+
1111
  var slide = prev.find('ul > li');
1112
  var original_slide = area.closest('.cs-slide');
1113
  var content = original_slide.find('.cs-slide-settings-list');
1114
+
1115
+ // Set slide link
1116
+ if(content.find('.cs-background-link').val() != '') {
1117
+ if(! content.find('.cs-background-link_new_tab').prop('checked')) {
1118
+ slide.prepend('<a class="cs-background-link" href="' + content.find('.cs-background-link').val() + '"></a>');
1119
+ }
1120
+ else {
1121
+ slide.prepend('<a class="cs-background-link" target="_blank" href="' + content.find('.cs-background-link').val() + '"></a>');
1122
+ }
1123
+ }
1124
+
1125
+ // Set slide data and styles
1126
  slide.attr({
1127
  'data-in' : content.find('.cs-slide-data_in').val(),
1128
  'data-out' : content.find('.cs-slide-data_out').val(),
1135
  slide.css({
1136
  'background-image' : area.css('background-image') ,
1137
  'background-color' : area.css('background-color') + "",
1138
+ 'background-position' : content.find('.cs-slide-background_propriety_position_x').val() + ' ' + content.find('.cs-slide-background_propriety_position_y').val(),
 
1139
  'background-repeat' : content.find('input[name="cs-slide-background_repeat"]:checked').val() == '0' ? 'no-repeat' : 'repeat',
1140
  'background-size' : content.find('.cs-slide-background_propriety_size').val(),
1141
  });
1156
  'showProgressBar' : false,
1157
  'pauseOnHover' : false,
1158
  });
1159
+
1160
+ // Warning: click on background links
1161
+ $('.cs-slide-live-preview-area a').click(function(event) {
1162
+ if($(this).prop('target') != '_blank') {
1163
+ var confirm = window.confirm(crellyslider_translations.exit_without_saving);
1164
+ if(! confirm) {
1165
+ event.preventDefault();
1166
+ }
1167
+ }
1168
+ });
1169
  }
1170
 
1171
  function crellyslider_stopLivePreview(slide_parent) {
1182
 
1183
  // Save or update the new slider in the database
1184
  $('.cs-admin .cs-slider .cs-save-settings').click(function() {
1185
+ $('.cs-admin #cs-slides .cs-live-preview').each(function() {
1186
+ var btn = $(this);
1187
+ var slide_parent = btn.closest('.cs-slide');
1188
+
1189
+ if(btn.hasClass('cs-live-preview-running')) {
1190
+ btn.removeClass('cs-live-preview-running');
1191
+ btn.text(crellyslider_translations.slide_live_preview);
1192
+ crellyslider_stopLivePreview(slide_parent);
1193
+ }
1194
+ });
1195
+
1196
  crellyslider_saveSlider();
1197
  });
1198
 
1199
  // Delete slider
1200
+ $('.cs-admin .cs-home').on('click', '.cs-sliders-list .cs-delete-slider', function() {
1201
  var confirm = window.confirm(crellyslider_translations.slider_delete_confirm);
1202
  if(!confirm) {
1203
  return;
1206
  crellyslider_deleteSlider($(this));
1207
  });
1208
 
1209
+ // Duplicate slider
1210
+ $('.cs-admin .cs-home').on('click', '.cs-sliders-list .cs-duplicate-slider', function() {
1211
+ crellyslider_duplicateSlider($(this));
1212
+ });
1213
+
1214
+ // Export slider
1215
+ $('.cs-admin .cs-home').on('click', '.cs-sliders-list .cs-export-slider', function() {
1216
+ crellyslider_exportSlider($(this));
1217
+ });
1218
+
1219
+ // Import slider
1220
+ $('.cs-admin .cs-home').on('click', '.cs-import-slider', function() {
1221
+ $('#cs-import-file').trigger('click');
1222
+ });
1223
+ $('.cs-admin .cs-home').on('change', '#cs-import-file', function() {
1224
+ crellyslider_importSlider();
1225
+ });
1226
+
1227
  // Sends an array with the new or current slider options
1228
+ function crellyslider_saveSlider() {
1229
  var content = $('.cs-admin .cs-slider #cs-slider-settings');
1230
  var options = {
1231
  id : parseInt($('.cs-admin .cs-slider .cs-save-settings').data('id')),
1273
 
1274
  error: function(XMLHttpRequest, textStatus, errorThrown) {
1275
  alert('Error saving slider');
1276
+ console.log(XMLHttpRequest.responseText);
 
1277
  crellyslider_showError();
1278
  }
1279
  });
1290
  var slide = $(this);
1291
  var content = slide.find('.cs-slide-settings-list');
1292
 
1293
+ var background_type_color;
1294
+ if(content.find('input[name="cs-slide-background_type_color"]:checked').val() == '0') {
1295
+ background_type_color = 'transparent';
1296
+ }
1297
+ else if(content.find('input[name="cs-slide-background_type_color"]:checked').val() == '1') {
1298
+ background_type_color = slide.find('.cs-slide-editing-area').css('background-color') + "";
1299
+ }
1300
+ else {
1301
+ background_type_color = content.find('.cs-slide-background_type_color-manual').val();
1302
+ }
1303
+
1304
  var options = {
1305
+ slider_parent : parseInt($('.cs-admin .cs-save-settings').data('id')),
1306
  position : i,
1307
 
1308
  background_type_image : slide.find('.cs-slide-editing-area').css('background-image') == 'none' ? 'none' : slide.find('.cs-slide-editing-area').data('background-image-src') + "",
1309
+ background_type_color : background_type_color,
1310
+ background_type_color_input : content.find('input[name="cs-slide-background_type_color"]:checked').val(),
1311
  background_propriety_position_x : content.find('.cs-slide-background_propriety_position_x').val(),
1312
  background_propriety_position_y : content.find('.cs-slide-background_propriety_position_y').val(),
1313
  background_repeat : content.find('input[name="cs-slide-background_repeat"]:checked').val() == '0' ? 'no-repeat' : 'repeat',
1317
  data_time : parseInt(content.find('.cs-slide-data_time').val()),
1318
  data_easeIn : parseInt(content.find('.cs-slide-data_easeIn').val()),
1319
  data_easeOut : parseInt(content.find('.cs-slide-data_easeOut').val()),
1320
+ link : slide.find('.cs-background-link').val(),
1321
+ link_new_tab : slide.find('.cs-background-link_new_tab').prop('checked') ? 1 : 0,
1322
  custom_css : content.find('.cs-slide-custom_css').val(),
1323
  };
1324
 
1339
  datas : final_options,
1340
  },
1341
  success: function(response) {
1342
+ //console.log('Save slides response: ' + response);
1343
  if(response !== false) {
1344
  crellyslider_saveElements();
1345
  }
1350
 
1351
  error: function(XMLHttpRequest, textStatus, errorThrown) {
1352
  alert('Error saving slides');
1353
+ console.log(XMLHttpRequest.responseText);
 
1354
  crellyslider_showError();
1355
  }
1356
  });
1375
  return;
1376
  }
1377
 
1378
+ // Get the type of the element
1379
+ var type;
1380
+ if(element.hasClass('cs-text-element-settings')) {
1381
+ type = 'text';
1382
+ }
1383
+ else if(element.hasClass('cs-image-element-settings')) {
1384
+ type = 'image';
1385
+ }
1386
+ else if(element.hasClass('cs-video-element-settings')) {
1387
+ if(element.find('.cs-element-video_src').val() == 'youtube') {
1388
+ type = 'youtube_video';
1389
+ }
1390
+ else {
1391
+ type = 'vimeo_video';
1392
+ }
1393
+ }
1394
+ else {
1395
+ type = 'undefined';
1396
+ }
1397
+
1398
  var options = {
1399
+ slider_parent : parseInt($('.cs-admin .cs-save-settings').data('id')),
1400
  slide_parent : i,
1401
  position : element.index(),
1402
+ type : type,
1403
 
1404
  inner_html : element.hasClass('cs-text-element-settings') ? element.find('.cs-element-inner_html').val() : '',
1405
  image_src : element.hasClass('cs-image-element-settings') ? element.find('.cs-image-element-upload-button').data('src') : '',
1415
  data_easeIn : parseInt(element.find('.cs-element-data_easeIn').val()),
1416
  data_easeOut : parseInt(element.find('.cs-element-data_easeOut').val()),
1417
  custom_css : element.find('.cs-element-custom_css').val(),
1418
+ custom_css_classes : element.find('.cs-element-custom_css_classes').val(),
1419
+ link : element.hasClass('cs-video-element-settings') ? '' : element.find('.cs-element-link').val(),
1420
  link_new_tab : element.find('.cs-element-link_new_tab').prop('checked') ? 1 : 0,
1421
+ video_id : element.hasClass('cs-video-element-settings') ? element.find('.cs-element-video_id').val() : '',
1422
+ video_loop : element.hasClass('cs-video-element-settings') ? parseInt(element.find('.cs-element-video_loop').val()) : -1,
1423
+ video_autoplay : element.hasClass('cs-video-element-settings') ? parseInt(element.find('.cs-element-video_autoplay').val()) : -1,
1424
  };
1425
 
1426
  final_options['options'][j] = options;
1439
 
1440
  final_options['slider_parent'] = parseInt($('.cs-admin .cs-save-settings').data('id'));
1441
 
1442
+ final_options['options'] = JSON.stringify(final_options['options']);
1443
+
1444
  // Do the ajax call
1445
  jQuery.ajax({
1446
  type : 'POST',
1451
  datas : final_options,
1452
  },
1453
  success: function(response) {
1454
+ //console.log(response);
1455
  if(response !== false) {
1456
  crellyslider_showSuccess();
1457
  }
1462
 
1463
  error: function(XMLHttpRequest, textStatus, errorThrown) {
1464
  alert('Error saving elements');
1465
+ console.log(XMLHttpRequest.responseText);
 
1466
  crellyslider_showError();
1467
  }
1468
  });
1486
  success: function(response) {
1487
  //alert('Delete slider response: ' + response);
1488
  if(response !== false) {
1489
+ if($('.cs-sliders-list .cs-delete-slider').length > 1) {
1490
+ content.parent().parent().remove();
1491
+ }
1492
+ else {
1493
+ location.reload();
1494
+ }
1495
  crellyslider_showSuccess();
1496
  }
1497
  else {
1501
 
1502
  error: function(XMLHttpRequest, textStatus, errorThrown) {
1503
  alert('Error deleting slider');
1504
+ console.log(XMLHttpRequest.responseText);
1505
+ crellyslider_showError();
1506
+ },
1507
+ });
1508
+ }
1509
+
1510
+ function crellyslider_duplicateSlider(content) {
1511
+ // Get options
1512
+ var options = {
1513
+ id : parseInt(content.data('duplicate')),
1514
+ };
1515
+
1516
+ // Do the ajax call
1517
+ jQuery.ajax({
1518
+ type : 'POST',
1519
+ dataType : 'json',
1520
+ url : ajaxurl,
1521
+ data : {
1522
+ action: 'crellyslider_duplicateSlider',
1523
+ datas : options,
1524
+ },
1525
+ success: function(response) {
1526
+ //console.log(response);
1527
+ if(response['response'] !== false) {
1528
+ var cloned_slider = content.parent().parent().clone().appendTo(content.parent().parent().parent());
1529
+ cloned_slider.find('.cs-slider-id').html(response['cloned_slider_id']);
1530
+ cloned_slider.find('.cs-slider-name a').html(response['cloned_slider_name']);
1531
+ cloned_slider.find('.cs-slider-name a').attr('href', '?page=crellyslider&view=edit&id=' + response['cloned_slider_id']);
1532
+ cloned_slider.find('.cs-slider-alias').html(response['cloned_slider_alias']);
1533
+ cloned_slider.find('.cs-slider-shortcode').html('[crellyslider alias="' + response['cloned_slider_alias'] + '"]');
1534
+ cloned_slider.find('.cs-edit-slider').attr('href', '?page=crellyslider&view=edit&id=' + response['cloned_slider_id']);
1535
+ cloned_slider.find('.cs-duplicate-slider').data('duplicate', response['cloned_slider_id']);
1536
+ cloned_slider.find('.cs-delete-slider').data('delete', response['cloned_slider_id']);
1537
+ cloned_slider.find('.cs-export-slider').data('export', response['cloned_slider_id']);
1538
+
1539
+ crellyslider_showSuccess();
1540
+ }
1541
+ else {
1542
+ crellyslider_showError();
1543
+ }
1544
+ },
1545
+
1546
+ error: function(XMLHttpRequest, textStatus, errorThrown) {
1547
+ alert('Error duplicating slider');
1548
+ console.log(XMLHttpRequest.responseText);
1549
+ crellyslider_showError();
1550
+ },
1551
+ });
1552
+ }
1553
+
1554
+ function crellyslider_exportSlider(content) {
1555
+ // Get options
1556
+ var options = {
1557
+ id : parseInt(content.data('export')),
1558
+ };
1559
+
1560
+ // Do the ajax call
1561
+ jQuery.ajax({
1562
+ type : 'POST',
1563
+ dataType : 'json',
1564
+ url : ajaxurl,
1565
+ data : {
1566
+ action: 'crellyslider_exportSlider',
1567
+ datas : options,
1568
+ },
1569
+ success: function(response) {
1570
+ if(response['response'] !== false) {
1571
+ window.location.href = response['url'];
1572
+ crellyslider_showSuccess();
1573
+ }
1574
+ else {
1575
+ crellyslider_showError();
1576
+ }
1577
+ },
1578
+
1579
+ error: function(XMLHttpRequest, textStatus, errorThrown) {
1580
+ alert('Error while exporting the slider');
1581
+ console.log(XMLHttpRequest.responseText);
1582
+ crellyslider_showError();
1583
+ },
1584
+ });
1585
+ }
1586
+
1587
+ function crellyslider_importSlider() {
1588
+ var file = $('#cs-import-file')[0].files[0];
1589
+
1590
+ if(! file) {
1591
+ return;
1592
+ }
1593
+
1594
+ // Reset input file. Prevents conflicts
1595
+ $('#cs-import-file').val('');
1596
+
1597
+ // Form data (for file uploads)
1598
+ var fd = new FormData();
1599
+ fd.append('file', file);
1600
+ fd.append('action', 'crellyslider_importSlider');
1601
+
1602
+ // Do the ajax call
1603
+ jQuery.ajax({
1604
+ type : 'POST',
1605
+ url : ajaxurl,
1606
+ contentType: false,
1607
+ processData : false,
1608
+ data : fd,
1609
+ success: function(response) {
1610
+ response = JSON.parse(response);
1611
+ //console.log(response);
1612
+ if(response['response'] !== false) {
1613
+ var content = $('.cs-sliders-list .cs-duplicate-slider:eq(0)');
1614
+ if(content.length > 0) {
1615
+ var imported_slider = content.parent().parent().clone().appendTo(content.parent().parent().parent());
1616
+ imported_slider.find('.cs-slider-id').html(response['imported_slider_id']);
1617
+ imported_slider.find('.cs-slider-name a').html(response['imported_slider_name']);
1618
+ imported_slider.find('.cs-slider-name a').attr('href', '?page=crellyslider&view=edit&id=' + response['imported_slider_id']);
1619
+ imported_slider.find('.cs-slider-alias').html(response['imported_slider_alias']);
1620
+ imported_slider.find('.cs-slider-shortcode').html('[crellyslider alias="' + response['imported_slider_alias'] + '"]');
1621
+ imported_slider.find('.cs-edit-slider').attr('href', '?page=crellyslider&view=edit&id=' + response['imported_slider_id']);
1622
+ imported_slider.find('.cs-duplicate-slider').data('duplicate', response['imported_slider_id']);
1623
+ imported_slider.find('.cs-delete-slider').data('delete', response['imported_slider_id']);
1624
+ imported_slider.find('.cs-delete-slider').data('export', response['imported_slider_id']);
1625
+ }
1626
+ else {
1627
+ location.reload();
1628
+ }
1629
+
1630
+ crellyslider_showSuccess();
1631
+ }
1632
+ else {
1633
+ crellyslider_showError();
1634
+ }
1635
+ },
1636
+
1637
+ error: function(XMLHttpRequest, textStatus, errorThrown) {
1638
+ alert('Error while importing the slider');
1639
+ console.log(XMLHttpRequest.responseText);
1640
  crellyslider_showError();
1641
  },
1642
  });
wordpress/languages/crellyslider-de_DE.mo ADDED
Binary file
wordpress/languages/crellyslider-de_DE.po ADDED
@@ -0,0 +1,685 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Crelly Slider 1.1.0\n"
4
+ "POT-Creation-Date: 2016-03-09 14:27+0100\n"
5
+ "PO-Revision-Date: 2016-03-12 20:22+0100\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: de_DE\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+
16
+ #: ../admin.php:48
17
+ msgid "JavaScript must be enabled to view this page correctly."
18
+ msgstr "Um die Seite korrekt anzuzeigen muss JavaScript aktiviert sein."
19
+
20
+ #: ../admin.php:51
21
+ msgid "Operation completed successfully."
22
+ msgstr "Vorgang wurde erfolgreich abgeschlossen."
23
+
24
+ #: ../admin.php:52
25
+ msgid "Something went wrong."
26
+ msgstr "Ups, etwas ist schief gelaufen."
27
+
28
+ #: ../admin.php:54
29
+ msgid ""
30
+ "When you'll click \"Save Settings\", you'll be able to add slides and "
31
+ "elements."
32
+ msgstr ""
33
+ "Nachdem Sie auf \"Save Settings\" geklickt haben, können Sie Slides und "
34
+ "Elemente hinzufügen"
35
+
36
+ #: ../admin.php:119
37
+ msgid "Slider Settings"
38
+ msgstr "Slider Einstellungen"
39
+
40
+ #: ../admin.php:123
41
+ msgid "Edit Slides"
42
+ msgstr "Slides bearbeiten"
43
+
44
+ #: ../admin.php:143
45
+ msgid "Save Settings"
46
+ msgstr "Einstellungen speichern"
47
+
48
+ #: ../admin.php:243 ../slides.php:15
49
+ msgid "Slide"
50
+ msgstr "Slide"
51
+
52
+ #: ../admin.php:244
53
+ msgid "The slide will be deleted. Are you sure?"
54
+ msgstr "Das Slide wird gelöscht - Sind Sie sicher?"
55
+
56
+ #: ../admin.php:245
57
+ msgid "You can't delete this. You must have at least one slide."
58
+ msgstr "Sie können das letzte Slide nicht löschen."
59
+
60
+ #: ../admin.php:246
61
+ msgid "The slider will be deleted. Are you sure?"
62
+ msgstr "Der Slider wird gelöscht - Sind Sie sicher?"
63
+
64
+ #: ../admin.php:247 ../elements.php:249
65
+ msgid "Text element"
66
+ msgstr "Text Element"
67
+
68
+ #: ../admin.php:248 ../elements.php:159
69
+ msgid "Live preview"
70
+ msgstr "Live Vorschau"
71
+
72
+ #: ../admin.php:249
73
+ msgid "Stop preview"
74
+ msgstr "Vorschau stoppen"
75
+
76
+ #: ../admin.php:250 ../slides.php:16
77
+ msgid "Duplicate slide"
78
+ msgstr "Slide duplizieren"
79
+
80
+ #: ../admin.php:251 ../slides.php:17
81
+ msgid "Delete slide"
82
+ msgstr "Slide löschen"
83
+
84
+ #: ../admin.php:252
85
+ msgid ""
86
+ "All unsaved changes will be lost. Are you sure you want to leave this page?"
87
+ msgstr ""
88
+ "Alle ungespeicherten Änderungen werden gelöscht - Wollen Sie die Seite "
89
+ "wirklich verlassen?"
90
+
91
+ #: ../ajax.php:282
92
+ msgid "Copy"
93
+ msgstr "Kopieren"
94
+
95
+ #: ../ajax.php:283
96
+ msgid "copy"
97
+ msgstr "kopieren"
98
+
99
+ #: ../elements.php:154
100
+ msgid "Add text"
101
+ msgstr "Text hinzufügen"
102
+
103
+ #: ../elements.php:155
104
+ msgid "Add image"
105
+ msgstr "Bild hinzufügen"
106
+
107
+ #: ../elements.php:156
108
+ msgid "Add video"
109
+ msgstr "Video hinzufügen"
110
+
111
+ #: ../elements.php:160
112
+ msgid "Delete element"
113
+ msgstr "Element löschen"
114
+
115
+ #: ../elements.php:161
116
+ msgid "Duplicate element"
117
+ msgstr "Element duplizieren"
118
+
119
+ #: ../elements.php:215 ../elements.php:466 ../elements.php:716 ../slides.php:51
120
+ #: ../slides.php:82 ../slides.php:127 ../slides.php:130
121
+ msgid "None"
122
+ msgstr "None"
123
+
124
+ #: ../elements.php:216 ../elements.php:467 ../elements.php:717 ../slides.php:58
125
+ msgid "Slide down"
126
+ msgstr "Slide runter"
127
+
128
+ #: ../elements.php:217 ../elements.php:468 ../elements.php:718 ../slides.php:57
129
+ msgid "Slide up"
130
+ msgstr "hinauf schieben"
131
+
132
+ #: ../elements.php:218 ../elements.php:469 ../elements.php:719 ../slides.php:55
133
+ msgid "Slide left"
134
+ msgstr "nach links schieben"
135
+
136
+ #: ../elements.php:219 ../elements.php:470 ../elements.php:720 ../slides.php:56
137
+ msgid "Slide right"
138
+ msgstr "nach rechts schieben"
139
+
140
+ #: ../elements.php:220 ../elements.php:471 ../elements.php:721 ../slides.php:52
141
+ msgid "Fade"
142
+ msgstr "Blenden"
143
+
144
+ #: ../elements.php:221 ../elements.php:472 ../elements.php:722
145
+ msgid "Fade down"
146
+ msgstr "unten blenden"
147
+
148
+ #: ../elements.php:222 ../elements.php:473 ../elements.php:723
149
+ msgid "Fade up"
150
+ msgstr "oben blenden"
151
+
152
+ #: ../elements.php:223 ../elements.php:474 ../elements.php:724 ../slides.php:53
153
+ msgid "Fade left"
154
+ msgstr "links blenden"
155
+
156
+ #: ../elements.php:224 ../elements.php:475 ../elements.php:725 ../slides.php:54
157
+ msgid "Fade right"
158
+ msgstr "rechts blenden"
159
+
160
+ #: ../elements.php:225 ../elements.php:476 ../elements.php:726
161
+ msgid "Fade small down"
162
+ msgstr "unten blenden(klein)"
163
+
164
+ #: ../elements.php:226 ../elements.php:477 ../elements.php:727
165
+ msgid "Fade small up"
166
+ msgstr "oben blenden(klein)"
167
+
168
+ #: ../elements.php:227 ../elements.php:478 ../elements.php:728
169
+ msgid "Fade small left"
170
+ msgstr "links blenden (klein)"
171
+
172
+ #: ../elements.php:228 ../elements.php:479 ../elements.php:729
173
+ msgid "Fade small right"
174
+ msgstr "rechts blenden (klein)"
175
+
176
+ #: ../elements.php:235 ../elements.php:486 ../elements.php:736
177
+ msgid "Element Options"
178
+ msgstr "Element Optionen"
179
+
180
+ #: ../elements.php:241 ../elements.php:491 ../elements.php:742 ../slider.php:59
181
+ #: ../slides.php:71
182
+ msgid "Option"
183
+ msgstr "Optionen"
184
+
185
+ #: ../elements.php:242 ../elements.php:492 ../elements.php:743 ../slider.php:60
186
+ #: ../slides.php:72
187
+ msgid "Parameter"
188
+ msgstr "Parameter"
189
+
190
+ #: ../elements.php:243 ../elements.php:493 ../elements.php:744 ../slider.php:61
191
+ #: ../slides.php:73
192
+ msgid "Description"
193
+ msgstr "Beschreibung"
194
+
195
+ #: ../elements.php:246
196
+ msgid "Text"
197
+ msgstr "Text"
198
+
199
+ #: ../elements.php:254
200
+ msgid "Write the text or the HTML."
201
+ msgstr "Text oder HTML eintragen"
202
+
203
+ #: ../elements.php:258 ../elements.php:508 ../elements.php:809
204
+ msgid "Left"
205
+ msgstr "Links"
206
+
207
+ #: ../elements.php:267 ../elements.php:517 ../elements.php:818
208
+ msgid "Center horizontally"
209
+ msgstr "Mitte horizontal"
210
+
211
+ #: ../elements.php:270 ../elements.php:520 ../elements.php:821
212
+ msgid "Left distance in px from the start width."
213
+ msgstr "linker Abstand in px zur Startbreite"
214
+
215
+ #: ../elements.php:274 ../elements.php:524 ../elements.php:825
216
+ msgid "Top"
217
+ msgstr "Oben"
218
+
219
+ #: ../elements.php:283 ../elements.php:533 ../elements.php:834
220
+ msgid "Center vertically"
221
+ msgstr "Mitte vertikal"
222
+
223
+ #: ../elements.php:286 ../elements.php:536 ../elements.php:837
224
+ msgid "Top distance in px from the start height."
225
+ msgstr "Oberer Abstand in px zur Starthöhr"
226
+
227
+ #: ../elements.php:290 ../elements.php:540 ../elements.php:841
228
+ msgid "Z - index"
229
+ msgstr "Z - Index"
230
+
231
+ #: ../elements.php:298 ../elements.php:548 ../elements.php:849
232
+ msgid ""
233
+ "An element with an high z-index will cover an element with a lower z-index "
234
+ "if they overlap."
235
+ msgstr ""
236
+ "Elemente mit höherem Z-Index überdecken Elemente mit niedriegerem Z-Index"
237
+
238
+ #: ../elements.php:302 ../elements.php:552 ../elements.php:853
239
+ msgid "Delay"
240
+ msgstr "Verzögerung"
241
+
242
+ #: ../elements.php:311 ../elements.php:561 ../elements.php:862
243
+ msgid "How long will the element wait before the entrance."
244
+ msgstr "Wie lange wartet das Element bevor es erscheint"
245
+
246
+ #: ../elements.php:315 ../elements.php:565 ../elements.php:866
247
+ #: ../slides.php:244
248
+ msgid "Time"
249
+ msgstr "Zeit"
250
+
251
+ #: ../elements.php:324 ../elements.php:574 ../elements.php:875
252
+ msgid "How long will the element be displayed during the slide execution."
253
+ msgstr "Wie lange wird das Element angezeigt"
254
+
255
+ #: ../elements.php:327 ../elements.php:577 ../elements.php:878
256
+ msgid "Write \"all\" to set the entire time."
257
+ msgstr "Schreibe \"all\" um die Gesamtzeit zu setzen"
258
+
259
+ #: ../elements.php:330 ../elements.php:580 ../elements.php:881
260
+ msgid ""
261
+ "Write \"3000\" to set 3000 milliseconds minus delay time (so, if the delay "
262
+ "time is 1000 milliseconds, the element will be displayed for 3000-1000=2000 "
263
+ "milliseconds)."
264
+ msgstr ""
265
+ "\"3000\" für 3000 ms (millisekunden) minus Verzögerungszeit (wenn die "
266
+ "Verzögerungszeit 1000 ms ist, wird das Element 2000 ms angezeigt "
267
+ "(3000-1000=2000)."
268
+
269
+ #: ../elements.php:334 ../elements.php:584 ../elements.php:885
270
+ #: ../slides.php:206
271
+ msgid "In animation"
272
+ msgstr "In Animation"
273
+
274
+ #: ../elements.php:349 ../elements.php:599 ../elements.php:900
275
+ msgid "The in animation of the element."
276
+ msgstr "Die Eingangs-Animation des Elements"
277
+
278
+ #: ../elements.php:353 ../elements.php:603 ../elements.php:904
279
+ #: ../slides.php:225
280
+ msgid "Out animation"
281
+ msgstr "Ausgangs-Animation"
282
+
283
+ #: ../elements.php:368 ../elements.php:371 ../elements.php:374
284
+ #: ../elements.php:618 ../elements.php:621 ../elements.php:624
285
+ #: ../elements.php:919 ../elements.php:922 ../elements.php:925
286
+ msgid "Disable synchronization with slide out animation"
287
+ msgstr "Synchronisierung mit der Ausgangsanimation nicht aktivieren"
288
+
289
+ #: ../elements.php:380 ../elements.php:630 ../elements.php:931
290
+ msgid ""
291
+ "The out animation of the element.<br /><br />Disable synchronization with "
292
+ "slide out animation: if not checked, the slide out animation won't start "
293
+ "until all the elements that have this option unchecked are animated out."
294
+ msgstr ""
295
+ "Die Ausgangs-Animation des Elements.<br /><br /> Synchronisierung mit der "
296
+ "Ausgangs-Animation nicht aktivieren: Wenn nicht markerit, beginnt die "
297
+ "Ausgangs-Animation nicht solange nicht alle Elemente die diese Option nicht "
298
+ "markiert haben, ausgeblendet sind."
299
+
300
+ #: ../elements.php:384 ../elements.php:634 ../elements.php:935
301
+ msgid "Ease in"
302
+ msgstr "Ease in"
303
+
304
+ #: ../elements.php:393 ../elements.php:643 ../elements.php:944
305
+ msgid "How long will the in animation take."
306
+ msgstr "Animationszeit"
307
+
308
+ #: ../elements.php:397 ../elements.php:647 ../elements.php:948
309
+ msgid "Ease out"
310
+ msgstr "Ease out"
311
+
312
+ #: ../elements.php:406 ../elements.php:656 ../elements.php:957
313
+ msgid "How long will the out animation take."
314
+ msgstr "Animationszeit"
315
+
316
+ #: ../elements.php:410 ../elements.php:660 ../slides.php:283
317
+ msgid "Link"
318
+ msgstr "Link"
319
+
320
+ #: ../elements.php:418 ../elements.php:421 ../elements.php:424
321
+ #: ../elements.php:668 ../elements.php:671 ../elements.php:674
322
+ #: ../slides.php:291 ../slides.php:294 ../slides.php:297
323
+ msgid "Open link in a new tab"
324
+ msgstr "In neuem Tab öffnen"
325
+
326
+ #: ../elements.php:430 ../elements.php:680
327
+ msgid ""
328
+ "Open the link (e.g.: http://www.google.it) on click. Leave it empty if you "
329
+ "don't want it."
330
+ msgstr ""
331
+ "Öffne einen Link (zB http://www.google.de) beim Klicken. Einfach leer "
332
+ "lassen, wenn dies nicht gewünscht ist."
333
+
334
+ #: ../elements.php:434 ../elements.php:684 ../elements.php:961
335
+ #: ../slides.php:307
336
+ msgid "Custom CSS"
337
+ msgstr "Custom CSS"
338
+
339
+ #: ../elements.php:442 ../elements.php:692 ../elements.php:969
340
+ msgid "Style the element."
341
+ msgstr "Element Style"
342
+
343
+ #: ../elements.php:446 ../elements.php:696 ../elements.php:973
344
+ msgid "Custom classes"
345
+ msgstr "Custom classes"
346
+
347
+ #: ../elements.php:454 ../elements.php:704 ../elements.php:981
348
+ msgid ""
349
+ "Apply custom CSS classes to the element. The style of the classes may not "
350
+ "work when working on backend."
351
+ msgstr ""
352
+ "Verwende Custom CSS Class für dieses Element. Der Style der Klasse wird im "
353
+ "Backend nicht funktionieren. "
354
+
355
+ #: ../elements.php:496
356
+ msgid "Modify image"
357
+ msgstr "Bild modifizieren"
358
+
359
+ #: ../elements.php:499 ../elements.php:500
360
+ msgid "Open gallery"
361
+ msgstr "Öffne Gallerie"
362
+
363
+ #: ../elements.php:504
364
+ msgid "Change the image source or the alt text."
365
+ msgstr "Die Bild Quelle oder den Alt-Text bearbeiten."
366
+
367
+ #: ../elements.php:747
368
+ msgid "Video source"
369
+ msgstr "Video Quelle"
370
+
371
+ #: ../elements.php:767
372
+ msgid "Set source and ID."
373
+ msgstr "Quelle und ID einstellen"
374
+
375
+ #: ../elements.php:771
376
+ msgid "Loop video"
377
+ msgstr "Loopvideo"
378
+
379
+ #: ../elements.php:786
380
+ msgid ""
381
+ "The video will automatically restart from the beginning when it reaches the "
382
+ "end."
383
+ msgstr "Das Video beginnt von neuem, wenn das Ende erreicht ist."
384
+
385
+ #: ../elements.php:790
386
+ msgid "Autoplay"
387
+ msgstr "Automatisch Starten"
388
+
389
+ #: ../elements.php:805
390
+ msgid "The video will automatically be played after the in animation."
391
+ msgstr "Das Video startet automatisch, wenn die Animation beendet ist."
392
+
393
+ #: ../frontend.php:25
394
+ msgid "You have to insert a valid alias in the shortcode"
395
+ msgstr "Bitte einen gültigen Alias in den Shortcode eintragen."
396
+
397
+ #: ../frontend.php:43 ../frontend.php:47
398
+ msgid "The slider hasn't been found"
399
+ msgstr "Der Slider kann nicht gefunden werden."
400
+
401
+ #: ../home.php:7
402
+ msgid "No Sliders found. Please add a new one."
403
+ msgstr "Keine Slider gefunden. Bitte einen neuen hinzufügen."
404
+
405
+ #: ../home.php:17
406
+ msgid "Sliders List"
407
+ msgstr "Slider Liste"
408
+
409
+ #: ../home.php:22
410
+ msgid "ID"
411
+ msgstr "ID"
412
+
413
+ #: ../home.php:23
414
+ msgid "Name"
415
+ msgstr "Name"
416
+
417
+ #: ../home.php:24
418
+ msgid "Alias"
419
+ msgstr "Alias"
420
+
421
+ #: ../home.php:25
422
+ msgid "Shortcode"
423
+ msgstr "Shortcode"
424
+
425
+ #: ../home.php:26
426
+ msgid "Actions"
427
+ msgstr "Aktionen"
428
+
429
+ #: ../home.php:36
430
+ msgid "Edit Slider"
431
+ msgstr "Slider bearbeiten"
432
+
433
+ #: ../home.php:37
434
+ msgid "Duplicate Slider"
435
+ msgstr "Slider duplizieren"
436
+
437
+ #: ../home.php:38
438
+ msgid "Export Slider"
439
+ msgstr "Slider exportieren"
440
+
441
+ #: ../home.php:39
442
+ msgid "Delete Slider"
443
+ msgstr "Slider löschen"
444
+
445
+ #: ../home.php:51
446
+ msgid "Add Slider"
447
+ msgstr "Slider hinzufügen"
448
+
449
+ #: ../home.php:52
450
+ msgid "Import Slider"
451
+ msgstr "Slider importieren"
452
+
453
+ #: ../slider.php:6
454
+ msgid "Full Width"
455
+ msgstr "Volle Breite"
456
+
457
+ #: ../slider.php:7
458
+ msgid "Fixed"
459
+ msgstr "Fixiert"
460
+
461
+ #: ../slider.php:10
462
+ msgid "Yes"
463
+ msgstr "Ja"
464
+
465
+ #: ../slider.php:11
466
+ msgid "No"
467
+ msgstr "Nein"
468
+
469
+ #: ../slider.php:17 ../slider.php:21
470
+ msgid "Slider Name"
471
+ msgstr "Slider Name"
472
+
473
+ #: ../slider.php:27
474
+ msgid "Alias:"
475
+ msgstr "Alias:"
476
+
477
+ #: ../slider.php:39
478
+ msgid "Shortcode:"
479
+ msgstr "Shortcode:"
480
+
481
+ #: ../slider.php:54
482
+ msgid "Slider General Options"
483
+ msgstr "Slider Generelle Optionen"
484
+
485
+ #: ../slider.php:64
486
+ msgid "Layout"
487
+ msgstr "Layout"
488
+
489
+ #: ../slider.php:79
490
+ msgid "Modify the layout type of the slider."
491
+ msgstr "Layouttype des Sliders verändern."
492
+
493
+ #: ../slider.php:83
494
+ msgid "Responsive"
495
+ msgstr "Responsive"
496
+
497
+ #: ../slider.php:98
498
+ msgid "The slider will be adapted to the screen size."
499
+ msgstr "Der Slider wird an die Bildschirmgröße angepasst"
500
+
501
+ #: ../slider.php:102
502
+ msgid "Start Width"
503
+ msgstr "Startbreite"
504
+
505
+ #: ../slider.php:111
506
+ msgid "The content initial width of the slider."
507
+ msgstr "Die initiale Breite des Contents im Slider"
508
+
509
+ #: ../slider.php:115
510
+ msgid "Start Height"
511
+ msgstr "Starthöhe"
512
+
513
+ #: ../slider.php:124
514
+ msgid "The content initial height of the slider."
515
+ msgstr "Die initiale Höhe des Contents im Slider"
516
+
517
+ #: ../slider.php:128
518
+ msgid "Automatic Slide"
519
+ msgstr "Automatische Slides"
520
+
521
+ #: ../slider.php:143
522
+ msgid "The slides loop is automatic."
523
+ msgstr "Die Slide-Schleife ist automatisch"
524
+
525
+ #: ../slider.php:147
526
+ msgid "Show Controls"
527
+ msgstr "Zeige Bedienelemente"
528
+
529
+ #: ../slider.php:162
530
+ msgid "Show the previous and next arrows."
531
+ msgstr "Zeige Pfeile für nächstes und letztes "
532
+
533
+ #: ../slider.php:166
534
+ msgid "Show Navigation"
535
+ msgstr "Zeige Navigation"
536
+
537
+ #: ../slider.php:181
538
+ msgid "Show the links buttons to change slide."
539
+ msgstr "Zeige Links Knöpfe zum Slide ändern."
540
+
541
+ #: ../slider.php:185
542
+ msgid "Enable swipe and drag"
543
+ msgstr "Aktiviere Ziehen und Verschieben"
544
+
545
+ #: ../slider.php:200
546
+ msgid "Enable swipe left, swipe right, drag left, drag right commands."
547
+ msgstr "Aktiviere links / rechts ziehen und verschieben Kommandos."
548
+
549
+ #: ../slider.php:204
550
+ msgid "Show Progress Bar"
551
+ msgstr "Zeige Fortschrittsbalken"
552
+
553
+ #: ../slider.php:219
554
+ msgid "Draw the progress bar during the slide execution."
555
+ msgstr "Zeichne den Fortschrittsbalken während der SLide Abarbeitung"
556
+
557
+ #: ../slider.php:223
558
+ msgid "Pause on Hover"
559
+ msgstr "Pause bei Mausüber"
560
+
561
+ #: ../slider.php:238
562
+ msgid "Pause the current slide when hovered."
563
+ msgstr "Pausiere das aktuelle Slide wenn der Mauszeiger darüber ist."
564
+
565
+ #: ../slider.php:242
566
+ msgid "Callbacks"
567
+ msgstr "Callbacks"
568
+
569
+ #: ../slider.php:260
570
+ msgid "Some jQuery functions that you can fire during the slider execution."
571
+ msgstr ""
572
+ "Einige jQuery Funktionen, die wären der Slider Abarbeitung ausgelöst werden "
573
+ "können."
574
+
575
+ #: ../slides.php:24
576
+ msgid "Add Slide"
577
+ msgstr "Slide hinzufügen"
578
+
579
+ #: ../slides.php:65
580
+ msgid "Slide Options"
581
+ msgstr "Slide Optionen"
582
+
583
+ #: ../slides.php:76
584
+ msgid "Background"
585
+ msgstr "Hintergrund"
586
+
587
+ #: ../slides.php:80 ../slides.php:124
588
+ msgid "Background image:"
589
+ msgstr "Hintergrund Grafik"
590
+
591
+ #: ../slides.php:83 ../slides.php:128 ../slides.php:131
592
+ msgid "Select image"
593
+ msgstr "Wähle Grafik"
594
+
595
+ #: ../slides.php:89 ../slides.php:138
596
+ msgid "Background color:"
597
+ msgstr "Hintergrund Farbe"
598
+
599
+ #: ../slides.php:93 ../slides.php:143 ../slides.php:145
600
+ msgid "Transparent"
601
+ msgstr "Transparent"
602
+
603
+ #: ../slides.php:97 ../slides.php:159
604
+ msgid "Enter value"
605
+ msgstr "Wert Eingabe"
606
+
607
+ #: ../slides.php:103 ../slides.php:166
608
+ msgid "Background position-x:"
609
+ msgstr "Hintergrund Position X:"
610
+
611
+ #: ../slides.php:106 ../slides.php:169
612
+ msgid "Background position-y:"
613
+ msgstr "Hintergrund Position Y:"
614
+
615
+ #: ../slides.php:112 ../slides.php:175
616
+ msgid "Background repeat:"
617
+ msgstr "Hintergrund wiederholen:"
618
+
619
+ #: ../slides.php:114 ../slides.php:178 ../slides.php:181
620
+ msgid "Repeat"
621
+ msgstr "Wiederholen"
622
+
623
+ #: ../slides.php:115 ../slides.php:179 ../slides.php:182
624
+ msgid "No repeat"
625
+ msgstr "Keine Wiederholung"
626
+
627
+ #: ../slides.php:121 ../slides.php:189
628
+ msgid "Background size:"
629
+ msgstr "Hintergrund Größe:"
630
+
631
+ #: ../slides.php:194
632
+ msgid "The background of the slide and its proprieties."
633
+ msgstr "Der Hinterung des Slides und seine Eigenschaften."
634
+
635
+ #: ../slides.php:197
636
+ msgid "Presets:"
637
+ msgstr "Voreinstellungen:"
638
+
639
+ #: ../slides.php:200
640
+ msgid "Full width responsive background image"
641
+ msgstr "Volle Breite des Responsive Hintergrundbildes"
642
+
643
+ #: ../slides.php:201
644
+ msgid "Pattern background image"
645
+ msgstr "Muster Hintergrund Bild"
646
+
647
+ #: ../slides.php:221
648
+ msgid "The in animation of the slide."
649
+ msgstr "Die Eingangsanimation des Slides"
650
+
651
+ #: ../slides.php:240
652
+ msgid "The out animation of the slide."
653
+ msgstr "Die Ausgangsanimation des Slides"
654
+
655
+ #: ../slides.php:253
656
+ msgid "The time that the slide will remain on the screen."
657
+ msgstr "Die Zeit, die das Slide am Bildschirm zu sehen ist. "
658
+
659
+ #: ../slides.php:257
660
+ msgid "Ease In"
661
+ msgstr "Ease In"
662
+
663
+ #: ../slides.php:266
664
+ msgid "The time that the slide will take to get in."
665
+ msgstr "Die Zeit die das Slide zum Erscheinen braucht."
666
+
667
+ #: ../slides.php:270
668
+ msgid "Ease Out"
669
+ msgstr "Ease Out"
670
+
671
+ #: ../slides.php:279
672
+ msgid "The time that the slide will take to get out."
673
+ msgstr "Die zeit die das Slide zum Verschwinden braucht."
674
+
675
+ #: ../slides.php:303
676
+ msgid ""
677
+ "Open the link (e.g.: http://www.google.it) when the user clicks on the "
678
+ "background. Leave it empty if you don't want it."
679
+ msgstr ""
680
+ "Öffnet den Link(zB http://www.google.de) wenn der User auf den Hintergrunde "
681
+ "klicht. Bitte leer lasen, falls nicht gewünscht."
682
+
683
+ #: ../slides.php:315
684
+ msgid "Apply CSS to the slide."
685
+ msgstr "CSS auf das Slide anwenden"
wordpress/languages/crellyslider-es_ES.mo CHANGED
Binary file
wordpress/languages/crellyslider-es_ES.po CHANGED
@@ -1,191 +1,242 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Crelly Slider 0.8.2\n"
4
- "POT-Creation-Date: 2015-03-15 13:30+0100\n"
5
- "PO-Revision-Date: 2015-03-15 13:31+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
- "Language: es_ES\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.7\n"
 
13
  "X-Poedit-Basepath: .\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
- "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
- #: ../admin.php:50
19
  msgid "JavaScript must be enabled to view this page correctly."
20
  msgstr "Debes habilitar JavaScript para ver correctamente esta página."
21
 
22
- #: ../admin.php:53
23
  msgid "Operation completed successfully."
24
  msgstr "Operación completada satisfactoriamente."
25
 
26
- #: ../admin.php:54
27
  msgid "Something went wrong."
28
  msgstr "Algo salió mal."
29
 
30
- #: ../admin.php:56
31
  msgid ""
32
  "When you'll click \"Save Settings\", you'll be able to add slides and "
33
  "elements."
34
- msgstr "Cuando hagas clic en guardar podrás agregar diapositivas y elementos."
 
35
 
36
- #: ../admin.php:121
37
  msgid "Slider Settings"
38
  msgstr "Ajustes"
39
 
40
- #: ../admin.php:125
41
  msgid "Edit Slides"
42
  msgstr "Editar Diapositivas"
43
 
44
- #: ../admin.php:145
45
  msgid "Save Settings"
46
  msgstr "Guardar Ajustes"
47
 
48
- #: ../admin.php:244 ../slides.php:15
49
  msgid "Slide"
50
  msgstr "Diapositiva"
51
 
52
- #: ../admin.php:245
53
  msgid "The slide will be deleted. Are you sure?"
54
  msgstr "La diapositiva será borrada, ¿Estás seguro?"
55
 
56
- #: ../admin.php:246
57
  msgid "You can't delete this. You must have at least one slide."
58
- msgstr "No puedes borrar esto. Debes tener al menos una diapositiva"
59
 
60
- #: ../admin.php:247
61
  msgid "The slider will be deleted. Are you sure?"
62
  msgstr "La diapositiva será borrada, ¿Estás seguro?"
63
 
64
- #: ../admin.php:248 ../elements.php:190
65
  msgid "Text element"
66
  msgstr "Elemento de texto"
67
 
68
- #: ../admin.php:249 ../elements.php:112
69
  msgid "Live preview"
70
  msgstr "Previsualizar diapositivas"
71
 
72
- #: ../admin.php:250
73
  msgid "Stop preview"
74
- msgstr "Detener diapositivas"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
 
76
- #: ../elements.php:108
 
 
 
 
 
 
 
 
77
  msgid "Add text"
78
  msgstr "Agregar texto"
79
 
80
- #: ../elements.php:109
81
  msgid "Add image"
82
  msgstr "Agregar imagen"
83
 
84
- #: ../elements.php:113
 
 
 
 
85
  msgid "Delete element"
86
  msgstr "Borrar elemento"
87
 
88
- #: ../elements.php:114
89
  msgid "Duplicate element"
90
  msgstr "Duplicar elemento"
91
 
92
- #: ../elements.php:157 ../elements.php:383 ../slides.php:55
 
 
 
 
 
 
93
  msgid "Slide down"
94
  msgstr "Deslizar hacia abajo"
95
 
96
- #: ../elements.php:158 ../elements.php:384 ../slides.php:54
 
97
  msgid "Slide up"
98
  msgstr "Deslizar hacia arriba"
99
 
100
- #: ../elements.php:159 ../elements.php:385 ../slides.php:52
 
101
  msgid "Slide left"
102
  msgstr "Deslizar hacia la izquierda"
103
 
104
- #: ../elements.php:160 ../elements.php:386 ../slides.php:53
 
105
  msgid "Slide right"
106
  msgstr "Deslizar hacia la derecha"
107
 
108
- #: ../elements.php:161 ../elements.php:387 ../slides.php:49
 
109
  msgid "Fade"
110
  msgstr "Desvanecer"
111
 
112
- #: ../elements.php:162 ../elements.php:388
113
  msgid "Fade down"
114
  msgstr "Desvanecer hacia abajo"
115
 
116
- #: ../elements.php:163 ../elements.php:389
117
  msgid "Fade up"
118
  msgstr "Desvanecer hacia arriba"
119
 
120
- #: ../elements.php:164 ../elements.php:390 ../slides.php:50
 
121
  msgid "Fade left"
122
  msgstr "Desvanecer hacia la izquierda"
123
 
124
- #: ../elements.php:165 ../elements.php:391 ../slides.php:51
 
125
  msgid "Fade right"
126
  msgstr "Desvanecer hacia la derecha"
127
 
128
- #: ../elements.php:166 ../elements.php:392
129
  msgid "Fade small down"
130
  msgstr "Desvanecer ligeramente hacia abajo"
131
 
132
- #: ../elements.php:167 ../elements.php:393
133
  msgid "Fade small up"
134
  msgstr "Desvanecer ligeramente hacia arriba"
135
 
136
- #: ../elements.php:168 ../elements.php:394
137
  msgid "Fade small left"
138
  msgstr "Desvanecer ligeramente hacia la izquierda"
139
 
140
- #: ../elements.php:169 ../elements.php:395
141
  msgid "Fade small right"
142
  msgstr "Desvanecer ligeramente hacia la derecha"
143
 
144
- #: ../elements.php:176 ../elements.php:402
145
  msgid "Element Options"
146
  msgstr "Opciones de elementos"
147
 
148
- #: ../elements.php:182 ../elements.php:407 ../slider.php:59 ../slides.php:68
 
149
  msgid "Option"
150
  msgstr "Opción"
151
 
152
- #: ../elements.php:183 ../elements.php:408 ../slider.php:60 ../slides.php:69
 
153
  msgid "Parameter"
154
- msgstr "Parámetros"
155
 
156
- #: ../elements.php:184 ../elements.php:409 ../slider.php:61 ../slides.php:70
 
157
  msgid "Description"
158
  msgstr "Descripción"
159
 
160
- #: ../elements.php:187
161
  msgid "Text"
162
  msgstr "Texto"
163
 
164
- #: ../elements.php:195
165
  msgid "Write the text or the HTML."
166
  msgstr "Escribe el texto o el HTML"
167
 
168
- #: ../elements.php:199 ../elements.php:424
169
  msgid "Left"
170
  msgstr "Izquierda"
171
 
172
- #: ../elements.php:208 ../elements.php:433
 
 
 
 
173
  msgid "Left distance in px from the start width."
174
  msgstr "Distancia en píxeles desde la izquierda desde el ancho inicial."
175
 
176
- #: ../elements.php:212 ../elements.php:437
177
  msgid "Top"
178
  msgstr "Arriba"
179
 
180
- #: ../elements.php:221 ../elements.php:446
 
 
 
 
181
  msgid "Top distance in px from the start height."
182
  msgstr "Distancia en píxeles desde arriba a partir de la altura inicial."
183
 
184
- #: ../elements.php:225 ../elements.php:450
185
  msgid "Z - index"
186
  msgstr "Z - index"
187
 
188
- #: ../elements.php:233 ../elements.php:458
189
  msgid ""
190
  "An element with an high z-index will cover an element with a lower z-index "
191
  "if they overlap."
@@ -193,105 +244,161 @@ msgstr ""
193
  "Un elemento con un z-index mayor cubrirá un elemento con uno menor, si se "
194
  "sobreponen."
195
 
196
- #: ../elements.php:237 ../elements.php:462
197
  msgid "Delay"
198
  msgstr "Retraso"
199
 
200
- #: ../elements.php:246 ../elements.php:471
201
  msgid "How long will the element wait before the entrance."
202
  msgstr "Cuanto tardará el elemento en hacer su entrada"
203
 
204
- #: ../elements.php:250 ../elements.php:475 ../slides.php:214
 
205
  msgid "Time"
206
  msgstr "Tiempo"
207
 
208
- #: ../elements.php:259 ../elements.php:484
209
- msgid ""
210
- "How long will the element be displayed during the slide execution. Write "
211
- "\"all\" to set the entire time."
212
  msgstr ""
213
  "Cuánto tiempo se mostrará el elemento mientras la diapositiva se muestra."
214
 
215
- #: ../elements.php:263 ../elements.php:488 ../slides.php:176
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
216
  msgid "In animation"
217
  msgstr "Animación de entrada"
218
 
219
- #: ../elements.php:278 ../elements.php:503
220
  msgid "The in animation of the element."
221
  msgstr "La animación de entrada del elemento"
222
 
223
- #: ../elements.php:282 ../elements.php:507 ../slides.php:195
 
224
  msgid "Out animation"
225
  msgstr "Animación de salida"
226
 
227
- #: ../elements.php:297 ../elements.php:300 ../elements.php:303
228
- #: ../elements.php:522 ../elements.php:525 ../elements.php:528
 
229
  msgid "Disable synchronization with slide out animation"
230
  msgstr ""
231
  "Deshabilitar la sincronización con la animación de salida de la diapositiva"
232
 
233
- #: ../elements.php:309 ../elements.php:534
234
  msgid ""
235
  "The out animation of the element.<br /><br />Disable synchronization with "
236
  "slide out animation: if not checked, the slide out animation won't start "
237
  "until all the elements that have this option unchecked are animated out."
238
  msgstr ""
239
- "Animación de salida del elemento. <br /><br />Deshabilitar la sincronización "
240
- "con la salida de la animación: si no está marcada, la salida de la animación "
241
- "no comenzará hasta que todos los elementos que tengan esta opción sin marcar "
242
- "hayan hecho su salida"
243
 
244
- #: ../elements.php:313 ../elements.php:538
245
  msgid "Ease in"
246
  msgstr "Suavizado de entrada"
247
 
248
- #: ../elements.php:322 ../elements.php:547
249
  msgid "How long will the in animation take."
250
  msgstr "Cuánto tardará la animación"
251
 
252
- #: ../elements.php:326 ../elements.php:551
253
  msgid "Ease out"
254
  msgstr "Suavizado de salida."
255
 
256
- #: ../elements.php:335 ../elements.php:560
257
  msgid "How long will the out animation take."
258
  msgstr "Cuánto tardará la animación de salida."
259
 
260
- #: ../elements.php:339 ../elements.php:564
261
  msgid "Link"
262
  msgstr "Enlace"
263
 
264
- #: ../elements.php:347 ../elements.php:350 ../elements.php:353
265
- #: ../elements.php:572 ../elements.php:575 ../elements.php:578
 
266
  msgid "Open link in a new tab"
267
  msgstr "Abrir enlace en ventana nueva"
268
 
269
- #: ../elements.php:359 ../elements.php:584
270
  msgid ""
271
  "Open the link (e.g.: http://www.google.it) on click. Leave it empty if you "
272
  "don't want it."
273
  msgstr "Abrir el enlace al hacer clic en él"
274
 
275
- #: ../elements.php:363 ../elements.php:588 ../slides.php:253
 
276
  msgid "Custom CSS"
277
  msgstr "Estilo CSS personalizado"
278
 
279
- #: ../elements.php:371 ../elements.php:596
280
  msgid "Style the element."
281
  msgstr "Estilizar el elemento"
282
 
283
- #: ../elements.php:412
 
 
 
 
 
 
 
 
 
 
 
 
284
  msgid "Modify image"
285
  msgstr "Modificar imagen"
286
 
287
- #: ../elements.php:415 ../elements.php:416
288
  msgid "Open gallery"
289
  msgstr "Abrir galería"
290
 
291
- #: ../elements.php:420
292
  msgid "Change the image source or the alt text."
293
  msgstr "Cambia la fuente de la imagen o el texto ALT"
294
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
295
  #: ../frontend.php:25
296
  msgid "You have to insert a valid alias in the shortcode"
297
  msgstr "Introduce un alias válido en el shortcode"
@@ -333,13 +440,25 @@ msgid "Edit Slider"
333
  msgstr "Editar Diapositiva"
334
 
335
  #: ../home.php:37
 
 
 
 
 
 
 
 
336
  msgid "Delete Slider"
337
  msgstr "Borrar Diapositiva"
338
 
339
- #: ../home.php:49
340
  msgid "Add Slider"
341
  msgstr "Agregar diapositiva"
342
 
 
 
 
 
343
  #: ../slider.php:6
344
  msgid "Full Width"
345
  msgstr "Ancho completo"
@@ -462,94 +581,114 @@ msgstr ""
462
  "Algunas funciones de jQuery que puedes lanzar durante la ejecución de la "
463
  "diapositiva"
464
 
465
- #: ../slides.php:23
466
  msgid "Add Slide"
467
  msgstr "Agregar diapositiva"
468
 
469
- #: ../slides.php:62
470
  msgid "Slide Options"
471
  msgstr "Opciones de diapositiva"
472
 
473
- #: ../slides.php:73
474
  msgid "Background"
475
  msgstr "Fondo"
476
 
477
- #: ../slides.php:77 ../slides.php:116
478
  msgid "Background image:"
479
  msgstr "Imagen de fondo:"
480
 
481
- #: ../slides.php:79 ../slides.php:119 ../slides.php:122
482
- msgid "None"
483
- msgstr "Nada"
484
-
485
- #: ../slides.php:80 ../slides.php:120 ../slides.php:123
486
  msgid "Select image"
487
  msgstr "Selecciona la imagen"
488
 
489
- #: ../slides.php:86 ../slides.php:130
490
  msgid "Background color:"
491
  msgstr "Color de fondo:"
492
 
493
- #: ../slides.php:88 ../slides.php:133 ../slides.php:136
494
  msgid "Transparent"
495
  msgstr "Transparente"
496
 
497
- #: ../slides.php:95 ../slides.php:144
 
 
 
 
498
  msgid "Background position-x:"
499
  msgstr "Posición X del fondo"
500
 
501
- #: ../slides.php:98 ../slides.php:147
502
  msgid "Background position-y:"
503
  msgstr "Posición Y del fondo"
504
 
505
- #: ../slides.php:104 ../slides.php:153
506
  msgid "Background repeat:"
507
  msgstr "Repetir el fondo"
508
 
509
- #: ../slides.php:106 ../slides.php:156 ../slides.php:159
510
  msgid "Repeat"
511
  msgstr "Repetir"
512
 
513
- #: ../slides.php:107 ../slides.php:157 ../slides.php:160
514
  msgid "No repeat"
515
  msgstr "No repetir"
516
 
517
- #: ../slides.php:113 ../slides.php:167
518
  msgid "Background size:"
519
  msgstr "Tamaño de la imagen de fondo"
520
 
521
- #: ../slides.php:172
522
  msgid "The background of the slide and its proprieties."
523
  msgstr "El fondo de la diapositiva y sus propiedades"
524
 
525
- #: ../slides.php:191
 
 
 
 
 
 
 
 
 
 
 
 
526
  msgid "The in animation of the slide."
527
  msgstr "La animación de entrada de la diapositiva"
528
 
529
- #: ../slides.php:210
530
  msgid "The out animation of the slide."
531
  msgstr "La animación de salida de la diapositiva"
532
 
533
- #: ../slides.php:223
534
  msgid "The time that the slide will remain on the screen."
535
  msgstr "El tiempo que la diapositiva permanecerá en la pantalla"
536
 
537
- #: ../slides.php:227
538
  msgid "Ease In"
539
  msgstr "Suavizado de entrada"
540
 
541
- #: ../slides.php:236
542
  msgid "The time that the slide will take to get in."
543
  msgstr "El tiempo que la diapositiva tardará en entrar."
544
 
545
- #: ../slides.php:240
546
  msgid "Ease Out"
547
  msgstr "Suavizado de salida"
548
 
549
- #: ../slides.php:249
550
  msgid "The time that the slide will take to get out."
551
  msgstr "El tiempo que la diapositiva tardará en salir"
552
 
553
- #: ../slides.php:261
 
 
 
 
 
 
 
 
554
  msgid "Apply CSS to the slide."
555
  msgstr "Reglas CSS para la diapositiva"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Crelly Slider 1.1.0\n"
4
+ "POT-Creation-Date: 2016-03-08 15:06-0600\n"
5
+ "PO-Revision-Date: 2016-03-09 16:43+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
+ "Language: es\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
+ #: ../admin.php:48
19
  msgid "JavaScript must be enabled to view this page correctly."
20
  msgstr "Debes habilitar JavaScript para ver correctamente esta página."
21
 
22
+ #: ../admin.php:51
23
  msgid "Operation completed successfully."
24
  msgstr "Operación completada satisfactoriamente."
25
 
26
+ #: ../admin.php:52
27
  msgid "Something went wrong."
28
  msgstr "Algo salió mal."
29
 
30
+ #: ../admin.php:54
31
  msgid ""
32
  "When you'll click \"Save Settings\", you'll be able to add slides and "
33
  "elements."
34
+ msgstr ""
35
+ "Cuando hagas clic en guardar podrás agregar diapositivas y elementos."
36
 
37
+ #: ../admin.php:119
38
  msgid "Slider Settings"
39
  msgstr "Ajustes"
40
 
41
+ #: ../admin.php:123
42
  msgid "Edit Slides"
43
  msgstr "Editar Diapositivas"
44
 
45
+ #: ../admin.php:143
46
  msgid "Save Settings"
47
  msgstr "Guardar Ajustes"
48
 
49
+ #: ../admin.php:243 ../slides.php:15
50
  msgid "Slide"
51
  msgstr "Diapositiva"
52
 
53
+ #: ../admin.php:244
54
  msgid "The slide will be deleted. Are you sure?"
55
  msgstr "La diapositiva será borrada, ¿Estás seguro?"
56
 
57
+ #: ../admin.php:245
58
  msgid "You can't delete this. You must have at least one slide."
59
+ msgstr "No se puede eliminar esto. Debe tener al menos una diapositiva."
60
 
61
+ #: ../admin.php:246
62
  msgid "The slider will be deleted. Are you sure?"
63
  msgstr "La diapositiva será borrada, ¿Estás seguro?"
64
 
65
+ #: ../admin.php:247 ../elements.php:249
66
  msgid "Text element"
67
  msgstr "Elemento de texto"
68
 
69
+ #: ../admin.php:248 ../elements.php:159
70
  msgid "Live preview"
71
  msgstr "Previsualizar diapositivas"
72
 
73
+ #: ../admin.php:249
74
  msgid "Stop preview"
75
+ msgstr "Detener vista previa"
76
+
77
+ #: ../admin.php:250 ../slides.php:16
78
+ msgid "Duplicate slide"
79
+ msgstr "Duplicar diapositiva"
80
+
81
+ #: ../admin.php:251 ../slides.php:17
82
+ msgid "Delete slide"
83
+ msgstr "Borrar diapositiva"
84
+
85
+ #: ../admin.php:252
86
+ msgid ""
87
+ "All unsaved changes will be lost. Are you sure you want to leave this page?"
88
+ msgstr ""
89
+ "Se perderán los cambios sin guardar. ¿Estás seguro que deseas abandonar "
90
+ "esta página?"
91
 
92
+ #: ../ajax.php:282
93
+ msgid "Copy"
94
+ msgstr "Copiar"
95
+
96
+ #: ../ajax.php:283
97
+ msgid "copy"
98
+ msgstr "copiar"
99
+
100
+ #: ../elements.php:154
101
  msgid "Add text"
102
  msgstr "Agregar texto"
103
 
104
+ #: ../elements.php:155
105
  msgid "Add image"
106
  msgstr "Agregar imagen"
107
 
108
+ #: ../elements.php:156
109
+ msgid "Add video"
110
+ msgstr "Agregar video"
111
+
112
+ #: ../elements.php:160
113
  msgid "Delete element"
114
  msgstr "Borrar elemento"
115
 
116
+ #: ../elements.php:161
117
  msgid "Duplicate element"
118
  msgstr "Duplicar elemento"
119
 
120
+ #: ../elements.php:215 ../elements.php:466 ../elements.php:716
121
+ #: ../slides.php:51 ../slides.php:82 ../slides.php:127 ../slides.php:130
122
+ msgid "None"
123
+ msgstr "Nada"
124
+
125
+ #: ../elements.php:216 ../elements.php:467 ../elements.php:717
126
+ #: ../slides.php:58
127
  msgid "Slide down"
128
  msgstr "Deslizar hacia abajo"
129
 
130
+ #: ../elements.php:217 ../elements.php:468 ../elements.php:718
131
+ #: ../slides.php:57
132
  msgid "Slide up"
133
  msgstr "Deslizar hacia arriba"
134
 
135
+ #: ../elements.php:218 ../elements.php:469 ../elements.php:719
136
+ #: ../slides.php:55
137
  msgid "Slide left"
138
  msgstr "Deslizar hacia la izquierda"
139
 
140
+ #: ../elements.php:219 ../elements.php:470 ../elements.php:720
141
+ #: ../slides.php:56
142
  msgid "Slide right"
143
  msgstr "Deslizar hacia la derecha"
144
 
145
+ #: ../elements.php:220 ../elements.php:471 ../elements.php:721
146
+ #: ../slides.php:52
147
  msgid "Fade"
148
  msgstr "Desvanecer"
149
 
150
+ #: ../elements.php:221 ../elements.php:472 ../elements.php:722
151
  msgid "Fade down"
152
  msgstr "Desvanecer hacia abajo"
153
 
154
+ #: ../elements.php:222 ../elements.php:473 ../elements.php:723
155
  msgid "Fade up"
156
  msgstr "Desvanecer hacia arriba"
157
 
158
+ #: ../elements.php:223 ../elements.php:474 ../elements.php:724
159
+ #: ../slides.php:53
160
  msgid "Fade left"
161
  msgstr "Desvanecer hacia la izquierda"
162
 
163
+ #: ../elements.php:224 ../elements.php:475 ../elements.php:725
164
+ #: ../slides.php:54
165
  msgid "Fade right"
166
  msgstr "Desvanecer hacia la derecha"
167
 
168
+ #: ../elements.php:225 ../elements.php:476 ../elements.php:726
169
  msgid "Fade small down"
170
  msgstr "Desvanecer ligeramente hacia abajo"
171
 
172
+ #: ../elements.php:226 ../elements.php:477 ../elements.php:727
173
  msgid "Fade small up"
174
  msgstr "Desvanecer ligeramente hacia arriba"
175
 
176
+ #: ../elements.php:227 ../elements.php:478 ../elements.php:728
177
  msgid "Fade small left"
178
  msgstr "Desvanecer ligeramente hacia la izquierda"
179
 
180
+ #: ../elements.php:228 ../elements.php:479 ../elements.php:729
181
  msgid "Fade small right"
182
  msgstr "Desvanecer ligeramente hacia la derecha"
183
 
184
+ #: ../elements.php:235 ../elements.php:486 ../elements.php:736
185
  msgid "Element Options"
186
  msgstr "Opciones de elementos"
187
 
188
+ #: ../elements.php:241 ../elements.php:491 ../elements.php:742
189
+ #: ../slider.php:59 ../slides.php:71
190
  msgid "Option"
191
  msgstr "Opción"
192
 
193
+ #: ../elements.php:242 ../elements.php:492 ../elements.php:743
194
+ #: ../slider.php:60 ../slides.php:72
195
  msgid "Parameter"
196
+ msgstr "Parámetro"
197
 
198
+ #: ../elements.php:243 ../elements.php:493 ../elements.php:744
199
+ #: ../slider.php:61 ../slides.php:73
200
  msgid "Description"
201
  msgstr "Descripción"
202
 
203
+ #: ../elements.php:246
204
  msgid "Text"
205
  msgstr "Texto"
206
 
207
+ #: ../elements.php:254
208
  msgid "Write the text or the HTML."
209
  msgstr "Escribe el texto o el HTML"
210
 
211
+ #: ../elements.php:258 ../elements.php:508 ../elements.php:809
212
  msgid "Left"
213
  msgstr "Izquierda"
214
 
215
+ #: ../elements.php:267 ../elements.php:517 ../elements.php:818
216
+ msgid "Center horizontally"
217
+ msgstr "Centrar horizontalmente"
218
+
219
+ #: ../elements.php:270 ../elements.php:520 ../elements.php:821
220
  msgid "Left distance in px from the start width."
221
  msgstr "Distancia en píxeles desde la izquierda desde el ancho inicial."
222
 
223
+ #: ../elements.php:274 ../elements.php:524 ../elements.php:825
224
  msgid "Top"
225
  msgstr "Arriba"
226
 
227
+ #: ../elements.php:283 ../elements.php:533 ../elements.php:834
228
+ msgid "Center vertically"
229
+ msgstr "Centrar verticalmente"
230
+
231
+ #: ../elements.php:286 ../elements.php:536 ../elements.php:837
232
  msgid "Top distance in px from the start height."
233
  msgstr "Distancia en píxeles desde arriba a partir de la altura inicial."
234
 
235
+ #: ../elements.php:290 ../elements.php:540 ../elements.php:841
236
  msgid "Z - index"
237
  msgstr "Z - index"
238
 
239
+ #: ../elements.php:298 ../elements.php:548 ../elements.php:849
240
  msgid ""
241
  "An element with an high z-index will cover an element with a lower z-index "
242
  "if they overlap."
244
  "Un elemento con un z-index mayor cubrirá un elemento con uno menor, si se "
245
  "sobreponen."
246
 
247
+ #: ../elements.php:302 ../elements.php:552 ../elements.php:853
248
  msgid "Delay"
249
  msgstr "Retraso"
250
 
251
+ #: ../elements.php:311 ../elements.php:561 ../elements.php:862
252
  msgid "How long will the element wait before the entrance."
253
  msgstr "Cuanto tardará el elemento en hacer su entrada"
254
 
255
+ #: ../elements.php:315 ../elements.php:565 ../elements.php:866
256
+ #: ../slides.php:244
257
  msgid "Time"
258
  msgstr "Tiempo"
259
 
260
+ #: ../elements.php:324 ../elements.php:574 ../elements.php:875
261
+ msgid "How long will the element be displayed during the slide execution."
 
 
262
  msgstr ""
263
  "Cuánto tiempo se mostrará el elemento mientras la diapositiva se muestra."
264
 
265
+ #: ../elements.php:327 ../elements.php:577 ../elements.php:878
266
+ msgid "Write \"all\" to set the entire time."
267
+ msgstr "Escribe \"all\" para que se muestre siempre"
268
+
269
+ #: ../elements.php:330 ../elements.php:580 ../elements.php:881
270
+ msgid ""
271
+ "Write \"3000\" to set 3000 milliseconds minus delay time (so, if the delay "
272
+ "time is 1000 milliseconds, the element will be displayed for "
273
+ "3000-1000=2000 milliseconds)."
274
+ msgstr ""
275
+ "Escribe \"3000\" para establecer 3000 milisegundos menos el tiempo de "
276
+ "retraso (si el tiempo de retraso es de 1000 milisegundos, el elemento será "
277
+ "mostrado por 3000-1000=2000 milisegundos)"
278
+
279
+ #: ../elements.php:334 ../elements.php:584 ../elements.php:885
280
+ #: ../slides.php:206
281
  msgid "In animation"
282
  msgstr "Animación de entrada"
283
 
284
+ #: ../elements.php:349 ../elements.php:599 ../elements.php:900
285
  msgid "The in animation of the element."
286
  msgstr "La animación de entrada del elemento"
287
 
288
+ #: ../elements.php:353 ../elements.php:603 ../elements.php:904
289
+ #: ../slides.php:225
290
  msgid "Out animation"
291
  msgstr "Animación de salida"
292
 
293
+ #: ../elements.php:368 ../elements.php:371 ../elements.php:374
294
+ #: ../elements.php:618 ../elements.php:621 ../elements.php:624
295
+ #: ../elements.php:919 ../elements.php:922 ../elements.php:925
296
  msgid "Disable synchronization with slide out animation"
297
  msgstr ""
298
  "Deshabilitar la sincronización con la animación de salida de la diapositiva"
299
 
300
+ #: ../elements.php:380 ../elements.php:630 ../elements.php:931
301
  msgid ""
302
  "The out animation of the element.<br /><br />Disable synchronization with "
303
  "slide out animation: if not checked, the slide out animation won't start "
304
  "until all the elements that have this option unchecked are animated out."
305
  msgstr ""
306
+ "Animación de salida del elemento. <br /><br />Deshabilitar la "
307
+ "sincronización con la salida de la animación: si no está marcada, la "
308
+ "salida de la animación no comenzará hasta que todos los elementos que "
309
+ "tengan esta opción sin marcar hayan hecho su salida"
310
 
311
+ #: ../elements.php:384 ../elements.php:634 ../elements.php:935
312
  msgid "Ease in"
313
  msgstr "Suavizado de entrada"
314
 
315
+ #: ../elements.php:393 ../elements.php:643 ../elements.php:944
316
  msgid "How long will the in animation take."
317
  msgstr "Cuánto tardará la animación"
318
 
319
+ #: ../elements.php:397 ../elements.php:647 ../elements.php:948
320
  msgid "Ease out"
321
  msgstr "Suavizado de salida."
322
 
323
+ #: ../elements.php:406 ../elements.php:656 ../elements.php:957
324
  msgid "How long will the out animation take."
325
  msgstr "Cuánto tardará la animación de salida."
326
 
327
+ #: ../elements.php:410 ../elements.php:660 ../slides.php:283
328
  msgid "Link"
329
  msgstr "Enlace"
330
 
331
+ #: ../elements.php:418 ../elements.php:421 ../elements.php:424
332
+ #: ../elements.php:668 ../elements.php:671 ../elements.php:674
333
+ #: ../slides.php:291 ../slides.php:294 ../slides.php:297
334
  msgid "Open link in a new tab"
335
  msgstr "Abrir enlace en ventana nueva"
336
 
337
+ #: ../elements.php:430 ../elements.php:680
338
  msgid ""
339
  "Open the link (e.g.: http://www.google.it) on click. Leave it empty if you "
340
  "don't want it."
341
  msgstr "Abrir el enlace al hacer clic en él"
342
 
343
+ #: ../elements.php:434 ../elements.php:684 ../elements.php:961
344
+ #: ../slides.php:307
345
  msgid "Custom CSS"
346
  msgstr "Estilo CSS personalizado"
347
 
348
+ #: ../elements.php:442 ../elements.php:692 ../elements.php:969
349
  msgid "Style the element."
350
  msgstr "Estilizar el elemento"
351
 
352
+ #: ../elements.php:446 ../elements.php:696 ../elements.php:973
353
+ msgid "Custom classes"
354
+ msgstr "Clases personalizadas"
355
+
356
+ #: ../elements.php:454 ../elements.php:704 ../elements.php:981
357
+ msgid ""
358
+ "Apply custom CSS classes to the element. The style of the classes may not "
359
+ "work when working on backend."
360
+ msgstr ""
361
+ "Aplicar clases personalizadas CSS al elemento. El estilo de las clases "
362
+ "puede no funcionar mientras se trabaja en el escritorio wordpress"
363
+
364
+ #: ../elements.php:496
365
  msgid "Modify image"
366
  msgstr "Modificar imagen"
367
 
368
+ #: ../elements.php:499 ../elements.php:500
369
  msgid "Open gallery"
370
  msgstr "Abrir galería"
371
 
372
+ #: ../elements.php:504
373
  msgid "Change the image source or the alt text."
374
  msgstr "Cambia la fuente de la imagen o el texto ALT"
375
 
376
+ #: ../elements.php:747
377
+ msgid "Video source"
378
+ msgstr "Fuente del video"
379
+
380
+ #: ../elements.php:767
381
+ msgid "Set source and ID."
382
+ msgstr "Establecer fuente e ID"
383
+
384
+ #: ../elements.php:771
385
+ msgid "Loop video"
386
+ msgstr "Repetición del video"
387
+
388
+ #: ../elements.php:786
389
+ msgid ""
390
+ "The video will automatically restart from the beginning when it reaches "
391
+ "the end."
392
+ msgstr "El video automáticamente reiniciará desde el inicio cuando finalice"
393
+
394
+ #: ../elements.php:790
395
+ msgid "Autoplay"
396
+ msgstr "Autoplay"
397
+
398
+ #: ../elements.php:805
399
+ msgid "The video will automatically be played after the in animation."
400
+ msgstr "El video se reproducirá automáticamente después de la animación"
401
+
402
  #: ../frontend.php:25
403
  msgid "You have to insert a valid alias in the shortcode"
404
  msgstr "Introduce un alias válido en el shortcode"
440
  msgstr "Editar Diapositiva"
441
 
442
  #: ../home.php:37
443
+ msgid "Duplicate Slider"
444
+ msgstr "Duplicar diapositiva"
445
+
446
+ #: ../home.php:38
447
+ msgid "Export Slider"
448
+ msgstr "Exportar diapositiva"
449
+
450
+ #: ../home.php:39
451
  msgid "Delete Slider"
452
  msgstr "Borrar Diapositiva"
453
 
454
+ #: ../home.php:51
455
  msgid "Add Slider"
456
  msgstr "Agregar diapositiva"
457
 
458
+ #: ../home.php:52
459
+ msgid "Import Slider"
460
+ msgstr "Importar diapositiva"
461
+
462
  #: ../slider.php:6
463
  msgid "Full Width"
464
  msgstr "Ancho completo"
581
  "Algunas funciones de jQuery que puedes lanzar durante la ejecución de la "
582
  "diapositiva"
583
 
584
+ #: ../slides.php:24
585
  msgid "Add Slide"
586
  msgstr "Agregar diapositiva"
587
 
588
+ #: ../slides.php:65
589
  msgid "Slide Options"
590
  msgstr "Opciones de diapositiva"
591
 
592
+ #: ../slides.php:76
593
  msgid "Background"
594
  msgstr "Fondo"
595
 
596
+ #: ../slides.php:80 ../slides.php:124
597
  msgid "Background image:"
598
  msgstr "Imagen de fondo:"
599
 
600
+ #: ../slides.php:83 ../slides.php:128 ../slides.php:131
 
 
 
 
601
  msgid "Select image"
602
  msgstr "Selecciona la imagen"
603
 
604
+ #: ../slides.php:89 ../slides.php:138
605
  msgid "Background color:"
606
  msgstr "Color de fondo:"
607
 
608
+ #: ../slides.php:93 ../slides.php:143 ../slides.php:145
609
  msgid "Transparent"
610
  msgstr "Transparente"
611
 
612
+ #: ../slides.php:97 ../slides.php:159
613
+ msgid "Enter value"
614
+ msgstr "Agregar valor"
615
+
616
+ #: ../slides.php:103 ../slides.php:166
617
  msgid "Background position-x:"
618
  msgstr "Posición X del fondo"
619
 
620
+ #: ../slides.php:106 ../slides.php:169
621
  msgid "Background position-y:"
622
  msgstr "Posición Y del fondo"
623
 
624
+ #: ../slides.php:112 ../slides.php:175
625
  msgid "Background repeat:"
626
  msgstr "Repetir el fondo"
627
 
628
+ #: ../slides.php:114 ../slides.php:178 ../slides.php:181
629
  msgid "Repeat"
630
  msgstr "Repetir"
631
 
632
+ #: ../slides.php:115 ../slides.php:179 ../slides.php:182
633
  msgid "No repeat"
634
  msgstr "No repetir"
635
 
636
+ #: ../slides.php:121 ../slides.php:189
637
  msgid "Background size:"
638
  msgstr "Tamaño de la imagen de fondo"
639
 
640
+ #: ../slides.php:194
641
  msgid "The background of the slide and its proprieties."
642
  msgstr "El fondo de la diapositiva y sus propiedades"
643
 
644
+ #: ../slides.php:197
645
+ msgid "Presets:"
646
+ msgstr "Valores default:"
647
+
648
+ #: ../slides.php:200
649
+ msgid "Full width responsive background image"
650
+ msgstr "Imagen de fondo responsiva de ancho completo"
651
+
652
+ #: ../slides.php:201
653
+ msgid "Pattern background image"
654
+ msgstr "Imagen de fondo en mosaico"
655
+
656
+ #: ../slides.php:221
657
  msgid "The in animation of the slide."
658
  msgstr "La animación de entrada de la diapositiva"
659
 
660
+ #: ../slides.php:240
661
  msgid "The out animation of the slide."
662
  msgstr "La animación de salida de la diapositiva"
663
 
664
+ #: ../slides.php:253
665
  msgid "The time that the slide will remain on the screen."
666
  msgstr "El tiempo que la diapositiva permanecerá en la pantalla"
667
 
668
+ #: ../slides.php:257
669
  msgid "Ease In"
670
  msgstr "Suavizado de entrada"
671
 
672
+ #: ../slides.php:266
673
  msgid "The time that the slide will take to get in."
674
  msgstr "El tiempo que la diapositiva tardará en entrar."
675
 
676
+ #: ../slides.php:270
677
  msgid "Ease Out"
678
  msgstr "Suavizado de salida"
679
 
680
+ #: ../slides.php:279
681
  msgid "The time that the slide will take to get out."
682
  msgstr "El tiempo que la diapositiva tardará en salir"
683
 
684
+ #: ../slides.php:303
685
+ msgid ""
686
+ "Open the link (e.g.: http://www.google.it) when the user clicks on the "
687
+ "background. Leave it empty if you don't want it."
688
+ msgstr ""
689
+ "Abrir el enlace (ej: http://google.com) cuando el usuario hace click en el "
690
+ "fondo. Dejar en blanco si no deseas esto."
691
+
692
+ #: ../slides.php:315
693
  msgid "Apply CSS to the slide."
694
  msgstr "Reglas CSS para la diapositiva"
wordpress/languages/crellyslider-fr_FR.mo ADDED
Binary file
wordpress/languages/crellyslider-fr_FR.po ADDED
@@ -0,0 +1,705 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Crelly Slider 1.1.0\n"
4
+ "POT-Creation-Date: 2016-03-08 20:28+0100\n"
5
+ "PO-Revision-Date: 2016-03-09 16:47+0100\n"
6
+ "Language-Team: \n"
7
+ "MIME-Version: 1.0\n"
8
+ "Content-Type: text/plain; charset=UTF-8\n"
9
+ "Content-Transfer-Encoding: 8bit\n"
10
+ "X-Generator: Poedit 1.8.7\n"
11
+ "X-Poedit-KeywordsList: __;_e\n"
12
+ "X-Poedit-Basepath: .\n"
13
+ "Last-Translator: \n"
14
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
15
+ "Language: fr_FR\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../admin.php:48
19
+ msgid "JavaScript must be enabled to view this page correctly."
20
+ msgstr "JavaScript doit être activé pour afficher cette page correctement."
21
+
22
+ #: ../admin.php:51
23
+ msgid "Operation completed successfully."
24
+ msgstr "Opération terminée avec succès ."
25
+
26
+ #: ../admin.php:52
27
+ msgid "Something went wrong."
28
+ msgstr "Quelque chose a mal fonctionné."
29
+
30
+ #: ../admin.php:54
31
+ msgid ""
32
+ "When you'll click \"Save Settings\", you'll be able to add slides and "
33
+ "elements."
34
+ msgstr ""
35
+ "Lorsque vous cliquez sur \"Enregistrer les paramètres\", vous serez en "
36
+ "mesure d'ajouter des diapositives et des éléments."
37
+
38
+ #: ../admin.php:119
39
+ msgid "Slider Settings"
40
+ msgstr "Paramètres Slider"
41
+
42
+ #: ../admin.php:123
43
+ msgid "Edit Slides"
44
+ msgstr "Modifier les diapositives"
45
+
46
+ #: ../admin.php:143
47
+ msgid "Save Settings"
48
+ msgstr "Enregistrer les paramètres"
49
+
50
+ #: ../admin.php:243 ../slides.php:15
51
+ msgid "Slide"
52
+ msgstr "Diapositive"
53
+
54
+ #: ../admin.php:244
55
+ msgid "The slide will be deleted. Are you sure?"
56
+ msgstr "La diapositive sera supprimée. Êtes-vous sûr?"
57
+
58
+ #: ../admin.php:245
59
+ msgid "You can't delete this. You must have at least one slide."
60
+ msgstr ""
61
+ "Vous ne pouvez pas supprimer cela. Vous devez avoir au moins une "
62
+ "diapositive."
63
+
64
+ #: ../admin.php:246
65
+ msgid "The slider will be deleted. Are you sure?"
66
+ msgstr "Le slider sera supprimé. Êtes-vous sûr?"
67
+
68
+ #: ../admin.php:247 ../elements.php:249
69
+ msgid "Text element"
70
+ msgstr "Élément texte"
71
+
72
+ #: ../admin.php:248 ../elements.php:159
73
+ msgid "Live preview"
74
+ msgstr "Aperçu en direct"
75
+
76
+ #: ../admin.php:249
77
+ msgid "Stop preview"
78
+ msgstr "Arrêter aperçu"
79
+
80
+ #: ../admin.php:250 ../slides.php:16
81
+ msgid "Duplicate slide"
82
+ msgstr "Dupliquer la diapositive"
83
+
84
+ #: ../admin.php:251 ../slides.php:17
85
+ msgid "Delete slide"
86
+ msgstr "Supprimer la diapositive"
87
+
88
+ #: ../admin.php:252
89
+ msgid ""
90
+ "All unsaved changes will be lost. Are you sure you want to leave this page?"
91
+ msgstr ""
92
+ "Toutes les modifications non enregistrées seront perdues. Êtes-vous sûr de "
93
+ "vouloir quitter cette page?"
94
+
95
+ #: ../ajax.php:282
96
+ msgid "Copy"
97
+ msgstr "Copier"
98
+
99
+ #: ../ajax.php:283
100
+ msgid "copy"
101
+ msgstr "copier"
102
+
103
+ #: ../elements.php:154
104
+ msgid "Add text"
105
+ msgstr "Ajouter texte"
106
+
107
+ #: ../elements.php:155
108
+ msgid "Add image"
109
+ msgstr "Ajouter image"
110
+
111
+ #: ../elements.php:156
112
+ msgid "Add video"
113
+ msgstr "Ajouter vidéo"
114
+
115
+ #: ../elements.php:160
116
+ msgid "Delete element"
117
+ msgstr "Supprimer élément"
118
+
119
+ #: ../elements.php:161
120
+ msgid "Duplicate element"
121
+ msgstr "Dupliquer élément"
122
+
123
+ #: ../elements.php:215 ../elements.php:466 ../elements.php:716
124
+ #: ../slides.php:51 ../slides.php:82 ../slides.php:127 ../slides.php:130
125
+ msgid "None"
126
+ msgstr "Aucun"
127
+
128
+ #: ../elements.php:216 ../elements.php:467 ../elements.php:717
129
+ #: ../slides.php:58
130
+ msgid "Slide down"
131
+ msgstr "Glisser vers le bas"
132
+
133
+ #: ../elements.php:217 ../elements.php:468 ../elements.php:718
134
+ #: ../slides.php:57
135
+ msgid "Slide up"
136
+ msgstr "Glisser vers le haut"
137
+
138
+ #: ../elements.php:218 ../elements.php:469 ../elements.php:719
139
+ #: ../slides.php:55
140
+ msgid "Slide left"
141
+ msgstr "Glisser vers la gauche"
142
+
143
+ #: ../elements.php:219 ../elements.php:470 ../elements.php:720
144
+ #: ../slides.php:56
145
+ msgid "Slide right"
146
+ msgstr "Glisser vers la droite"
147
+
148
+ #: ../elements.php:220 ../elements.php:471 ../elements.php:721
149
+ #: ../slides.php:52
150
+ msgid "Fade"
151
+ msgstr "Fondu"
152
+
153
+ #: ../elements.php:221 ../elements.php:472 ../elements.php:722
154
+ msgid "Fade down"
155
+ msgstr "Fondu vers le bas"
156
+
157
+ #: ../elements.php:222 ../elements.php:473 ../elements.php:723
158
+ msgid "Fade up"
159
+ msgstr "Fondu vers le haut"
160
+
161
+ #: ../elements.php:223 ../elements.php:474 ../elements.php:724
162
+ #: ../slides.php:53
163
+ msgid "Fade left"
164
+ msgstr "Fondu vers la gauche"
165
+
166
+ #: ../elements.php:224 ../elements.php:475 ../elements.php:725
167
+ #: ../slides.php:54
168
+ msgid "Fade right"
169
+ msgstr "fondu vers la droite"
170
+
171
+ #: ../elements.php:225 ../elements.php:476 ../elements.php:726
172
+ msgid "Fade small down"
173
+ msgstr "Fondu faible vers le bas"
174
+
175
+ #: ../elements.php:226 ../elements.php:477 ../elements.php:727
176
+ msgid "Fade small up"
177
+ msgstr "Fondu faible vers le haut"
178
+
179
+ #: ../elements.php:227 ../elements.php:478 ../elements.php:728
180
+ msgid "Fade small left"
181
+ msgstr "Fondu vers la gauche"
182
+
183
+ #: ../elements.php:228 ../elements.php:479 ../elements.php:729
184
+ msgid "Fade small right"
185
+ msgstr "Fondu vers la droite"
186
+
187
+ #: ../elements.php:235 ../elements.php:486 ../elements.php:736
188
+ msgid "Element Options"
189
+ msgstr "Options de l'élément"
190
+
191
+ #: ../elements.php:241 ../elements.php:491 ../elements.php:742
192
+ #: ../slider.php:59 ../slides.php:71
193
+ msgid "Option"
194
+ msgstr "Option"
195
+
196
+ #: ../elements.php:242 ../elements.php:492 ../elements.php:743
197
+ #: ../slider.php:60 ../slides.php:72
198
+ msgid "Parameter"
199
+ msgstr "Paramètre"
200
+
201
+ #: ../elements.php:243 ../elements.php:493 ../elements.php:744
202
+ #: ../slider.php:61 ../slides.php:73
203
+ msgid "Description"
204
+ msgstr "Description"
205
+
206
+ #: ../elements.php:246
207
+ msgid "Text"
208
+ msgstr "Texte"
209
+
210
+ #: ../elements.php:254
211
+ msgid "Write the text or the HTML."
212
+ msgstr "Écrire le texte ou le HTML"
213
+
214
+ #: ../elements.php:258 ../elements.php:508 ../elements.php:809
215
+ msgid "Left"
216
+ msgstr "Gauche"
217
+
218
+ #: ../elements.php:267 ../elements.php:517 ../elements.php:818
219
+ msgid "Center horizontally"
220
+ msgstr "Centrer horizontallement"
221
+
222
+ #: ../elements.php:270 ../elements.php:520 ../elements.php:821
223
+ msgid "Left distance in px from the start width."
224
+ msgstr "Distance gauche en px de la largeur de départ."
225
+
226
+ #: ../elements.php:274 ../elements.php:524 ../elements.php:825
227
+ msgid "Top"
228
+ msgstr "Haut"
229
+
230
+ #: ../elements.php:283 ../elements.php:533 ../elements.php:834
231
+ msgid "Center vertically"
232
+ msgstr "Centrer verticallement"
233
+
234
+ #: ../elements.php:286 ../elements.php:536 ../elements.php:837
235
+ msgid "Top distance in px from the start height."
236
+ msgstr "Distance haute en px de la hauteur de départ."
237
+
238
+ #: ../elements.php:290 ../elements.php:540 ../elements.php:841
239
+ msgid "Z - index"
240
+ msgstr "Z - index"
241
+
242
+ #: ../elements.php:298 ../elements.php:548 ../elements.php:849
243
+ msgid ""
244
+ "An element with an high z-index will cover an element with a lower z-index "
245
+ "if they overlap."
246
+ msgstr ""
247
+ "Un élément avec un z-index élevé couvrira un élément avec un z-index "
248
+ "inférieur si ils se chevauchent."
249
+
250
+ #: ../elements.php:302 ../elements.php:552 ../elements.php:853
251
+ msgid "Delay"
252
+ msgstr "Retardement"
253
+
254
+ #: ../elements.php:311 ../elements.php:561 ../elements.php:862
255
+ msgid "How long will the element wait before the entrance."
256
+ msgstr "Combien de temps l'élément doit attendre avant l'entrée."
257
+
258
+ #: ../elements.php:315 ../elements.php:565 ../elements.php:866
259
+ #: ../slides.php:244
260
+ msgid "Time"
261
+ msgstr "Temps"
262
+
263
+ #: ../elements.php:324 ../elements.php:574 ../elements.php:875
264
+ msgid "How long will the element be displayed during the slide execution."
265
+ msgstr ""
266
+ "Combien de temps l'élément sera affiché lors de l'exécution de la "
267
+ "diapositive."
268
+
269
+ #: ../elements.php:327 ../elements.php:577 ../elements.php:878
270
+ msgid "Write \"all\" to set the entire time."
271
+ msgstr "Écrire \"all\" pour régler sur toute la durée."
272
+
273
+ #: ../elements.php:330 ../elements.php:580 ../elements.php:881
274
+ msgid ""
275
+ "Write \"3000\" to set 3000 milliseconds minus delay time (so, if the delay "
276
+ "time is 1000 milliseconds, the element will be displayed for 3000-1000=2000 "
277
+ "milliseconds)."
278
+ msgstr ""
279
+ "Écrire \"3000\" pour définir 3000 millisecondes moins le temps de retard "
280
+ "(ainsi, si le temps de retard est de 1000 millisecondes, l'élément sera "
281
+ "affiché pour 3000-1000 = 2000 millisecondes)."
282
+
283
+ #: ../elements.php:334 ../elements.php:584 ../elements.php:885
284
+ #: ../slides.php:206
285
+ msgid "In animation"
286
+ msgstr "Animation d'entrée"
287
+
288
+ #: ../elements.php:349 ../elements.php:599 ../elements.php:900
289
+ msgid "The in animation of the element."
290
+ msgstr "Animation d'entrée de l'élément"
291
+
292
+ #: ../elements.php:353 ../elements.php:603 ../elements.php:904
293
+ #: ../slides.php:225
294
+ msgid "Out animation"
295
+ msgstr "Animation de sortie"
296
+
297
+ #: ../elements.php:368 ../elements.php:371 ../elements.php:374
298
+ #: ../elements.php:618 ../elements.php:621 ../elements.php:624
299
+ #: ../elements.php:919 ../elements.php:922 ../elements.php:925
300
+ msgid "Disable synchronization with slide out animation"
301
+ msgstr ""
302
+ "Désactiver la synchronisation avec la diapositive d'animation de sortie"
303
+
304
+ #: ../elements.php:380 ../elements.php:630 ../elements.php:931
305
+ msgid ""
306
+ "The out animation of the element.<br /><br />Disable synchronization with "
307
+ "slide out animation: if not checked, the slide out animation won't start "
308
+ "until all the elements that have this option unchecked are animated out."
309
+ msgstr ""
310
+ "Désactiver l'animation de sortie de l'élément <br /> <br /> Désactiver la "
311
+ "synchronisation avec l'animation de sortie: Si non coché, la diapositive de "
312
+ "l'animation de sortie ne démarre pas jusqu'à ce que tous les éléments qui "
313
+ "ont cette option décochée sont animés en sortie."
314
+
315
+ #: ../elements.php:384 ../elements.php:634 ../elements.php:935
316
+ msgid "Ease in"
317
+ msgstr "Ease in"
318
+
319
+ #: ../elements.php:393 ../elements.php:643 ../elements.php:944
320
+ msgid "How long will the in animation take."
321
+ msgstr "Combien de temps l'animation d'entrée prendra."
322
+
323
+ #: ../elements.php:397 ../elements.php:647 ../elements.php:948
324
+ msgid "Ease out"
325
+ msgstr "Ease out"
326
+
327
+ #: ../elements.php:406 ../elements.php:656 ../elements.php:957
328
+ msgid "How long will the out animation take."
329
+ msgstr "Combien de temps l'animation de sortie prendra."
330
+
331
+ #: ../elements.php:410 ../elements.php:660 ../slides.php:283
332
+ msgid "Link"
333
+ msgstr "Lien"
334
+
335
+ #: ../elements.php:418 ../elements.php:421 ../elements.php:424
336
+ #: ../elements.php:668 ../elements.php:671 ../elements.php:674
337
+ #: ../slides.php:291 ../slides.php:294 ../slides.php:297
338
+ msgid "Open link in a new tab"
339
+ msgstr "Ouvrir le lien dans un nouvel onglet"
340
+
341
+ #: ../elements.php:430 ../elements.php:680
342
+ msgid ""
343
+ "Open the link (e.g.: http://www.google.it) on click. Leave it empty if you "
344
+ "don't want it."
345
+ msgstr ""
346
+ "Ouvrez le lien (par exemple : http://www.google.it) lors d'un clic. Laissez "
347
+ "vide si vous ne voulez pas."
348
+
349
+ #: ../elements.php:434 ../elements.php:684 ../elements.php:961
350
+ #: ../slides.php:307
351
+ msgid "Custom CSS"
352
+ msgstr "CSS personnalisé"
353
+
354
+ #: ../elements.php:442 ../elements.php:692 ../elements.php:969
355
+ msgid "Style the element."
356
+ msgstr "Style de l'élément."
357
+
358
+ #: ../elements.php:446 ../elements.php:696 ../elements.php:973
359
+ msgid "Custom classes"
360
+ msgstr "classes personnalisées"
361
+
362
+ #: ../elements.php:454 ../elements.php:704 ../elements.php:981
363
+ msgid ""
364
+ "Apply custom CSS classes to the element. The style of the classes may not "
365
+ "work when working on backend."
366
+ msgstr ""
367
+ "Appliquer des classes CSS personnalisées à l'élément. Le style des classes "
368
+ "peut ne pas fonctionner lorsque vous travaillez sur backend."
369
+
370
+ #: ../elements.php:496
371
+ msgid "Modify image"
372
+ msgstr "Modifier l'image"
373
+
374
+ #: ../elements.php:499 ../elements.php:500
375
+ msgid "Open gallery"
376
+ msgstr "Ouvrir la galerie"
377
+
378
+ #: ../elements.php:504
379
+ msgid "Change the image source or the alt text."
380
+ msgstr "Changez la source de l'image ou le texte alt."
381
+
382
+ #: ../elements.php:747
383
+ msgid "Video source"
384
+ msgstr "source vidéo"
385
+
386
+ #: ../elements.php:767
387
+ msgid "Set source and ID."
388
+ msgstr "Définir la source et ID."
389
+
390
+ #: ../elements.php:771
391
+ msgid "Loop video"
392
+ msgstr "Boucle vidéo"
393
+
394
+ #: ../elements.php:786
395
+ msgid ""
396
+ "The video will automatically restart from the beginning when it reaches the "
397
+ "end."
398
+ msgstr ""
399
+ "La vidéo sera automatiquement redémarrée depuis le début quand elle atteint "
400
+ "la fin."
401
+
402
+ #: ../elements.php:790
403
+ msgid "Autoplay"
404
+ msgstr "Lecture automatique"
405
+
406
+ #: ../elements.php:805
407
+ msgid "The video will automatically be played after the in animation."
408
+ msgstr "La vidéo sera automatiquement jouée après l'animation."
409
+
410
+ #: ../frontend.php:25
411
+ msgid "You have to insert a valid alias in the shortcode"
412
+ msgstr "Vous devez insérer un alias valide dans le shortcode"
413
+
414
+ #: ../frontend.php:43 ../frontend.php:47
415
+ msgid "The slider hasn't been found"
416
+ msgstr "Le slider n'a pas été trouvé"
417
+
418
+ #: ../home.php:7
419
+ msgid "No Sliders found. Please add a new one."
420
+ msgstr "Aucun Slider trouvé. S'il vous plaît ajoutez un nouveau."
421
+
422
+ #: ../home.php:17
423
+ msgid "Sliders List"
424
+ msgstr "Liste des Sliders"
425
+
426
+ #: ../home.php:22
427
+ msgid "ID"
428
+ msgstr "ID"
429
+
430
+ #: ../home.php:23
431
+ msgid "Name"
432
+ msgstr "Nom"
433
+
434
+ #: ../home.php:24
435
+ msgid "Alias"
436
+ msgstr "Alias"
437
+
438
+ #: ../home.php:25
439
+ msgid "Shortcode"
440
+ msgstr "Shortcode"
441
+
442
+ #: ../home.php:26
443
+ msgid "Actions"
444
+ msgstr "Actions"
445
+
446
+ #: ../home.php:36
447
+ msgid "Edit Slider"
448
+ msgstr "Modifier Slider"
449
+
450
+ #: ../home.php:37
451
+ msgid "Duplicate Slider"
452
+ msgstr "Dupliquer Slider"
453
+
454
+ #: ../home.php:38
455
+ msgid "Export Slider"
456
+ msgstr "Exporter Slider"
457
+
458
+ #: ../home.php:39
459
+ msgid "Delete Slider"
460
+ msgstr "Supprimer Slider"
461
+
462
+ #: ../home.php:51
463
+ msgid "Add Slider"
464
+ msgstr "Ajouter Slider"
465
+
466
+ #: ../home.php:52
467
+ msgid "Import Slider"
468
+ msgstr "Importer Slider"
469
+
470
+ #: ../slider.php:6
471
+ msgid "Full Width"
472
+ msgstr "Pleine largeur"
473
+
474
+ #: ../slider.php:7
475
+ msgid "Fixed"
476
+ msgstr "Fixé"
477
+
478
+ #: ../slider.php:10
479
+ msgid "Yes"
480
+ msgstr "Oui"
481
+
482
+ #: ../slider.php:11
483
+ msgid "No"
484
+ msgstr "Non"
485
+
486
+ #: ../slider.php:17 ../slider.php:21
487
+ msgid "Slider Name"
488
+ msgstr "Nom du Slider"
489
+
490
+ #: ../slider.php:27
491
+ msgid "Alias:"
492
+ msgstr "Alias:"
493
+
494
+ #: ../slider.php:39
495
+ msgid "Shortcode:"
496
+ msgstr "Shortcode:"
497
+
498
+ #: ../slider.php:54
499
+ msgid "Slider General Options"
500
+ msgstr "Options générales du Slider"
501
+
502
+ #: ../slider.php:64
503
+ msgid "Layout"
504
+ msgstr "Disposition"
505
+
506
+ #: ../slider.php:79
507
+ msgid "Modify the layout type of the slider."
508
+ msgstr "Modifier le type de disposition du Slider"
509
+
510
+ #: ../slider.php:83
511
+ msgid "Responsive"
512
+ msgstr "Responsive"
513
+
514
+ #: ../slider.php:98
515
+ msgid "The slider will be adapted to the screen size."
516
+ msgstr "Le Slider sera adapté à la taille de l'écran."
517
+
518
+ #: ../slider.php:102
519
+ msgid "Start Width"
520
+ msgstr "Largeur de démarrage"
521
+
522
+ #: ../slider.php:111
523
+ msgid "The content initial width of the slider."
524
+ msgstr "Largeur du contenu initial du Slider"
525
+
526
+ #: ../slider.php:115
527
+ msgid "Start Height"
528
+ msgstr "Hauteur de démarrage"
529
+
530
+ #: ../slider.php:124
531
+ msgid "The content initial height of the slider."
532
+ msgstr "Hauteur du contenu initial du Slider"
533
+
534
+ #: ../slider.php:128
535
+ msgid "Automatic Slide"
536
+ msgstr "Diapositive automatique"
537
+
538
+ #: ../slider.php:143
539
+ msgid "The slides loop is automatic."
540
+ msgstr "La boucle des diapositives est automatique."
541
+
542
+ #: ../slider.php:147
543
+ msgid "Show Controls"
544
+ msgstr "Afficher les contrôles"
545
+
546
+ #: ../slider.php:162
547
+ msgid "Show the previous and next arrows."
548
+ msgstr "Voir les flèches précédent et suivant."
549
+
550
+ #: ../slider.php:166
551
+ msgid "Show Navigation"
552
+ msgstr "Afficher la navigation"
553
+
554
+ #: ../slider.php:181
555
+ msgid "Show the links buttons to change slide."
556
+ msgstr "Afficher les boutons de liens pour changer la diapositive."
557
+
558
+ #: ../slider.php:185
559
+ msgid "Enable swipe and drag"
560
+ msgstr "Activer glisser et faire défiler"
561
+
562
+ #: ../slider.php:200
563
+ msgid "Enable swipe left, swipe right, drag left, drag right commands."
564
+ msgstr ""
565
+ "Activer glisser gauche, à droite de défilement, glissement à gauche, faites "
566
+ "glisser les commandes à droite."
567
+
568
+ #: ../slider.php:204
569
+ msgid "Show Progress Bar"
570
+ msgstr "Afficher la barre de progression"
571
+
572
+ #: ../slider.php:219
573
+ msgid "Draw the progress bar during the slide execution."
574
+ msgstr ""
575
+ "Dessinez la barre de progression lors de l'exécution de la diapositive."
576
+
577
+ #: ../slider.php:223
578
+ msgid "Pause on Hover"
579
+ msgstr "Pause sur survol"
580
+
581
+ #: ../slider.php:238
582
+ msgid "Pause the current slide when hovered."
583
+ msgstr "Pause de la diapositive actuelle pendant le survol"
584
+
585
+ #: ../slider.php:242
586
+ msgid "Callbacks"
587
+ msgstr "fonctions de rappel"
588
+
589
+ #: ../slider.php:260
590
+ msgid "Some jQuery functions that you can fire during the slider execution."
591
+ msgstr ""
592
+ "Certaines fonctions jQuery que vous pouvez exécuter pendant l'exécution du "
593
+ "curseur."
594
+
595
+ #: ../slides.php:24
596
+ msgid "Add Slide"
597
+ msgstr "Ajouter diapositive"
598
+
599
+ #: ../slides.php:65
600
+ msgid "Slide Options"
601
+ msgstr "Options de la diapositive "
602
+
603
+ #: ../slides.php:76
604
+ msgid "Background"
605
+ msgstr "Arrière-plan"
606
+
607
+ #: ../slides.php:80 ../slides.php:124
608
+ msgid "Background image:"
609
+ msgstr "Image d'arrière-plan:"
610
+
611
+ #: ../slides.php:83 ../slides.php:128 ../slides.php:131
612
+ msgid "Select image"
613
+ msgstr "Sélectionner une image"
614
+
615
+ #: ../slides.php:89 ../slides.php:138
616
+ msgid "Background color:"
617
+ msgstr "Couleur d'arrière-plan:"
618
+
619
+ #: ../slides.php:93 ../slides.php:143 ../slides.php:145
620
+ msgid "Transparent"
621
+ msgstr "Transparent"
622
+
623
+ #: ../slides.php:97 ../slides.php:159
624
+ msgid "Enter value"
625
+ msgstr "Entrer la valeur"
626
+
627
+ #: ../slides.php:103 ../slides.php:166
628
+ msgid "Background position-x:"
629
+ msgstr "Position-x de l'arrière-plan:"
630
+
631
+ #: ../slides.php:106 ../slides.php:169
632
+ msgid "Background position-y:"
633
+ msgstr "Position-y de l'arrière-plan:"
634
+
635
+ #: ../slides.php:112 ../slides.php:175
636
+ msgid "Background repeat:"
637
+ msgstr "Répétition de l'arrière-plan:"
638
+
639
+ #: ../slides.php:114 ../slides.php:178 ../slides.php:181
640
+ msgid "Repeat"
641
+ msgstr "Répétition"
642
+
643
+ #: ../slides.php:115 ../slides.php:179 ../slides.php:182
644
+ msgid "No repeat"
645
+ msgstr "Pas de répétition"
646
+
647
+ #: ../slides.php:121 ../slides.php:189
648
+ msgid "Background size:"
649
+ msgstr "Taille de l'arrière-plan"
650
+
651
+ #: ../slides.php:194
652
+ msgid "The background of the slide and its proprieties."
653
+ msgstr "L'arrière-plan de la diapositive et ses propriétés."
654
+
655
+ #: ../slides.php:197
656
+ msgid "Presets:"
657
+ msgstr "Présélections:"
658
+
659
+ #: ../slides.php:200
660
+ msgid "Full width responsive background image"
661
+ msgstr "Pleine largeur Responsive de l'image d'arrière-plan"
662
+
663
+ #: ../slides.php:201
664
+ msgid "Pattern background image"
665
+ msgstr "Motif image d'arrière-plan"
666
+
667
+ #: ../slides.php:221
668
+ msgid "The in animation of the slide."
669
+ msgstr "Animation d'entrée de la diapositive"
670
+
671
+ #: ../slides.php:240
672
+ msgid "The out animation of the slide."
673
+ msgstr "Animation de sortie de la diapositive"
674
+
675
+ #: ../slides.php:253
676
+ msgid "The time that the slide will remain on the screen."
677
+ msgstr "Temps que la diapositive restera à l'écran."
678
+
679
+ #: ../slides.php:257
680
+ msgid "Ease In"
681
+ msgstr "Ease In"
682
+
683
+ #: ../slides.php:266
684
+ msgid "The time that the slide will take to get in."
685
+ msgstr "Temps que la diapositive prendra pour entrer."
686
+
687
+ #: ../slides.php:270
688
+ msgid "Ease Out"
689
+ msgstr "Ease Out"
690
+
691
+ #: ../slides.php:279
692
+ msgid "The time that the slide will take to get out."
693
+ msgstr "Temps que la diapositive prendra pour sortir."
694
+
695
+ #: ../slides.php:303
696
+ msgid ""
697
+ "Open the link (e.g.: http://www.google.it) when the user clicks on the "
698
+ "background. Leave it empty if you don't want it."
699
+ msgstr ""
700
+ "Ouvrez le lien (par exemple : http://www.google.it) lorsque l'utilisateur "
701
+ "clique sur l'arrière-plan. Laissez vide si vous ne voulez pas."
702
+
703
+ #: ../slides.php:315
704
+ msgid "Apply CSS to the slide."
705
+ msgstr "Appliquer CSS à la diapositive."
wordpress/languages/crellyslider-it_IT.mo CHANGED
Binary file
wordpress/languages/crellyslider-it_IT.po CHANGED
@@ -1,34 +1,34 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Crelly Slider 0.8.2\n"
4
- "POT-Creation-Date: 2015-03-15 13:31+0100\n"
5
- "PO-Revision-Date: 2015-03-15 15:56+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: it_IT\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.7\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SearchPath-0: ..\n"
16
 
17
- #: ../admin.php:50
18
  msgid "JavaScript must be enabled to view this page correctly."
19
  msgstr ""
20
  "JavaScript deve essere abilitato per visualizzare correttamente questa "
21
  "pagina."
22
 
23
- #: ../admin.php:53
24
  msgid "Operation completed successfully."
25
  msgstr "Operazione completata con successo."
26
 
27
- #: ../admin.php:54
28
  msgid "Something went wrong."
29
  msgstr "È stato riscontrato un problema."
30
 
31
- #: ../admin.php:56
32
  msgid ""
33
  "When you'll click \"Save Settings\", you'll be able to add slides and "
34
  "elements."
@@ -36,159 +36,202 @@ msgstr ""
36
  "Prima di poter aggiungere slide ed elementi, dovrai cliccare \"Salva "
37
  "impostazioni\"."
38
 
39
- #: ../admin.php:121
40
  msgid "Slider Settings"
41
  msgstr "Impostazioni dello slider"
42
 
43
- #: ../admin.php:125
44
  msgid "Edit Slides"
45
  msgstr "Edita slide"
46
 
47
- #: ../admin.php:145
48
  msgid "Save Settings"
49
  msgstr "Salva impostazioni"
50
 
51
- #: ../admin.php:244 ../slides.php:15
52
  msgid "Slide"
53
  msgstr "Slide"
54
 
55
- #: ../admin.php:245
56
  msgid "The slide will be deleted. Are you sure?"
57
  msgstr "La slide verrà eliminata. Sei sicuro?"
58
 
59
- #: ../admin.php:246
60
  msgid "You can't delete this. You must have at least one slide."
61
  msgstr "Impossibile eliminare. Deve essere presente almeno una slide."
62
 
63
- #: ../admin.php:247
64
  msgid "The slider will be deleted. Are you sure?"
65
  msgstr "Lo slider verrà eliminato. Sei sicuro?"
66
 
67
- #: ../admin.php:248 ../elements.php:190
68
  msgid "Text element"
69
  msgstr "Elemento testo"
70
 
71
- #: ../admin.php:249 ../elements.php:112
72
  msgid "Live preview"
73
  msgstr "Anteprima live"
74
 
75
- #: ../admin.php:250
76
  msgid "Stop preview"
77
  msgstr "Ferma anteprima"
78
 
79
- #: ../elements.php:108
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  msgid "Add text"
81
  msgstr "Aggiungi testo"
82
 
83
- #: ../elements.php:109
84
  msgid "Add image"
85
  msgstr "Aggiungi immagine"
86
 
87
- #: ../elements.php:113
 
 
 
 
88
  msgid "Delete element"
89
  msgstr "Elimina elemento"
90
 
91
- #: ../elements.php:114
92
  msgid "Duplicate element"
93
  msgstr "Duplica elemento"
94
 
95
- #: ../elements.php:157 ../elements.php:383 ../slides.php:55
 
 
 
 
 
96
  msgid "Slide down"
97
  msgstr "Scorri verso il basso"
98
 
99
- #: ../elements.php:158 ../elements.php:384 ../slides.php:54
100
  msgid "Slide up"
101
  msgstr "Scorri verso l'alto"
102
 
103
- #: ../elements.php:159 ../elements.php:385 ../slides.php:52
104
  msgid "Slide left"
105
  msgstr "Scorri verso sinistra"
106
 
107
- #: ../elements.php:160 ../elements.php:386 ../slides.php:53
108
  msgid "Slide right"
109
  msgstr "Scorri verso destra"
110
 
111
- #: ../elements.php:161 ../elements.php:387 ../slides.php:49
112
  msgid "Fade"
113
  msgstr "Sfuma"
114
 
115
- #: ../elements.php:162 ../elements.php:388
116
  msgid "Fade down"
117
  msgstr "Sfuma verso il basso"
118
 
119
- #: ../elements.php:163 ../elements.php:389
120
  msgid "Fade up"
121
  msgstr "Sfuma verso l'alto"
122
 
123
- #: ../elements.php:164 ../elements.php:390 ../slides.php:50
124
  msgid "Fade left"
125
  msgstr "Sfuma verso sinistra"
126
 
127
- #: ../elements.php:165 ../elements.php:391 ../slides.php:51
128
  msgid "Fade right"
129
  msgstr "Sfuma verso destra"
130
 
131
- #: ../elements.php:166 ../elements.php:392
132
  msgid "Fade small down"
133
  msgstr "Sfuma leggermente verso il basso"
134
 
135
- #: ../elements.php:167 ../elements.php:393
136
  msgid "Fade small up"
137
  msgstr "Sfuma leggermente verso l'alto"
138
 
139
- #: ../elements.php:168 ../elements.php:394
140
  msgid "Fade small left"
141
  msgstr "Sfuma leggermente verso sinistra"
142
 
143
- #: ../elements.php:169 ../elements.php:395
144
  msgid "Fade small right"
145
  msgstr "Sfuma leggermente verso destra"
146
 
147
- #: ../elements.php:176 ../elements.php:402
148
  msgid "Element Options"
149
  msgstr "Opzioni dell'elemento"
150
 
151
- #: ../elements.php:182 ../elements.php:407 ../slider.php:59 ../slides.php:68
 
152
  msgid "Option"
153
  msgstr "Opzione"
154
 
155
- #: ../elements.php:183 ../elements.php:408 ../slider.php:60 ../slides.php:69
 
156
  msgid "Parameter"
157
  msgstr "Parametro"
158
 
159
- #: ../elements.php:184 ../elements.php:409 ../slider.php:61 ../slides.php:70
 
160
  msgid "Description"
161
  msgstr "Descrizione"
162
 
163
- #: ../elements.php:187
164
  msgid "Text"
165
  msgstr "Testo"
166
 
167
- #: ../elements.php:195
168
  msgid "Write the text or the HTML."
169
  msgstr "Scrivi il testo o l'HTML."
170
 
171
- #: ../elements.php:199 ../elements.php:424
172
  msgid "Left"
173
  msgstr "Distanza dal margine di sinistra"
174
 
175
- #: ../elements.php:208 ../elements.php:433
 
 
 
 
176
  msgid "Left distance in px from the start width."
177
  msgstr "Distanza in px dal margine sinistro della larghezza di partenza."
178
 
179
- #: ../elements.php:212 ../elements.php:437
180
  msgid "Top"
181
  msgstr "Distanza dal margine superiore"
182
 
183
- #: ../elements.php:221 ../elements.php:446
 
 
 
 
184
  msgid "Top distance in px from the start height."
185
  msgstr "Distanza in px dal margine superiore dell'altezza di partenza."
186
 
187
- #: ../elements.php:225 ../elements.php:450
188
  msgid "Z - index"
189
  msgstr "Z - index"
190
 
191
- #: ../elements.php:233 ../elements.php:458
192
  msgid ""
193
  "An element with an high z-index will cover an element with a lower z-index "
194
  "if they overlap."
@@ -196,44 +239,60 @@ msgstr ""
196
  "Se due elementi vengono sovrapposti, quello con lo z-index superiore coprirà "
197
  "quello con lo z-index inferiore."
198
 
199
- #: ../elements.php:237 ../elements.php:462
200
  msgid "Delay"
201
  msgstr "Attesa"
202
 
203
- #: ../elements.php:246 ../elements.php:471
204
  msgid "How long will the element wait before the entrance."
205
  msgstr "Quando tempo l'elemento dovrà aspettare prima di entrare."
206
 
207
- #: ../elements.php:250 ../elements.php:475 ../slides.php:214
 
208
  msgid "Time"
209
  msgstr "Durata"
210
 
211
- #: ../elements.php:259 ../elements.php:484
212
- msgid ""
213
- "How long will the element be displayed during the slide execution. Write "
214
- "\"all\" to set the entire time."
215
  msgstr ""
216
  "Per quanto tempo l'elemento verrà visualizzato durante l'esecuzione della "
217
- "slide. Scrivi \"all\" per impostare la durata massima."
218
 
219
- #: ../elements.php:263 ../elements.php:488 ../slides.php:176
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
220
  msgid "In animation"
221
  msgstr "Animazione d'entrata"
222
 
223
- #: ../elements.php:278 ../elements.php:503
224
  msgid "The in animation of the element."
225
  msgstr "L'animazione d'entrata dell'elemento."
226
 
227
- #: ../elements.php:282 ../elements.php:507 ../slides.php:195
 
228
  msgid "Out animation"
229
  msgstr "Animazione d'uscita"
230
 
231
- #: ../elements.php:297 ../elements.php:300 ../elements.php:303
232
- #: ../elements.php:522 ../elements.php:525 ../elements.php:528
 
233
  msgid "Disable synchronization with slide out animation"
234
  msgstr "Disabilita la sincronizzazione con l'animazione d'uscita della slide"
235
 
236
- #: ../elements.php:309 ../elements.php:534
237
  msgid ""
238
  "The out animation of the element.<br /><br />Disable synchronization with "
239
  "slide out animation: if not checked, the slide out animation won't start "
@@ -245,32 +304,33 @@ msgstr ""
245
  "tutti gli elementi che hanno quest'opzione spuntata non avranno completato "
246
  "l'animazione d'uscita."
247
 
248
- #: ../elements.php:313 ../elements.php:538
249
  msgid "Ease in"
250
  msgstr "Tempo d'entrata"
251
 
252
- #: ../elements.php:322 ../elements.php:547
253
  msgid "How long will the in animation take."
254
  msgstr "Quanto durerà l'animazione d'entrata."
255
 
256
- #: ../elements.php:326 ../elements.php:551
257
  msgid "Ease out"
258
  msgstr "Tempo d'uscita"
259
 
260
- #: ../elements.php:335 ../elements.php:560
261
  msgid "How long will the out animation take."
262
  msgstr "Quanto durerà l'animazione d'uscita."
263
 
264
- #: ../elements.php:339 ../elements.php:564
265
  msgid "Link"
266
  msgstr "Link"
267
 
268
- #: ../elements.php:347 ../elements.php:350 ../elements.php:353
269
- #: ../elements.php:572 ../elements.php:575 ../elements.php:578
 
270
  msgid "Open link in a new tab"
271
  msgstr "Apri il link in una nuova scheda"
272
 
273
- #: ../elements.php:359 ../elements.php:584
274
  msgid ""
275
  "Open the link (e.g.: http://www.google.it) on click. Leave it empty if you "
276
  "don't want it."
@@ -278,26 +338,65 @@ msgstr ""
278
  "Apri il link (es.: http://www.google.it) al click. Lascia il campo di testo "
279
  "vuoto se non ti serve."
280
 
281
- #: ../elements.php:363 ../elements.php:588 ../slides.php:253
 
282
  msgid "Custom CSS"
283
  msgstr "CSS personalizzato"
284
 
285
- #: ../elements.php:371 ../elements.php:596
286
  msgid "Style the element."
287
  msgstr "Dai dello stile all'elemento."
288
 
289
- #: ../elements.php:412
 
 
 
 
 
 
 
 
 
 
 
 
290
  msgid "Modify image"
291
  msgstr "Modifica immagine"
292
 
293
- #: ../elements.php:415 ../elements.php:416
294
  msgid "Open gallery"
295
  msgstr "Apri galleria"
296
 
297
- #: ../elements.php:420
298
  msgid "Change the image source or the alt text."
299
  msgstr "Cambia immagine o modifica il testo alternativo."
300
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
301
  #: ../frontend.php:25
302
  msgid "You have to insert a valid alias in the shortcode"
303
  msgstr "Devi inserire uno shortcode contenente un alias valido"
@@ -339,20 +438,32 @@ msgid "Edit Slider"
339
  msgstr "Edita slider"
340
 
341
  #: ../home.php:37
 
 
 
 
 
 
 
 
342
  msgid "Delete Slider"
343
  msgstr "Elimina slider"
344
 
345
- #: ../home.php:49
346
  msgid "Add Slider"
347
  msgstr "Aggiungi slider"
348
 
 
 
 
 
349
  #: ../slider.php:6
350
  msgid "Full Width"
351
  msgstr "100% di larghezza"
352
 
353
  #: ../slider.php:7
354
  msgid "Fixed"
355
- msgstr "Larghezza definita"
356
 
357
  #: ../slider.php:10
358
  msgid "Yes"
@@ -469,94 +580,142 @@ msgid "Some jQuery functions that you can fire during the slider execution."
469
  msgstr ""
470
  "Alcune funzioni jQuery che puoi lanciare durante l'esecuzione dello slider."
471
 
472
- #: ../slides.php:23
473
  msgid "Add Slide"
474
  msgstr "Aggiungi slide"
475
 
476
- #: ../slides.php:62
477
  msgid "Slide Options"
478
  msgstr "Opzioni della slide"
479
 
480
- #: ../slides.php:73
481
  msgid "Background"
482
  msgstr "Sfondo"
483
 
484
- #: ../slides.php:77 ../slides.php:116
485
  msgid "Background image:"
486
  msgstr "Immagine di sfondo:"
487
 
488
- #: ../slides.php:79 ../slides.php:119 ../slides.php:122
489
- msgid "None"
490
- msgstr "Nessuna"
491
-
492
- #: ../slides.php:80 ../slides.php:120 ../slides.php:123
493
  msgid "Select image"
494
  msgstr "Seleziona immagine"
495
 
496
- #: ../slides.php:86 ../slides.php:130
497
  msgid "Background color:"
498
  msgstr "Colore di sfondo:"
499
 
500
- #: ../slides.php:88 ../slides.php:133 ../slides.php:136
501
  msgid "Transparent"
502
  msgstr "Trasparente"
503
 
504
- #: ../slides.php:95 ../slides.php:144
 
 
 
 
505
  msgid "Background position-x:"
506
  msgstr "Posizione da sinistra dello sfondo:"
507
 
508
- #: ../slides.php:98 ../slides.php:147
509
  msgid "Background position-y:"
510
  msgstr "Posizione dall'alto dello sfondo:"
511
 
512
- #: ../slides.php:104 ../slides.php:153
513
  msgid "Background repeat:"
514
  msgstr "Ripeti sfondo"
515
 
516
- #: ../slides.php:106 ../slides.php:156 ../slides.php:159
517
  msgid "Repeat"
518
  msgstr "Ripeti"
519
 
520
- #: ../slides.php:107 ../slides.php:157 ../slides.php:160
521
  msgid "No repeat"
522
  msgstr "Non ripetere"
523
 
524
- #: ../slides.php:113 ../slides.php:167
525
  msgid "Background size:"
526
  msgstr "Dimensioni dello sfondo:"
527
 
528
- #: ../slides.php:172
529
  msgid "The background of the slide and its proprieties."
530
  msgstr "Lo sfondo della slide e le sue proprietà."
531
 
532
- #: ../slides.php:191
 
 
 
 
 
 
 
 
 
 
 
 
533
  msgid "The in animation of the slide."
534
  msgstr "L'animazione d'entrata della slide."
535
 
536
- #: ../slides.php:210
537
  msgid "The out animation of the slide."
538
  msgstr "L'animazione d'uscita della slide."
539
 
540
- #: ../slides.php:223
541
  msgid "The time that the slide will remain on the screen."
542
  msgstr "Per quanto tempo la slide rimarrà visualizzata."
543
 
544
- #: ../slides.php:227
545
  msgid "Ease In"
546
  msgstr "Durata animazione d'entrata"
547
 
548
- #: ../slides.php:236
549
  msgid "The time that the slide will take to get in."
550
  msgstr "Quanto tempo impiegherà la slide ad entrare."
551
 
552
- #: ../slides.php:240
553
  msgid "Ease Out"
554
  msgstr "Durata animazione d'uscita"
555
 
556
- #: ../slides.php:249
557
  msgid "The time that the slide will take to get out."
558
  msgstr "Quanto tempo impiegherà la slide ad uscire."
559
 
560
- #: ../slides.php:261
 
 
 
 
 
 
 
 
561
  msgid "Apply CSS to the slide."
562
  msgstr "Applica del CSS alla slide."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Crelly Slider 1.1.0\n"
4
+ "POT-Creation-Date: 2016-03-12 22:18+0100\n"
5
+ "PO-Revision-Date: 2016-03-12 22:18+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: it_IT\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SearchPath-0: ..\n"
16
 
17
+ #: ../admin.php:48
18
  msgid "JavaScript must be enabled to view this page correctly."
19
  msgstr ""
20
  "JavaScript deve essere abilitato per visualizzare correttamente questa "
21
  "pagina."
22
 
23
+ #: ../admin.php:51
24
  msgid "Operation completed successfully."
25
  msgstr "Operazione completata con successo."
26
 
27
+ #: ../admin.php:52
28
  msgid "Something went wrong."
29
  msgstr "È stato riscontrato un problema."
30
 
31
+ #: ../admin.php:54
32
  msgid ""
33
  "When you'll click \"Save Settings\", you'll be able to add slides and "
34
  "elements."
36
  "Prima di poter aggiungere slide ed elementi, dovrai cliccare \"Salva "
37
  "impostazioni\"."
38
 
39
+ #: ../admin.php:119
40
  msgid "Slider Settings"
41
  msgstr "Impostazioni dello slider"
42
 
43
+ #: ../admin.php:123
44
  msgid "Edit Slides"
45
  msgstr "Edita slide"
46
 
47
+ #: ../admin.php:143
48
  msgid "Save Settings"
49
  msgstr "Salva impostazioni"
50
 
51
+ #: ../admin.php:243 ../slides.php:15
52
  msgid "Slide"
53
  msgstr "Slide"
54
 
55
+ #: ../admin.php:244
56
  msgid "The slide will be deleted. Are you sure?"
57
  msgstr "La slide verrà eliminata. Sei sicuro?"
58
 
59
+ #: ../admin.php:245
60
  msgid "You can't delete this. You must have at least one slide."
61
  msgstr "Impossibile eliminare. Deve essere presente almeno una slide."
62
 
63
+ #: ../admin.php:246
64
  msgid "The slider will be deleted. Are you sure?"
65
  msgstr "Lo slider verrà eliminato. Sei sicuro?"
66
 
67
+ #: ../admin.php:247 ../elements.php:249
68
  msgid "Text element"
69
  msgstr "Elemento testo"
70
 
71
+ #: ../admin.php:248 ../elements.php:159
72
  msgid "Live preview"
73
  msgstr "Anteprima live"
74
 
75
+ #: ../admin.php:249
76
  msgid "Stop preview"
77
  msgstr "Ferma anteprima"
78
 
79
+ #: ../admin.php:250 ../slides.php:16
80
+ msgid "Duplicate slide"
81
+ msgstr "Duplica slide"
82
+
83
+ #: ../admin.php:251 ../slides.php:17
84
+ msgid "Delete slide"
85
+ msgstr "Elimina slide"
86
+
87
+ #: ../admin.php:252
88
+ msgid ""
89
+ "All unsaved changes will be lost. Are you sure you want to leave this page?"
90
+ msgstr ""
91
+ "Tutte le modifiche non salvate verranno perse. Sei sicuro di voler lasciare "
92
+ "questa pagina?"
93
+
94
+ #: ../ajax.php:282
95
+ msgid "Copy"
96
+ msgstr "Copia"
97
+
98
+ #: ../ajax.php:283
99
+ msgid "copy"
100
+ msgstr "copia"
101
+
102
+ #: ../elements.php:154
103
  msgid "Add text"
104
  msgstr "Aggiungi testo"
105
 
106
+ #: ../elements.php:155
107
  msgid "Add image"
108
  msgstr "Aggiungi immagine"
109
 
110
+ #: ../elements.php:156
111
+ msgid "Add video"
112
+ msgstr "Aggiungi video"
113
+
114
+ #: ../elements.php:160
115
  msgid "Delete element"
116
  msgstr "Elimina elemento"
117
 
118
+ #: ../elements.php:161
119
  msgid "Duplicate element"
120
  msgstr "Duplica elemento"
121
 
122
+ #: ../elements.php:215 ../elements.php:466 ../elements.php:716 ../slides.php:51
123
+ #: ../slides.php:82 ../slides.php:127 ../slides.php:130
124
+ msgid "None"
125
+ msgstr "Nessuna"
126
+
127
+ #: ../elements.php:216 ../elements.php:467 ../elements.php:717 ../slides.php:58
128
  msgid "Slide down"
129
  msgstr "Scorri verso il basso"
130
 
131
+ #: ../elements.php:217 ../elements.php:468 ../elements.php:718 ../slides.php:57
132
  msgid "Slide up"
133
  msgstr "Scorri verso l'alto"
134
 
135
+ #: ../elements.php:218 ../elements.php:469 ../elements.php:719 ../slides.php:55
136
  msgid "Slide left"
137
  msgstr "Scorri verso sinistra"
138
 
139
+ #: ../elements.php:219 ../elements.php:470 ../elements.php:720 ../slides.php:56
140
  msgid "Slide right"
141
  msgstr "Scorri verso destra"
142
 
143
+ #: ../elements.php:220 ../elements.php:471 ../elements.php:721 ../slides.php:52
144
  msgid "Fade"
145
  msgstr "Sfuma"
146
 
147
+ #: ../elements.php:221 ../elements.php:472 ../elements.php:722
148
  msgid "Fade down"
149
  msgstr "Sfuma verso il basso"
150
 
151
+ #: ../elements.php:222 ../elements.php:473 ../elements.php:723
152
  msgid "Fade up"
153
  msgstr "Sfuma verso l'alto"
154
 
155
+ #: ../elements.php:223 ../elements.php:474 ../elements.php:724 ../slides.php:53
156
  msgid "Fade left"
157
  msgstr "Sfuma verso sinistra"
158
 
159
+ #: ../elements.php:224 ../elements.php:475 ../elements.php:725 ../slides.php:54
160
  msgid "Fade right"
161
  msgstr "Sfuma verso destra"
162
 
163
+ #: ../elements.php:225 ../elements.php:476 ../elements.php:726
164
  msgid "Fade small down"
165
  msgstr "Sfuma leggermente verso il basso"
166
 
167
+ #: ../elements.php:226 ../elements.php:477 ../elements.php:727
168
  msgid "Fade small up"
169
  msgstr "Sfuma leggermente verso l'alto"
170
 
171
+ #: ../elements.php:227 ../elements.php:478 ../elements.php:728
172
  msgid "Fade small left"
173
  msgstr "Sfuma leggermente verso sinistra"
174
 
175
+ #: ../elements.php:228 ../elements.php:479 ../elements.php:729
176
  msgid "Fade small right"
177
  msgstr "Sfuma leggermente verso destra"
178
 
179
+ #: ../elements.php:235 ../elements.php:486 ../elements.php:736
180
  msgid "Element Options"
181
  msgstr "Opzioni dell'elemento"
182
 
183
+ #: ../elements.php:241 ../elements.php:491 ../elements.php:742 ../slider.php:59
184
+ #: ../slides.php:71
185
  msgid "Option"
186
  msgstr "Opzione"
187
 
188
+ #: ../elements.php:242 ../elements.php:492 ../elements.php:743 ../slider.php:60
189
+ #: ../slides.php:72
190
  msgid "Parameter"
191
  msgstr "Parametro"
192
 
193
+ #: ../elements.php:243 ../elements.php:493 ../elements.php:744 ../slider.php:61
194
+ #: ../slides.php:73
195
  msgid "Description"
196
  msgstr "Descrizione"
197
 
198
+ #: ../elements.php:246
199
  msgid "Text"
200
  msgstr "Testo"
201
 
202
+ #: ../elements.php:254
203
  msgid "Write the text or the HTML."
204
  msgstr "Scrivi il testo o l'HTML."
205
 
206
+ #: ../elements.php:258 ../elements.php:508 ../elements.php:809
207
  msgid "Left"
208
  msgstr "Distanza dal margine di sinistra"
209
 
210
+ #: ../elements.php:267 ../elements.php:517 ../elements.php:818
211
+ msgid "Center horizontally"
212
+ msgstr "Centra orizzontalmente"
213
+
214
+ #: ../elements.php:270 ../elements.php:520 ../elements.php:821
215
  msgid "Left distance in px from the start width."
216
  msgstr "Distanza in px dal margine sinistro della larghezza di partenza."
217
 
218
+ #: ../elements.php:274 ../elements.php:524 ../elements.php:825
219
  msgid "Top"
220
  msgstr "Distanza dal margine superiore"
221
 
222
+ #: ../elements.php:283 ../elements.php:533 ../elements.php:834
223
+ msgid "Center vertically"
224
+ msgstr "Centra verticalmente"
225
+
226
+ #: ../elements.php:286 ../elements.php:536 ../elements.php:837
227
  msgid "Top distance in px from the start height."
228
  msgstr "Distanza in px dal margine superiore dell'altezza di partenza."
229
 
230
+ #: ../elements.php:290 ../elements.php:540 ../elements.php:841
231
  msgid "Z - index"
232
  msgstr "Z - index"
233
 
234
+ #: ../elements.php:298 ../elements.php:548 ../elements.php:849
235
  msgid ""
236
  "An element with an high z-index will cover an element with a lower z-index "
237
  "if they overlap."
239
  "Se due elementi vengono sovrapposti, quello con lo z-index superiore coprirà "
240
  "quello con lo z-index inferiore."
241
 
242
+ #: ../elements.php:302 ../elements.php:552 ../elements.php:853
243
  msgid "Delay"
244
  msgstr "Attesa"
245
 
246
+ #: ../elements.php:311 ../elements.php:561 ../elements.php:862
247
  msgid "How long will the element wait before the entrance."
248
  msgstr "Quando tempo l'elemento dovrà aspettare prima di entrare."
249
 
250
+ #: ../elements.php:315 ../elements.php:565 ../elements.php:866
251
+ #: ../slides.php:244
252
  msgid "Time"
253
  msgstr "Durata"
254
 
255
+ #: ../elements.php:324 ../elements.php:574 ../elements.php:875
256
+ msgid "How long will the element be displayed during the slide execution."
 
 
257
  msgstr ""
258
  "Per quanto tempo l'elemento verrà visualizzato durante l'esecuzione della "
259
+ "slide."
260
 
261
+ #: ../elements.php:327 ../elements.php:577 ../elements.php:878
262
+ msgid "Write \"all\" to set the entire time."
263
+ msgstr "Scrivi \"all\" per impostare tutto il tempo."
264
+
265
+ #: ../elements.php:330 ../elements.php:580 ../elements.php:881
266
+ msgid ""
267
+ "Write \"3000\" to set 3000 milliseconds minus delay time (so, if the delay "
268
+ "time is 1000 milliseconds, the element will be displayed for 3000-1000=2000 "
269
+ "milliseconds)."
270
+ msgstr ""
271
+ "Scrivi \"3000\" per impostare 3000 millisecondi meno il tempo di attesa "
272
+ "(quindi, se il tempo di attesa è 1000 millisecondi, l'elemento verrà "
273
+ "visualizzato per 3000-1000=2000 millisecondi)."
274
+
275
+ #: ../elements.php:334 ../elements.php:584 ../elements.php:885
276
+ #: ../slides.php:206
277
  msgid "In animation"
278
  msgstr "Animazione d'entrata"
279
 
280
+ #: ../elements.php:349 ../elements.php:599 ../elements.php:900
281
  msgid "The in animation of the element."
282
  msgstr "L'animazione d'entrata dell'elemento."
283
 
284
+ #: ../elements.php:353 ../elements.php:603 ../elements.php:904
285
+ #: ../slides.php:225
286
  msgid "Out animation"
287
  msgstr "Animazione d'uscita"
288
 
289
+ #: ../elements.php:368 ../elements.php:371 ../elements.php:374
290
+ #: ../elements.php:618 ../elements.php:621 ../elements.php:624
291
+ #: ../elements.php:919 ../elements.php:922 ../elements.php:925
292
  msgid "Disable synchronization with slide out animation"
293
  msgstr "Disabilita la sincronizzazione con l'animazione d'uscita della slide"
294
 
295
+ #: ../elements.php:380 ../elements.php:630 ../elements.php:931
296
  msgid ""
297
  "The out animation of the element.<br /><br />Disable synchronization with "
298
  "slide out animation: if not checked, the slide out animation won't start "
304
  "tutti gli elementi che hanno quest'opzione spuntata non avranno completato "
305
  "l'animazione d'uscita."
306
 
307
+ #: ../elements.php:384 ../elements.php:634 ../elements.php:935
308
  msgid "Ease in"
309
  msgstr "Tempo d'entrata"
310
 
311
+ #: ../elements.php:393 ../elements.php:643 ../elements.php:944
312
  msgid "How long will the in animation take."
313
  msgstr "Quanto durerà l'animazione d'entrata."
314
 
315
+ #: ../elements.php:397 ../elements.php:647 ../elements.php:948
316
  msgid "Ease out"
317
  msgstr "Tempo d'uscita"
318
 
319
+ #: ../elements.php:406 ../elements.php:656 ../elements.php:957
320
  msgid "How long will the out animation take."
321
  msgstr "Quanto durerà l'animazione d'uscita."
322
 
323
+ #: ../elements.php:410 ../elements.php:660 ../slides.php:283
324
  msgid "Link"
325
  msgstr "Link"
326
 
327
+ #: ../elements.php:418 ../elements.php:421 ../elements.php:424
328
+ #: ../elements.php:668 ../elements.php:671 ../elements.php:674
329
+ #: ../slides.php:291 ../slides.php:294 ../slides.php:297
330
  msgid "Open link in a new tab"
331
  msgstr "Apri il link in una nuova scheda"
332
 
333
+ #: ../elements.php:430 ../elements.php:680
334
  msgid ""
335
  "Open the link (e.g.: http://www.google.it) on click. Leave it empty if you "
336
  "don't want it."
338
  "Apri il link (es.: http://www.google.it) al click. Lascia il campo di testo "
339
  "vuoto se non ti serve."
340
 
341
+ #: ../elements.php:434 ../elements.php:684 ../elements.php:961
342
+ #: ../slides.php:307
343
  msgid "Custom CSS"
344
  msgstr "CSS personalizzato"
345
 
346
+ #: ../elements.php:442 ../elements.php:692 ../elements.php:969
347
  msgid "Style the element."
348
  msgstr "Dai dello stile all'elemento."
349
 
350
+ #: ../elements.php:446 ../elements.php:696 ../elements.php:973
351
+ msgid "Custom classes"
352
+ msgstr "Classi personalizzate"
353
+
354
+ #: ../elements.php:454 ../elements.php:704 ../elements.php:981
355
+ msgid ""
356
+ "Apply custom CSS classes to the element. The style of the classes may not "
357
+ "work when working on backend."
358
+ msgstr ""
359
+ "Aggiungi classi CSS personalizzate all'elemento. Lo stile delle classi "
360
+ "potrebbe non funzionare mentre si lavora nel backend."
361
+
362
+ #: ../elements.php:496
363
  msgid "Modify image"
364
  msgstr "Modifica immagine"
365
 
366
+ #: ../elements.php:499 ../elements.php:500
367
  msgid "Open gallery"
368
  msgstr "Apri galleria"
369
 
370
+ #: ../elements.php:504
371
  msgid "Change the image source or the alt text."
372
  msgstr "Cambia immagine o modifica il testo alternativo."
373
 
374
+ #: ../elements.php:747
375
+ msgid "Video source"
376
+ msgstr "Source del video"
377
+
378
+ #: ../elements.php:767
379
+ msgid "Set source and ID."
380
+ msgstr "Imposta source ed ID."
381
+
382
+ #: ../elements.php:771
383
+ msgid "Loop video"
384
+ msgstr "Riproduci a ciclo continuo"
385
+
386
+ #: ../elements.php:786
387
+ msgid ""
388
+ "The video will automatically restart from the beginning when it reaches the "
389
+ "end."
390
+ msgstr "Il video ricomincerà automaticamente quando finisce."
391
+
392
+ #: ../elements.php:790
393
+ msgid "Autoplay"
394
+ msgstr "Riproduci automaticamente"
395
+
396
+ #: ../elements.php:805
397
+ msgid "The video will automatically be played after the in animation."
398
+ msgstr "Il video sarà riprodotto automaticamente dono l'animazione d'entrata."
399
+
400
  #: ../frontend.php:25
401
  msgid "You have to insert a valid alias in the shortcode"
402
  msgstr "Devi inserire uno shortcode contenente un alias valido"
438
  msgstr "Edita slider"
439
 
440
  #: ../home.php:37
441
+ msgid "Duplicate Slider"
442
+ msgstr "Duplica slider"
443
+
444
+ #: ../home.php:38
445
+ msgid "Export Slider"
446
+ msgstr "Esporta slider"
447
+
448
+ #: ../home.php:39
449
  msgid "Delete Slider"
450
  msgstr "Elimina slider"
451
 
452
+ #: ../home.php:51
453
  msgid "Add Slider"
454
  msgstr "Aggiungi slider"
455
 
456
+ #: ../home.php:52
457
+ msgid "Import Slider"
458
+ msgstr "Importa slider"
459
+
460
  #: ../slider.php:6
461
  msgid "Full Width"
462
  msgstr "100% di larghezza"
463
 
464
  #: ../slider.php:7
465
  msgid "Fixed"
466
+ msgstr "Larghezza fissata"
467
 
468
  #: ../slider.php:10
469
  msgid "Yes"
580
  msgstr ""
581
  "Alcune funzioni jQuery che puoi lanciare durante l'esecuzione dello slider."
582
 
583
+ #: ../slides.php:24
584
  msgid "Add Slide"
585
  msgstr "Aggiungi slide"
586
 
587
+ #: ../slides.php:65
588
  msgid "Slide Options"
589
  msgstr "Opzioni della slide"
590
 
591
+ #: ../slides.php:76
592
  msgid "Background"
593
  msgstr "Sfondo"
594
 
595
+ #: ../slides.php:80 ../slides.php:124
596
  msgid "Background image:"
597
  msgstr "Immagine di sfondo:"
598
 
599
+ #: ../slides.php:83 ../slides.php:128 ../slides.php:131
 
 
 
 
600
  msgid "Select image"
601
  msgstr "Seleziona immagine"
602
 
603
+ #: ../slides.php:89 ../slides.php:138
604
  msgid "Background color:"
605
  msgstr "Colore di sfondo:"
606
 
607
+ #: ../slides.php:93 ../slides.php:143 ../slides.php:145
608
  msgid "Transparent"
609
  msgstr "Trasparente"
610
 
611
+ #: ../slides.php:97 ../slides.php:159
612
+ msgid "Enter value"
613
+ msgstr "Digita valore"
614
+
615
+ #: ../slides.php:103 ../slides.php:166
616
  msgid "Background position-x:"
617
  msgstr "Posizione da sinistra dello sfondo:"
618
 
619
+ #: ../slides.php:106 ../slides.php:169
620
  msgid "Background position-y:"
621
  msgstr "Posizione dall'alto dello sfondo:"
622
 
623
+ #: ../slides.php:112 ../slides.php:175
624
  msgid "Background repeat:"
625
  msgstr "Ripeti sfondo"
626
 
627
+ #: ../slides.php:114 ../slides.php:178 ../slides.php:181
628
  msgid "Repeat"
629
  msgstr "Ripeti"
630
 
631
+ #: ../slides.php:115 ../slides.php:179 ../slides.php:182
632
  msgid "No repeat"
633
  msgstr "Non ripetere"
634
 
635
+ #: ../slides.php:121 ../slides.php:189
636
  msgid "Background size:"
637
  msgstr "Dimensioni dello sfondo:"
638
 
639
+ #: ../slides.php:194
640
  msgid "The background of the slide and its proprieties."
641
  msgstr "Lo sfondo della slide e le sue proprietà."
642
 
643
+ #: ../slides.php:197
644
+ msgid "Presets:"
645
+ msgstr "Predefiniti:"
646
+
647
+ #: ../slides.php:200
648
+ msgid "Full width responsive background image"
649
+ msgstr "Immagine di sfondo responsive al 100% di larghezza"
650
+
651
+ #: ../slides.php:201
652
+ msgid "Pattern background image"
653
+ msgstr "Pattern di sfondo"
654
+
655
+ #: ../slides.php:221
656
  msgid "The in animation of the slide."
657
  msgstr "L'animazione d'entrata della slide."
658
 
659
+ #: ../slides.php:240
660
  msgid "The out animation of the slide."
661
  msgstr "L'animazione d'uscita della slide."
662
 
663
+ #: ../slides.php:253
664
  msgid "The time that the slide will remain on the screen."
665
  msgstr "Per quanto tempo la slide rimarrà visualizzata."
666
 
667
+ #: ../slides.php:257
668
  msgid "Ease In"
669
  msgstr "Durata animazione d'entrata"
670
 
671
+ #: ../slides.php:266
672
  msgid "The time that the slide will take to get in."
673
  msgstr "Quanto tempo impiegherà la slide ad entrare."
674
 
675
+ #: ../slides.php:270
676
  msgid "Ease Out"
677
  msgstr "Durata animazione d'uscita"
678
 
679
+ #: ../slides.php:279
680
  msgid "The time that the slide will take to get out."
681
  msgstr "Quanto tempo impiegherà la slide ad uscire."
682
 
683
+ #: ../slides.php:303
684
+ msgid ""
685
+ "Open the link (e.g.: http://www.google.it) when the user clicks on the "
686
+ "background. Leave it empty if you don't want it."
687
+ msgstr ""
688
+ "Apri il link (es.: http://www.google.it) quando l'utente clicca sullo "
689
+ "sfondo. Lascia vuoto se non lo vuoi."
690
+
691
+ #: ../slides.php:315
692
  msgid "Apply CSS to the slide."
693
  msgstr "Applica del CSS alla slide."
694
+
695
+ #~ msgid ""
696
+ #~ "Write \"3000\" to set 3000 milliseconds minus delay time (so, if the "
697
+ #~ "delay time is 1000 milliseconds, the element will be displayed for 2000 "
698
+ #~ "milliseconds)."
699
+ #~ msgstr ""
700
+ #~ "Scrivi \"3000\" per impostare 3000 millisecondi meno il tempo di attesa "
701
+ #~ "(quindi, se il tempo di attesa è 1000 millisecondi, l'elemento verrà "
702
+ #~ "visualizzato per 2000 millisecondi)."
703
+
704
+ #~ msgid ""
705
+ #~ "How long will the element be displayed during the slide execution.<br /"
706
+ #~ "><br />Write \"all\" to set the entire time.<br /><br />Write \"3000\" to "
707
+ #~ "set 3000 milliseconds minus delay time (so, if the delay time is 1000 "
708
+ #~ "milliseconds, the element will be displayed for 2000 milliseconds)."
709
+ #~ msgstr ""
710
+ #~ "Per quanto tempo l'elemento verrà visualizzato durante l'esecuzione della "
711
+ #~ "slide.<br /><br />Scrivi \"all\" per impostare tutto il tempo.<br /> <br /"
712
+ #~ ">Scrivi \"3000\" per impostare 3000 millisecondi meno il tempo di attesa "
713
+ #~ "(quindi, se il tempo di attesa è di 1000 millisecondi, l'elemento verrà "
714
+ #~ "visualizzato per 2000 millisecondi)."
715
+
716
+ #~ msgid ""
717
+ #~ "How long will the element be displayed during the slide execution. Write "
718
+ #~ "\"all\" to set the entire time."
719
+ #~ msgstr ""
720
+ #~ "Per quanto tempo l'elemento verrà visualizzato durante l'esecuzione della "
721
+ #~ "slide. Scrivi \"all\" per impostare la durata massima."
wordpress/languages/crellyslider-ru_RU.mo ADDED
Binary file
wordpress/languages/crellyslider-ru_RU.po ADDED
@@ -0,0 +1,685 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Crelly Slider 1.1.0\n"
4
+ "POT-Creation-Date: 2016-03-12 13:34+0100\n"
5
+ "PO-Revision-Date: 2016-03-12 13:34+0100\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: Andrey Dymskiy <andrey@dymskiy.ru>\n"
8
+ "Language: ru\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
16
+ "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ #: ../admin.php:48
20
+ msgid "JavaScript must be enabled to view this page correctly."
21
+ msgstr "Необходимо включить JavaScript для правильного отображения страницы."
22
+
23
+ #: ../admin.php:51
24
+ msgid "Operation completed successfully."
25
+ msgstr "Операция завершена успешно."
26
+
27
+ #: ../admin.php:52
28
+ msgid "Something went wrong."
29
+ msgstr "Что-то пошло не так."
30
+
31
+ #: ../admin.php:54
32
+ msgid ""
33
+ "When you'll click \"Save Settings\", you'll be able to add slides and "
34
+ "elements."
35
+ msgstr ""
36
+ "После клика на \"Сохранить настройки\", можно будет добавлять слайды и "
37
+ "элементы на них."
38
+
39
+ #: ../admin.php:119
40
+ msgid "Slider Settings"
41
+ msgstr "Настройки слайдера"
42
+
43
+ #: ../admin.php:123
44
+ msgid "Edit Slides"
45
+ msgstr "Редактировать слайды"
46
+
47
+ #: ../admin.php:143
48
+ msgid "Save Settings"
49
+ msgstr "Сохранить настройки"
50
+
51
+ #: ../admin.php:243 ../slides.php:15
52
+ msgid "Slide"
53
+ msgstr "Слайд"
54
+
55
+ #: ../admin.php:244
56
+ msgid "The slide will be deleted. Are you sure?"
57
+ msgstr "Слайд будет удален. Вы уверены?"
58
+
59
+ #: ../admin.php:245
60
+ msgid "You can't delete this. You must have at least one slide."
61
+ msgstr "Невозможно удалить т.к. должен остаться хотя бы один слайд."
62
+
63
+ #: ../admin.php:246
64
+ msgid "The slider will be deleted. Are you sure?"
65
+ msgstr "Слайд будет удален. Вы уверены?"
66
+
67
+ #: ../admin.php:247 ../elements.php:249
68
+ msgid "Text element"
69
+ msgstr "Текстовый элемент..."
70
+
71
+ #: ../admin.php:248 ../elements.php:159
72
+ msgid "Live preview"
73
+ msgstr "Предосмотр"
74
+
75
+ #: ../admin.php:249
76
+ msgid "Stop preview"
77
+ msgstr "Предосмотр"
78
+
79
+ #: ../admin.php:250 ../slides.php:16
80
+ msgid "Duplicate slide"
81
+ msgstr "Остановить Предосмотр"
82
+
83
+ #: ../admin.php:251 ../slides.php:17
84
+ msgid "Delete slide"
85
+ msgstr "Удалить слайд"
86
+
87
+ #: ../admin.php:252
88
+ msgid ""
89
+ "All unsaved changes will be lost. Are you sure you want to leave this page?"
90
+ msgstr ""
91
+ "Все несохраненные изменения будут потеряны. Вы уверены, что хотите уйти со "
92
+ "страницы?"
93
+
94
+ #: ../ajax.php:282
95
+ msgid "Copy"
96
+ msgstr "Копировать"
97
+
98
+ #: ../ajax.php:283
99
+ msgid "copy"
100
+ msgstr "копировать"
101
+
102
+ #: ../elements.php:154
103
+ msgid "Add text"
104
+ msgstr "Добавить текст"
105
+
106
+ #: ../elements.php:155
107
+ msgid "Add image"
108
+ msgstr "Добавить изображение"
109
+
110
+ #: ../elements.php:156
111
+ msgid "Add video"
112
+ msgstr "Добавить видео"
113
+
114
+ #: ../elements.php:160
115
+ msgid "Delete element"
116
+ msgstr "Удалить элемент"
117
+
118
+ #: ../elements.php:161
119
+ msgid "Duplicate element"
120
+ msgstr "Дублировать элемент"
121
+
122
+ #: ../elements.php:215 ../elements.php:466 ../elements.php:716 ../slides.php:51
123
+ #: ../slides.php:82 ../slides.php:127 ../slides.php:130
124
+ msgid "None"
125
+ msgstr "Нет"
126
+
127
+ #: ../elements.php:216 ../elements.php:467 ../elements.php:717 ../slides.php:58
128
+ msgid "Slide down"
129
+ msgstr "Сдвиг вниз"
130
+
131
+ #: ../elements.php:217 ../elements.php:468 ../elements.php:718 ../slides.php:57
132
+ msgid "Slide up"
133
+ msgstr "Сдвиг вверх"
134
+
135
+ #: ../elements.php:218 ../elements.php:469 ../elements.php:719 ../slides.php:55
136
+ msgid "Slide left"
137
+ msgstr "Сдвиг влево"
138
+
139
+ #: ../elements.php:219 ../elements.php:470 ../elements.php:720 ../slides.php:56
140
+ msgid "Slide right"
141
+ msgstr "Сдвиг вправо"
142
+
143
+ #: ../elements.php:220 ../elements.php:471 ../elements.php:721 ../slides.php:52
144
+ msgid "Fade"
145
+ msgstr "Проявление"
146
+
147
+ #: ../elements.php:221 ../elements.php:472 ../elements.php:722
148
+ msgid "Fade down"
149
+ msgstr "Проявление с движением вниз"
150
+
151
+ #: ../elements.php:222 ../elements.php:473 ../elements.php:723
152
+ msgid "Fade up"
153
+ msgstr "Проявление с движением вверх"
154
+
155
+ #: ../elements.php:223 ../elements.php:474 ../elements.php:724 ../slides.php:53
156
+ msgid "Fade left"
157
+ msgstr "Проявление с движением влево"
158
+
159
+ #: ../elements.php:224 ../elements.php:475 ../elements.php:725 ../slides.php:54
160
+ msgid "Fade right"
161
+ msgstr "Проявление с движением вправо"
162
+
163
+ #: ../elements.php:225 ../elements.php:476 ../elements.php:726
164
+ msgid "Fade small down"
165
+ msgstr "Проявление с коротким движением вниз"
166
+
167
+ #: ../elements.php:226 ../elements.php:477 ../elements.php:727
168
+ msgid "Fade small up"
169
+ msgstr "Проявление с коротким движением вверх"
170
+
171
+ #: ../elements.php:227 ../elements.php:478 ../elements.php:728
172
+ msgid "Fade small left"
173
+ msgstr "Проявление с коротким движением влево"
174
+
175
+ #: ../elements.php:228 ../elements.php:479 ../elements.php:729
176
+ msgid "Fade small right"
177
+ msgstr "Проявление с коротким движением вправо"
178
+
179
+ #: ../elements.php:235 ../elements.php:486 ../elements.php:736
180
+ msgid "Element Options"
181
+ msgstr "Опции элемента"
182
+
183
+ #: ../elements.php:241 ../elements.php:491 ../elements.php:742 ../slider.php:59
184
+ #: ../slides.php:71
185
+ msgid "Option"
186
+ msgstr "Опция"
187
+
188
+ #: ../elements.php:242 ../elements.php:492 ../elements.php:743 ../slider.php:60
189
+ #: ../slides.php:72
190
+ msgid "Parameter"
191
+ msgstr "Параметр"
192
+
193
+ #: ../elements.php:243 ../elements.php:493 ../elements.php:744 ../slider.php:61
194
+ #: ../slides.php:73
195
+ msgid "Description"
196
+ msgstr "Описание"
197
+
198
+ #: ../elements.php:246
199
+ msgid "Text"
200
+ msgstr "Текст"
201
+
202
+ #: ../elements.php:254
203
+ msgid "Write the text or the HTML."
204
+ msgstr "Введите тест или HTML."
205
+
206
+ #: ../elements.php:258 ../elements.php:508 ../elements.php:809
207
+ msgid "Left"
208
+ msgstr "Отступ слева"
209
+
210
+ #: ../elements.php:267 ../elements.php:517 ../elements.php:818
211
+ msgid "Center horizontally"
212
+ msgstr "Центрировать по горизонтали"
213
+
214
+ #: ../elements.php:270 ../elements.php:520 ../elements.php:821
215
+ msgid "Left distance in px from the start width."
216
+ msgstr "Отступ слева в px. Считается от начальной ширины слайдера."
217
+
218
+ #: ../elements.php:274 ../elements.php:524 ../elements.php:825
219
+ msgid "Top"
220
+ msgstr "Отступ сверху"
221
+
222
+ #: ../elements.php:283 ../elements.php:533 ../elements.php:834
223
+ msgid "Center vertically"
224
+ msgstr "Центрировать по вертикали"
225
+
226
+ #: ../elements.php:286 ../elements.php:536 ../elements.php:837
227
+ msgid "Top distance in px from the start height."
228
+ msgstr "Отступ сверху. Считается от начальной ширины высоты."
229
+
230
+ #: ../elements.php:290 ../elements.php:540 ../elements.php:841
231
+ msgid "Z - index"
232
+ msgstr "Положение z-index"
233
+
234
+ #: ../elements.php:298 ../elements.php:548 ../elements.php:849
235
+ msgid ""
236
+ "An element with an high z-index will cover an element with a lower z-index "
237
+ "if they overlap."
238
+ msgstr ""
239
+ "Элемент с большим значением z-index накроет элемент с меньшим, если они "
240
+ "накладываются."
241
+
242
+ #: ../elements.php:302 ../elements.php:552 ../elements.php:853
243
+ msgid "Delay"
244
+ msgstr "Задержка"
245
+
246
+ #: ../elements.php:311 ../elements.php:561 ../elements.php:862
247
+ msgid "How long will the element wait before the entrance."
248
+ msgstr "Как долго элемент будет ждать прежде чем появиться."
249
+
250
+ #: ../elements.php:315 ../elements.php:565 ../elements.php:866
251
+ #: ../slides.php:244
252
+ msgid "Time"
253
+ msgstr "Время показа"
254
+
255
+ #: ../elements.php:324 ../elements.php:574 ../elements.php:875
256
+ msgid "How long will the element be displayed during the slide execution."
257
+ msgstr "Как долго будет показываться элемент на текущем слайде."
258
+
259
+ #: ../elements.php:327 ../elements.php:577 ../elements.php:878
260
+ msgid "Write \"all\" to set the entire time."
261
+ msgstr "Если до конца слайда, то указать \"all\"."
262
+
263
+ #: ../elements.php:330 ../elements.php:580 ../elements.php:881
264
+ msgid ""
265
+ "Write \"3000\" to set 3000 milliseconds minus delay time (so, if the delay "
266
+ "time is 1000 milliseconds, the element will be displayed for 3000-1000=2000 "
267
+ "milliseconds)."
268
+ msgstr ""
269
+ "Укажите \"3000\" для установки в 3000 миллисекунд минус задержка (если время "
270
+ "задержки 1000 миллисекунд, то элемент будет отображаться 3000-1000=2000 "
271
+ "миллисекунд)."
272
+
273
+ #: ../elements.php:334 ../elements.php:584 ../elements.php:885
274
+ #: ../slides.php:206
275
+ msgid "In animation"
276
+ msgstr "Вводящая анимация"
277
+
278
+ #: ../elements.php:349 ../elements.php:599 ../elements.php:900
279
+ msgid "The in animation of the element."
280
+ msgstr "Как анимировать появление элемента."
281
+
282
+ #: ../elements.php:353 ../elements.php:603 ../elements.php:904
283
+ #: ../slides.php:225
284
+ msgid "Out animation"
285
+ msgstr "Выводящая анимация"
286
+
287
+ #: ../elements.php:368 ../elements.php:371 ../elements.php:374
288
+ #: ../elements.php:618 ../elements.php:621 ../elements.php:624
289
+ #: ../elements.php:919 ../elements.php:922 ../elements.php:925
290
+ msgid "Disable synchronization with slide out animation"
291
+ msgstr "Не синхронизировать с вводящей анимацией"
292
+
293
+ #: ../elements.php:380 ../elements.php:630 ../elements.php:931
294
+ msgid ""
295
+ "The out animation of the element.<br /><br />Disable synchronization with "
296
+ "slide out animation: if not checked, the slide out animation won't start "
297
+ "until all the elements that have this option unchecked are animated out."
298
+ msgstr ""
299
+ "Анимация исчезания элемента. <br /><br />Если синхронизация не отключена, то "
300
+ "выводящая анимация самого слайда будет ожидать пока все элементы в слайде с "
301
+ "неотключенной синхронизацией не закончат свою выводящую анимацию."
302
+
303
+ #: ../elements.php:384 ../elements.php:634 ../elements.php:935
304
+ msgid "Ease in"
305
+ msgstr "Время ввода"
306
+
307
+ #: ../elements.php:393 ../elements.php:643 ../elements.php:944
308
+ msgid "How long will the in animation take."
309
+ msgstr "Скорость вводящей анимации."
310
+
311
+ #: ../elements.php:397 ../elements.php:647 ../elements.php:948
312
+ msgid "Ease out"
313
+ msgstr "Время вывода"
314
+
315
+ #: ../elements.php:406 ../elements.php:656 ../elements.php:957
316
+ msgid "How long will the out animation take."
317
+ msgstr "Скорость выводящей анимации."
318
+
319
+ #: ../elements.php:410 ../elements.php:660 ../slides.php:283
320
+ msgid "Link"
321
+ msgstr "Ссылка"
322
+
323
+ #: ../elements.php:418 ../elements.php:421 ../elements.php:424
324
+ #: ../elements.php:668 ../elements.php:671 ../elements.php:674
325
+ #: ../slides.php:291 ../slides.php:294 ../slides.php:297
326
+ msgid "Open link in a new tab"
327
+ msgstr "Открывать ссылку в новой вкладке"
328
+
329
+ #: ../elements.php:430 ../elements.php:680
330
+ msgid ""
331
+ "Open the link (e.g.: http://www.google.it) on click. Leave it empty if you "
332
+ "don't want it."
333
+ msgstr "Отрывать ссылку кликом. Оставьте поле пустым, если не нужна."
334
+
335
+ #: ../elements.php:434 ../elements.php:684 ../elements.php:961
336
+ #: ../slides.php:307
337
+ msgid "Custom CSS"
338
+ msgstr "Дополнительный CSS"
339
+
340
+ #: ../elements.php:442 ../elements.php:692 ../elements.php:969
341
+ msgid "Style the element."
342
+ msgstr ""
343
+ "Стилизовать элемент (изменить размер и цвет шрифта, добавить тень и т.п.)."
344
+
345
+ #: ../elements.php:446 ../elements.php:696 ../elements.php:973
346
+ msgid "Custom classes"
347
+ msgstr "Дополнительные классы CSS"
348
+
349
+ #: ../elements.php:454 ../elements.php:704 ../elements.php:981
350
+ msgid ""
351
+ "Apply custom CSS classes to the element. The style of the classes may not "
352
+ "work when working on backend."
353
+ msgstr ""
354
+ "Применить дополнительные классы CSS к элементу. Стили могут не отображаться "
355
+ "в админке."
356
+
357
+ #: ../elements.php:496
358
+ msgid "Modify image"
359
+ msgstr "Изображение"
360
+
361
+ #: ../elements.php:499 ../elements.php:500
362
+ msgid "Open gallery"
363
+ msgstr "Открыть галерею"
364
+
365
+ #: ../elements.php:504
366
+ msgid "Change the image source or the alt text."
367
+ msgstr "Изменить источник изображения и его текст-заменитель."
368
+
369
+ #: ../elements.php:747
370
+ msgid "Video source"
371
+ msgstr "Источник видео"
372
+
373
+ #: ../elements.php:767
374
+ msgid "Set source and ID."
375
+ msgstr "Установить источник и ID."
376
+
377
+ #: ../elements.php:771
378
+ msgid "Loop video"
379
+ msgstr "Зациклить видео"
380
+
381
+ #: ../elements.php:786
382
+ msgid ""
383
+ "The video will automatically restart from the beginning when it reaches the "
384
+ "end."
385
+ msgstr "Видео перезапустится с начала когда достигнет конца."
386
+
387
+ #: ../elements.php:790
388
+ msgid "Autoplay"
389
+ msgstr "Автовоспроизведение"
390
+
391
+ #: ../elements.php:805
392
+ msgid "The video will automatically be played after the in animation."
393
+ msgstr "Видео воспроизводится автоматически после Вводящей анимации."
394
+
395
+ #: ../frontend.php:25
396
+ msgid "You have to insert a valid alias in the shortcode"
397
+ msgstr "Вы должны вставить правильный псевдоним в шорткод"
398
+
399
+ #: ../frontend.php:43 ../frontend.php:47
400
+ msgid "The slider hasn't been found"
401
+ msgstr "Слайдер не найден"
402
+
403
+ #: ../home.php:7
404
+ msgid "No Sliders found. Please add a new one."
405
+ msgstr "Слайдеров не найдено. Создайте новый."
406
+
407
+ #: ../home.php:17
408
+ msgid "Sliders List"
409
+ msgstr "Список слайдеров"
410
+
411
+ #: ../home.php:22
412
+ msgid "ID"
413
+ msgstr "ID"
414
+
415
+ #: ../home.php:23
416
+ msgid "Name"
417
+ msgstr "Название"
418
+
419
+ #: ../home.php:24
420
+ msgid "Alias"
421
+ msgstr "Псевдоним"
422
+
423
+ #: ../home.php:25
424
+ msgid "Shortcode"
425
+ msgstr "Шорткод"
426
+
427
+ #: ../home.php:26
428
+ msgid "Actions"
429
+ msgstr "Действия"
430
+
431
+ #: ../home.php:36
432
+ msgid "Edit Slider"
433
+ msgstr "Редактировать слайдер"
434
+
435
+ #: ../home.php:37
436
+ msgid "Duplicate Slider"
437
+ msgstr "Дублировать слайдер"
438
+
439
+ #: ../home.php:38
440
+ msgid "Export Slider"
441
+ msgstr "Экспортировать слайдер"
442
+
443
+ #: ../home.php:39
444
+ msgid "Delete Slider"
445
+ msgstr "Удалить слайдер"
446
+
447
+ #: ../home.php:51
448
+ msgid "Add Slider"
449
+ msgstr "Добавить слайдер"
450
+
451
+ #: ../home.php:52
452
+ msgid "Import Slider"
453
+ msgstr "Импортировать слайдер"
454
+
455
+ #: ../slider.php:6
456
+ msgid "Full Width"
457
+ msgstr "Во всю ширину"
458
+
459
+ #: ../slider.php:7
460
+ msgid "Fixed"
461
+ msgstr "Фиксированный"
462
+
463
+ #: ../slider.php:10
464
+ msgid "Yes"
465
+ msgstr "Да"
466
+
467
+ #: ../slider.php:11
468
+ msgid "No"
469
+ msgstr "Нет"
470
+
471
+ #: ../slider.php:17 ../slider.php:21
472
+ msgid "Slider Name"
473
+ msgstr "Название слайда"
474
+
475
+ #: ../slider.php:27
476
+ msgid "Alias:"
477
+ msgstr "Псевдоним:"
478
+
479
+ #: ../slider.php:39
480
+ msgid "Shortcode:"
481
+ msgstr "Шорткод:"
482
+
483
+ #: ../slider.php:54
484
+ msgid "Slider General Options"
485
+ msgstr "Глобальные настройки слайдера"
486
+
487
+ #: ../slider.php:64
488
+ msgid "Layout"
489
+ msgstr "Макет"
490
+
491
+ #: ../slider.php:79
492
+ msgid "Modify the layout type of the slider."
493
+ msgstr "Установить тип макета слайдера."
494
+
495
+ #: ../slider.php:83
496
+ msgid "Responsive"
497
+ msgstr "Адаптивный"
498
+
499
+ #: ../slider.php:98
500
+ msgid "The slider will be adapted to the screen size."
501
+ msgstr "Слайдер будет адаптирован к размеру экрана."
502
+
503
+ #: ../slider.php:102
504
+ msgid "Start Width"
505
+ msgstr "Начальная ширина"
506
+
507
+ #: ../slider.php:111
508
+ msgid "The content initial width of the slider."
509
+ msgstr "Ширина контента при инициализации слайдера."
510
+
511
+ #: ../slider.php:115
512
+ msgid "Start Height"
513
+ msgstr "Начальная высота"
514
+
515
+ #: ../slider.php:124
516
+ msgid "The content initial height of the slider."
517
+ msgstr "Высота контента при инициализации слайдера."
518
+
519
+ #: ../slider.php:128
520
+ msgid "Automatic Slide"
521
+ msgstr "Автоматический цикл"
522
+
523
+ #: ../slider.php:143
524
+ msgid "The slides loop is automatic."
525
+ msgstr "Зацикливать показ слайдов или нет."
526
+
527
+ #: ../slider.php:147
528
+ msgid "Show Controls"
529
+ msgstr "Стрелки НАЗАД-ВПЕРЕД"
530
+
531
+ #: ../slider.php:162
532
+ msgid "Show the previous and next arrows."
533
+ msgstr "Показывать стрелки перехода на предыдущий и следующий слайд."
534
+
535
+ #: ../slider.php:166
536
+ msgid "Show Navigation"
537
+ msgstr "Кнопки слайдов"
538
+
539
+ #: ../slider.php:181
540
+ msgid "Show the links buttons to change slide."
541
+ msgstr "Показывать кнопки перехода к любому слайду."
542
+
543
+ #: ../slider.php:185
544
+ msgid "Enable swipe and drag"
545
+ msgstr "Включить жесты или перетаскивание"
546
+
547
+ #: ../slider.php:200
548
+ msgid "Enable swipe left, swipe right, drag left, drag right commands."
549
+ msgstr "Включить команды жестами и перетаскивание влево и вправо."
550
+
551
+ #: ../slider.php:204
552
+ msgid "Show Progress Bar"
553
+ msgstr "Линейка прогресса"
554
+
555
+ #: ../slider.php:219
556
+ msgid "Draw the progress bar during the slide execution."
557
+ msgstr "Отрисовывать линейку прогресса во время выполнения слайда."
558
+
559
+ #: ../slider.php:223
560
+ msgid "Pause on Hover"
561
+ msgstr "Пауза при наведении"
562
+
563
+ #: ../slider.php:238
564
+ msgid "Pause the current slide when hovered."
565
+ msgstr "Останавливать слайд при наведении курсора."
566
+
567
+ #: ../slider.php:242
568
+ msgid "Callbacks"
569
+ msgstr "Вызовы"
570
+
571
+ #: ../slider.php:260
572
+ msgid "Some jQuery functions that you can fire during the slider execution."
573
+ msgstr "Функции jQuery которые можно связать с выполнением слайда."
574
+
575
+ #: ../slides.php:24
576
+ msgid "Add Slide"
577
+ msgstr "Добавить слайд"
578
+
579
+ #: ../slides.php:65
580
+ msgid "Slide Options"
581
+ msgstr "Настройка слайда"
582
+
583
+ #: ../slides.php:76
584
+ msgid "Background"
585
+ msgstr "Фон"
586
+
587
+ #: ../slides.php:80 ../slides.php:124
588
+ msgid "Background image:"
589
+ msgstr "Фоновое изображение:"
590
+
591
+ #: ../slides.php:83 ../slides.php:128 ../slides.php:131
592
+ msgid "Select image"
593
+ msgstr "Выбрать изображение"
594
+
595
+ #: ../slides.php:89 ../slides.php:138
596
+ msgid "Background color:"
597
+ msgstr "Цвет фона:"
598
+
599
+ #: ../slides.php:93 ../slides.php:143 ../slides.php:145
600
+ msgid "Transparent"
601
+ msgstr "Прозрачный"
602
+
603
+ #: ../slides.php:97 ../slides.php:159
604
+ msgid "Enter value"
605
+ msgstr "Степень прозрачности"
606
+
607
+ #: ../slides.php:103 ../slides.php:166
608
+ msgid "Background position-x:"
609
+ msgstr "Положение фона по X"
610
+
611
+ #: ../slides.php:106 ../slides.php:169
612
+ msgid "Background position-y:"
613
+ msgstr "Положение фона по Y"
614
+
615
+ #: ../slides.php:112 ../slides.php:175
616
+ msgid "Background repeat:"
617
+ msgstr "Повтор фона:"
618
+
619
+ #: ../slides.php:114 ../slides.php:178 ../slides.php:181
620
+ msgid "Repeat"
621
+ msgstr "Повторять"
622
+
623
+ #: ../slides.php:115 ../slides.php:179 ../slides.php:182
624
+ msgid "No repeat"
625
+ msgstr "Не повторять"
626
+
627
+ #: ../slides.php:121 ../slides.php:189
628
+ msgid "Background size:"
629
+ msgstr "Размер фона:"
630
+
631
+ #: ../slides.php:194
632
+ msgid "The background of the slide and its proprieties."
633
+ msgstr "Установка и настройка фона слайда."
634
+
635
+ #: ../slides.php:197
636
+ msgid "Presets:"
637
+ msgstr "Пресеты:"
638
+
639
+ #: ../slides.php:200
640
+ msgid "Full width responsive background image"
641
+ msgstr "Адаптивное фоновое изображение во всю ширину"
642
+
643
+ #: ../slides.php:201
644
+ msgid "Pattern background image"
645
+ msgstr "Узор фонового изображения"
646
+
647
+ #: ../slides.php:221
648
+ msgid "The in animation of the slide."
649
+ msgstr "Анимация появления слайда."
650
+
651
+ #: ../slides.php:240
652
+ msgid "The out animation of the slide."
653
+ msgstr "Анимация исчезания слайда."
654
+
655
+ #: ../slides.php:253
656
+ msgid "The time that the slide will remain on the screen."
657
+ msgstr "Как долго показывать слайд."
658
+
659
+ #: ../slides.php:257
660
+ msgid "Ease In"
661
+ msgstr "Время ввода"
662
+
663
+ #: ../slides.php:266
664
+ msgid "The time that the slide will take to get in."
665
+ msgstr "Скорость вводящей анимации."
666
+
667
+ #: ../slides.php:270
668
+ msgid "Ease Out"
669
+ msgstr "Время вывода"
670
+
671
+ #: ../slides.php:279
672
+ msgid "The time that the slide will take to get out."
673
+ msgstr "Скорость выводящей анимации."
674
+
675
+ #: ../slides.php:303
676
+ msgid ""
677
+ "Open the link (e.g.: http://www.google.it) when the user clicks on the "
678
+ "background. Leave it empty if you don't want it."
679
+ msgstr ""
680
+ "Открывать какую-то ссылку при нажатии на фоновое изображение Оставьте пустым "
681
+ "если в этом нет необходимости."
682
+
683
+ #: ../slides.php:315
684
+ msgid "Apply CSS to the slide."
685
+ msgstr "Применить CSS к слайду."
wordpress/languages/crellyslider-sk_SK.mo ADDED
Binary file
wordpress/languages/crellyslider-sk_SK.po ADDED
@@ -0,0 +1,689 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Crelly Slider 1.1.0\n"
4
+ "POT-Creation-Date: 2016-03-09 10:58+0100\n"
5
+ "PO-Revision-Date: 2016-03-09 16:44+0100\n"
6
+ "Last-Translator: Oliver Juhas, WebMan Design\n"
7
+ "Language-Team: WebMan Design <webmandesigneu@gmail.com>\n"
8
+ "Language: sk_SK\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../admin.php:48
19
+ msgid "JavaScript must be enabled to view this page correctly."
20
+ msgstr "Pre správne zobrazenie stránky je nutné povoliť JavaScript."
21
+
22
+ #: ../admin.php:51
23
+ msgid "Operation completed successfully."
24
+ msgstr "Operácia bola úspešne dokončená."
25
+
26
+ #: ../admin.php:52
27
+ msgid "Something went wrong."
28
+ msgstr "Došlo k chybe."
29
+
30
+ #: ../admin.php:54
31
+ msgid ""
32
+ "When you'll click \"Save Settings\", you'll be able to add slides and "
33
+ "elements."
34
+ msgstr ""
35
+ "Pridávať snímky a elementy budete môcť až po klinutí na tlačidlo \"Uložiť "
36
+ "nastavenia\"."
37
+
38
+ #: ../admin.php:119
39
+ msgid "Slider Settings"
40
+ msgstr "Nastavenia slideru"
41
+
42
+ #: ../admin.php:123
43
+ msgid "Edit Slides"
44
+ msgstr "Upraviť snímky"
45
+
46
+ #: ../admin.php:143
47
+ msgid "Save Settings"
48
+ msgstr "Uložiť nastavenia"
49
+
50
+ #: ../admin.php:243 ../slides.php:15
51
+ msgid "Slide"
52
+ msgstr "Snímok"
53
+
54
+ #: ../admin.php:244
55
+ msgid "The slide will be deleted. Are you sure?"
56
+ msgstr "Snímok bude odstránený. Chcete pokračovať?"
57
+
58
+ #: ../admin.php:245
59
+ msgid "You can't delete this. You must have at least one slide."
60
+ msgstr ""
61
+ "Tento snímok nie je možné odstrániť. Slider musí obsahovať aspoň jeden "
62
+ "snímok."
63
+
64
+ #: ../admin.php:246
65
+ msgid "The slider will be deleted. Are you sure?"
66
+ msgstr "Slider bude odstránený. Chcete pokračovať?"
67
+
68
+ #: ../admin.php:247 ../elements.php:249
69
+ msgid "Text element"
70
+ msgstr "Textový element"
71
+
72
+ #: ../admin.php:248 ../elements.php:159
73
+ msgid "Live preview"
74
+ msgstr "Živý náhľad"
75
+
76
+ #: ../admin.php:249
77
+ msgid "Stop preview"
78
+ msgstr "Zastaviť náhľad"
79
+
80
+ #: ../admin.php:250 ../slides.php:16
81
+ msgid "Duplicate slide"
82
+ msgstr "Duplikovať snímok"
83
+
84
+ #: ../admin.php:251 ../slides.php:17
85
+ msgid "Delete slide"
86
+ msgstr "Odstrániť snímok"
87
+
88
+ #: ../admin.php:252
89
+ msgid ""
90
+ "All unsaved changes will be lost. Are you sure you want to leave this page?"
91
+ msgstr ""
92
+ "Všetky neuložené zmeny budú odstránené. Ste si istý, že chcete túto stránku "
93
+ "opustiť?"
94
+
95
+ #: ../ajax.php:282
96
+ msgid "Copy"
97
+ msgstr "Kopírovať"
98
+
99
+ #: ../ajax.php:283
100
+ msgid "copy"
101
+ msgstr "kopírovať"
102
+
103
+ #: ../elements.php:154
104
+ msgid "Add text"
105
+ msgstr "Pridať text"
106
+
107
+ #: ../elements.php:155
108
+ msgid "Add image"
109
+ msgstr "Pridať obrázok"
110
+
111
+ #: ../elements.php:156
112
+ msgid "Add video"
113
+ msgstr "Pridať video"
114
+
115
+ #: ../elements.php:160
116
+ msgid "Delete element"
117
+ msgstr "Odstrániť element"
118
+
119
+ #: ../elements.php:161
120
+ msgid "Duplicate element"
121
+ msgstr "Duplikovať element"
122
+
123
+ #: ../elements.php:215 ../elements.php:466 ../elements.php:716 ../slides.php:51
124
+ #: ../slides.php:82 ../slides.php:127 ../slides.php:130
125
+ msgid "None"
126
+ msgstr "Žiaden"
127
+
128
+ #: ../elements.php:216 ../elements.php:467 ../elements.php:717 ../slides.php:58
129
+ msgid "Slide down"
130
+ msgstr "Vkĺznuť nadol"
131
+
132
+ #: ../elements.php:217 ../elements.php:468 ../elements.php:718 ../slides.php:57
133
+ msgid "Slide up"
134
+ msgstr "Vkĺznuť nahor"
135
+
136
+ #: ../elements.php:218 ../elements.php:469 ../elements.php:719 ../slides.php:55
137
+ msgid "Slide left"
138
+ msgstr "Vkĺznuť vľavo"
139
+
140
+ #: ../elements.php:219 ../elements.php:470 ../elements.php:720 ../slides.php:56
141
+ msgid "Slide right"
142
+ msgstr "Vkĺznuť vpravo"
143
+
144
+ #: ../elements.php:220 ../elements.php:471 ../elements.php:721 ../slides.php:52
145
+ msgid "Fade"
146
+ msgstr "Pozvoľna zobraziť"
147
+
148
+ #: ../elements.php:221 ../elements.php:472 ../elements.php:722
149
+ msgid "Fade down"
150
+ msgstr "Pozvoľna zobraziť nadol"
151
+
152
+ #: ../elements.php:222 ../elements.php:473 ../elements.php:723
153
+ msgid "Fade up"
154
+ msgstr "Pozvoľna zobraziť nahor"
155
+
156
+ #: ../elements.php:223 ../elements.php:474 ../elements.php:724 ../slides.php:53
157
+ msgid "Fade left"
158
+ msgstr "Pozvoľna zobraziť vľavo"
159
+
160
+ #: ../elements.php:224 ../elements.php:475 ../elements.php:725 ../slides.php:54
161
+ msgid "Fade right"
162
+ msgstr "Pozvoľna zobraziť vpravo"
163
+
164
+ #: ../elements.php:225 ../elements.php:476 ../elements.php:726
165
+ msgid "Fade small down"
166
+ msgstr "Pozvoľna zobraziť jemne nadol"
167
+
168
+ #: ../elements.php:226 ../elements.php:477 ../elements.php:727
169
+ msgid "Fade small up"
170
+ msgstr "Pozvoľna zobraziť jemne nahor"
171
+
172
+ #: ../elements.php:227 ../elements.php:478 ../elements.php:728
173
+ msgid "Fade small left"
174
+ msgstr "Pozvoľna zobraziť jemne vľavo"
175
+
176
+ #: ../elements.php:228 ../elements.php:479 ../elements.php:729
177
+ msgid "Fade small right"
178
+ msgstr "Pozvoľna zobraziť jemne vpravo"
179
+
180
+ #: ../elements.php:235 ../elements.php:486 ../elements.php:736
181
+ msgid "Element Options"
182
+ msgstr "Nastavenie elementu"
183
+
184
+ #: ../elements.php:241 ../elements.php:491 ../elements.php:742 ../slider.php:59
185
+ #: ../slides.php:71
186
+ msgid "Option"
187
+ msgstr "Nastavenie"
188
+
189
+ #: ../elements.php:242 ../elements.php:492 ../elements.php:743 ../slider.php:60
190
+ #: ../slides.php:72
191
+ msgid "Parameter"
192
+ msgstr "Parameter"
193
+
194
+ #: ../elements.php:243 ../elements.php:493 ../elements.php:744 ../slider.php:61
195
+ #: ../slides.php:73
196
+ msgid "Description"
197
+ msgstr "Popis"
198
+
199
+ #: ../elements.php:246
200
+ msgid "Text"
201
+ msgstr "Text"
202
+
203
+ #: ../elements.php:254
204
+ msgid "Write the text or the HTML."
205
+ msgstr "Zadajte text alebo HTML."
206
+
207
+ #: ../elements.php:258 ../elements.php:508 ../elements.php:809
208
+ msgid "Left"
209
+ msgstr "Zľava"
210
+
211
+ #: ../elements.php:267 ../elements.php:517 ../elements.php:818
212
+ msgid "Center horizontally"
213
+ msgstr "Centrovať horizontálne"
214
+
215
+ #: ../elements.php:270 ../elements.php:520 ../elements.php:821
216
+ msgid "Left distance in px from the start width."
217
+ msgstr "Vzdialenosť od ľavého okraja slideru v px."
218
+
219
+ #: ../elements.php:274 ../elements.php:524 ../elements.php:825
220
+ msgid "Top"
221
+ msgstr "Zhora"
222
+
223
+ #: ../elements.php:283 ../elements.php:533 ../elements.php:834
224
+ msgid "Center vertically"
225
+ msgstr "Centrovať vertikálne"
226
+
227
+ #: ../elements.php:286 ../elements.php:536 ../elements.php:837
228
+ msgid "Top distance in px from the start height."
229
+ msgstr "Vzdialenosť od horného okraja slideru v px."
230
+
231
+ #: ../elements.php:290 ../elements.php:540 ../elements.php:841
232
+ msgid "Z - index"
233
+ msgstr "Z-index"
234
+
235
+ #: ../elements.php:298 ../elements.php:548 ../elements.php:849
236
+ msgid ""
237
+ "An element with an high z-index will cover an element with a lower z-index "
238
+ "if they overlap."
239
+ msgstr ""
240
+ "Element s vyššou hodnotou z-indexu prekryje element s nižšou hodnotou z-"
241
+ "indexu."
242
+
243
+ #: ../elements.php:302 ../elements.php:552 ../elements.php:853
244
+ msgid "Delay"
245
+ msgstr "Oneskorenie"
246
+
247
+ #: ../elements.php:311 ../elements.php:561 ../elements.php:862
248
+ msgid "How long will the element wait before the entrance."
249
+ msgstr "Oneskorenie zobrazenia elementu v snímku."
250
+
251
+ #: ../elements.php:315 ../elements.php:565 ../elements.php:866
252
+ #: ../slides.php:244
253
+ msgid "Time"
254
+ msgstr "Čas"
255
+
256
+ #: ../elements.php:324 ../elements.php:574 ../elements.php:875
257
+ msgid "How long will the element be displayed during the slide execution."
258
+ msgstr "Ako dlho bude element zobrazený na danom snímku."
259
+
260
+ #: ../elements.php:327 ../elements.php:577 ../elements.php:878
261
+ msgid "Write \"all\" to set the entire time."
262
+ msgstr "Vpíšte \"all\" pre nastavenie dĺžky trvania snímku."
263
+
264
+ #: ../elements.php:330 ../elements.php:580 ../elements.php:881
265
+ msgid ""
266
+ "Write \"3000\" to set 3000 milliseconds minus delay time (so, if the delay "
267
+ "time is 1000 milliseconds, the element will be displayed for 3000-1000=2000 "
268
+ "milliseconds)."
269
+ msgstr ""
270
+ "Vpíšte \"3000\" pre nastavenie 3000 milisekúnd mínus čas oneskorenia (napr., "
271
+ "ak je čas oneskorenia 1000 milisekúnd, element bude zobrazený po dobu "
272
+ "3000-1000=2000 milisekúnd)."
273
+
274
+ #: ../elements.php:334 ../elements.php:584 ../elements.php:885
275
+ #: ../slides.php:206
276
+ msgid "In animation"
277
+ msgstr "Animácia príchodu"
278
+
279
+ #: ../elements.php:349 ../elements.php:599 ../elements.php:900
280
+ msgid "The in animation of the element."
281
+ msgstr "Animácia použitá pri zobrazení elementu (pri jeho príchode na scénu)."
282
+
283
+ #: ../elements.php:353 ../elements.php:603 ../elements.php:904
284
+ #: ../slides.php:225
285
+ msgid "Out animation"
286
+ msgstr "Animácia odchodu"
287
+
288
+ #: ../elements.php:368 ../elements.php:371 ../elements.php:374
289
+ #: ../elements.php:618 ../elements.php:621 ../elements.php:624
290
+ #: ../elements.php:919 ../elements.php:922 ../elements.php:925
291
+ msgid "Disable synchronization with slide out animation"
292
+ msgstr "Vypnúť synchronizáciu s animáciou odchodu snímku"
293
+
294
+ #: ../elements.php:380 ../elements.php:630 ../elements.php:931
295
+ msgid ""
296
+ "The out animation of the element.<br /><br />Disable synchronization with "
297
+ "slide out animation: if not checked, the slide out animation won't start "
298
+ "until all the elements that have this option unchecked are animated out."
299
+ msgstr ""
300
+ "Animácia použitá pri odchode elemenu zo scény.<br /><br />Vypnutie "
301
+ "synchronizácie s animáciou odchodu snímku: ak nie je zaškrtnuté, animácia "
302
+ "odchodu snímku sa nespustí, kým neodídu zo scény všetky elementy s týmto "
303
+ "nastavením nezaškrtnutým."
304
+
305
+ #: ../elements.php:384 ../elements.php:634 ../elements.php:935
306
+ msgid "Ease in"
307
+ msgstr "Trvanie príchodu"
308
+
309
+ #: ../elements.php:393 ../elements.php:643 ../elements.php:944
310
+ msgid "How long will the in animation take."
311
+ msgstr "Ako dlho bude trvať animácia príchodu."
312
+
313
+ #: ../elements.php:397 ../elements.php:647 ../elements.php:948
314
+ msgid "Ease out"
315
+ msgstr "Trvanie odchodu"
316
+
317
+ #: ../elements.php:406 ../elements.php:656 ../elements.php:957
318
+ msgid "How long will the out animation take."
319
+ msgstr "Ako dlho bude trvať animácia odchodu."
320
+
321
+ #: ../elements.php:410 ../elements.php:660 ../slides.php:283
322
+ msgid "Link"
323
+ msgstr "Odkaz"
324
+
325
+ #: ../elements.php:418 ../elements.php:421 ../elements.php:424
326
+ #: ../elements.php:668 ../elements.php:671 ../elements.php:674
327
+ #: ../slides.php:291 ../slides.php:294 ../slides.php:297
328
+ msgid "Open link in a new tab"
329
+ msgstr "Otvoriť v novom okne / záložke"
330
+
331
+ #: ../elements.php:430 ../elements.php:680
332
+ msgid ""
333
+ "Open the link (e.g.: http://www.google.it) on click. Leave it empty if you "
334
+ "don't want it."
335
+ msgstr ""
336
+ "Otvoriť odkaz (napr.: http://www.google.sk) po kliknutí. Ponechajte prázdne, "
337
+ "ak žiaden odkaz aplikovať nechcete."
338
+
339
+ #: ../elements.php:434 ../elements.php:684 ../elements.php:961
340
+ #: ../slides.php:307
341
+ msgid "Custom CSS"
342
+ msgstr "Vlastné CSS"
343
+
344
+ #: ../elements.php:442 ../elements.php:692 ../elements.php:969
345
+ msgid "Style the element."
346
+ msgstr "CSS štýl elementu."
347
+
348
+ #: ../elements.php:446 ../elements.php:696 ../elements.php:973
349
+ msgid "Custom classes"
350
+ msgstr "CSS triedy"
351
+
352
+ #: ../elements.php:454 ../elements.php:704 ../elements.php:981
353
+ msgid ""
354
+ "Apply custom CSS classes to the element. The style of the classes may not "
355
+ "work when working on backend."
356
+ msgstr ""
357
+ "Aplikuje vlastné CSS triedy na daný element. Štýl aplikovaný týmito CSS "
358
+ "triedami nemusí byť aplikovaný v administračnom rozhraní."
359
+
360
+ #: ../elements.php:496
361
+ msgid "Modify image"
362
+ msgstr "Zmeniť obrázok"
363
+
364
+ #: ../elements.php:499 ../elements.php:500
365
+ msgid "Open gallery"
366
+ msgstr "Otvoriť galériu"
367
+
368
+ #: ../elements.php:504
369
+ msgid "Change the image source or the alt text."
370
+ msgstr "Zmeniť zdroj obrázku alebo jeho alternatívny text."
371
+
372
+ #: ../elements.php:747
373
+ msgid "Video source"
374
+ msgstr "Zdroj videa"
375
+
376
+ #: ../elements.php:767
377
+ msgid "Set source and ID."
378
+ msgstr "Nastavte zdroj a ID."
379
+
380
+ #: ../elements.php:771
381
+ msgid "Loop video"
382
+ msgstr "Prehrávanie v slučke?"
383
+
384
+ #: ../elements.php:786
385
+ msgid ""
386
+ "The video will automatically restart from the beginning when it reaches the "
387
+ "end."
388
+ msgstr "Video sa automaticky reštartuje po jeho ukončení."
389
+
390
+ #: ../elements.php:790
391
+ msgid "Autoplay"
392
+ msgstr "Automatické prehrávanie"
393
+
394
+ #: ../elements.php:805
395
+ msgid "The video will automatically be played after the in animation."
396
+ msgstr "Video sa automaticky začne prehrávať po úvodnej animácii."
397
+
398
+ #: ../frontend.php:25
399
+ msgid "You have to insert a valid alias in the shortcode"
400
+ msgstr "Do shortcodu musíte vložiť platný alias"
401
+
402
+ #: ../frontend.php:43 ../frontend.php:47
403
+ msgid "The slider hasn't been found"
404
+ msgstr "Slider nebol nájdený"
405
+
406
+ #: ../home.php:7
407
+ msgid "No Sliders found. Please add a new one."
408
+ msgstr "Nenašiel sa žiaden slider. Prosíme, vytvorte nový."
409
+
410
+ #: ../home.php:17
411
+ msgid "Sliders List"
412
+ msgstr "Zoznam sliderov"
413
+
414
+ #: ../home.php:22
415
+ msgid "ID"
416
+ msgstr "ID"
417
+
418
+ #: ../home.php:23
419
+ msgid "Name"
420
+ msgstr "Názov"
421
+
422
+ #: ../home.php:24
423
+ msgid "Alias"
424
+ msgstr "Alias"
425
+
426
+ #: ../home.php:25
427
+ msgid "Shortcode"
428
+ msgstr "Shortcode"
429
+
430
+ #: ../home.php:26
431
+ msgid "Actions"
432
+ msgstr "Akcie"
433
+
434
+ #: ../home.php:36
435
+ msgid "Edit Slider"
436
+ msgstr "Upraviť slider"
437
+
438
+ #: ../home.php:37
439
+ msgid "Duplicate Slider"
440
+ msgstr "Duplikovať slider"
441
+
442
+ #: ../home.php:38
443
+ msgid "Export Slider"
444
+ msgstr "Exportovať slider"
445
+
446
+ #: ../home.php:39
447
+ msgid "Delete Slider"
448
+ msgstr "Odstrániť slider"
449
+
450
+ #: ../home.php:51
451
+ msgid "Add Slider"
452
+ msgstr "Pridať slider"
453
+
454
+ #: ../home.php:52
455
+ msgid "Import Slider"
456
+ msgstr "Importovať slider"
457
+
458
+ #: ../slider.php:6
459
+ msgid "Full Width"
460
+ msgstr "Celá šírka"
461
+
462
+ #: ../slider.php:7
463
+ msgid "Fixed"
464
+ msgstr "Pevná šírka"
465
+
466
+ #: ../slider.php:10
467
+ msgid "Yes"
468
+ msgstr "Áno"
469
+
470
+ #: ../slider.php:11
471
+ msgid "No"
472
+ msgstr "Nie"
473
+
474
+ #: ../slider.php:17 ../slider.php:21
475
+ msgid "Slider Name"
476
+ msgstr "Názov slideru"
477
+
478
+ #: ../slider.php:27
479
+ msgid "Alias:"
480
+ msgstr "Alias:"
481
+
482
+ #: ../slider.php:39
483
+ msgid "Shortcode:"
484
+ msgstr "Shortcode:"
485
+
486
+ #: ../slider.php:54
487
+ msgid "Slider General Options"
488
+ msgstr "Základné nastavenia slideru"
489
+
490
+ #: ../slider.php:64
491
+ msgid "Layout"
492
+ msgstr "Rozloženie"
493
+
494
+ #: ../slider.php:79
495
+ msgid "Modify the layout type of the slider."
496
+ msgstr "Nastaví rozloženie slideru."
497
+
498
+ #: ../slider.php:83
499
+ msgid "Responsive"
500
+ msgstr "Responzívne"
501
+
502
+ #: ../slider.php:98
503
+ msgid "The slider will be adapted to the screen size."
504
+ msgstr "Slider sa adaptuje veľkosti obrazovky."
505
+
506
+ #: ../slider.php:102
507
+ msgid "Start Width"
508
+ msgstr "Počiatočná šírka"
509
+
510
+ #: ../slider.php:111
511
+ msgid "The content initial width of the slider."
512
+ msgstr "Počiatočná šírka obsahu slideru."
513
+
514
+ #: ../slider.php:115
515
+ msgid "Start Height"
516
+ msgstr "Počiatočná výška"
517
+
518
+ #: ../slider.php:124
519
+ msgid "The content initial height of the slider."
520
+ msgstr "Počiatočná výška obsahu slideru."
521
+
522
+ #: ../slider.php:128
523
+ msgid "Automatic Slide"
524
+ msgstr "Automatický slider"
525
+
526
+ #: ../slider.php:143
527
+ msgid "The slides loop is automatic."
528
+ msgstr "Snímky budú automaticky kolovať v slučke."
529
+
530
+ #: ../slider.php:147
531
+ msgid "Show Controls"
532
+ msgstr "Zobraziť ovládanie"
533
+
534
+ #: ../slider.php:162
535
+ msgid "Show the previous and next arrows."
536
+ msgstr "Zobrazí šípku pre nasledujúci / predchádzajúci snímok."
537
+
538
+ #: ../slider.php:166
539
+ msgid "Show Navigation"
540
+ msgstr "Zobraziť navigáciu"
541
+
542
+ #: ../slider.php:181
543
+ msgid "Show the links buttons to change slide."
544
+ msgstr "Zobrazí tlačidlá pre každý snímok zvlášť."
545
+
546
+ #: ../slider.php:185
547
+ msgid "Enable swipe and drag"
548
+ msgstr "Povoliť dotykové ťahanie"
549
+
550
+ #: ../slider.php:200
551
+ msgid "Enable swipe left, swipe right, drag left, drag right commands."
552
+ msgstr "Povolí dotykové ťahanie vľavo alebo vpravo."
553
+
554
+ #: ../slider.php:204
555
+ msgid "Show Progress Bar"
556
+ msgstr "Zobraziť indikátor priebehu"
557
+
558
+ #: ../slider.php:219
559
+ msgid "Draw the progress bar during the slide execution."
560
+ msgstr "Vykreslí indikátor časového tvrvania snímku."
561
+
562
+ #: ../slider.php:223
563
+ msgid "Pause on Hover"
564
+ msgstr "Pauza pri prechode myšou"
565
+
566
+ #: ../slider.php:238
567
+ msgid "Pause the current slide when hovered."
568
+ msgstr "Zastaví aktuálny snímok ak sa kurzor myši nachádza nad sliderom."
569
+
570
+ #: ../slider.php:242
571
+ msgid "Callbacks"
572
+ msgstr "Spätné volania"
573
+
574
+ #: ../slider.php:260
575
+ msgid "Some jQuery functions that you can fire during the slider execution."
576
+ msgstr ""
577
+ "jQuery funkcie, ktoré môžete použiť počas zobrazenia a animácie slideru."
578
+
579
+ #: ../slides.php:24
580
+ msgid "Add Slide"
581
+ msgstr "Pridať snímok"
582
+
583
+ #: ../slides.php:65
584
+ msgid "Slide Options"
585
+ msgstr "Nastavenie snímku"
586
+
587
+ #: ../slides.php:76
588
+ msgid "Background"
589
+ msgstr "Pozadie"
590
+
591
+ #: ../slides.php:80 ../slides.php:124
592
+ msgid "Background image:"
593
+ msgstr "Obrázok pozadia:"
594
+
595
+ #: ../slides.php:83 ../slides.php:128 ../slides.php:131
596
+ msgid "Select image"
597
+ msgstr "Zvoliť obrázok"
598
+
599
+ #: ../slides.php:89 ../slides.php:138
600
+ msgid "Background color:"
601
+ msgstr "Farba pozadia:"
602
+
603
+ #: ../slides.php:93 ../slides.php:143 ../slides.php:145
604
+ msgid "Transparent"
605
+ msgstr "Priehľadná"
606
+
607
+ #: ../slides.php:97 ../slides.php:159
608
+ msgid "Enter value"
609
+ msgstr "Zadajte hodnotu"
610
+
611
+ #: ../slides.php:103 ../slides.php:166
612
+ msgid "Background position-x:"
613
+ msgstr "Horizontálna pozícia pozadia:"
614
+
615
+ #: ../slides.php:106 ../slides.php:169
616
+ msgid "Background position-y:"
617
+ msgstr "Vertikálna pozícia pozadia:"
618
+
619
+ #: ../slides.php:112 ../slides.php:175
620
+ msgid "Background repeat:"
621
+ msgstr "Opakovanie pozadia:"
622
+
623
+ #: ../slides.php:114 ../slides.php:178 ../slides.php:181
624
+ msgid "Repeat"
625
+ msgstr "Opakovať"
626
+
627
+ #: ../slides.php:115 ../slides.php:179 ../slides.php:182
628
+ msgid "No repeat"
629
+ msgstr "Neopakovať"
630
+
631
+ #: ../slides.php:121 ../slides.php:189
632
+ msgid "Background size:"
633
+ msgstr "Veľkosť pozadia:"
634
+
635
+ #: ../slides.php:194
636
+ msgid "The background of the slide and its proprieties."
637
+ msgstr "Pozadie snímku a jeho nastavenie."
638
+
639
+ #: ../slides.php:197
640
+ msgid "Presets:"
641
+ msgstr "Presety:"
642
+
643
+ #: ../slides.php:200
644
+ msgid "Full width responsive background image"
645
+ msgstr "Responzívny obrázok na pozadí na celú šírku"
646
+
647
+ #: ../slides.php:201
648
+ msgid "Pattern background image"
649
+ msgstr "Opakujúci sa obrázok pozadia"
650
+
651
+ #: ../slides.php:221
652
+ msgid "The in animation of the slide."
653
+ msgstr "Animácia príchodu snímku"
654
+
655
+ #: ../slides.php:240
656
+ msgid "The out animation of the slide."
657
+ msgstr "Animácia odchodu snímku"
658
+
659
+ #: ../slides.php:253
660
+ msgid "The time that the slide will remain on the screen."
661
+ msgstr "Časová dĺžka zobrazenia snímku"
662
+
663
+ #: ../slides.php:257
664
+ msgid "Ease In"
665
+ msgstr "Trvanie príchodu"
666
+
667
+ #: ../slides.php:266
668
+ msgid "The time that the slide will take to get in."
669
+ msgstr "Časová dĺžka animácie príchodu snímku."
670
+
671
+ #: ../slides.php:270
672
+ msgid "Ease Out"
673
+ msgstr "Trvanie odchodu"
674
+
675
+ #: ../slides.php:279
676
+ msgid "The time that the slide will take to get out."
677
+ msgstr "Časová dĺžka animácie odchodu snímku."
678
+
679
+ #: ../slides.php:303
680
+ msgid ""
681
+ "Open the link (e.g.: http://www.google.it) when the user clicks on the "
682
+ "background. Leave it empty if you don't want it."
683
+ msgstr ""
684
+ "Otvoriť odkaz (napr.: http://www.google.sk) ak užívateľ klikne na pozadie. "
685
+ "Ponechajte prázdne pole ak nechcete aplikovať žiaden odkaz."
686
+
687
+ #: ../slides.php:315
688
+ msgid "Apply CSS to the slide."
689
+ msgstr "Použiť CSS na snímok."
wordpress/languages/crellyslider-sr_RS.mo ADDED
Binary file
wordpress/languages/crellyslider-sr_RS.po ADDED
@@ -0,0 +1,656 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Crelly Slider 1.1.0\n"
4
+ "POT-Creation-Date: 2016-03-08 18:13+0100\n"
5
+ "PO-Revision-Date: 2016-03-09 16:51+0100\n"
6
+ "Last-Translator: branislav <branispak@gmail.com>\n"
7
+ "Language-Team: \n"
8
+ "Language: sr\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "X-Poedit-SearchPath-0: ..\n"
16
+
17
+ #: ../admin.php:48
18
+ msgid "JavaScript must be enabled to view this page correctly."
19
+ msgstr "JavaScript mora biti uključen kako bi se ova stranica ispravno prikazala."
20
+
21
+ #: ../admin.php:51
22
+ msgid "Operation completed successfully."
23
+ msgstr "Operacija je uspešno obavljena."
24
+
25
+ #: ../admin.php:52
26
+ msgid "Something went wrong."
27
+ msgstr "Nešto nije u redu."
28
+
29
+ #: ../admin.php:54
30
+ msgid "When you'll click \"Save Settings\", you'll be able to add slides and elements."
31
+ msgstr "Klikom na \"Sačuvaj podešavanja\" otvara se mogućnost dodavanja slajdova i elemenata."
32
+
33
+ #: ../admin.php:119
34
+ msgid "Slider Settings"
35
+ msgstr "Podešavanje klizača"
36
+
37
+ #: ../admin.php:123
38
+ msgid "Edit Slides"
39
+ msgstr "Uredi slajdove"
40
+
41
+ #: ../admin.php:143
42
+ msgid "Save Settings"
43
+ msgstr "Sačuvaj podešavanja"
44
+
45
+ #: ../admin.php:243 ../slides.php:15
46
+ msgid "Slide"
47
+ msgstr "Slajd"
48
+
49
+ #: ../admin.php:244
50
+ msgid "The slide will be deleted. Are you sure?"
51
+ msgstr "Da li si siguran da želiš da obrišeš slajd?"
52
+
53
+ #: ../admin.php:245
54
+ msgid "You can't delete this. You must have at least one slide."
55
+ msgstr "Ovo nije moguće obrisati. Mora postojati makar jedan slajd."
56
+
57
+ #: ../admin.php:246
58
+ msgid "The slider will be deleted. Are you sure?"
59
+ msgstr "Da li si siguran da želiš da obrišeš klizač?"
60
+
61
+ #: ../admin.php:247 ../elements.php:249
62
+ msgid "Text element"
63
+ msgstr "Tekstualni element"
64
+
65
+ #: ../admin.php:248 ../elements.php:159
66
+ msgid "Live preview"
67
+ msgstr "Pregled uživo"
68
+
69
+ #: ../admin.php:249
70
+ msgid "Stop preview"
71
+ msgstr "Zaustavi pregled"
72
+
73
+ #: ../admin.php:250 ../slides.php:16
74
+ msgid "Duplicate slide"
75
+ msgstr "Napravi duplikat slajda"
76
+
77
+ #: ../admin.php:251 ../slides.php:17
78
+ msgid "Delete slide"
79
+ msgstr "Obriši slajd"
80
+
81
+ #: ../admin.php:252
82
+ msgid "All unsaved changes will be lost. Are you sure you want to leave this page?"
83
+ msgstr "Sve promene koje nisu sačuvane će biti izgubljene. Da li sigurno želiš da napustiš ovu stranu?"
84
+
85
+ #: ../ajax.php:282
86
+ msgid "Copy"
87
+ msgstr "Kopiraj"
88
+
89
+ #: ../ajax.php:283
90
+ msgid "copy"
91
+ msgstr "kopiraj"
92
+
93
+ #: ../elements.php:154
94
+ msgid "Add text"
95
+ msgstr "Dodaj tekst"
96
+
97
+ #: ../elements.php:155
98
+ msgid "Add image"
99
+ msgstr "Dodaj sliku"
100
+
101
+ #: ../elements.php:156
102
+ msgid "Add video"
103
+ msgstr "Dodaj video"
104
+
105
+ #: ../elements.php:160
106
+ msgid "Delete element"
107
+ msgstr "Obriši element"
108
+
109
+ #: ../elements.php:161
110
+ msgid "Duplicate element"
111
+ msgstr "Dupliraj element"
112
+
113
+ #: ../elements.php:215 ../elements.php:466 ../elements.php:716 ../slides.php:51 ../slides.php:82
114
+ #: ../slides.php:127 ../slides.php:130
115
+ msgid "None"
116
+ msgstr "Nijedno"
117
+
118
+ #: ../elements.php:216 ../elements.php:467 ../elements.php:717 ../slides.php:58
119
+ msgid "Slide down"
120
+ msgstr "Klizanje dole"
121
+
122
+ #: ../elements.php:217 ../elements.php:468 ../elements.php:718 ../slides.php:57
123
+ msgid "Slide up"
124
+ msgstr "Klizanje gore"
125
+
126
+ #: ../elements.php:218 ../elements.php:469 ../elements.php:719 ../slides.php:55
127
+ msgid "Slide left"
128
+ msgstr "Klizanje levo"
129
+
130
+ #: ../elements.php:219 ../elements.php:470 ../elements.php:720 ../slides.php:56
131
+ msgid "Slide right"
132
+ msgstr "Klizanje desno"
133
+
134
+ #: ../elements.php:220 ../elements.php:471 ../elements.php:721 ../slides.php:52
135
+ msgid "Fade"
136
+ msgstr "Nestajanje"
137
+
138
+ #: ../elements.php:221 ../elements.php:472 ../elements.php:722
139
+ msgid "Fade down"
140
+ msgstr "Nestajanje dole"
141
+
142
+ #: ../elements.php:222 ../elements.php:473 ../elements.php:723
143
+ msgid "Fade up"
144
+ msgstr "Nestajanje gore"
145
+
146
+ #: ../elements.php:223 ../elements.php:474 ../elements.php:724 ../slides.php:53
147
+ msgid "Fade left"
148
+ msgstr "Nestajanje levo"
149
+
150
+ #: ../elements.php:224 ../elements.php:475 ../elements.php:725 ../slides.php:54
151
+ msgid "Fade right"
152
+ msgstr "Nestajanje desno"
153
+
154
+ #: ../elements.php:225 ../elements.php:476 ../elements.php:726
155
+ msgid "Fade small down"
156
+ msgstr "Nestajanje kratko dole"
157
+
158
+ #: ../elements.php:226 ../elements.php:477 ../elements.php:727
159
+ msgid "Fade small up"
160
+ msgstr "Nestajanje kratko gore"
161
+
162
+ #: ../elements.php:227 ../elements.php:478 ../elements.php:728
163
+ msgid "Fade small left"
164
+ msgstr "Nestajanje kratko levo"
165
+
166
+ #: ../elements.php:228 ../elements.php:479 ../elements.php:729
167
+ msgid "Fade small right"
168
+ msgstr "Nestajanje kratko desno"
169
+
170
+ #: ../elements.php:235 ../elements.php:486 ../elements.php:736
171
+ msgid "Element Options"
172
+ msgstr "Opcije elementa"
173
+
174
+ #: ../elements.php:241 ../elements.php:491 ../elements.php:742 ../slider.php:59 ../slides.php:71
175
+ msgid "Option"
176
+ msgstr "Opcije"
177
+
178
+ #: ../elements.php:242 ../elements.php:492 ../elements.php:743 ../slider.php:60 ../slides.php:72
179
+ msgid "Parameter"
180
+ msgstr "Parametar"
181
+
182
+ #: ../elements.php:243 ../elements.php:493 ../elements.php:744 ../slider.php:61 ../slides.php:73
183
+ msgid "Description"
184
+ msgstr "Opis"
185
+
186
+ #: ../elements.php:246
187
+ msgid "Text"
188
+ msgstr "Tekst"
189
+
190
+ #: ../elements.php:254
191
+ msgid "Write the text or the HTML."
192
+ msgstr "Upiši tekst ili HTML."
193
+
194
+ #: ../elements.php:258 ../elements.php:508 ../elements.php:809
195
+ msgid "Left"
196
+ msgstr "Levo"
197
+
198
+ #: ../elements.php:267 ../elements.php:517 ../elements.php:818
199
+ msgid "Center horizontally"
200
+ msgstr "Centriraj vodoravno"
201
+
202
+ #: ../elements.php:270 ../elements.php:520 ../elements.php:821
203
+ msgid "Left distance in px from the start width."
204
+ msgstr "Rastojanje od leve ivice u pikselima."
205
+
206
+ #: ../elements.php:274 ../elements.php:524 ../elements.php:825
207
+ msgid "Top"
208
+ msgstr "Gore"
209
+
210
+ #: ../elements.php:283 ../elements.php:533 ../elements.php:834
211
+ msgid "Center vertically"
212
+ msgstr "Centriraj uspravno"
213
+
214
+ #: ../elements.php:286 ../elements.php:536 ../elements.php:837
215
+ msgid "Top distance in px from the start height."
216
+ msgstr "Rastojanje od gornje ivice u pikselima."
217
+
218
+ #: ../elements.php:290 ../elements.php:540 ../elements.php:841
219
+ msgid "Z - index"
220
+ msgstr "Z-indeks"
221
+
222
+ #: ../elements.php:298 ../elements.php:548 ../elements.php:849
223
+ msgid "An element with an high z-index will cover an element with a lower z-index if they overlap."
224
+ msgstr "Element sa većim z-indeksom će pokriti element sa manjim z-indeksom."
225
+
226
+ #: ../elements.php:302 ../elements.php:552 ../elements.php:853
227
+ msgid "Delay"
228
+ msgstr "Kašnjenje"
229
+
230
+ #: ../elements.php:311 ../elements.php:561 ../elements.php:862
231
+ msgid "How long will the element wait before the entrance."
232
+ msgstr "Koliko će vremena proći pre nego što element uđe u polje."
233
+
234
+ #: ../elements.php:315 ../elements.php:565 ../elements.php:866 ../slides.php:244
235
+ msgid "Time"
236
+ msgstr "Vreme"
237
+
238
+ #: ../elements.php:324 ../elements.php:574 ../elements.php:875
239
+ msgid "How long will the element be displayed during the slide execution."
240
+ msgstr "Koliko dugo će se element zadržati u polju tokom izvršavanja klizača."
241
+
242
+ #: ../elements.php:327 ../elements.php:577 ../elements.php:878
243
+ msgid "Write \"all\" to set the entire time."
244
+ msgstr "Upiši \"all\" kako bi se zadržao do kraja."
245
+
246
+ #: ../elements.php:330 ../elements.php:580 ../elements.php:881
247
+ msgid ""
248
+ "Write \"3000\" to set 3000 milliseconds minus delay time (so, if the delay time is 1000 milliseconds, "
249
+ "the element will be displayed for 3000-1000=2000 milliseconds)."
250
+ msgstr ""
251
+ "Upiši \"3000\" kako bi podesio 3000 milisekunde manje vreme kašnjenja (dakle, ako je kašnjenje 1000 "
252
+ "milisekndi, element će biti prikazan tokom 3000-1000=2000 milisekunde)."
253
+
254
+ #: ../elements.php:334 ../elements.php:584 ../elements.php:885 ../slides.php:206
255
+ msgid "In animation"
256
+ msgstr "Ulazna animacija"
257
+
258
+ #: ../elements.php:349 ../elements.php:599 ../elements.php:900
259
+ msgid "The in animation of the element."
260
+ msgstr "Ulazna animacija elementa."
261
+
262
+ #: ../elements.php:353 ../elements.php:603 ../elements.php:904 ../slides.php:225
263
+ msgid "Out animation"
264
+ msgstr "Izlazna animacija"
265
+
266
+ #: ../elements.php:368 ../elements.php:371 ../elements.php:374 ../elements.php:618 ../elements.php:621
267
+ #: ../elements.php:624 ../elements.php:919 ../elements.php:922 ../elements.php:925
268
+ msgid "Disable synchronization with slide out animation"
269
+ msgstr "Onemogući sinhronizaciju sa izlaznom animacijom slajda"
270
+
271
+ #: ../elements.php:380 ../elements.php:630 ../elements.php:931
272
+ msgid ""
273
+ "The out animation of the element.<br /><br />Disable synchronization with slide out animation: if not "
274
+ "checked, the slide out animation won't start until all the elements that have this option unchecked "
275
+ "are animated out."
276
+ msgstr ""
277
+ "Izlazna animacija elementa.<br /><br />Onemogući sinhronizaciju sa izlaznom animacijom slajda: "
278
+ "ukoliko nije štiklirano, izlazna animacija slajda neće početi sve dok se izlazna animacija svih "
279
+ "elemenata koji imaju ovu opciju isključenu ne završi."
280
+
281
+ #: ../elements.php:384 ../elements.php:634 ../elements.php:935
282
+ msgid "Ease in"
283
+ msgstr "Lagani ulaz"
284
+
285
+ #: ../elements.php:393 ../elements.php:643 ../elements.php:944
286
+ msgid "How long will the in animation take."
287
+ msgstr "Trajanje ulazne animacije."
288
+
289
+ #: ../elements.php:397 ../elements.php:647 ../elements.php:948
290
+ msgid "Ease out"
291
+ msgstr "Lagani izlaz"
292
+
293
+ #: ../elements.php:406 ../elements.php:656 ../elements.php:957
294
+ msgid "How long will the out animation take."
295
+ msgstr "Trajanje izlazne animacije."
296
+
297
+ #: ../elements.php:410 ../elements.php:660 ../slides.php:283
298
+ msgid "Link"
299
+ msgstr "Veza"
300
+
301
+ #: ../elements.php:418 ../elements.php:421 ../elements.php:424 ../elements.php:668 ../elements.php:671
302
+ #: ../elements.php:674 ../slides.php:291 ../slides.php:294 ../slides.php:297
303
+ msgid "Open link in a new tab"
304
+ msgstr "Otvori vezu u novoj kartici"
305
+
306
+ #: ../elements.php:430 ../elements.php:680
307
+ msgid "Open the link (e.g.: http://www.google.it) on click. Leave it empty if you don't want it."
308
+ msgstr "Otvori vezu (npr.: http://www.google.rs) klikom. Ostavi prazno za onemogućavanje."
309
+
310
+ #: ../elements.php:434 ../elements.php:684 ../elements.php:961 ../slides.php:307
311
+ msgid "Custom CSS"
312
+ msgstr "Prilagođeni CSS"
313
+
314
+ #: ../elements.php:442 ../elements.php:692 ../elements.php:969
315
+ msgid "Style the element."
316
+ msgstr "Stilizuj element."
317
+
318
+ #: ../elements.php:446 ../elements.php:696 ../elements.php:973
319
+ msgid "Custom classes"
320
+ msgstr "Prilagođene klase"
321
+
322
+ #: ../elements.php:454 ../elements.php:704 ../elements.php:981
323
+ msgid ""
324
+ "Apply custom CSS classes to the element. The style of the classes may not work when working on "
325
+ "backend."
326
+ msgstr ""
327
+ "Primeni prilagođene CSS klase na element. Stilovi klasa možda neće biti vidljivi tokom rada u "
328
+ "administratorskom panelu."
329
+
330
+ #: ../elements.php:496
331
+ msgid "Modify image"
332
+ msgstr "Izmeni sliku"
333
+
334
+ #: ../elements.php:499 ../elements.php:500
335
+ msgid "Open gallery"
336
+ msgstr "Otvori galeriju"
337
+
338
+ #: ../elements.php:504
339
+ msgid "Change the image source or the alt text."
340
+ msgstr "Promeni izvor slike ili alt tekst."
341
+
342
+ #: ../elements.php:747
343
+ msgid "Video source"
344
+ msgstr "izvor videa"
345
+
346
+ #: ../elements.php:767
347
+ msgid "Set source and ID."
348
+ msgstr "Podesi izvor i identifikacioni broj."
349
+
350
+ #: ../elements.php:771
351
+ msgid "Loop video"
352
+ msgstr "Reprodukuj video u petlji"
353
+
354
+ #: ../elements.php:786
355
+ msgid "The video will automatically restart from the beginning when it reaches the end."
356
+ msgstr "Video će automatski početi od početka kada stigne do kraja."
357
+
358
+ #: ../elements.php:790
359
+ msgid "Autoplay"
360
+ msgstr "Automatska reprodukcija"
361
+
362
+ #: ../elements.php:805
363
+ msgid "The video will automatically be played after the in animation."
364
+ msgstr "Video reprodukcija će automatski početi posle ulazne animacije."
365
+
366
+ #: ../frontend.php:25
367
+ msgid "You have to insert a valid alias in the shortcode"
368
+ msgstr "Morate uneti važeći pseudonim u kratki kod"
369
+
370
+ #: ../frontend.php:43 ../frontend.php:47
371
+ msgid "The slider hasn't been found"
372
+ msgstr "Klizač nije pronađen"
373
+
374
+ #: ../home.php:7
375
+ msgid "No Sliders found. Please add a new one."
376
+ msgstr "Nijedan klizač nije pronađen. Molimo dodajte novi."
377
+
378
+ #: ../home.php:17
379
+ msgid "Sliders List"
380
+ msgstr "Lista klizača"
381
+
382
+ #: ../home.php:22
383
+ msgid "ID"
384
+ msgstr "Identifikacioni broj"
385
+
386
+ #: ../home.php:23
387
+ msgid "Name"
388
+ msgstr "Ime"
389
+
390
+ #: ../home.php:24
391
+ msgid "Alias"
392
+ msgstr "Pseudonim"
393
+
394
+ #: ../home.php:25
395
+ msgid "Shortcode"
396
+ msgstr "Kratki kod"
397
+
398
+ #: ../home.php:26
399
+ msgid "Actions"
400
+ msgstr "Akcije"
401
+
402
+ #: ../home.php:36
403
+ msgid "Edit Slider"
404
+ msgstr "Uredi klizač"
405
+
406
+ #: ../home.php:37
407
+ msgid "Duplicate Slider"
408
+ msgstr "Dupliraj klizač"
409
+
410
+ #: ../home.php:38
411
+ msgid "Export Slider"
412
+ msgstr "Izvezi klizač"
413
+
414
+ #: ../home.php:39
415
+ msgid "Delete Slider"
416
+ msgstr "Obriši klizač"
417
+
418
+ #: ../home.php:51
419
+ msgid "Add Slider"
420
+ msgstr "Dodaj klizač"
421
+
422
+ #: ../home.php:52
423
+ msgid "Import Slider"
424
+ msgstr "Uvezi klizač"
425
+
426
+ #: ../slider.php:6
427
+ msgid "Full Width"
428
+ msgstr "Puna širina"
429
+
430
+ #: ../slider.php:7
431
+ msgid "Fixed"
432
+ msgstr "Fiskirano"
433
+
434
+ #: ../slider.php:10
435
+ msgid "Yes"
436
+ msgstr "Da"
437
+
438
+ #: ../slider.php:11
439
+ msgid "No"
440
+ msgstr "Ne"
441
+
442
+ #: ../slider.php:17 ../slider.php:21
443
+ msgid "Slider Name"
444
+ msgstr "Ime klizača"
445
+
446
+ #: ../slider.php:27
447
+ msgid "Alias:"
448
+ msgstr "Pseudonim:"
449
+
450
+ #: ../slider.php:39
451
+ msgid "Shortcode:"
452
+ msgstr "Kratki kod:"
453
+
454
+ #: ../slider.php:54
455
+ msgid "Slider General Options"
456
+ msgstr "Opšte opcije klizača"
457
+
458
+ #: ../slider.php:64
459
+ msgid "Layout"
460
+ msgstr "Raspored"
461
+
462
+ #: ../slider.php:79
463
+ msgid "Modify the layout type of the slider."
464
+ msgstr "Promeni tip rasporeda klizača."
465
+
466
+ #: ../slider.php:83
467
+ msgid "Responsive"
468
+ msgstr "Prilagodljivost"
469
+
470
+ #: ../slider.php:98
471
+ msgid "The slider will be adapted to the screen size."
472
+ msgstr "Klizač će se prilagoditi veličini ekrana."
473
+
474
+ #: ../slider.php:102
475
+ msgid "Start Width"
476
+ msgstr "Početna širina"
477
+
478
+ #: ../slider.php:111
479
+ msgid "The content initial width of the slider."
480
+ msgstr "Početna širina sadržaja klizača."
481
+
482
+ #: ../slider.php:115
483
+ msgid "Start Height"
484
+ msgstr "Početna visina"
485
+
486
+ #: ../slider.php:124
487
+ msgid "The content initial height of the slider."
488
+ msgstr "Početna visina sadržaja klizača."
489
+
490
+ #: ../slider.php:128
491
+ msgid "Automatic Slide"
492
+ msgstr "Automatsko klizanje"
493
+
494
+ #: ../slider.php:143
495
+ msgid "The slides loop is automatic."
496
+ msgstr "Petlja slajdova je automatska."
497
+
498
+ #: ../slider.php:147
499
+ msgid "Show Controls"
500
+ msgstr "Prikaži kontrole"
501
+
502
+ #: ../slider.php:162
503
+ msgid "Show the previous and next arrows."
504
+ msgstr "Prikaži strelice za prethodni i sledeći klizač."
505
+
506
+ #: ../slider.php:166
507
+ msgid "Show Navigation"
508
+ msgstr "Prikaži navigaciju"
509
+
510
+ #: ../slider.php:181
511
+ msgid "Show the links buttons to change slide."
512
+ msgstr "Prikaži dugmad za promenu slajda."
513
+
514
+ #: ../slider.php:185
515
+ msgid "Enable swipe and drag"
516
+ msgstr "Omogući prevlačenje"
517
+
518
+ #: ../slider.php:200
519
+ msgid "Enable swipe left, swipe right, drag left, drag right commands."
520
+ msgstr "Omogući komande za prevlačenje ulevo i udesno."
521
+
522
+ #: ../slider.php:204
523
+ msgid "Show Progress Bar"
524
+ msgstr "Prikaži traku napretka"
525
+
526
+ #: ../slider.php:219
527
+ msgid "Draw the progress bar during the slide execution."
528
+ msgstr "Prikaži traku napretka za vreme trajanja slajda."
529
+
530
+ #: ../slider.php:223
531
+ msgid "Pause on Hover"
532
+ msgstr "Pauziraj kada je pokazivač iznad klizača"
533
+
534
+ #: ../slider.php:238
535
+ msgid "Pause the current slide when hovered."
536
+ msgstr "Pauziraj trenutni slajd kada je pokazivač iznad njega."
537
+
538
+ #: ../slider.php:242
539
+ msgid "Callbacks"
540
+ msgstr "Povratni pozivi"
541
+
542
+ #: ../slider.php:260
543
+ msgid "Some jQuery functions that you can fire during the slider execution."
544
+ msgstr "Neke JQuery funkcije koje možete pokrenuti tokom izvršavanja klizača."
545
+
546
+ #: ../slides.php:24
547
+ msgid "Add Slide"
548
+ msgstr "Dodaj slajd"
549
+
550
+ #: ../slides.php:65
551
+ msgid "Slide Options"
552
+ msgstr "Opcije slajda"
553
+
554
+ #: ../slides.php:76
555
+ msgid "Background"
556
+ msgstr "Pozadina"
557
+
558
+ #: ../slides.php:80 ../slides.php:124
559
+ msgid "Background image:"
560
+ msgstr "Slika u pozadini:"
561
+
562
+ #: ../slides.php:83 ../slides.php:128 ../slides.php:131
563
+ msgid "Select image"
564
+ msgstr ""
565
+
566
+ #: ../slides.php:89 ../slides.php:138
567
+ msgid "Background color:"
568
+ msgstr "Boja pozadine:"
569
+
570
+ #: ../slides.php:93 ../slides.php:143 ../slides.php:145
571
+ msgid "Transparent"
572
+ msgstr "Providno"
573
+
574
+ #: ../slides.php:97 ../slides.php:159
575
+ msgid "Enter value"
576
+ msgstr "Unesi vrednost"
577
+
578
+ #: ../slides.php:103 ../slides.php:166
579
+ msgid "Background position-x:"
580
+ msgstr "Pozicija pozadine-x:"
581
+
582
+ #: ../slides.php:106 ../slides.php:169
583
+ msgid "Background position-y:"
584
+ msgstr "Pozicija pozadine-y:"
585
+
586
+ #: ../slides.php:112 ../slides.php:175
587
+ msgid "Background repeat:"
588
+ msgstr "Ponavljanje pozadine:"
589
+
590
+ #: ../slides.php:114 ../slides.php:178 ../slides.php:181
591
+ msgid "Repeat"
592
+ msgstr "Ponavljaj"
593
+
594
+ #: ../slides.php:115 ../slides.php:179 ../slides.php:182
595
+ msgid "No repeat"
596
+ msgstr "Ne ponavljaj"
597
+
598
+ #: ../slides.php:121 ../slides.php:189
599
+ msgid "Background size:"
600
+ msgstr "Veličina pozadine:"
601
+
602
+ #: ../slides.php:194
603
+ msgid "The background of the slide and its proprieties."
604
+ msgstr "Pozadina slajda i njena svojstva."
605
+
606
+ #: ../slides.php:197
607
+ msgid "Presets:"
608
+ msgstr "Unapred podešene postavke:"
609
+
610
+ #: ../slides.php:200
611
+ msgid "Full width responsive background image"
612
+ msgstr "Prilagodljiva pozadina pune širine"
613
+
614
+ #: ../slides.php:201
615
+ msgid "Pattern background image"
616
+ msgstr "Mustra za sliku u pozadini"
617
+
618
+ #: ../slides.php:221
619
+ msgid "The in animation of the slide."
620
+ msgstr "Ulazna animacija slajda."
621
+
622
+ #: ../slides.php:240
623
+ msgid "The out animation of the slide."
624
+ msgstr "Izlazna animacija slajda."
625
+
626
+ #: ../slides.php:253
627
+ msgid "The time that the slide will remain on the screen."
628
+ msgstr "Trajanje slajda na ekranu."
629
+
630
+ #: ../slides.php:257
631
+ msgid "Ease In"
632
+ msgstr "Lagani ulaz"
633
+
634
+ #: ../slides.php:266
635
+ msgid "The time that the slide will take to get in."
636
+ msgstr "Vreme za koje će slajd ući u polje."
637
+
638
+ #: ../slides.php:270
639
+ msgid "Ease Out"
640
+ msgstr "\"Lagani izlaz"
641
+
642
+ #: ../slides.php:279
643
+ msgid "The time that the slide will take to get out."
644
+ msgstr "Vreme za koje će slajd izaći iz polja."
645
+
646
+ #: ../slides.php:303
647
+ msgid ""
648
+ "Open the link (e.g.: http://www.google.it) when the user clicks on the background. Leave it empty if "
649
+ "you don't want it."
650
+ msgstr ""
651
+ "Otvori vezu (npr.: http://www.google.rs) kada korisnik klikne na pozadinu. Ostavi prazno za "
652
+ "onemogućavanje."
653
+
654
+ #: ../slides.php:315
655
+ msgid "Apply CSS to the slide."
656
+ msgstr "Primeni CSS na slajd."
wordpress/languages/crellyslider.pot CHANGED
@@ -1,7 +1,8 @@
 
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Crelly Slider 0.8.2\n"
4
- "POT-Creation-Date: 2015-03-15 13:30+0100\n"
5
  "PO-Revision-Date: 2015-03-15 13:30+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
@@ -9,280 +10,379 @@ msgstr ""
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.7\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SearchPath-0: ..\n"
16
 
17
- #: ../admin.php:50
18
  msgid "JavaScript must be enabled to view this page correctly."
19
  msgstr ""
20
 
21
- #: ../admin.php:53
22
  msgid "Operation completed successfully."
23
  msgstr ""
24
 
25
- #: ../admin.php:54
26
  msgid "Something went wrong."
27
  msgstr ""
28
 
29
- #: ../admin.php:56
30
  msgid ""
31
  "When you'll click \"Save Settings\", you'll be able to add slides and "
32
  "elements."
33
  msgstr ""
34
 
35
- #: ../admin.php:121
36
  msgid "Slider Settings"
37
  msgstr ""
38
 
39
- #: ../admin.php:125
40
  msgid "Edit Slides"
41
  msgstr ""
42
 
43
- #: ../admin.php:145
44
  msgid "Save Settings"
45
  msgstr ""
46
 
47
- #: ../admin.php:244 ../slides.php:15
48
  msgid "Slide"
49
  msgstr ""
50
 
51
- #: ../admin.php:245
52
  msgid "The slide will be deleted. Are you sure?"
53
  msgstr ""
54
 
55
- #: ../admin.php:246
56
  msgid "You can't delete this. You must have at least one slide."
57
  msgstr ""
58
 
59
- #: ../admin.php:247
60
  msgid "The slider will be deleted. Are you sure?"
61
  msgstr ""
62
 
63
- #: ../admin.php:248 ../elements.php:190
64
  msgid "Text element"
65
  msgstr ""
66
 
67
- #: ../admin.php:249 ../elements.php:112
68
  msgid "Live preview"
69
  msgstr ""
70
 
71
- #: ../admin.php:250
72
  msgid "Stop preview"
73
  msgstr ""
74
 
75
- #: ../elements.php:108
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  msgid "Add text"
77
  msgstr ""
78
 
79
- #: ../elements.php:109
80
  msgid "Add image"
81
  msgstr ""
82
 
83
- #: ../elements.php:113
 
 
 
 
84
  msgid "Delete element"
85
  msgstr ""
86
 
87
- #: ../elements.php:114
88
  msgid "Duplicate element"
89
  msgstr ""
90
 
91
- #: ../elements.php:157 ../elements.php:383 ../slides.php:55
 
 
 
 
 
 
92
  msgid "Slide down"
93
  msgstr ""
94
 
95
- #: ../elements.php:158 ../elements.php:384 ../slides.php:54
 
96
  msgid "Slide up"
97
  msgstr ""
98
 
99
- #: ../elements.php:159 ../elements.php:385 ../slides.php:52
 
100
  msgid "Slide left"
101
  msgstr ""
102
 
103
- #: ../elements.php:160 ../elements.php:386 ../slides.php:53
 
104
  msgid "Slide right"
105
  msgstr ""
106
 
107
- #: ../elements.php:161 ../elements.php:387 ../slides.php:49
 
108
  msgid "Fade"
109
  msgstr ""
110
 
111
- #: ../elements.php:162 ../elements.php:388
112
  msgid "Fade down"
113
  msgstr ""
114
 
115
- #: ../elements.php:163 ../elements.php:389
116
  msgid "Fade up"
117
  msgstr ""
118
 
119
- #: ../elements.php:164 ../elements.php:390 ../slides.php:50
 
120
  msgid "Fade left"
121
  msgstr ""
122
 
123
- #: ../elements.php:165 ../elements.php:391 ../slides.php:51
 
124
  msgid "Fade right"
125
  msgstr ""
126
 
127
- #: ../elements.php:166 ../elements.php:392
128
  msgid "Fade small down"
129
  msgstr ""
130
 
131
- #: ../elements.php:167 ../elements.php:393
132
  msgid "Fade small up"
133
  msgstr ""
134
 
135
- #: ../elements.php:168 ../elements.php:394
136
  msgid "Fade small left"
137
  msgstr ""
138
 
139
- #: ../elements.php:169 ../elements.php:395
140
  msgid "Fade small right"
141
  msgstr ""
142
 
143
- #: ../elements.php:176 ../elements.php:402
144
  msgid "Element Options"
145
  msgstr ""
146
 
147
- #: ../elements.php:182 ../elements.php:407 ../slider.php:59 ../slides.php:68
 
148
  msgid "Option"
149
  msgstr ""
150
 
151
- #: ../elements.php:183 ../elements.php:408 ../slider.php:60 ../slides.php:69
 
152
  msgid "Parameter"
153
  msgstr ""
154
 
155
- #: ../elements.php:184 ../elements.php:409 ../slider.php:61 ../slides.php:70
 
156
  msgid "Description"
157
  msgstr ""
158
 
159
- #: ../elements.php:187
160
  msgid "Text"
161
  msgstr ""
162
 
163
- #: ../elements.php:195
164
  msgid "Write the text or the HTML."
165
  msgstr ""
166
 
167
- #: ../elements.php:199 ../elements.php:424
168
  msgid "Left"
169
  msgstr ""
170
 
171
- #: ../elements.php:208 ../elements.php:433
 
 
 
 
172
  msgid "Left distance in px from the start width."
173
  msgstr ""
174
 
175
- #: ../elements.php:212 ../elements.php:437
176
  msgid "Top"
177
  msgstr ""
178
 
179
- #: ../elements.php:221 ../elements.php:446
 
 
 
 
180
  msgid "Top distance in px from the start height."
181
  msgstr ""
182
 
183
- #: ../elements.php:225 ../elements.php:450
184
  msgid "Z - index"
185
  msgstr ""
186
 
187
- #: ../elements.php:233 ../elements.php:458
188
  msgid ""
189
  "An element with an high z-index will cover an element with a lower z-index "
190
  "if they overlap."
191
  msgstr ""
192
 
193
- #: ../elements.php:237 ../elements.php:462
194
  msgid "Delay"
195
  msgstr ""
196
 
197
- #: ../elements.php:246 ../elements.php:471
198
  msgid "How long will the element wait before the entrance."
199
  msgstr ""
200
 
201
- #: ../elements.php:250 ../elements.php:475 ../slides.php:214
 
202
  msgid "Time"
203
  msgstr ""
204
 
205
- #: ../elements.php:259 ../elements.php:484
 
 
 
 
 
 
 
 
206
  msgid ""
207
- "How long will the element be displayed during the slide execution. Write "
208
- "\"all\" to set the entire time."
 
209
  msgstr ""
210
 
211
- #: ../elements.php:263 ../elements.php:488 ../slides.php:176
 
212
  msgid "In animation"
213
  msgstr ""
214
 
215
- #: ../elements.php:278 ../elements.php:503
216
  msgid "The in animation of the element."
217
  msgstr ""
218
 
219
- #: ../elements.php:282 ../elements.php:507 ../slides.php:195
 
220
  msgid "Out animation"
221
  msgstr ""
222
 
223
- #: ../elements.php:297 ../elements.php:300 ../elements.php:303
224
- #: ../elements.php:522 ../elements.php:525 ../elements.php:528
 
225
  msgid "Disable synchronization with slide out animation"
226
  msgstr ""
227
 
228
- #: ../elements.php:309 ../elements.php:534
229
  msgid ""
230
  "The out animation of the element.<br /><br />Disable synchronization with "
231
  "slide out animation: if not checked, the slide out animation won't start "
232
  "until all the elements that have this option unchecked are animated out."
233
  msgstr ""
234
 
235
- #: ../elements.php:313 ../elements.php:538
236
  msgid "Ease in"
237
  msgstr ""
238
 
239
- #: ../elements.php:322 ../elements.php:547
240
  msgid "How long will the in animation take."
241
  msgstr ""
242
 
243
- #: ../elements.php:326 ../elements.php:551
244
  msgid "Ease out"
245
  msgstr ""
246
 
247
- #: ../elements.php:335 ../elements.php:560
248
  msgid "How long will the out animation take."
249
  msgstr ""
250
 
251
- #: ../elements.php:339 ../elements.php:564
252
  msgid "Link"
253
  msgstr ""
254
 
255
- #: ../elements.php:347 ../elements.php:350 ../elements.php:353
256
- #: ../elements.php:572 ../elements.php:575 ../elements.php:578
 
257
  msgid "Open link in a new tab"
258
  msgstr ""
259
 
260
- #: ../elements.php:359 ../elements.php:584
261
  msgid ""
262
  "Open the link (e.g.: http://www.google.it) on click. Leave it empty if you "
263
  "don't want it."
264
  msgstr ""
265
 
266
- #: ../elements.php:363 ../elements.php:588 ../slides.php:253
 
267
  msgid "Custom CSS"
268
  msgstr ""
269
 
270
- #: ../elements.php:371 ../elements.php:596
271
  msgid "Style the element."
272
  msgstr ""
273
 
274
- #: ../elements.php:412
 
 
 
 
 
 
 
 
 
 
275
  msgid "Modify image"
276
  msgstr ""
277
 
278
- #: ../elements.php:415 ../elements.php:416
279
  msgid "Open gallery"
280
  msgstr ""
281
 
282
- #: ../elements.php:420
283
  msgid "Change the image source or the alt text."
284
  msgstr ""
285
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
286
  #: ../frontend.php:25
287
  msgid "You have to insert a valid alias in the shortcode"
288
  msgstr ""
@@ -324,13 +424,25 @@ msgid "Edit Slider"
324
  msgstr ""
325
 
326
  #: ../home.php:37
 
 
 
 
 
 
 
 
327
  msgid "Delete Slider"
328
  msgstr ""
329
 
330
- #: ../home.php:49
331
  msgid "Add Slider"
332
  msgstr ""
333
 
 
 
 
 
334
  #: ../slider.php:6
335
  msgid "Full Width"
336
  msgstr ""
@@ -451,94 +563,112 @@ msgstr ""
451
  msgid "Some jQuery functions that you can fire during the slider execution."
452
  msgstr ""
453
 
454
- #: ../slides.php:23
455
  msgid "Add Slide"
456
  msgstr ""
457
 
458
- #: ../slides.php:62
459
  msgid "Slide Options"
460
  msgstr ""
461
 
462
- #: ../slides.php:73
463
  msgid "Background"
464
  msgstr ""
465
 
466
- #: ../slides.php:77 ../slides.php:116
467
  msgid "Background image:"
468
  msgstr ""
469
 
470
- #: ../slides.php:79 ../slides.php:119 ../slides.php:122
471
- msgid "None"
472
- msgstr ""
473
-
474
- #: ../slides.php:80 ../slides.php:120 ../slides.php:123
475
  msgid "Select image"
476
  msgstr ""
477
 
478
- #: ../slides.php:86 ../slides.php:130
479
  msgid "Background color:"
480
  msgstr ""
481
 
482
- #: ../slides.php:88 ../slides.php:133 ../slides.php:136
483
  msgid "Transparent"
484
  msgstr ""
485
 
486
- #: ../slides.php:95 ../slides.php:144
 
 
 
 
487
  msgid "Background position-x:"
488
  msgstr ""
489
 
490
- #: ../slides.php:98 ../slides.php:147
491
  msgid "Background position-y:"
492
  msgstr ""
493
 
494
- #: ../slides.php:104 ../slides.php:153
495
  msgid "Background repeat:"
496
  msgstr ""
497
 
498
- #: ../slides.php:106 ../slides.php:156 ../slides.php:159
499
  msgid "Repeat"
500
  msgstr ""
501
 
502
- #: ../slides.php:107 ../slides.php:157 ../slides.php:160
503
  msgid "No repeat"
504
  msgstr ""
505
 
506
- #: ../slides.php:113 ../slides.php:167
507
  msgid "Background size:"
508
  msgstr ""
509
 
510
- #: ../slides.php:172
511
  msgid "The background of the slide and its proprieties."
512
  msgstr ""
513
 
514
- #: ../slides.php:191
 
 
 
 
 
 
 
 
 
 
 
 
515
  msgid "The in animation of the slide."
516
  msgstr ""
517
 
518
- #: ../slides.php:210
519
  msgid "The out animation of the slide."
520
  msgstr ""
521
 
522
- #: ../slides.php:223
523
  msgid "The time that the slide will remain on the screen."
524
  msgstr ""
525
 
526
- #: ../slides.php:227
527
  msgid "Ease In"
528
  msgstr ""
529
 
530
- #: ../slides.php:236
531
  msgid "The time that the slide will take to get in."
532
  msgstr ""
533
 
534
- #: ../slides.php:240
535
  msgid "Ease Out"
536
  msgstr ""
537
 
538
- #: ../slides.php:249
539
  msgid "The time that the slide will take to get out."
540
  msgstr ""
541
 
542
- #: ../slides.php:261
 
 
 
 
 
 
543
  msgid "Apply CSS to the slide."
544
  msgstr ""
1
+ #, fuzzy
2
  msgid ""
3
  msgstr ""
4
+ "Project-Id-Version: Crelly Slider 1.1.0\n"
5
+ "POT-Creation-Date: 2016-03-09 16:39+0100\n"
6
  "PO-Revision-Date: 2015-03-15 13:30+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8.7\n"
14
  "X-Poedit-KeywordsList: __;_e\n"
15
  "X-Poedit-Basepath: .\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
+ #: ../admin.php:48
19
  msgid "JavaScript must be enabled to view this page correctly."
20
  msgstr ""
21
 
22
+ #: ../admin.php:51
23
  msgid "Operation completed successfully."
24
  msgstr ""
25
 
26
+ #: ../admin.php:52
27
  msgid "Something went wrong."
28
  msgstr ""
29
 
30
+ #: ../admin.php:54
31
  msgid ""
32
  "When you'll click \"Save Settings\", you'll be able to add slides and "
33
  "elements."
34
  msgstr ""
35
 
36
+ #: ../admin.php:119
37
  msgid "Slider Settings"
38
  msgstr ""
39
 
40
+ #: ../admin.php:123
41
  msgid "Edit Slides"
42
  msgstr ""
43
 
44
+ #: ../admin.php:143
45
  msgid "Save Settings"
46
  msgstr ""
47
 
48
+ #: ../admin.php:243 ../slides.php:15
49
  msgid "Slide"
50
  msgstr ""
51
 
52
+ #: ../admin.php:244
53
  msgid "The slide will be deleted. Are you sure?"
54
  msgstr ""
55
 
56
+ #: ../admin.php:245
57
  msgid "You can't delete this. You must have at least one slide."
58
  msgstr ""
59
 
60
+ #: ../admin.php:246
61
  msgid "The slider will be deleted. Are you sure?"
62
  msgstr ""
63
 
64
+ #: ../admin.php:247 ../elements.php:249
65
  msgid "Text element"
66
  msgstr ""
67
 
68
+ #: ../admin.php:248 ../elements.php:159
69
  msgid "Live preview"
70
  msgstr ""
71
 
72
+ #: ../admin.php:249
73
  msgid "Stop preview"
74
  msgstr ""
75
 
76
+ #: ../admin.php:250 ../slides.php:16
77
+ msgid "Duplicate slide"
78
+ msgstr ""
79
+
80
+ #: ../admin.php:251 ../slides.php:17
81
+ msgid "Delete slide"
82
+ msgstr ""
83
+
84
+ #: ../admin.php:252
85
+ msgid ""
86
+ "All unsaved changes will be lost. Are you sure you want to leave this page?"
87
+ msgstr ""
88
+
89
+ #: ../ajax.php:282
90
+ msgid "Copy"
91
+ msgstr ""
92
+
93
+ #: ../ajax.php:283
94
+ msgid "copy"
95
+ msgstr ""
96
+
97
+ #: ../elements.php:154
98
  msgid "Add text"
99
  msgstr ""
100
 
101
+ #: ../elements.php:155
102
  msgid "Add image"
103
  msgstr ""
104
 
105
+ #: ../elements.php:156
106
+ msgid "Add video"
107
+ msgstr ""
108
+
109
+ #: ../elements.php:160
110
  msgid "Delete element"
111
  msgstr ""
112
 
113
+ #: ../elements.php:161
114
  msgid "Duplicate element"
115
  msgstr ""
116
 
117
+ #: ../elements.php:215 ../elements.php:466 ../elements.php:716
118
+ #: ../slides.php:51 ../slides.php:82 ../slides.php:127 ../slides.php:130
119
+ msgid "None"
120
+ msgstr ""
121
+
122
+ #: ../elements.php:216 ../elements.php:467 ../elements.php:717
123
+ #: ../slides.php:58
124
  msgid "Slide down"
125
  msgstr ""
126
 
127
+ #: ../elements.php:217 ../elements.php:468 ../elements.php:718
128
+ #: ../slides.php:57
129
  msgid "Slide up"
130
  msgstr ""
131
 
132
+ #: ../elements.php:218 ../elements.php:469 ../elements.php:719
133
+ #: ../slides.php:55
134
  msgid "Slide left"
135
  msgstr ""
136
 
137
+ #: ../elements.php:219 ../elements.php:470 ../elements.php:720
138
+ #: ../slides.php:56
139
  msgid "Slide right"
140
  msgstr ""
141
 
142
+ #: ../elements.php:220 ../elements.php:471 ../elements.php:721
143
+ #: ../slides.php:52
144
  msgid "Fade"
145
  msgstr ""
146
 
147
+ #: ../elements.php:221 ../elements.php:472 ../elements.php:722
148
  msgid "Fade down"
149
  msgstr ""
150
 
151
+ #: ../elements.php:222 ../elements.php:473 ../elements.php:723
152
  msgid "Fade up"
153
  msgstr ""
154
 
155
+ #: ../elements.php:223 ../elements.php:474 ../elements.php:724
156
+ #: ../slides.php:53
157
  msgid "Fade left"
158
  msgstr ""
159
 
160
+ #: ../elements.php:224 ../elements.php:475 ../elements.php:725
161
+ #: ../slides.php:54
162
  msgid "Fade right"
163
  msgstr ""
164
 
165
+ #: ../elements.php:225 ../elements.php:476 ../elements.php:726
166
  msgid "Fade small down"
167
  msgstr ""
168
 
169
+ #: ../elements.php:226 ../elements.php:477 ../elements.php:727
170
  msgid "Fade small up"
171
  msgstr ""
172
 
173
+ #: ../elements.php:227 ../elements.php:478 ../elements.php:728
174
  msgid "Fade small left"
175
  msgstr ""
176
 
177
+ #: ../elements.php:228 ../elements.php:479 ../elements.php:729
178
  msgid "Fade small right"
179
  msgstr ""
180
 
181
+ #: ../elements.php:235 ../elements.php:486 ../elements.php:736
182
  msgid "Element Options"
183
  msgstr ""
184
 
185
+ #: ../elements.php:241 ../elements.php:491 ../elements.php:742
186
+ #: ../slider.php:59 ../slides.php:71
187
  msgid "Option"
188
  msgstr ""
189
 
190
+ #: ../elements.php:242 ../elements.php:492 ../elements.php:743
191
+ #: ../slider.php:60 ../slides.php:72
192
  msgid "Parameter"
193
  msgstr ""
194
 
195
+ #: ../elements.php:243 ../elements.php:493 ../elements.php:744
196
+ #: ../slider.php:61 ../slides.php:73
197
  msgid "Description"
198
  msgstr ""
199
 
200
+ #: ../elements.php:246
201
  msgid "Text"
202
  msgstr ""
203
 
204
+ #: ../elements.php:254
205
  msgid "Write the text or the HTML."
206
  msgstr ""
207
 
208
+ #: ../elements.php:258 ../elements.php:508 ../elements.php:809
209
  msgid "Left"
210
  msgstr ""
211
 
212
+ #: ../elements.php:267 ../elements.php:517 ../elements.php:818
213
+ msgid "Center horizontally"
214
+ msgstr ""
215
+
216
+ #: ../elements.php:270 ../elements.php:520 ../elements.php:821
217
  msgid "Left distance in px from the start width."
218
  msgstr ""
219
 
220
+ #: ../elements.php:274 ../elements.php:524 ../elements.php:825
221
  msgid "Top"
222
  msgstr ""
223
 
224
+ #: ../elements.php:283 ../elements.php:533 ../elements.php:834
225
+ msgid "Center vertically"
226
+ msgstr ""
227
+
228
+ #: ../elements.php:286 ../elements.php:536 ../elements.php:837
229
  msgid "Top distance in px from the start height."
230
  msgstr ""
231
 
232
+ #: ../elements.php:290 ../elements.php:540 ../elements.php:841
233
  msgid "Z - index"
234
  msgstr ""
235
 
236
+ #: ../elements.php:298 ../elements.php:548 ../elements.php:849
237
  msgid ""
238
  "An element with an high z-index will cover an element with a lower z-index "
239
  "if they overlap."
240
  msgstr ""
241
 
242
+ #: ../elements.php:302 ../elements.php:552 ../elements.php:853
243
  msgid "Delay"
244
  msgstr ""
245
 
246
+ #: ../elements.php:311 ../elements.php:561 ../elements.php:862
247
  msgid "How long will the element wait before the entrance."
248
  msgstr ""
249
 
250
+ #: ../elements.php:315 ../elements.php:565 ../elements.php:866
251
+ #: ../slides.php:244
252
  msgid "Time"
253
  msgstr ""
254
 
255
+ #: ../elements.php:324 ../elements.php:574 ../elements.php:875
256
+ msgid "How long will the element be displayed during the slide execution."
257
+ msgstr ""
258
+
259
+ #: ../elements.php:327 ../elements.php:577 ../elements.php:878
260
+ msgid "Write \"all\" to set the entire time."
261
+ msgstr ""
262
+
263
+ #: ../elements.php:330 ../elements.php:580 ../elements.php:881
264
  msgid ""
265
+ "Write \"3000\" to set 3000 milliseconds minus delay time (so, if the delay "
266
+ "time is 1000 milliseconds, the element will be displayed for "
267
+ "3000-1000=2000 milliseconds)."
268
  msgstr ""
269
 
270
+ #: ../elements.php:334 ../elements.php:584 ../elements.php:885
271
+ #: ../slides.php:206
272
  msgid "In animation"
273
  msgstr ""
274
 
275
+ #: ../elements.php:349 ../elements.php:599 ../elements.php:900
276
  msgid "The in animation of the element."
277
  msgstr ""
278
 
279
+ #: ../elements.php:353 ../elements.php:603 ../elements.php:904
280
+ #: ../slides.php:225
281
  msgid "Out animation"
282
  msgstr ""
283
 
284
+ #: ../elements.php:368 ../elements.php:371 ../elements.php:374
285
+ #: ../elements.php:618 ../elements.php:621 ../elements.php:624
286
+ #: ../elements.php:919 ../elements.php:922 ../elements.php:925
287
  msgid "Disable synchronization with slide out animation"
288
  msgstr ""
289
 
290
+ #: ../elements.php:380 ../elements.php:630 ../elements.php:931
291
  msgid ""
292
  "The out animation of the element.<br /><br />Disable synchronization with "
293
  "slide out animation: if not checked, the slide out animation won't start "
294
  "until all the elements that have this option unchecked are animated out."
295
  msgstr ""
296
 
297
+ #: ../elements.php:384 ../elements.php:634 ../elements.php:935
298
  msgid "Ease in"
299
  msgstr ""
300
 
301
+ #: ../elements.php:393 ../elements.php:643 ../elements.php:944
302
  msgid "How long will the in animation take."
303
  msgstr ""
304
 
305
+ #: ../elements.php:397 ../elements.php:647 ../elements.php:948
306
  msgid "Ease out"
307
  msgstr ""
308
 
309
+ #: ../elements.php:406 ../elements.php:656 ../elements.php:957
310
  msgid "How long will the out animation take."
311
  msgstr ""
312
 
313
+ #: ../elements.php:410 ../elements.php:660 ../slides.php:283
314
  msgid "Link"
315
  msgstr ""
316
 
317
+ #: ../elements.php:418 ../elements.php:421 ../elements.php:424
318
+ #: ../elements.php:668 ../elements.php:671 ../elements.php:674
319
+ #: ../slides.php:291 ../slides.php:294 ../slides.php:297
320
  msgid "Open link in a new tab"
321
  msgstr ""
322
 
323
+ #: ../elements.php:430 ../elements.php:680
324
  msgid ""
325
  "Open the link (e.g.: http://www.google.it) on click. Leave it empty if you "
326
  "don't want it."
327
  msgstr ""
328
 
329
+ #: ../elements.php:434 ../elements.php:684 ../elements.php:961
330
+ #: ../slides.php:307
331
  msgid "Custom CSS"
332
  msgstr ""
333
 
334
+ #: ../elements.php:442 ../elements.php:692 ../elements.php:969
335
  msgid "Style the element."
336
  msgstr ""
337
 
338
+ #: ../elements.php:446 ../elements.php:696 ../elements.php:973
339
+ msgid "Custom classes"
340
+ msgstr ""
341
+
342
+ #: ../elements.php:454 ../elements.php:704 ../elements.php:981
343
+ msgid ""
344
+ "Apply custom CSS classes to the element. The style of the classes may not "
345
+ "work when working on backend."
346
+ msgstr ""
347
+
348
+ #: ../elements.php:496
349
  msgid "Modify image"
350
  msgstr ""
351
 
352
+ #: ../elements.php:499 ../elements.php:500
353
  msgid "Open gallery"
354
  msgstr ""
355
 
356
+ #: ../elements.php:504
357
  msgid "Change the image source or the alt text."
358
  msgstr ""
359
 
360
+ #: ../elements.php:747
361
+ msgid "Video source"
362
+ msgstr ""
363
+
364
+ #: ../elements.php:767
365
+ msgid "Set source and ID."
366
+ msgstr ""
367
+
368
+ #: ../elements.php:771
369
+ msgid "Loop video"
370
+ msgstr ""
371
+
372
+ #: ../elements.php:786
373
+ msgid ""
374
+ "The video will automatically restart from the beginning when it reaches "
375
+ "the end."
376
+ msgstr ""
377
+
378
+ #: ../elements.php:790
379
+ msgid "Autoplay"
380
+ msgstr ""
381
+
382
+ #: ../elements.php:805
383
+ msgid "The video will automatically be played after the in animation."
384
+ msgstr ""
385
+
386
  #: ../frontend.php:25
387
  msgid "You have to insert a valid alias in the shortcode"
388
  msgstr ""
424
  msgstr ""
425
 
426
  #: ../home.php:37
427
+ msgid "Duplicate Slider"
428
+ msgstr ""
429
+
430
+ #: ../home.php:38
431
+ msgid "Export Slider"
432
+ msgstr ""
433
+
434
+ #: ../home.php:39
435
  msgid "Delete Slider"
436
  msgstr ""
437
 
438
+ #: ../home.php:51
439
  msgid "Add Slider"
440
  msgstr ""
441
 
442
+ #: ../home.php:52
443
+ msgid "Import Slider"
444
+ msgstr ""
445
+
446
  #: ../slider.php:6
447
  msgid "Full Width"
448
  msgstr ""
563
  msgid "Some jQuery functions that you can fire during the slider execution."
564
  msgstr ""
565
 
566
+ #: ../slides.php:24
567
  msgid "Add Slide"
568
  msgstr ""
569
 
570
+ #: ../slides.php:65
571
  msgid "Slide Options"
572
  msgstr ""
573
 
574
+ #: ../slides.php:76
575
  msgid "Background"
576
  msgstr ""
577
 
578
+ #: ../slides.php:80 ../slides.php:124
579
  msgid "Background image:"
580
  msgstr ""
581
 
582
+ #: ../slides.php:83 ../slides.php:128 ../slides.php:131
 
 
 
 
583
  msgid "Select image"
584
  msgstr ""
585
 
586
+ #: ../slides.php:89 ../slides.php:138
587
  msgid "Background color:"
588
  msgstr ""
589
 
590
+ #: ../slides.php:93 ../slides.php:143 ../slides.php:145
591
  msgid "Transparent"
592
  msgstr ""
593
 
594
+ #: ../slides.php:97 ../slides.php:159
595
+ msgid "Enter value"
596
+ msgstr ""
597
+
598
+ #: ../slides.php:103 ../slides.php:166
599
  msgid "Background position-x:"
600
  msgstr ""
601
 
602
+ #: ../slides.php:106 ../slides.php:169
603
  msgid "Background position-y:"
604
  msgstr ""
605
 
606
+ #: ../slides.php:112 ../slides.php:175
607
  msgid "Background repeat:"
608
  msgstr ""
609
 
610
+ #: ../slides.php:114 ../slides.php:178 ../slides.php:181
611
  msgid "Repeat"
612
  msgstr ""
613
 
614
+ #: ../slides.php:115 ../slides.php:179 ../slides.php:182
615
  msgid "No repeat"
616
  msgstr ""
617
 
618
+ #: ../slides.php:121 ../slides.php:189
619
  msgid "Background size:"
620
  msgstr ""
621
 
622
+ #: ../slides.php:194
623
  msgid "The background of the slide and its proprieties."
624
  msgstr ""
625
 
626
+ #: ../slides.php:197
627
+ msgid "Presets:"
628
+ msgstr ""
629
+
630
+ #: ../slides.php:200
631
+ msgid "Full width responsive background image"
632
+ msgstr ""
633
+
634
+ #: ../slides.php:201
635
+ msgid "Pattern background image"
636
+ msgstr ""
637
+
638
+ #: ../slides.php:221
639
  msgid "The in animation of the slide."
640
  msgstr ""
641
 
642
+ #: ../slides.php:240
643
  msgid "The out animation of the slide."
644
  msgstr ""
645
 
646
+ #: ../slides.php:253
647
  msgid "The time that the slide will remain on the screen."
648
  msgstr ""
649
 
650
+ #: ../slides.php:257
651
  msgid "Ease In"
652
  msgstr ""
653
 
654
+ #: ../slides.php:266
655
  msgid "The time that the slide will take to get in."
656
  msgstr ""
657
 
658
+ #: ../slides.php:270
659
  msgid "Ease Out"
660
  msgstr ""
661
 
662
+ #: ../slides.php:279
663
  msgid "The time that the slide will take to get out."
664
  msgstr ""
665
 
666
+ #: ../slides.php:303
667
+ msgid ""
668
+ "Open the link (e.g.: http://www.google.it) when the user clicks on the "
669
+ "background. Leave it empty if you don't want it."
670
+ msgstr ""
671
+
672
+ #: ../slides.php:315
673
  msgid "Apply CSS to the slide."
674
  msgstr ""
wordpress/slider.php CHANGED
@@ -3,8 +3,8 @@
3
  // Contains the key, the display name and a boolean: true if is the default option
4
  $slider_select_options = array(
5
  'layout' => array(
6
- 'full-width' => array(__('Full Width', 'crellyslider'), false),
7
- 'fixed' => array(__('Fixed', 'crellyslider'), true),
8
  ),
9
  'boolean' => array(
10
  1 => array(__('Yes', 'crellyslider'), true),
@@ -102,7 +102,7 @@
102
  <td class="cs-name"><?php _e('Start Width', 'crellyslider'); ?></td>
103
  <td class="cs-content">
104
  <?php
105
- if(!$edit) echo '<input id="cs-slider-startWidth" type="text" value="1170" />';
106
  else echo '<input id="cs-slider-startWidth" type="text" value="' . $slider->startWidth .'" />';
107
  ?>
108
  px
3
  // Contains the key, the display name and a boolean: true if is the default option
4
  $slider_select_options = array(
5
  'layout' => array(
6
+ 'full-width' => array(__('Full Width', 'crellyslider'), true),
7
+ 'fixed' => array(__('Fixed', 'crellyslider'), false),
8
  ),
9
  'boolean' => array(
10
  1 => array(__('Yes', 'crellyslider'), true),
102
  <td class="cs-name"><?php _e('Start Width', 'crellyslider'); ?></td>
103
  <td class="cs-content">
104
  <?php
105
+ if(!$edit) echo '<input id="cs-slider-startWidth" type="text" value="1140" />';
106
  else echo '<input id="cs-slider-startWidth" type="text" value="' . $slider->startWidth .'" />';
107
  ?>
108
  px
wordpress/slides.php CHANGED
@@ -12,8 +12,9 @@
12
  else {
13
  echo '<li class="ui-state-default">';
14
  }
15
- echo '<a>' . __('Slide', 'crellyslider') . ' <span class="cs-slide-index">' . (($slide->position) + 1) . '</span></a>';
16
- echo '<span class="cs-close"></span>';
 
17
  echo '</li>';
18
 
19
  $j++;
@@ -21,6 +22,7 @@
21
  }
22
  ?>
23
  <li class="ui-state-default ui-state-disabled"><a class="cs-add-new"><?php _e('Add Slide', 'crellyslider'); ?></a></li>
 
24
  </ul>
25
 
26
  <div class="cs-slides-list">
@@ -46,6 +48,7 @@ function crellyslider_printSlide($slider, $slide, $edit) {
46
  $void = !$slide ? true : false;
47
 
48
  $animations = array(
 
49
  'fade' => array(__('Fade', 'crellyslider'), true),
50
  'fadeLeft' => array(__('Fade left', 'crellyslider'), false),
51
  'fadeRight' => array(__('Fade right', 'crellyslider'), false),
@@ -85,33 +88,38 @@ function crellyslider_printSlide($slider, $slide, $edit) {
85
 
86
  <?php _e('Background color:', 'crellyslider'); ?> &nbsp;
87
  <form>
 
 
88
  <input type="radio" value="0" name="cs-slide-background_type_color" checked /> <?php _e('Transparent', 'crellyslider'); ?> &nbsp;
 
89
  <input type="radio" value="1" name="cs-slide-background_type_color" /> <input class="cs-slide-background_type_color-picker-input cs-button cs-is-default" type="text" value="rgb(255, 255, 255)" />
 
 
90
  </form>
91
 
92
  <br />
93
  <br />
94
 
95
  <?php _e('Background position-x:', 'crellyslider'); ?> &nbsp;
96
- <input type="text" value="0" class="cs-slide-background_propriety_position_x" />
97
  <br />
98
  <?php _e('Background position-y:', 'crellyslider'); ?> &nbsp;
99
- <input type="text" value="0" class="cs-slide-background_propriety_position_y" />
100
 
101
  <br />
102
  <br />
103
 
104
  <?php _e('Background repeat:', 'crellyslider'); ?> &nbsp;
105
  <form>
106
- <input type="radio" value="1" name="cs-slide-background_repeat" checked /> <?php _e('Repeat', 'crellyslider'); ?> &nbsp;
107
- <input type="radio" value="0" name="cs-slide-background_repeat" /> <?php _e('No repeat', 'crellyslider'); ?>
108
  </form>
109
 
110
  <br />
111
  <br />
112
 
113
  <?php _e('Background size:', 'crellyslider'); ?> &nbsp;
114
- <input type="text" value="auto" class="cs-slide-background_propriety_size" />
115
  <?php else: ?>
116
  <?php _e('Background image:', 'crellyslider'); ?> &nbsp;
117
  <form>
@@ -128,13 +136,27 @@ function crellyslider_printSlide($slider, $slide, $edit) {
128
  <br />
129
 
130
  <?php _e('Background color:', 'crellyslider'); ?> &nbsp;
131
- <form>
 
 
132
  <?php if($slide->background_type_color == 'transparent'): ?>
133
  <input type="radio" value="0" name="cs-slide-background_type_color" checked /> <?php _e('Transparent', 'crellyslider'); ?> &nbsp;
134
- <input type="radio" value="1" name="cs-slide-background_type_color" /> <input class="cs-slide-background_type_color-picker-input cs-button cs-is-default" type="text" value="rgb(255, 255, 255)" />
135
  <?php else: ?>
136
  <input type="radio" value="0" name="cs-slide-background_type_color" /> <?php _e('Transparent', 'crellyslider'); ?> &nbsp;
 
 
 
 
137
  <input type="radio" value="1" name="cs-slide-background_type_color" checked /> <input class="cs-slide-background_type_color-picker-input cs-button cs-is-default" type="text" value="<?php echo $slide->background_type_color; ?>" />
 
 
 
 
 
 
 
 
 
138
  <?php endif; ?>
139
  </form>
140
 
@@ -170,6 +192,14 @@ function crellyslider_printSlide($slider, $slide, $edit) {
170
  </td>
171
  <td class="cs-description">
172
  <?php _e('The background of the slide and its proprieties.', 'crellyslider'); ?>
 
 
 
 
 
 
 
 
173
  </td>
174
  </tr>
175
  <tr>
@@ -198,7 +228,7 @@ function crellyslider_printSlide($slider, $slide, $edit) {
198
  <?php
199
  foreach($animations as $key => $value) {
200
  echo '<option value="' . $key . '"';
201
- if(($void && $value[1]) || (!$void && $slide->data_in == $key)) {
202
  echo ' selected';
203
  }
204
  echo '>' . $value[0] . '</option>';
@@ -249,6 +279,30 @@ function crellyslider_printSlide($slider, $slide, $edit) {
249
  <?php _e('The time that the slide will take to get out.', 'crellyslider'); ?>
250
  </td>
251
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
252
  <tr>
253
  <td class="cs-name"><?php _e('Custom CSS', 'crellyslider'); ?></td>
254
  <td class="cs-content">
12
  else {
13
  echo '<li class="ui-state-default">';
14
  }
15
+ echo '<a><span class="cs-slide-name-text">' . __('Slide', 'crellyslider') . ' <span class="cs-slide-index">' . (($slide->position) + 1) . '</span></span></a>';
16
+ echo '<span title="' . __('Duplicate slide', 'crellyslider') . '" class="cs-duplicate"></span>';
17
+ echo '<span title="' . __('Delete slide', 'crellyslider') . '" class="cs-close"></span>';
18
  echo '</li>';
19
 
20
  $j++;
22
  }
23
  ?>
24
  <li class="ui-state-default ui-state-disabled"><a class="cs-add-new"><?php _e('Add Slide', 'crellyslider'); ?></a></li>
25
+ <div style="clear: both;"></div>
26
  </ul>
27
 
28
  <div class="cs-slides-list">
48
  $void = !$slide ? true : false;
49
 
50
  $animations = array(
51
+ 'none' => array(__('None', 'crellyslider'), false),
52
  'fade' => array(__('Fade', 'crellyslider'), true),
53
  'fadeLeft' => array(__('Fade left', 'crellyslider'), false),
54
  'fadeRight' => array(__('Fade right', 'crellyslider'), false),
88
 
89
  <?php _e('Background color:', 'crellyslider'); ?> &nbsp;
90
  <form>
91
+ <br />
92
+ <br />
93
  <input type="radio" value="0" name="cs-slide-background_type_color" checked /> <?php _e('Transparent', 'crellyslider'); ?> &nbsp;
94
+ <br />
95
  <input type="radio" value="1" name="cs-slide-background_type_color" /> <input class="cs-slide-background_type_color-picker-input cs-button cs-is-default" type="text" value="rgb(255, 255, 255)" />
96
+ <br />
97
+ <input type="radio" value="2" name="cs-slide-background_type_color" placeholder="<?php _e('Enter value', 'crellyslider'); ?>" /> <input class="cs-slide-background_type_color-manual" type="text" />
98
  </form>
99
 
100
  <br />
101
  <br />
102
 
103
  <?php _e('Background position-x:', 'crellyslider'); ?> &nbsp;
104
+ <input type="text" value="center" class="cs-slide-background_propriety_position_x" />
105
  <br />
106
  <?php _e('Background position-y:', 'crellyslider'); ?> &nbsp;
107
+ <input type="text" value="center" class="cs-slide-background_propriety_position_y" />
108
 
109
  <br />
110
  <br />
111
 
112
  <?php _e('Background repeat:', 'crellyslider'); ?> &nbsp;
113
  <form>
114
+ <input type="radio" value="1" name="cs-slide-background_repeat" /> <?php _e('Repeat', 'crellyslider'); ?> &nbsp;
115
+ <input type="radio" value="0" name="cs-slide-background_repeat" checked /> <?php _e('No repeat', 'crellyslider'); ?>
116
  </form>
117
 
118
  <br />
119
  <br />
120
 
121
  <?php _e('Background size:', 'crellyslider'); ?> &nbsp;
122
+ <input type="text" value="cover" class="cs-slide-background_propriety_size" />
123
  <?php else: ?>
124
  <?php _e('Background image:', 'crellyslider'); ?> &nbsp;
125
  <form>
136
  <br />
137
 
138
  <?php _e('Background color:', 'crellyslider'); ?> &nbsp;
139
+ <form>
140
+ <br />
141
+ <br />
142
  <?php if($slide->background_type_color == 'transparent'): ?>
143
  <input type="radio" value="0" name="cs-slide-background_type_color" checked /> <?php _e('Transparent', 'crellyslider'); ?> &nbsp;
 
144
  <?php else: ?>
145
  <input type="radio" value="0" name="cs-slide-background_type_color" /> <?php _e('Transparent', 'crellyslider'); ?> &nbsp;
146
+ <?php endif; ?>
147
+
148
+ <br />
149
+ <?php if($slide->background_type_color_input == '1' || ($slide->background_type_color_input == '-1' && $slide->background_type_color != 'transparent')): ?>
150
  <input type="radio" value="1" name="cs-slide-background_type_color" checked /> <input class="cs-slide-background_type_color-picker-input cs-button cs-is-default" type="text" value="<?php echo $slide->background_type_color; ?>" />
151
+ <?php else: ?>
152
+ <input type="radio" value="1" name="cs-slide-background_type_color" /> <input class="cs-slide-background_type_color-picker-input cs-button cs-is-default" type="text" value="rgb(255, 255, 255)" />
153
+ <?php endif; ?>
154
+
155
+ <br />
156
+ <?php if($slide->background_type_color_input == '2'): ?>
157
+ <input type="radio" value="2" name="cs-slide-background_type_color" checked /> <input class="cs-slide-background_type_color-manual" type="text" value="<?php echo $slide->background_type_color; ?>" />
158
+ <?php else: ?>
159
+ <input type="radio" value="2" name="cs-slide-background_type_color" /> <input class="cs-slide-background_type_color-manual" type="text" placeholder="<?php _e('Enter value', 'crellyslider'); ?>" />
160
  <?php endif; ?>
161
  </form>
162
 
192
  </td>
193
  <td class="cs-description">
194
  <?php _e('The background of the slide and its proprieties.', 'crellyslider'); ?>
195
+ <br />
196
+ <br />
197
+ <strong><?php _e('Presets:', 'crellyslider'); ?></strong>
198
+ <br />
199
+ <ul class="cs-style-list">
200
+ <li><a class="cs-slide-background-image-fullwidth-preset" href="javascript: void(0);"><?php _e('Full width responsive background image', 'crellyslider'); ?></a></li>
201
+ <li><a class="cs-slide-background-image-pattern-preset" href="javascript: void(0);"><?php _e('Pattern background image', 'crellyslider'); ?></a></li>
202
+ </ul>
203
  </td>
204
  </tr>
205
  <tr>
228
  <?php
229
  foreach($animations as $key => $value) {
230
  echo '<option value="' . $key . '"';
231
+ if(($void && $value[1]) || (!$void && $slide->data_out == $key)) {
232
  echo ' selected';
233
  }
234
  echo '>' . $value[0] . '</option>';
279
  <?php _e('The time that the slide will take to get out.', 'crellyslider'); ?>
280
  </td>
281
  </tr>
282
+ <tr>
283
+ <td class="cs-name"><?php _e('Link', 'crellyslider'); ?></td>
284
+ <td class="cs-content">
285
+ <?php
286
+ if($void) echo '<input class="cs-background-link" type="text" value="" />';
287
+ else echo '<input class="cs-background-link" type="text" value="' . stripslashes($slide->link) .'" />';
288
+ ?>
289
+ <br />
290
+ <?php
291
+ if($void) echo '<input class="cs-background-link_new_tab" type="checkbox" />' . __('Open link in a new tab', 'crellyslider');
292
+ else {
293
+ if($slide->link_new_tab) {
294
+ echo '<input class="cs-background-link_new_tab" type="checkbox" checked />' . __('Open link in a new tab', 'crellyslider');
295
+ }
296
+ else {
297
+ echo '<input class="cs-background-link_new_tab" type="checkbox" />' . __('Open link in a new tab', 'crellyslider');
298
+ }
299
+ }
300
+ ?>
301
+ </td>
302
+ <td class="cs-description">
303
+ <?php _e('Open the link (e.g.: http://www.google.it) when the user clicks on the background. Leave it empty if you don\'t want it.', 'crellyslider'); ?>
304
+ </td>
305
+ </tr>
306
  <tr>
307
  <td class="cs-name"><?php _e('Custom CSS', 'crellyslider'); ?></td>
308
  <td class="cs-content">
wordpress/tables.php CHANGED
@@ -55,6 +55,7 @@ class CrellySliderTables {
55
  position INT,
56
  background_type_image TEXT CHARACTER SET utf8,
57
  background_type_color TEXT CHARACTER SET utf8,
 
58
  background_propriety_position_x TEXT CHARACTER SET utf8,
59
  background_propriety_position_y TEXT CHARACTER SET utf8,
60
  background_repeat TEXT CHARACTER SET utf8,
@@ -64,6 +65,8 @@ class CrellySliderTables {
64
  data_time INT,
65
  data_easeIn INT,
66
  data_easeOut INT,
 
 
67
  custom_css TEXT CHARACTER SET utf8,
68
  UNIQUE KEY id (id)
69
  );";
@@ -93,11 +96,15 @@ class CrellySliderTables {
93
  data_in TEXT CHARACTER SET utf8,
94
  data_out TEXT CHARACTER SET utf8,
95
  custom_css TEXT CHARACTER SET utf8,
 
96
  inner_html TEXT CHARACTER SET utf8,
97
  image_src TEXT CHARACTER SET utf8,
98
  image_alt TEXT CHARACTER SET utf8,
99
  link TEXT CHARACTER SET utf8 DEFAULT '',
100
  link_new_tab INT DEFAULT 0,
 
 
 
101
  UNIQUE KEY id (id)
102
  );";
103
 
55
  position INT,
56
  background_type_image TEXT CHARACTER SET utf8,
57
  background_type_color TEXT CHARACTER SET utf8,
58
+ background_type_color_input INT DEFAULT -1,
59
  background_propriety_position_x TEXT CHARACTER SET utf8,
60
  background_propriety_position_y TEXT CHARACTER SET utf8,
61
  background_repeat TEXT CHARACTER SET utf8,
65
  data_time INT,
66
  data_easeIn INT,
67
  data_easeOut INT,
68
+ link TEXT CHARACTER SET utf8 DEFAULT '',
69
+ link_new_tab INT DEFAULT 0,
70
  custom_css TEXT CHARACTER SET utf8,
71
  UNIQUE KEY id (id)
72
  );";
96
  data_in TEXT CHARACTER SET utf8,
97
  data_out TEXT CHARACTER SET utf8,
98
  custom_css TEXT CHARACTER SET utf8,
99
+ custom_css_classes TEXT CHARACTER SET utf8 DEFAULT '',
100
  inner_html TEXT CHARACTER SET utf8,
101
  image_src TEXT CHARACTER SET utf8,
102
  image_alt TEXT CHARACTER SET utf8,
103
  link TEXT CHARACTER SET utf8 DEFAULT '',
104
  link_new_tab INT DEFAULT 0,
105
+ video_id TEXT CHARACTER SET utf8,
106
+ video_loop INT,
107
+ video_autoplay INT,
108
  UNIQUE KEY id (id)
109
  );";
110
 
wordpress/temp/silence.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // If you can read this, you probably have never used the Import/Export function ?>