Version Description
- Updated slideshow to scale for responsive and fluid width themes
- Added slideshow taxonomy selector to widget
- Added jQuery Touchwipe plugin to enable touch navigation
- Updated and expand contextual help
- Updated JQuery Cycle to 2.9999.5, switch to un-minimized version
- Added Belarusian, Czech, Danish, Dutch, and Persian translations
Download this release
Release Info
Developer | jleuze |
Plugin | Meteor Slides |
Version | 1.5 |
Comparing to | |
See all releases |
Code changes from version 1.4 to 1.5
- css/meteor-slides.css +74 -28
- images/buttons.gif +0 -0
- images/next.gif +0 -0
- images/prev.gif +0 -0
- includes/meteor-slides-admin.php +245 -105
- includes/meteor-slides-settings.php +94 -101
- includes/meteor-slideshow.php +48 -20
- js/jquery.cycle.all.js +1545 -0
- js/jquery.cycle.all.min.js +0 -21
- js/jquery.touchwipe.1.1.1.js +82 -0
- js/slideshow.js +47 -24
- languages/meteor-slides-be_BY.mo +0 -0
- languages/{meteor-slides-en_RU.po → meteor-slides-be_BY.po} +81 -79
- languages/meteor-slides-cs_CZ.mo +0 -0
- languages/meteor-slides-cs_CZ.po +351 -0
- languages/meteor-slides-da_DK.mo +0 -0
- languages/meteor-slides-da_DK.po +676 -0
- languages/meteor-slides-de_DE.mo +0 -0
- languages/meteor-slides-de_DE.po +351 -0
- languages/meteor-slides-en_RU.mo +0 -0
- languages/meteor-slides-fa_IR.mo +0 -0
- languages/meteor-slides-fa_IR.po +351 -0
- languages/meteor-slides-nl_NL.mo +0 -0
- languages/meteor-slides-nl_NL.po +354 -0
- meteor-slides-plugin.php +76 -41
- readme.md +37 -0
- readme.txt +28 -10
- screenshot-2.jpg +0 -0
- screenshot-3.jpg +0 -0
- screenshot-4.jpg +0 -0
- screenshot-5.jpg +0 -0
- screenshot-6.jpg +0 -0
- screenshot-7.jpg +0 -0
css/meteor-slides.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/* Stylesheet for the Meteor Slides 1.
|
2 |
|
3 |
Copy "meteor-slides.css" from "/meteor-slides/css/" to your theme's directory to replace
|
4 |
the plugin's default stylesheet.
|
@@ -14,17 +14,37 @@
|
|
14 |
/* =Slideshow
|
15 |
-------------------------------------------------------------- */
|
16 |
|
17 |
-
.meteor-slides {
|
|
|
|
|
18 |
margin: 0;
|
19 |
-
|
|
|
20 |
padding: 0;
|
21 |
position: relative;
|
22 |
z-index: 1;
|
23 |
}
|
24 |
|
25 |
-
.navpaged,
|
26 |
-
.navboth {
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
}
|
29 |
|
30 |
/* =Slide
|
@@ -32,14 +52,12 @@
|
|
32 |
|
33 |
.meteor-slides .mslide {
|
34 |
display: none;
|
|
|
35 |
margin: 0;
|
|
|
36 |
padding: 0;
|
37 |
}
|
38 |
|
39 |
-
.meteor-slides .mslide-1 {
|
40 |
-
display: block;
|
41 |
-
}
|
42 |
-
|
43 |
.meteor-slides .mslide a {
|
44 |
border: 0;
|
45 |
margin: 0;
|
@@ -49,9 +67,11 @@
|
|
49 |
.meteor-slides .mslide img {
|
50 |
border: 0;
|
51 |
display: block;
|
|
|
52 |
margin: auto !important;
|
53 |
max-width: 100%;
|
54 |
padding: 0;
|
|
|
55 |
}
|
56 |
|
57 |
.meteor-slides .mslide img[src$='.png'] {
|
@@ -64,25 +84,20 @@
|
|
64 |
-------------------------------------------------------------- */
|
65 |
|
66 |
.meteor-slides ul.meteor-nav {
|
|
|
67 |
list-style: none;
|
68 |
-
|
69 |
-
margin: 0;
|
70 |
padding: 0;
|
71 |
}
|
72 |
|
73 |
-
|
74 |
-
display: none;
|
75 |
-
*display: block;
|
76 |
-
_display: block;
|
77 |
-
}
|
78 |
-
|
79 |
-
body .meteor-slides:hover ul.meteor-nav {
|
80 |
display: block;
|
81 |
}
|
82 |
|
83 |
ul.meteor-nav li {
|
84 |
display: inline;
|
85 |
-
|
86 |
list-style: none;
|
87 |
margin: 0;
|
88 |
padding: 0;
|
@@ -102,8 +117,8 @@ ul.meteor-nav li {
|
|
102 |
position: absolute;
|
103 |
text-indent: -9999px;
|
104 |
width: 27px;
|
105 |
-
|
106 |
-
z-index:
|
107 |
}
|
108 |
|
109 |
.meteor-nav .prev a {
|
@@ -120,17 +135,36 @@ ul.meteor-nav li {
|
|
120 |
|
121 |
.meteor-nav .next a:hover {
|
122 |
background: url('../images/next.png') no-repeat center right;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
}
|
124 |
|
125 |
/* =Paged Navigation
|
126 |
-------------------------------------------------------------- */
|
127 |
|
128 |
-
.meteor-buttons {
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
|
|
|
|
|
|
134 |
}
|
135 |
|
136 |
header#branding .meteor-buttons {
|
@@ -154,4 +188,16 @@ header#branding .meteor-buttons {
|
|
154 |
|
155 |
.meteor-buttons a.activeSlide {
|
156 |
background: url('../images/buttons.png') no-repeat bottom right;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
}
|
1 |
+
/* Stylesheet for the Meteor Slides 1.5 slideshow
|
2 |
|
3 |
Copy "meteor-slides.css" from "/meteor-slides/css/" to your theme's directory to replace
|
4 |
the plugin's default stylesheet.
|
14 |
/* =Slideshow
|
15 |
-------------------------------------------------------------- */
|
16 |
|
17 |
+
div.meteor-slides {
|
18 |
+
height: 100% !important;
|
19 |
+
line-height: 0;
|
20 |
margin: 0;
|
21 |
+
max-width: 100%;
|
22 |
+
overflow: visible !important;
|
23 |
padding: 0;
|
24 |
position: relative;
|
25 |
z-index: 1;
|
26 |
}
|
27 |
|
28 |
+
div.navpaged,
|
29 |
+
div.navboth {
|
30 |
+
margin: 0 0 20px 0;
|
31 |
+
}
|
32 |
+
|
33 |
+
.meteor-slides .meteor-clip {
|
34 |
+
line-height: 0;
|
35 |
+
margin: 0;
|
36 |
+
overflow: hidden;
|
37 |
+
padding: 0;
|
38 |
+
position: relative;
|
39 |
+
}
|
40 |
+
|
41 |
+
.meteor-slides .meteor-shim {
|
42 |
+
border: 0;
|
43 |
+
height: auto !important;
|
44 |
+
margin: 0;
|
45 |
+
max-width: 100%;
|
46 |
+
padding: 0;
|
47 |
+
width: auto\9; /* IE8 */
|
48 |
}
|
49 |
|
50 |
/* =Slide
|
52 |
|
53 |
.meteor-slides .mslide {
|
54 |
display: none;
|
55 |
+
height: 100% !important;
|
56 |
margin: 0;
|
57 |
+
max-width: 100%;
|
58 |
padding: 0;
|
59 |
}
|
60 |
|
|
|
|
|
|
|
|
|
61 |
.meteor-slides .mslide a {
|
62 |
border: 0;
|
63 |
margin: 0;
|
67 |
.meteor-slides .mslide img {
|
68 |
border: 0;
|
69 |
display: block;
|
70 |
+
height: auto !important;
|
71 |
margin: auto !important;
|
72 |
max-width: 100%;
|
73 |
padding: 0;
|
74 |
+
width: auto\9; /* IE8 */
|
75 |
}
|
76 |
|
77 |
.meteor-slides .mslide img[src$='.png'] {
|
84 |
-------------------------------------------------------------- */
|
85 |
|
86 |
.meteor-slides ul.meteor-nav {
|
87 |
+
display: none;
|
88 |
list-style: none;
|
89 |
+
height: 100%;
|
90 |
+
margin: 0 !important;
|
91 |
padding: 0;
|
92 |
}
|
93 |
|
94 |
+
.meteor-slides.navhover ul.meteor-nav {
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
display: block;
|
96 |
}
|
97 |
|
98 |
ul.meteor-nav li {
|
99 |
display: inline;
|
100 |
+
height: 100%;
|
101 |
list-style: none;
|
102 |
margin: 0;
|
103 |
padding: 0;
|
117 |
position: absolute;
|
118 |
text-indent: -9999px;
|
119 |
width: 27px;
|
120 |
+
height: 100%;
|
121 |
+
z-index: 998;
|
122 |
}
|
123 |
|
124 |
.meteor-nav .prev a {
|
135 |
|
136 |
.meteor-nav .next a:hover {
|
137 |
background: url('../images/next.png') no-repeat center right;
|
138 |
+
}
|
139 |
+
|
140 |
+
* html .meteor-nav .prev a {
|
141 |
+
background: url('../images/prev.gif') no-repeat center right; /* IE6 */
|
142 |
+
}
|
143 |
+
|
144 |
+
* html .meteor-nav .prev a:hover {
|
145 |
+
background: url('../images/prev.gif') no-repeat center left; /* IE6 */
|
146 |
+
}
|
147 |
+
|
148 |
+
* html .meteor-nav .next a {
|
149 |
+
background: url('../images/next.gif') no-repeat center left; /* IE6 */
|
150 |
+
}
|
151 |
+
|
152 |
+
* html .meteor-nav .next a:hover {
|
153 |
+
background: url('../images/next.gif') no-repeat center right; /* IE6 */
|
154 |
}
|
155 |
|
156 |
/* =Paged Navigation
|
157 |
-------------------------------------------------------------- */
|
158 |
|
159 |
+
.meteor-slides .meteor-buttons {
|
160 |
+
bottom: -15px;
|
161 |
+
height: 9px;
|
162 |
+
left: 0;
|
163 |
+
margin: 0;
|
164 |
+
padding: 6px 0 0;
|
165 |
+
position: absolute;
|
166 |
+
width: 100%;
|
167 |
+
z-index: 999;
|
168 |
}
|
169 |
|
170 |
header#branding .meteor-buttons {
|
188 |
|
189 |
.meteor-buttons a.activeSlide {
|
190 |
background: url('../images/buttons.png') no-repeat bottom right;
|
191 |
+
}
|
192 |
+
|
193 |
+
* html .meteor-buttons a {
|
194 |
+
background: url('../images/buttons.gif') no-repeat bottom left; /* IE6 */
|
195 |
+
}
|
196 |
+
|
197 |
+
* html .meteor-buttons a:hover {
|
198 |
+
background: url('../images/buttons.gif') no-repeat bottom right; /* IE6 */
|
199 |
+
}
|
200 |
+
|
201 |
+
* html .meteor-buttons a.activeSlide {
|
202 |
+
background: url('../images/buttons.gif') no-repeat bottom right; /* IE6 */
|
203 |
}
|
images/buttons.gif
ADDED
Binary file
|
images/next.gif
ADDED
Binary file
|
images/prev.gif
ADDED
Binary file
|
includes/meteor-slides-admin.php
CHANGED
@@ -4,11 +4,11 @@
|
|
4 |
|
5 |
add_filter( 'post_updated_messages', 'meteorslides_updated_messages' );
|
6 |
|
7 |
-
function meteorslides_updated_messages( $
|
8 |
|
9 |
global $post, $post_ID;
|
10 |
|
11 |
-
$
|
12 |
|
13 |
0 => '',
|
14 |
1 => sprintf( __( 'Slide updated. <a href="%s">View slide</a>', 'meteor-slides' ), esc_url( get_permalink($post_ID) ) ),
|
@@ -24,7 +24,7 @@
|
|
24 |
|
25 |
);
|
26 |
|
27 |
-
return $
|
28 |
|
29 |
}
|
30 |
|
@@ -34,13 +34,13 @@
|
|
34 |
|
35 |
function meteorslides_image_box() {
|
36 |
|
37 |
-
$
|
38 |
|
39 |
-
$
|
40 |
|
41 |
remove_meta_box( 'postimagediv', 'slide', 'side' );
|
42 |
|
43 |
-
add_meta_box( 'postimagediv', $
|
44 |
|
45 |
}
|
46 |
|
@@ -134,21 +134,21 @@
|
|
134 |
|
135 |
}
|
136 |
|
137 |
-
$
|
138 |
|
139 |
if ( get_post_meta( $post_id, $meteorslides_meta_box['name'].'_value' ) == "" ) {
|
140 |
|
141 |
-
add_post_meta( $post_id, $meteorslides_meta_box['name'].'_value', $
|
142 |
|
143 |
}
|
144 |
|
145 |
-
elseif ( $
|
146 |
|
147 |
-
update_post_meta( $post_id, $meteorslides_meta_box['name'].'_value', $
|
148 |
|
149 |
}
|
150 |
|
151 |
-
elseif ( $
|
152 |
|
153 |
delete_post_meta( $post_id, $meteorslides_meta_box['name'].'_value', get_post_meta( $post_id, $meteorslides_meta_box['name'].'_value', true ) );
|
154 |
|
@@ -162,9 +162,9 @@
|
|
162 |
|
163 |
add_filter( 'manage_edit-slide_columns', 'meteorslides_edit_columns' );
|
164 |
|
165 |
-
function meteorslides_edit_columns( $
|
166 |
|
167 |
-
$
|
168 |
|
169 |
'cb' => '<input type="checkbox" />',
|
170 |
'slide' => __( 'Slide Image', 'meteor-slides' ),
|
@@ -174,17 +174,17 @@
|
|
174 |
|
175 |
);
|
176 |
|
177 |
-
return $
|
178 |
|
179 |
}
|
180 |
|
181 |
add_action( 'manage_posts_custom_column', 'meteorslides_custom_columns' );
|
182 |
|
183 |
-
function meteorslides_custom_columns( $
|
184 |
|
185 |
global $post;
|
186 |
|
187 |
-
switch ( $
|
188 |
|
189 |
case 'slide' :
|
190 |
|
@@ -212,78 +212,218 @@
|
|
212 |
|
213 |
}
|
214 |
|
215 |
-
//
|
216 |
|
217 |
-
add_action( '
|
218 |
|
219 |
-
function
|
220 |
|
221 |
-
|
|
|
|
|
|
|
|
|
222 |
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
'<p>' . __( '<strong>Slide Image:</strong> To add an image to a slide, click the <strong>Set featured image</strong> link. Upload an image, or browse the media library for one, click the <strong>Use as featured image</strong> link to add the image and then close the media uploader. The Slide Image metabox should now have a thumbnail image.', 'meteor-slides' ) . '</p>' .
|
227 |
-
'<p>' . __( '<strong>Slide Link:</strong> Add the full URL to the Slide Link metabox, such as <em>http://wordpress.org/</em> (Optional)', 'meteor-slides' ) . '</p>' .
|
228 |
-
'<p>' . __( '<strong>Slideshows:</strong> A slide can be added to a slideshow by selecting the slideshow from the Slideshows metabox.', 'meteor-slides' ) . '</p>' .
|
229 |
-
'<p>' . __( "<strong>Slide Order:</strong> Slides are sorted chronologically, edit the slide's published date to change the order of the slide.", "meteor-slides" ) . '</p>' .
|
230 |
-
'<h3>' . __( 'For more information', 'meteor-slides' ) . '</h3>' .
|
231 |
-
'<p>' . __( '<a href="http://www.jleuze.com/plugins/meteor-slides/using-meteor-slides/" target="_blank">Using Meteor Slides Documentation</a>', 'meteor-slides' ) . '</p>' .
|
232 |
-
'<p>' . __( '<a href="http://wordpress.org/tags/meteor-slides" target="_blank">Plugin Support Forum</a>', 'meteor-slides' ) . '</p>';
|
233 |
|
234 |
-
} elseif ( 'edit-slide' == $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
|
236 |
-
$
|
237 |
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
|
244 |
-
|
245 |
|
246 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
247 |
|
248 |
-
'<h3>' . __( 'Slideshows', 'meteor-slides' ) . '</h3>' .
|
249 |
'<p>' . __( 'Slides can be organized into slideshows, just as posts can be organized into categories.', 'meteor-slides' ) . '</p>' .
|
250 |
-
'<p>' . __( '<strong>Add New Slideshow
|
251 |
-
'<p>' . __( '<strong>Add Slide to Slideshow
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
|
258 |
-
} elseif ( 'slide_page_slides_settings' == $
|
259 |
|
260 |
-
$
|
|
|
|
|
261 |
|
262 |
-
'<h3>' . __( 'Configure Slideshow', 'meteor-slides' ) . '</h3>' .
|
263 |
'<p>' . __( '<em>Before adding any slides, enter the slide height and width in the settings so the slides are the correct dimensions.</em>', 'meteor-slides' ) . '</p>' .
|
264 |
-
'<p>' . __(
|
265 |
-
'<p>' . __(
|
266 |
-
'<p>' . __(
|
267 |
-
'<p>' . __(
|
268 |
-
'<p>' . __(
|
269 |
-
'<p>' . __(
|
270 |
-
'<p>' . __(
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
'<li>' . __( "<strong>Both:</strong> Previous/Next and Paged navigation are both added to the slideshow.", "meteor-slides" ) . '</li>' .
|
276 |
-
'</ul>' .
|
277 |
-
'<h3>' . __( 'Add Slideshow', 'meteor-slides' ) . '</h3>' .
|
278 |
-
'<p>' . __( 'Check out the documentation for <a href="http://www.jleuze.com/plugins/meteor-slides/adding-a-slideshow/" target="_blank">adding a slideshow</a>.', 'meteor-slides' ) . '</p>' .
|
279 |
-
'<h3>' . __( 'For more information', 'meteor-slides' ) . '</h3>' .
|
280 |
-
'<p>' . __( '<a href="http://www.jleuze.com/plugins/meteor-slides/installation/" target="_blank">Meteor Slides Documentation</a>', 'meteor-slides' ) . '</p>' .
|
281 |
-
'<p>' . __( '<a href="http://wordpress.org/tags/meteor-slides" target="_blank">Plugin Support Forum</a>', 'meteor-slides' ) . '</p>';
|
282 |
|
283 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
284 |
|
285 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
}
|
288 |
|
289 |
// Adds Slideshow settings page
|
@@ -366,15 +506,15 @@
|
|
366 |
|
367 |
add_filter( 'plugin_action_links', 'meteorslides_settings_link', 10, 2 );
|
368 |
|
369 |
-
function meteorslides_settings_link( $
|
370 |
|
371 |
-
if ( $
|
372 |
|
373 |
-
$
|
374 |
|
375 |
}
|
376 |
|
377 |
-
return $
|
378 |
|
379 |
}
|
380 |
|
@@ -388,85 +528,85 @@
|
|
388 |
|
389 |
add_settings_section( 'meteorslides_slideshow', __( 'Configure Slideshow', 'meteor-slides' ), 'meteorslides_section_text', 'meteorslides' );
|
390 |
|
391 |
-
add_settings_field( 'slideshow_quantity', __( 'Slideshow Quantity', 'meteor-slides' ), '
|
392 |
|
393 |
-
add_settings_field( 'slide_height', __( 'Slide Height', 'meteor-slides' ), '
|
394 |
|
395 |
-
add_settings_field( 'slide_width', __( 'Slide Width', 'meteor-slides' ), '
|
396 |
|
397 |
-
add_settings_field( 'transition_style', __( 'Transition Style', 'meteor-slides' ), '
|
398 |
|
399 |
-
add_settings_field( 'transition_speed', __( 'Transition Speed', 'meteor-slides' ), '
|
400 |
|
401 |
-
add_settings_field( 'slide_duration', __( 'Slide Duration', 'meteor-slides' ), '
|
402 |
|
403 |
-
add_settings_field( 'slideshow_navigation', __( 'Slideshow Navigation', 'meteor-slides' ), '
|
404 |
|
405 |
}
|
406 |
|
407 |
// Validates values for options on settings page
|
408 |
|
409 |
-
function meteorslides_options_validate( $
|
410 |
|
411 |
-
$
|
412 |
|
413 |
-
$
|
414 |
|
415 |
-
if ( !preg_match( '/^[0-9]{1,3}$/i', $
|
416 |
|
417 |
-
$
|
418 |
|
419 |
}
|
420 |
|
421 |
-
$
|
422 |
|
423 |
-
if ( !preg_match( '/^[0-9]{1,4}$/i', $
|
424 |
|
425 |
-
$
|
426 |
|
427 |
}
|
428 |
|
429 |
-
$
|
430 |
|
431 |
-
if ( !preg_match( '/^[0-9]{1,5}$/i', $
|
432 |
|
433 |
-
$
|
434 |
|
435 |
}
|
436 |
|
437 |
-
$
|
438 |
|
439 |
-
if ( !preg_match( '/^[a-z]{4,20}$/i', $
|
440 |
|
441 |
-
$
|
442 |
|
443 |
}
|
444 |
|
445 |
-
$
|
446 |
|
447 |
-
if ( !preg_match( '/^[0-9]{1,3}$/i', $
|
448 |
|
449 |
-
$
|
450 |
|
451 |
}
|
452 |
|
453 |
-
$
|
454 |
|
455 |
-
if ( !preg_match( '/^[0-9]{1,3}$/i', $
|
456 |
|
457 |
-
$
|
458 |
|
459 |
}
|
460 |
|
461 |
-
$
|
462 |
|
463 |
-
if ( !preg_match( '/^[a-z]{4,20}$/i', $
|
464 |
|
465 |
-
$
|
466 |
|
467 |
}
|
468 |
|
469 |
-
return $
|
470 |
|
471 |
}
|
472 |
|
4 |
|
5 |
add_filter( 'post_updated_messages', 'meteorslides_updated_messages' );
|
6 |
|
7 |
+
function meteorslides_updated_messages( $meteor_messages ) {
|
8 |
|
9 |
global $post, $post_ID;
|
10 |
|
11 |
+
$meteor_messages['slide'] = array(
|
12 |
|
13 |
0 => '',
|
14 |
1 => sprintf( __( 'Slide updated. <a href="%s">View slide</a>', 'meteor-slides' ), esc_url( get_permalink($post_ID) ) ),
|
24 |
|
25 |
);
|
26 |
|
27 |
+
return $meteor_messages;
|
28 |
|
29 |
}
|
30 |
|
34 |
|
35 |
function meteorslides_image_box() {
|
36 |
|
37 |
+
$meteor_image_options = get_option('meteorslides_options');
|
38 |
|
39 |
+
$meteor_image_title = __( 'Slide Image', 'meteor-slides' ) . ' (' . $meteor_image_options['slide_width'] . 'x' . $meteor_image_options['slide_height'] . ')';
|
40 |
|
41 |
remove_meta_box( 'postimagediv', 'slide', 'side' );
|
42 |
|
43 |
+
add_meta_box( 'postimagediv', $meteor_image_title, 'post_thumbnail_meta_box', 'slide', 'normal', 'high' );
|
44 |
|
45 |
}
|
46 |
|
134 |
|
135 |
}
|
136 |
|
137 |
+
$meteor_data = $_POST[$meteorslides_meta_box['name'].'_value'];
|
138 |
|
139 |
if ( get_post_meta( $post_id, $meteorslides_meta_box['name'].'_value' ) == "" ) {
|
140 |
|
141 |
+
add_post_meta( $post_id, $meteorslides_meta_box['name'].'_value', $meteor_data, true );
|
142 |
|
143 |
}
|
144 |
|
145 |
+
elseif ( $meteor_data != get_post_meta( $post_id, $meteorslides_meta_box['name'].'_value', true ) ) {
|
146 |
|
147 |
+
update_post_meta( $post_id, $meteorslides_meta_box['name'].'_value', $meteor_data );
|
148 |
|
149 |
}
|
150 |
|
151 |
+
elseif ( $meteor_data == "" ) {
|
152 |
|
153 |
delete_post_meta( $post_id, $meteorslides_meta_box['name'].'_value', get_post_meta( $post_id, $meteorslides_meta_box['name'].'_value', true ) );
|
154 |
|
162 |
|
163 |
add_filter( 'manage_edit-slide_columns', 'meteorslides_edit_columns' );
|
164 |
|
165 |
+
function meteorslides_edit_columns( $meteor_columns ) {
|
166 |
|
167 |
+
$meteor_columns = array(
|
168 |
|
169 |
'cb' => '<input type="checkbox" />',
|
170 |
'slide' => __( 'Slide Image', 'meteor-slides' ),
|
174 |
|
175 |
);
|
176 |
|
177 |
+
return $meteor_columns;
|
178 |
|
179 |
}
|
180 |
|
181 |
add_action( 'manage_posts_custom_column', 'meteorslides_custom_columns' );
|
182 |
|
183 |
+
function meteorslides_custom_columns( $meteor_column ) {
|
184 |
|
185 |
global $post;
|
186 |
|
187 |
+
switch ( $meteor_column ) {
|
188 |
|
189 |
case 'slide' :
|
190 |
|
212 |
|
213 |
}
|
214 |
|
215 |
+
// setup contextual help action
|
216 |
|
217 |
+
add_action( 'current_screen', 'meteorslides_contextual_help_action' );
|
218 |
|
219 |
+
function meteorslides_contextual_help_action() {
|
220 |
|
221 |
+
$meteor_screen_action = get_current_screen();
|
222 |
+
|
223 |
+
if ( 'slide' == $meteor_screen_action->id && 'add' == $meteor_screen_action->action ) {
|
224 |
+
|
225 |
+
$meteor_load_action = 'load-post-new.php';
|
226 |
|
227 |
+
} elseif ( 'slide' == $meteor_screen_action->id ) {
|
228 |
+
|
229 |
+
$meteor_load_action = 'load-post.php';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
230 |
|
231 |
+
} elseif ( 'edit-slide' == $meteor_screen_action->id ) {
|
232 |
+
|
233 |
+
$meteor_load_action = 'load-edit.php';
|
234 |
+
|
235 |
+
} elseif ( 'edit-slideshow' == $meteor_screen_action->id ) {
|
236 |
+
|
237 |
+
$meteor_load_action = 'load-edit-tags.php';
|
238 |
+
|
239 |
+
} elseif ( 'slide_page_slides_settings' == $meteor_screen_action->id ) {
|
240 |
|
241 |
+
$meteor_load_action = 'load-slide_page_slides_settings';
|
242 |
|
243 |
+
}
|
244 |
+
|
245 |
+
if ( !empty( $meteor_load_action ) ) {
|
246 |
+
|
247 |
+
add_action( $meteor_load_action, 'meteorslides_add_contextual_help' );
|
248 |
+
|
249 |
+
}
|
250 |
+
|
251 |
+
}
|
252 |
+
|
253 |
+
// add contextual help for slides
|
254 |
+
|
255 |
+
function meteorslides_add_contextual_help() {
|
256 |
+
|
257 |
+
$meteor_contextual_screen = get_current_screen();
|
258 |
|
259 |
+
if ('slide' == $meteor_contextual_screen->id ) {
|
260 |
|
261 |
+
$meteor_contextual_first_id = 'slide';
|
262 |
+
|
263 |
+
if ( 'add' == $meteor_contextual_screen->action ) {
|
264 |
+
|
265 |
+
$meteor_contextual_first_title = __( 'Add New Slide', 'meteor-slides' );
|
266 |
+
|
267 |
+
} else {
|
268 |
+
|
269 |
+
$meteor_contextual_first_title = __( 'Edit Slide', 'meteor-slides' );
|
270 |
+
|
271 |
+
}
|
272 |
+
|
273 |
+
$meteor_contextual_first_content =
|
274 |
+
|
275 |
+
'<p>' . __( '<strong>Title</strong> - Name the slide so it can be easily found later.', 'meteor-slides' ) . '</p>' .
|
276 |
+
'<p>' . __( '<strong>Slide Image</strong> - To add an image to a slide, click the "Set featured image" link. Upload an image, or browse the media library for one, click the "Use as featured image" link to add the image and then close the media uploader. The Slide Image metabox should now have a thumbnail image.', 'meteor-slides' ) . '</p>' .
|
277 |
+
'<p>' . __( '<strong>Slide Link</strong> - Add the full URL to the Slide Link metabox, such as <em>http://www.jleuze.com/</em> (Optional)', 'meteor-slides' ) . '</p>' .
|
278 |
+
'<p>' . __( '<strong>Slideshows</strong> - A slide can be added <a href="http://www.jleuze.com/plugins/meteor-slides/multiple-slideshows/">to a slideshow</a> by selecting the slideshow from the Slideshows metabox.', 'meteor-slides' ) . '</p>' .
|
279 |
+
'<p>' . __( "<strong>Slide Order</strong> - Slides are sorted chronologically, edit the slide's published date to change the order of the slide.", "meteor-slides" ) . '</p>';
|
280 |
+
|
281 |
+
$meteor_contextual_sidebar =
|
282 |
+
|
283 |
+
'<p><strong>' . __( 'For more information', 'meteor-slides' ) . '</strong></p>' .
|
284 |
+
'<p>' . __( '<a href="http://www.jleuze.com/plugins/meteor-slides/using-meteor-slides/" target="_blank">Documentation on Creating Slides</a>', 'meteor-slides' ) . '</p>' .
|
285 |
+
'<p>' . __( '<a href="http://wordpress.org/tags/meteor-slides" target="_blank">Plugin Support Forum</a>', 'meteor-slides' ) . '</p>' .
|
286 |
+
'<p>' . __( '<a class="button" href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mail%40jleuze%2ecom&item_name=Meteor%20Slides%20Donation&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8" target="_blank">Donate</a>', 'meteor-slides' ) . '</p>';
|
287 |
+
|
288 |
+
$meteor_contextual_screen->add_help_tab( array(
|
289 |
+
|
290 |
+
'id' => $meteor_contextual_first_id,
|
291 |
+
'title' => $meteor_contextual_first_title,
|
292 |
+
'content' => $meteor_contextual_first_content
|
293 |
+
|
294 |
+
) );
|
295 |
+
|
296 |
+
} elseif ( 'edit-slide' == $meteor_contextual_screen->id ) {
|
297 |
+
|
298 |
+
$meteor_contextual_first_id = 'edit-slide';
|
299 |
+
$meteor_contextual_first_title = __( 'Slides Overview', 'meteor-slides' );
|
300 |
+
$meteor_contextual_first_content =
|
301 |
+
|
302 |
+
'<p>' . __( 'From the slides overview the image, title, and link of each slide can be viewed. Choose a slide to edit, or add a new slide.', 'meteor-slides' ) . '</p>';
|
303 |
+
|
304 |
+
$meteor_contextual_sidebar =
|
305 |
+
|
306 |
+
'<p><strong>' . __( 'For more information', 'meteor-slides' ) . '</strong></p>' .
|
307 |
+
'<p>' . __( '<a href="http://www.jleuze.com/plugins/meteor-slides/installation/" target="_blank">Meteor Slides Documentation</a>', 'meteor-slides' ) . '</p>' .
|
308 |
+
'<p>' . __( '<a href="http://wordpress.org/tags/meteor-slides" target="_blank">Plugin Support Forum</a>', 'meteor-slides' ) . '</p>' .
|
309 |
+
'<p>' . __( '<a class="button" href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mail%40jleuze%2ecom&item_name=Meteor%20Slides%20Donation&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8" target="_blank">Donate</a>', 'meteor-slides' ) . '</p>';
|
310 |
+
|
311 |
+
$meteor_contextual_screen->add_help_tab( array(
|
312 |
+
|
313 |
+
'id' => $meteor_contextual_first_id,
|
314 |
+
'title' => $meteor_contextual_first_title,
|
315 |
+
'content' => $meteor_contextual_first_content
|
316 |
+
|
317 |
+
) );
|
318 |
+
|
319 |
+
} elseif ( 'edit-slideshow' == $meteor_contextual_screen->id ) {
|
320 |
+
|
321 |
+
$meteor_contextual_first_id = 'edit-slideshow';
|
322 |
+
$meteor_contextual_first_title = __( 'Multiple Slideshows', 'meteor-slides' );
|
323 |
+
$meteor_contextual_first_content =
|
324 |
|
|
|
325 |
'<p>' . __( 'Slides can be organized into slideshows, just as posts can be organized into categories.', 'meteor-slides' ) . '</p>' .
|
326 |
+
'<p>' . __( '<strong>Add New Slideshow</strong> - Name the slideshow, specify a Slug or one will be generated from the name, skip the Parent and Description and click "Add New Slideshow".', 'meteor-slides' ) . '</p>' .
|
327 |
+
'<p>' . __( '<strong>Add Slide to Slideshow</strong> - Edit a slide and select the slideshow in the Slideshows metabox.', 'meteor-slides' ) . '</p>';
|
328 |
+
|
329 |
+
$meteor_contextual_second_id = 'add-specific-slideshow';
|
330 |
+
$meteor_contextual_second_title = __( 'Adding A Specific Slideshow', 'meteor-slides' );
|
331 |
+
$meteor_contextual_second_content =
|
332 |
+
|
333 |
+
'<p>' . __( 'Add a slideshow slug to a template tag, shortcode, or select a slideshow in the widget to load a specific slideshow. Here is an example using the shortcode:', 'meteor-slides' ) . '</p>' .
|
334 |
+
'<p>' . __( '<code>[meteor_slideshow slideshow="slug"]</code>', 'meteor-slides' ) . '</p>';
|
335 |
+
|
336 |
+
|
337 |
+
$meteor_contextual_sidebar =
|
338 |
+
|
339 |
+
'<p><strong>' . __( 'For more information', 'meteor-slides' ) . '</strong></p>' .
|
340 |
+
'<p>' . __( '<a href="http://www.jleuze.com/plugins/meteor-slides/multiple-slideshows/" target="_blank">Documentation on Adding Multiple Slideshows</a>', 'meteor-slides' ) . '</p>' .
|
341 |
+
'<p>' . __( '<a href="http://wordpress.org/tags/meteor-slides" target="_blank">Plugin Support Forum</a>', 'meteor-slides' ) . '</p>' .
|
342 |
+
'<p>' . __( '<a class="button" href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mail%40jleuze%2ecom&item_name=Meteor%20Slides%20Donation&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8" target="_blank">Donate</a>', 'meteor-slides' ) . '</p>';
|
343 |
+
|
344 |
+
$meteor_contextual_screen->add_help_tab( array(
|
345 |
+
|
346 |
+
'id' => $meteor_contextual_first_id,
|
347 |
+
'title' => $meteor_contextual_first_title,
|
348 |
+
'content' => $meteor_contextual_first_content
|
349 |
+
|
350 |
+
) );
|
351 |
+
|
352 |
+
$meteor_contextual_screen->add_help_tab( array(
|
353 |
+
|
354 |
+
'id' => $meteor_contextual_second_id,
|
355 |
+
'title' => $meteor_contextual_second_title,
|
356 |
+
'content' => $meteor_contextual_second_content
|
357 |
+
|
358 |
+
) );
|
359 |
|
360 |
+
} elseif ( 'slide_page_slides_settings' == $meteor_contextual_screen->id ) {
|
361 |
|
362 |
+
$meteor_contextual_first_id = 'slide_page_slides_settings';
|
363 |
+
$meteor_contextual_first_title = __( 'Configure Slideshow', 'meteor-slides' );
|
364 |
+
$meteor_contextual_first_content =
|
365 |
|
|
|
366 |
'<p>' . __( '<em>Before adding any slides, enter the slide height and width in the settings so the slides are the correct dimensions.</em>', 'meteor-slides' ) . '</p>' .
|
367 |
+
'<p>' . __( '<strong>Slideshow Quantity</strong> - Choose the number of slides that are loaded in the slideshow.', 'meteor-slides' ) . '</p>' .
|
368 |
+
'<p>' . __( '<strong>Slide Height</strong> - Enter the height of your slides in pixels. For slides of different heights, use the height of the tallest slide.', 'meteor-slides' ) . '</p>' .
|
369 |
+
'<p>' . __( '<strong>Slide Width</strong> - Enter the width of your slides in pixels. Slides that are narrower than this will be centered in the slideshow.', 'meteor-slides' ) . '</p>' .
|
370 |
+
'<p>' . __( '<strong>Transition Style</strong> - Choose the effect that is used to transition between slides.', 'meteor-slides' ) . '</p>' .
|
371 |
+
'<p>' . __( '<strong>Transition Speed</strong> - Enter the number of seconds that it should take for a transition between slides to complete.', 'meteor-slides' ) . '</p>' .
|
372 |
+
'<p>' . __( '<strong>Slide Duration</strong> - Enter the number of seconds that each slide should be paused on in the slideshow.', 'meteor-slides' ) . '</p>' .
|
373 |
+
'<p>' . __( '<strong>Slideshow Navigation</strong> - Slideshows have no navigation by default, previous/next and/or paged navigation can be added.', 'meteor-slides' ) . '</p>';
|
374 |
+
|
375 |
+
$meteor_contextual_second_id = 'slide_page_slides_settings_metadata';
|
376 |
+
$meteor_contextual_second_title = __( 'Additional Options', 'meteor-slides' );
|
377 |
+
$meteor_contextual_second_content =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
378 |
|
379 |
+
'<p>' . __( 'Only the options below are required, but jQuery Cycle has <a href="http://jquery.malsup.com/cycle/options.html">additional options</a> that can be changed <a href="http://www.jleuze.com/plugins/meteor-slides/using-metadata/">using metadata</a>.', 'meteor-slides' ) . '</p>' .
|
380 |
+
'<p>' . __( 'Here is an example using metadata with the shortcode to set the slide order to random:', 'meteor-slides' ) . '</p>' .
|
381 |
+
'<p>' . __( '<code>[meteor_slideshow metadata="random: 1"]</code>', 'meteor-slides' ) . '</p>';
|
382 |
+
|
383 |
+
$meteor_contextual_third_id = 'slide_page_slides_settings_add';
|
384 |
+
$meteor_contextual_third_title = __( 'Add Slideshow', 'meteor-slides' );
|
385 |
+
$meteor_contextual_third_content =
|
386 |
+
|
387 |
+
'<p>' . __( "<strong>Template Tag</strong> - Use this template tag in a theme file: <code><?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?></code>", 'meteor-slides' ) . '</p>' .
|
388 |
+
'<p>' . __( "<strong>Shortcode</strong> - Use this shortcode to add a slideshow via the Post or Page editor: <code>[meteor_slideshow]</code>", 'meteor-slides' ) . '</p>' .
|
389 |
+
'<p>' . __( '<strong>Widget</strong> - Use the Meteor Slides Widget to add a slideshow to a widgetized area.', 'meteor-slides' ) . '</p>' .
|
390 |
+
'<p>' . __( 'Check out the documentation on <a href="http://www.jleuze.com/plugins/meteor-slides/adding-a-slideshow/" target="_blank">adding a slideshow</a> for more info.', 'meteor-slides' ) . '</p>';
|
391 |
|
392 |
+
$meteor_contextual_sidebar =
|
393 |
+
|
394 |
+
'<p><strong>' . __( 'For more information', 'meteor-slides' ) . '</strong></p>' .
|
395 |
+
'<p>' . __( '<a href="http://www.jleuze.com/plugins/meteor-slides/installation/" target="_blank">Documentation on Configuring Meteor Slides</a>', 'meteor-slides' ) . '</p>' .
|
396 |
+
'<p>' . __( '<a href="http://wordpress.org/tags/meteor-slides" target="_blank">Plugin Support Forum</a>', 'meteor-slides' ) . '</p>' .
|
397 |
+
'<p>' . __( '<a class="button" href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mail%40jleuze%2ecom&item_name=Meteor%20Slides%20Donation&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8" target="_blank">Donate</a>', 'meteor-slides' ) . '</p>';
|
398 |
+
|
399 |
+
$meteor_contextual_screen->add_help_tab( array(
|
400 |
+
|
401 |
+
'id' => $meteor_contextual_first_id,
|
402 |
+
'title' => $meteor_contextual_first_title,
|
403 |
+
'content' => $meteor_contextual_first_content
|
404 |
+
|
405 |
+
) );
|
406 |
+
|
407 |
+
$meteor_contextual_screen->add_help_tab( array(
|
408 |
|
409 |
+
'id' => $meteor_contextual_second_id,
|
410 |
+
'title' => $meteor_contextual_second_title,
|
411 |
+
'content' => $meteor_contextual_second_content
|
412 |
+
|
413 |
+
) );
|
414 |
+
|
415 |
+
$meteor_contextual_screen->add_help_tab( array(
|
416 |
+
|
417 |
+
'id' => $meteor_contextual_third_id,
|
418 |
+
'title' => $meteor_contextual_third_title,
|
419 |
+
'content' => $meteor_contextual_third_content
|
420 |
+
|
421 |
+
) );
|
422 |
+
|
423 |
+
}
|
424 |
+
|
425 |
+
$meteor_contextual_screen->set_help_sidebar( $meteor_contextual_sidebar );
|
426 |
+
|
427 |
}
|
428 |
|
429 |
// Adds Slideshow settings page
|
506 |
|
507 |
add_filter( 'plugin_action_links', 'meteorslides_settings_link', 10, 2 );
|
508 |
|
509 |
+
function meteorslides_settings_link( $meteor_links, $meteor_file ) {
|
510 |
|
511 |
+
if ( $meteor_file == plugin_basename( 'meteor-slides/meteor-slides-plugin.php' ) ) {
|
512 |
|
513 |
+
$meteor_links[] = '<a href="edit.php?post_type=slide&page=slides_settings">'.__( 'Settings', 'meteor-slides' ).'</a>';
|
514 |
|
515 |
}
|
516 |
|
517 |
+
return $meteor_links;
|
518 |
|
519 |
}
|
520 |
|
528 |
|
529 |
add_settings_section( 'meteorslides_slideshow', __( 'Configure Slideshow', 'meteor-slides' ), 'meteorslides_section_text', 'meteorslides' );
|
530 |
|
531 |
+
add_settings_field( 'slideshow_quantity', __( 'Slideshow Quantity', 'meteor-slides' ), 'meteorslides_slideshow_quantity', 'meteorslides', 'meteorslides_slideshow' );
|
532 |
|
533 |
+
add_settings_field( 'slide_height', __( 'Slide Height', 'meteor-slides' ), 'meteorslides_slide_height', 'meteorslides', 'meteorslides_slideshow' );
|
534 |
|
535 |
+
add_settings_field( 'slide_width', __( 'Slide Width', 'meteor-slides' ), 'meteorslides_slide_width', 'meteorslides', 'meteorslides_slideshow' );
|
536 |
|
537 |
+
add_settings_field( 'transition_style', __( 'Transition Style', 'meteor-slides' ), 'meteorslides_transition_style', 'meteorslides', 'meteorslides_slideshow' );
|
538 |
|
539 |
+
add_settings_field( 'transition_speed', __( 'Transition Speed', 'meteor-slides' ), 'meteorslides_transition_speed', 'meteorslides', 'meteorslides_slideshow' );
|
540 |
|
541 |
+
add_settings_field( 'slide_duration', __( 'Slide Duration', 'meteor-slides' ), 'meteorslides_slide_duration', 'meteorslides', 'meteorslides_slideshow' );
|
542 |
|
543 |
+
add_settings_field( 'slideshow_navigation', __( 'Slideshow Navigation', 'meteor-slides' ), 'meteorslides_slideshow_navigation', 'meteorslides', 'meteorslides_slideshow' );
|
544 |
|
545 |
}
|
546 |
|
547 |
// Validates values for options on settings page
|
548 |
|
549 |
+
function meteorslides_options_validate( $meteor_input ) {
|
550 |
|
551 |
+
$meteor_options = get_option( 'meteorslides_options' );
|
552 |
|
553 |
+
$meteor_options['slideshow_quantity'] = trim( $meteor_input['slideshow_quantity'] );
|
554 |
|
555 |
+
if ( !preg_match( '/^[0-9]{1,3}$/i', $meteor_options['slideshow_quantity'] ) ) {
|
556 |
|
557 |
+
$meteor_options['slideshow_quantity'] = '';
|
558 |
|
559 |
}
|
560 |
|
561 |
+
$meteor_options['slide_height'] = trim( $meteor_input['slide_height'] );
|
562 |
|
563 |
+
if ( !preg_match( '/^[0-9]{1,4}$/i', $meteor_options['slide_height'] ) ) {
|
564 |
|
565 |
+
$meteor_options['slide_height'] = '';
|
566 |
|
567 |
}
|
568 |
|
569 |
+
$meteor_options['slide_width'] = trim( $meteor_input['slide_width'] );
|
570 |
|
571 |
+
if ( !preg_match( '/^[0-9]{1,5}$/i', $meteor_options['slide_width'] ) ) {
|
572 |
|
573 |
+
$meteor_options['slide_width'] = '';
|
574 |
|
575 |
}
|
576 |
|
577 |
+
$meteor_options['transition_style'] = trim( $meteor_input['transition_style'] );
|
578 |
|
579 |
+
if ( !preg_match( '/^[a-z]{4,20}$/i', $meteor_options['transition_style'] ) ) {
|
580 |
|
581 |
+
$meteor_options['transition_style'] = '';
|
582 |
|
583 |
}
|
584 |
|
585 |
+
$meteor_options['transition_speed'] = trim( $meteor_input['transition_speed'] );
|
586 |
|
587 |
+
if ( !preg_match( '/^[0-9]{1,3}$/i', $meteor_options['transition_speed'] ) ) {
|
588 |
|
589 |
+
$meteor_options['transition_speed'] = '';
|
590 |
|
591 |
}
|
592 |
|
593 |
+
$meteor_options['slide_duration'] = trim( $meteor_input['slide_duration'] );
|
594 |
|
595 |
+
if ( !preg_match( '/^[0-9]{1,3}$/i', $meteor_options['slide_duration'] ) ) {
|
596 |
|
597 |
+
$meteor_options['slide_duration'] = '';
|
598 |
|
599 |
}
|
600 |
|
601 |
+
$meteor_options['slideshow_navigation'] = trim( $meteor_input['slideshow_navigation'] );
|
602 |
|
603 |
+
if ( !preg_match( '/^[a-z]{4,20}$/i', $meteor_options['slideshow_navigation'] ) ) {
|
604 |
|
605 |
+
$meteor_options['slideshow_navigation'] = '';
|
606 |
|
607 |
}
|
608 |
|
609 |
+
return $meteor_options;
|
610 |
|
611 |
}
|
612 |
|
includes/meteor-slides-settings.php
CHANGED
@@ -8,107 +8,102 @@
|
|
8 |
|
9 |
}
|
10 |
|
11 |
-
function
|
12 |
|
13 |
-
$
|
14 |
-
|
15 |
-
$options = get_option('meteorslides_options');
|
16 |
|
17 |
-
echo "<input id='slideshow_quantity' name='meteorslides_options[slideshow_quantity]' size='20' type='text' value='{$
|
18 |
|
19 |
}
|
20 |
|
21 |
-
function
|
22 |
-
|
23 |
-
$px = __( 'px', 'meteor-slides' );
|
24 |
|
25 |
-
$
|
|
|
26 |
|
27 |
-
echo "<input id='slide_height' name='meteorslides_options[slide_height]' size='20' type='text' value='{$
|
28 |
|
29 |
}
|
30 |
|
31 |
-
function
|
32 |
-
|
33 |
-
$px = __( 'px', 'meteor-slides' );
|
34 |
|
35 |
-
$
|
|
|
36 |
|
37 |
-
echo "<input id='slide_width' name='meteorslides_options[slide_width]' size='20' type='text' value='{$
|
38 |
|
39 |
}
|
40 |
|
41 |
-
function
|
42 |
|
43 |
-
$
|
44 |
-
$
|
45 |
-
$
|
46 |
-
$
|
47 |
-
$
|
48 |
-
$
|
49 |
-
$
|
50 |
-
$
|
51 |
-
$
|
52 |
-
$
|
53 |
-
$
|
54 |
-
$
|
55 |
-
$
|
56 |
-
$
|
57 |
-
$
|
58 |
-
$
|
59 |
-
$
|
60 |
-
$
|
61 |
-
$
|
62 |
-
$
|
63 |
-
$
|
64 |
-
$
|
65 |
-
$
|
66 |
-
$
|
67 |
-
$
|
68 |
-
$
|
69 |
-
$
|
70 |
-
|
71 |
-
$
|
72 |
-
|
73 |
-
$item = array(
|
74 |
|
75 |
-
'blindX' => $
|
76 |
-
'blindY' => $
|
77 |
-
'blindZ' => $
|
78 |
-
'cover' => $
|
79 |
-
'curtainX' => $
|
80 |
-
'curtainY' => $
|
81 |
-
'fade' => $
|
82 |
-
'fadeZoom' => $
|
83 |
-
'growX' => $
|
84 |
-
'growY' => $
|
85 |
-
'none' => $
|
86 |
-
'scrollUp' => $
|
87 |
-
'scrollDown' => $
|
88 |
-
'scrollLeft' => $
|
89 |
-
'scrollRight' => $
|
90 |
-
'scrollHorz' => $
|
91 |
-
'scrollVert' => $
|
92 |
-
'slideX' => $
|
93 |
-
'slideY' => $
|
94 |
-
'shuffle' => $
|
95 |
-
'turnUp' => $
|
96 |
-
'turnDown' => $
|
97 |
-
'turnLeft' => $
|
98 |
-
'turnRight' => $
|
99 |
-
'uncover' => $
|
100 |
-
'wipe' => $
|
101 |
-
'zoom' => $
|
102 |
|
103 |
);
|
104 |
|
105 |
echo "<select id='transition_style' name='meteorslides_options[transition_style]' style='width:142px;'>";
|
106 |
|
107 |
-
while ( list( $
|
108 |
|
109 |
-
$
|
110 |
|
111 |
-
echo "<option value='$
|
112 |
|
113 |
}
|
114 |
|
@@ -116,51 +111,49 @@
|
|
116 |
|
117 |
}
|
118 |
|
119 |
-
function
|
120 |
|
121 |
-
$
|
122 |
-
|
123 |
-
$options = get_option( 'meteorslides_options' );
|
124 |
|
125 |
-
echo "<input id='transition_speed' name='meteorslides_options[transition_speed]' size='20' type='text' value='{$
|
126 |
|
127 |
}
|
128 |
|
129 |
-
function
|
130 |
|
131 |
-
$
|
132 |
-
|
133 |
-
$options = get_option( 'meteorslides_options' );
|
134 |
|
135 |
-
echo "<input id='slide_duration' name='meteorslides_options[slide_duration]' size='20' type='text' value='{$
|
136 |
|
137 |
}
|
138 |
|
139 |
-
function
|
140 |
|
141 |
-
$
|
142 |
-
$
|
143 |
-
$
|
144 |
-
$
|
145 |
|
146 |
-
$
|
147 |
|
148 |
-
$
|
149 |
|
150 |
-
'navnone' => $
|
151 |
-
'navprevnext' => $
|
152 |
-
'navpaged' => $
|
153 |
-
'navboth' => $
|
154 |
|
155 |
);
|
156 |
|
157 |
echo "<select id='slideshow_navigation' name='meteorslides_options[slideshow_navigation]' style='width:142px;'>";
|
158 |
|
159 |
-
while ( list( $
|
160 |
|
161 |
-
$
|
162 |
|
163 |
-
echo "<option value='$
|
164 |
|
165 |
}
|
166 |
|
8 |
|
9 |
}
|
10 |
|
11 |
+
function meteorslides_slideshow_quantity() {
|
12 |
|
13 |
+
$meteor_slides = __( 'slides', 'meteor-slides' );
|
14 |
+
$meteor_options = get_option('meteorslides_options');
|
|
|
15 |
|
16 |
+
echo "<input id='slideshow_quantity' name='meteorslides_options[slideshow_quantity]' size='20' type='text' value='{$meteor_options['slideshow_quantity']}' /> $meteor_slides";
|
17 |
|
18 |
}
|
19 |
|
20 |
+
function meteorslides_slide_height() {
|
|
|
|
|
21 |
|
22 |
+
$meteor_px = __( 'px', 'meteor-slides' );
|
23 |
+
$meteor_options = get_option('meteorslides_options');
|
24 |
|
25 |
+
echo "<input id='slide_height' name='meteorslides_options[slide_height]' size='20' type='text' value='{$meteor_options['slide_height']}' /> $meteor_px";
|
26 |
|
27 |
}
|
28 |
|
29 |
+
function meteorslides_slide_width() {
|
|
|
|
|
30 |
|
31 |
+
$meteor_px = __( 'px', 'meteor-slides' );
|
32 |
+
$meteor_options = get_option('meteorslides_options');
|
33 |
|
34 |
+
echo "<input id='slide_width' name='meteorslides_options[slide_width]' size='20' type='text' value='{$meteor_options['slide_width']}' /> $meteor_px";
|
35 |
|
36 |
}
|
37 |
|
38 |
+
function meteorslides_transition_style() {
|
39 |
|
40 |
+
$meteor_blindX = __( 'blindX', 'meteor-slides' );
|
41 |
+
$meteor_blindY = __( 'blindY', 'meteor-slides' );
|
42 |
+
$meteor_blindZ = __( 'blindZ', 'meteor-slides' );
|
43 |
+
$meteor_cover = __( 'cover', 'meteor-slides' );
|
44 |
+
$meteor_curtainX = __( 'curtainX', 'meteor-slides' );
|
45 |
+
$meteor_curtainY = __( 'curtainY', 'meteor-slides' );
|
46 |
+
$meteor_fade = __( 'fade', 'meteor-slides' );
|
47 |
+
$meteor_fadeZoom = __( 'fadeZoom', 'meteor-slides' );
|
48 |
+
$meteor_growX = __( 'growX', 'meteor-slides' );
|
49 |
+
$meteor_growY = __( 'growY', 'meteor-slides' );
|
50 |
+
$meteor_none = __( 'none', 'meteor-slides' );
|
51 |
+
$meteor_scrollUp = __( 'scrollUp', 'meteor-slides' );
|
52 |
+
$meteor_scrollDown = __( 'scrollDown', 'meteor-slides' );
|
53 |
+
$meteor_scrollLeft = __( 'scrollLeft', 'meteor-slides' );
|
54 |
+
$meteor_scrollRight = __( 'scrollRight', 'meteor-slides' );
|
55 |
+
$meteor_scrollHorz = __( 'scrollHorz', 'meteor-slides' );
|
56 |
+
$meteor_scrollVert = __( 'scrollVert', 'meteor-slides' );
|
57 |
+
$meteor_slideX = __( 'slideX', 'meteor-slides' );
|
58 |
+
$meteor_slideY = __( 'slideY', 'meteor-slides' );
|
59 |
+
$meteor_shuffle = __( 'shuffle', 'meteor-slides' );
|
60 |
+
$meteor_turnUp = __( 'turnUp', 'meteor-slides' );
|
61 |
+
$meteor_turnDown = __( 'turnDown', 'meteor-slides' );
|
62 |
+
$meteor_turnLeft = __( 'turnLeft', 'meteor-slides' );
|
63 |
+
$meteor_turnRight = __( 'turnRight', 'meteor-slides' );
|
64 |
+
$meteor_uncover = __( 'uncover', 'meteor-slides' );
|
65 |
+
$meteor_wipe = __( 'wipe', 'meteor-slides' );
|
66 |
+
$meteor_zoom = __( 'zoom', 'meteor-slides' );
|
67 |
+
$meteor_options = get_option( 'meteorslides_options' );
|
68 |
+
$meteor_item = array(
|
|
|
|
|
69 |
|
70 |
+
'blindX' => $meteor_blindX,
|
71 |
+
'blindY' => $meteor_blindY,
|
72 |
+
'blindZ' => $meteor_blindZ,
|
73 |
+
'cover' => $meteor_cover,
|
74 |
+
'curtainX' => $meteor_curtainX,
|
75 |
+
'curtainY' => $meteor_curtainY,
|
76 |
+
'fade' => $meteor_fade,
|
77 |
+
'fadeZoom' => $meteor_fadeZoom,
|
78 |
+
'growX' => $meteor_growX,
|
79 |
+
'growY' => $meteor_growY,
|
80 |
+
'none' => $meteor_none,
|
81 |
+
'scrollUp' => $meteor_scrollUp,
|
82 |
+
'scrollDown' => $meteor_scrollDown,
|
83 |
+
'scrollLeft' => $meteor_scrollLeft,
|
84 |
+
'scrollRight' => $meteor_scrollRight,
|
85 |
+
'scrollHorz' => $meteor_scrollHorz,
|
86 |
+
'scrollVert' => $meteor_scrollVert,
|
87 |
+
'slideX' => $meteor_slideX,
|
88 |
+
'slideY' => $meteor_slideY,
|
89 |
+
'shuffle' => $meteor_shuffle,
|
90 |
+
'turnUp' => $meteor_turnUp,
|
91 |
+
'turnDown' => $meteor_turnDown,
|
92 |
+
'turnLeft' => $meteor_turnLeft,
|
93 |
+
'turnRight' => $meteor_turnRight,
|
94 |
+
'uncover' => $meteor_uncover,
|
95 |
+
'wipe' => $meteor_wipe,
|
96 |
+
'zoom' => $meteor_zoom
|
97 |
|
98 |
);
|
99 |
|
100 |
echo "<select id='transition_style' name='meteorslides_options[transition_style]' style='width:142px;'>";
|
101 |
|
102 |
+
while ( list( $meteor_key, $meteor_val ) = each( $meteor_item ) ) {
|
103 |
|
104 |
+
$meteor_selected = ( $meteor_options['transition_style']==$meteor_key ) ? ' selected="selected"' : '';
|
105 |
|
106 |
+
echo "<option value='$meteor_key'$meteor_selected>$meteor_val</option>";
|
107 |
|
108 |
}
|
109 |
|
111 |
|
112 |
}
|
113 |
|
114 |
+
function meteorslides_transition_speed() {
|
115 |
|
116 |
+
$meteor_seconds = __( 'seconds', 'meteor-slides' );
|
117 |
+
$meteor_options = get_option( 'meteorslides_options' );
|
|
|
118 |
|
119 |
+
echo "<input id='transition_speed' name='meteorslides_options[transition_speed]' size='20' type='text' value='{$meteor_options['transition_speed']}' /> $meteor_seconds";
|
120 |
|
121 |
}
|
122 |
|
123 |
+
function meteorslides_slide_duration() {
|
124 |
|
125 |
+
$meteor_seconds = __( 'seconds', 'meteor-slides' );
|
126 |
+
$meteor_options = get_option( 'meteorslides_options' );
|
|
|
127 |
|
128 |
+
echo "<input id='slide_duration' name='meteorslides_options[slide_duration]' size='20' type='text' value='{$meteor_options['slide_duration']}' /> $meteor_seconds";
|
129 |
|
130 |
}
|
131 |
|
132 |
+
function meteorslides_slideshow_navigation() {
|
133 |
|
134 |
+
$meteor_navnone = __( 'None', 'meteor-slides' );
|
135 |
+
$meteor_navprevnext = __( 'Previous/Next', 'meteor-slides' );
|
136 |
+
$meteor_navpaged = __( 'Paged', 'meteor-slides' );
|
137 |
+
$meteor_navboth = __( 'Both', 'meteor-slides' );
|
138 |
|
139 |
+
$meteor_options = get_option( 'meteorslides_options' );
|
140 |
|
141 |
+
$meteor_item = array(
|
142 |
|
143 |
+
'navnone' => $meteor_navnone,
|
144 |
+
'navprevnext' => $meteor_navprevnext,
|
145 |
+
'navpaged' => $meteor_navpaged,
|
146 |
+
'navboth' => $meteor_navboth
|
147 |
|
148 |
);
|
149 |
|
150 |
echo "<select id='slideshow_navigation' name='meteorslides_options[slideshow_navigation]' style='width:142px;'>";
|
151 |
|
152 |
+
while ( list( $meteor_key, $meteor_val ) = each( $meteor_item ) ) {
|
153 |
|
154 |
+
$meteor_selected = ( $meteor_options['slideshow_navigation']==$meteor_key ) ? ' selected="selected"' : '';
|
155 |
|
156 |
+
echo "<option value='$meteor_key'$meteor_selected>$meteor_val</option>";
|
157 |
|
158 |
}
|
159 |
|
includes/meteor-slideshow.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
/* Loop template for the Meteor Slides slideshow
|
3 |
|
4 |
Copy "meteor-slideshow.php" from "/meteor-slides/" to your theme's directory to replace
|
5 |
the plugin's default slideshow loop.
|
@@ -12,25 +12,27 @@
|
|
12 |
|
13 |
global $post;
|
14 |
|
15 |
-
$
|
16 |
-
|
17 |
-
$
|
18 |
-
|
19 |
-
$
|
20 |
-
|
21 |
-
$loop = new WP_Query( array(
|
22 |
|
23 |
'post_type' => 'slide',
|
24 |
'slideshow' => $slideshow,
|
25 |
-
'posts_per_page' => $
|
26 |
|
27 |
) ); ?>
|
28 |
|
|
|
|
|
|
|
|
|
29 |
<div id="meteor-slideshow<?php echo $slideshow; ?>" class="meteor-slides <?php
|
30 |
|
31 |
// Adds classes to slideshow
|
32 |
|
33 |
-
echo $slideshow . ' ' . $
|
34 |
|
35 |
// Adds metadata to slideshow
|
36 |
|
@@ -61,10 +63,14 @@
|
|
61 |
}
|
62 |
|
63 |
?>">
|
|
|
|
|
|
|
|
|
64 |
|
65 |
<?php // Adds Previous/Next and Paged navigation
|
66 |
|
67 |
-
if ( $
|
68 |
|
69 |
<ul class="meteor-nav">
|
70 |
|
@@ -78,7 +84,7 @@
|
|
78 |
|
79 |
<?php // Adds Previous/Next navigation
|
80 |
|
81 |
-
elseif ( $
|
82 |
|
83 |
<ul class="meteor-nav">
|
84 |
|
@@ -90,38 +96,60 @@
|
|
90 |
|
91 |
<?php // Adds Paged navigation
|
92 |
|
93 |
-
elseif ( $
|
94 |
|
95 |
<div id="meteor-buttons<?php echo $slideshow; ?>" class="meteor-buttons"></div>
|
96 |
|
97 |
<?php endif; ?>
|
|
|
|
|
|
|
|
|
98 |
|
99 |
<?php // Loop which loads the slideshow
|
100 |
|
101 |
-
while ( $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
|
103 |
-
<div class="mslide mslide-<?php echo $
|
104 |
|
105 |
<?php // Adds slide image with Slide URL link
|
106 |
|
107 |
if ( get_post_meta( $post->ID, "slide_url_value", $single = true ) != "" ): ?>
|
108 |
|
109 |
-
<a href="<?php echo get_post_meta( $post->ID, "slide_url_value", $single = true ); ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail( 'featured-slide' ); ?></a>
|
110 |
|
111 |
<?php // Adds slide image without Slide URL link
|
112 |
|
113 |
else: ?>
|
114 |
|
115 |
-
<?php the_post_thumbnail( 'featured-slide' ); ?>
|
116 |
|
117 |
<?php endif; ?>
|
118 |
|
119 |
</div><!-- .mslide -->
|
120 |
|
121 |
-
<?php $
|
122 |
|
123 |
<?php endwhile; ?>
|
|
|
|
|
124 |
|
125 |
-
<?php
|
|
|
|
|
|
|
|
|
126 |
|
127 |
-
</div><!-- .meteor-slides -->
|
|
|
|
1 |
<?php
|
2 |
+
/* Loop template for the Meteor Slides 1.5 slideshow
|
3 |
|
4 |
Copy "meteor-slideshow.php" from "/meteor-slides/" to your theme's directory to replace
|
5 |
the plugin's default slideshow loop.
|
12 |
|
13 |
global $post;
|
14 |
|
15 |
+
$meteor_posttemp = $post;
|
16 |
+
$meteor_options = get_option( 'meteorslides_options' );
|
17 |
+
$meteor_nav = $meteor_options['slideshow_navigation'];
|
18 |
+
$meteor_count = 1;
|
19 |
+
$meteor_loop = new WP_Query( array(
|
|
|
|
|
20 |
|
21 |
'post_type' => 'slide',
|
22 |
'slideshow' => $slideshow,
|
23 |
+
'posts_per_page' => $meteor_options['slideshow_quantity']
|
24 |
|
25 |
) ); ?>
|
26 |
|
27 |
+
<?php // Check for slides
|
28 |
+
|
29 |
+
if ( $meteor_loop->have_posts() ) : ?>
|
30 |
+
|
31 |
<div id="meteor-slideshow<?php echo $slideshow; ?>" class="meteor-slides <?php
|
32 |
|
33 |
// Adds classes to slideshow
|
34 |
|
35 |
+
echo $slideshow . ' ' . $meteor_nav;
|
36 |
|
37 |
// Adds metadata to slideshow
|
38 |
|
63 |
}
|
64 |
|
65 |
?>">
|
66 |
+
|
67 |
+
<?php // Check for multiple slides
|
68 |
+
|
69 |
+
if ( $meteor_loop->post_count > 1 ) : ?>
|
70 |
|
71 |
<?php // Adds Previous/Next and Paged navigation
|
72 |
|
73 |
+
if ( $meteor_nav == "navboth" ) : ?>
|
74 |
|
75 |
<ul class="meteor-nav">
|
76 |
|
84 |
|
85 |
<?php // Adds Previous/Next navigation
|
86 |
|
87 |
+
elseif ( $meteor_nav == "navprevnext" ) : ?>
|
88 |
|
89 |
<ul class="meteor-nav">
|
90 |
|
96 |
|
97 |
<?php // Adds Paged navigation
|
98 |
|
99 |
+
elseif ( $meteor_nav == "navpaged" ): ?>
|
100 |
|
101 |
<div id="meteor-buttons<?php echo $slideshow; ?>" class="meteor-buttons"></div>
|
102 |
|
103 |
<?php endif; ?>
|
104 |
+
|
105 |
+
<?php endif; ?>
|
106 |
+
|
107 |
+
<div class="meteor-clip">
|
108 |
|
109 |
<?php // Loop which loads the slideshow
|
110 |
|
111 |
+
while ( $meteor_loop->have_posts() ) : $meteor_loop->the_post(); ?>
|
112 |
+
|
113 |
+
<?php // Use first slide image as shim to scale slideshow
|
114 |
+
|
115 |
+
if ( $meteor_count == 1 ) {
|
116 |
+
|
117 |
+
$meteor_shim = wp_get_attachment_image_src( get_post_thumbnail_id(), 'featured-slide');
|
118 |
+
|
119 |
+
echo '<img style="visibility: hidden;" class="meteor-shim" src="' . $meteor_shim[0] . '" alt="" />';
|
120 |
+
|
121 |
+
} ?>
|
122 |
|
123 |
+
<div class="mslide mslide-<?php echo $meteor_count; ?>">
|
124 |
|
125 |
<?php // Adds slide image with Slide URL link
|
126 |
|
127 |
if ( get_post_meta( $post->ID, "slide_url_value", $single = true ) != "" ): ?>
|
128 |
|
129 |
+
<a href="<?php echo get_post_meta( $post->ID, "slide_url_value", $single = true ); ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail( 'featured-slide', array( 'title' => get_the_title() ) ); ?></a>
|
130 |
|
131 |
<?php // Adds slide image without Slide URL link
|
132 |
|
133 |
else: ?>
|
134 |
|
135 |
+
<?php the_post_thumbnail( 'featured-slide', array( 'title' => get_the_title() ) ); ?>
|
136 |
|
137 |
<?php endif; ?>
|
138 |
|
139 |
</div><!-- .mslide -->
|
140 |
|
141 |
+
<?php $meteor_count++; ?>
|
142 |
|
143 |
<?php endwhile; ?>
|
144 |
+
|
145 |
+
</div><!-- .meteor-clip -->
|
146 |
|
147 |
+
<?php // Reset the slideshow loop
|
148 |
+
|
149 |
+
$post = $meteor_posttemp;
|
150 |
+
|
151 |
+
wp_reset_postdata(); ?>
|
152 |
|
153 |
+
</div><!-- .meteor-slides -->
|
154 |
+
|
155 |
+
<?php endif; ?>
|
js/jquery.cycle.all.js
ADDED
@@ -0,0 +1,1545 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* jQuery Cycle Plugin (with Transition Definitions)
|
3 |
+
* Examples and documentation at: http://jquery.malsup.com/cycle/
|
4 |
+
* Copyright (c) 2007-2010 M. Alsup
|
5 |
+
* Version: 2.9999.5 (10-APR-2012)
|
6 |
+
* Dual licensed under the MIT and GPL licenses.
|
7 |
+
* http://jquery.malsup.com/license.html
|
8 |
+
* Requires: jQuery v1.3.2 or later
|
9 |
+
*/
|
10 |
+
;(function($, undefined) {
|
11 |
+
"use strict";
|
12 |
+
|
13 |
+
var ver = '2.9999.5';
|
14 |
+
|
15 |
+
// if $.support is not defined (pre jQuery 1.3) add what I need
|
16 |
+
if ($.support === undefined) {
|
17 |
+
$.support = {
|
18 |
+
opacity: !($.browser.msie)
|
19 |
+
};
|
20 |
+
}
|
21 |
+
|
22 |
+
function debug(s) {
|
23 |
+
if ($.fn.cycle.debug)
|
24 |
+
log(s);
|
25 |
+
}
|
26 |
+
function log() {
|
27 |
+
if (window.console && console.log)
|
28 |
+
console.log('[cycle] ' + Array.prototype.join.call(arguments,' '));
|
29 |
+
}
|
30 |
+
$.expr[':'].paused = function(el) {
|
31 |
+
return el.cyclePause;
|
32 |
+
};
|
33 |
+
|
34 |
+
|
35 |
+
// the options arg can be...
|
36 |
+
// a number - indicates an immediate transition should occur to the given slide index
|
37 |
+
// a string - 'pause', 'resume', 'toggle', 'next', 'prev', 'stop', 'destroy' or the name of a transition effect (ie, 'fade', 'zoom', etc)
|
38 |
+
// an object - properties to control the slideshow
|
39 |
+
//
|
40 |
+
// the arg2 arg can be...
|
41 |
+
// the name of an fx (only used in conjunction with a numeric value for 'options')
|
42 |
+
// the value true (only used in first arg == 'resume') and indicates
|
43 |
+
// that the resume should occur immediately (not wait for next timeout)
|
44 |
+
|
45 |
+
$.fn.cycle = function(options, arg2) {
|
46 |
+
var o = { s: this.selector, c: this.context };
|
47 |
+
|
48 |
+
// in 1.3+ we can fix mistakes with the ready state
|
49 |
+
if (this.length === 0 && options != 'stop') {
|
50 |
+
if (!$.isReady && o.s) {
|
51 |
+
log('DOM not ready, queuing slideshow');
|
52 |
+
$(function() {
|
53 |
+
$(o.s,o.c).cycle(options,arg2);
|
54 |
+
});
|
55 |
+
return this;
|
56 |
+
}
|
57 |
+
// is your DOM ready? http://docs.jquery.com/Tutorials:Introducing_$(document).ready()
|
58 |
+
log('terminating; zero elements found by selector' + ($.isReady ? '' : ' (DOM not ready)'));
|
59 |
+
return this;
|
60 |
+
}
|
61 |
+
|
62 |
+
// iterate the matched nodeset
|
63 |
+
return this.each(function() {
|
64 |
+
var opts = handleArguments(this, options, arg2);
|
65 |
+
if (opts === false)
|
66 |
+
return;
|
67 |
+
|
68 |
+
opts.updateActivePagerLink = opts.updateActivePagerLink || $.fn.cycle.updateActivePagerLink;
|
69 |
+
|
70 |
+
// stop existing slideshow for this container (if there is one)
|
71 |
+
if (this.cycleTimeout)
|
72 |
+
clearTimeout(this.cycleTimeout);
|
73 |
+
this.cycleTimeout = this.cyclePause = 0;
|
74 |
+
this.cycleStop = 0; // issue #108
|
75 |
+
|
76 |
+
var $cont = $(this);
|
77 |
+
var $slides = opts.slideExpr ? $(opts.slideExpr, this) : $cont.children();
|
78 |
+
var els = $slides.get();
|
79 |
+
|
80 |
+
if (els.length < 2) {
|
81 |
+
log('terminating; too few slides: ' + els.length);
|
82 |
+
return;
|
83 |
+
}
|
84 |
+
|
85 |
+
var opts2 = buildOptions($cont, $slides, els, opts, o);
|
86 |
+
if (opts2 === false)
|
87 |
+
return;
|
88 |
+
|
89 |
+
var startTime = opts2.continuous ? 10 : getTimeout(els[opts2.currSlide], els[opts2.nextSlide], opts2, !opts2.backwards);
|
90 |
+
|
91 |
+
// if it's an auto slideshow, kick it off
|
92 |
+
if (startTime) {
|
93 |
+
startTime += (opts2.delay || 0);
|
94 |
+
if (startTime < 10)
|
95 |
+
startTime = 10;
|
96 |
+
debug('first timeout: ' + startTime);
|
97 |
+
this.cycleTimeout = setTimeout(function(){go(els,opts2,0,!opts.backwards);}, startTime);
|
98 |
+
}
|
99 |
+
});
|
100 |
+
};
|
101 |
+
|
102 |
+
function triggerPause(cont, byHover, onPager) {
|
103 |
+
var opts = $(cont).data('cycle.opts');
|
104 |
+
var paused = !!cont.cyclePause;
|
105 |
+
if (paused && opts.paused)
|
106 |
+
opts.paused(cont, opts, byHover, onPager);
|
107 |
+
else if (!paused && opts.resumed)
|
108 |
+
opts.resumed(cont, opts, byHover, onPager);
|
109 |
+
}
|
110 |
+
|
111 |
+
// process the args that were passed to the plugin fn
|
112 |
+
function handleArguments(cont, options, arg2) {
|
113 |
+
if (cont.cycleStop === undefined)
|
114 |
+
cont.cycleStop = 0;
|
115 |
+
if (options === undefined || options === null)
|
116 |
+
options = {};
|
117 |
+
if (options.constructor == String) {
|
118 |
+
switch(options) {
|
119 |
+
case 'destroy':
|
120 |
+
case 'stop':
|
121 |
+
var opts = $(cont).data('cycle.opts');
|
122 |
+
if (!opts)
|
123 |
+
return false;
|
124 |
+
cont.cycleStop++; // callbacks look for change
|
125 |
+
if (cont.cycleTimeout)
|
126 |
+
clearTimeout(cont.cycleTimeout);
|
127 |
+
cont.cycleTimeout = 0;
|
128 |
+
if (opts.elements)
|
129 |
+
$(opts.elements).stop();
|
130 |
+
$(cont).removeData('cycle.opts');
|
131 |
+
if (options == 'destroy')
|
132 |
+
destroy(cont, opts);
|
133 |
+
return false;
|
134 |
+
case 'toggle':
|
135 |
+
cont.cyclePause = (cont.cyclePause === 1) ? 0 : 1;
|
136 |
+
checkInstantResume(cont.cyclePause, arg2, cont);
|
137 |
+
triggerPause(cont);
|
138 |
+
return false;
|
139 |
+
case 'pause':
|
140 |
+
cont.cyclePause = 1;
|
141 |
+
triggerPause(cont);
|
142 |
+
return false;
|
143 |
+
case 'resume':
|
144 |
+
cont.cyclePause = 0;
|
145 |
+
checkInstantResume(false, arg2, cont);
|
146 |
+
triggerPause(cont);
|
147 |
+
return false;
|
148 |
+
case 'prev':
|
149 |
+
case 'next':
|
150 |
+
opts = $(cont).data('cycle.opts');
|
151 |
+
if (!opts) {
|
152 |
+
log('options not found, "prev/next" ignored');
|
153 |
+
return false;
|
154 |
+
}
|
155 |
+
$.fn.cycle[options](opts);
|
156 |
+
return false;
|
157 |
+
default:
|
158 |
+
options = { fx: options };
|
159 |
+
}
|
160 |
+
return options;
|
161 |
+
}
|
162 |
+
else if (options.constructor == Number) {
|
163 |
+
// go to the requested slide
|
164 |
+
var num = options;
|
165 |
+
options = $(cont).data('cycle.opts');
|
166 |
+
if (!options) {
|
167 |
+
log('options not found, can not advance slide');
|
168 |
+
return false;
|
169 |
+
}
|
170 |
+
if (num < 0 || num >= options.elements.length) {
|
171 |
+
log('invalid slide index: ' + num);
|
172 |
+
return false;
|
173 |
+
}
|
174 |
+
options.nextSlide = num;
|
175 |
+
if (cont.cycleTimeout) {
|
176 |
+
clearTimeout(cont.cycleTimeout);
|
177 |
+
cont.cycleTimeout = 0;
|
178 |
+
}
|
179 |
+
if (typeof arg2 == 'string')
|
180 |
+
options.oneTimeFx = arg2;
|
181 |
+
go(options.elements, options, 1, num >= options.currSlide);
|
182 |
+
return false;
|
183 |
+
}
|
184 |
+
return options;
|
185 |
+
|
186 |
+
function checkInstantResume(isPaused, arg2, cont) {
|
187 |
+
if (!isPaused && arg2 === true) { // resume now!
|
188 |
+
var options = $(cont).data('cycle.opts');
|
189 |
+
if (!options) {
|
190 |
+
log('options not found, can not resume');
|
191 |
+
return false;
|
192 |
+
}
|
193 |
+
if (cont.cycleTimeout) {
|
194 |
+
clearTimeout(cont.cycleTimeout);
|
195 |
+
cont.cycleTimeout = 0;
|
196 |
+
}
|
197 |
+
go(options.elements, options, 1, !options.backwards);
|
198 |
+
}
|
199 |
+
}
|
200 |
+
}
|
201 |
+
|
202 |
+
function removeFilter(el, opts) {
|
203 |
+
if (!$.support.opacity && opts.cleartype && el.style.filter) {
|
204 |
+
try { el.style.removeAttribute('filter'); }
|
205 |
+
catch(smother) {} // handle old opera versions
|
206 |
+
}
|
207 |
+
}
|
208 |
+
|
209 |
+
// unbind event handlers
|
210 |
+
function destroy(cont, opts) {
|
211 |
+
if (opts.next)
|
212 |
+
$(opts.next).unbind(opts.prevNextEvent);
|
213 |
+
if (opts.prev)
|
214 |
+
$(opts.prev).unbind(opts.prevNextEvent);
|
215 |
+
|
216 |
+
if (opts.pager || opts.pagerAnchorBuilder)
|
217 |
+
$.each(opts.pagerAnchors || [], function() {
|
218 |
+
this.unbind().remove();
|
219 |
+
});
|
220 |
+
opts.pagerAnchors = null;
|
221 |
+
$(cont).unbind('mouseenter.cycle mouseleave.cycle');
|
222 |
+
if (opts.destroy) // callback
|
223 |
+
opts.destroy(opts);
|
224 |
+
}
|
225 |
+
|
226 |
+
// one-time initialization
|
227 |
+
function buildOptions($cont, $slides, els, options, o) {
|
228 |
+
var startingSlideSpecified;
|
229 |
+
// support metadata plugin (v1.0 and v2.0)
|
230 |
+
var opts = $.extend({}, $.fn.cycle.defaults, options || {}, $.metadata ? $cont.metadata() : $.meta ? $cont.data() : {});
|
231 |
+
var meta = $.isFunction($cont.data) ? $cont.data(opts.metaAttr) : null;
|
232 |
+
if (meta)
|
233 |
+
opts = $.extend(opts, meta);
|
234 |
+
if (opts.autostop)
|
235 |
+
opts.countdown = opts.autostopCount || els.length;
|
236 |
+
|
237 |
+
var cont = $cont[0];
|
238 |
+
$cont.data('cycle.opts', opts);
|
239 |
+
opts.$cont = $cont;
|
240 |
+
opts.stopCount = cont.cycleStop;
|
241 |
+
opts.elements = els;
|
242 |
+
opts.before = opts.before ? [opts.before] : [];
|
243 |
+
opts.after = opts.after ? [opts.after] : [];
|
244 |
+
|
245 |
+
// push some after callbacks
|
246 |
+
if (!$.support.opacity && opts.cleartype)
|
247 |
+
opts.after.push(function() { removeFilter(this, opts); });
|
248 |
+
if (opts.continuous)
|
249 |
+
opts.after.push(function() { go(els,opts,0,!opts.backwards); });
|
250 |
+
|
251 |
+
saveOriginalOpts(opts);
|
252 |
+
|
253 |
+
// clearType corrections
|
254 |
+
if (!$.support.opacity && opts.cleartype && !opts.cleartypeNoBg)
|
255 |
+
clearTypeFix($slides);
|
256 |
+
|
257 |
+
// container requires non-static position so that slides can be position within
|
258 |
+
if ($cont.css('position') == 'static')
|
259 |
+
$cont.css('position', 'relative');
|
260 |
+
if (opts.width)
|
261 |
+
$cont.width(opts.width);
|
262 |
+
if (opts.height && opts.height != 'auto')
|
263 |
+
$cont.height(opts.height);
|
264 |
+
|
265 |
+
if (opts.startingSlide !== undefined) {
|
266 |
+
opts.startingSlide = parseInt(opts.startingSlide,10);
|
267 |
+
if (opts.startingSlide >= els.length || opts.startSlide < 0)
|
268 |
+
opts.startingSlide = 0; // catch bogus input
|
269 |
+
else
|
270 |
+
startingSlideSpecified = true;
|
271 |
+
}
|
272 |
+
else if (opts.backwards)
|
273 |
+
opts.startingSlide = els.length - 1;
|
274 |
+
else
|
275 |
+
opts.startingSlide = 0;
|
276 |
+
|
277 |
+
// if random, mix up the slide array
|
278 |
+
if (opts.random) {
|
279 |
+
opts.randomMap = [];
|
280 |
+
for (var i = 0; i < els.length; i++)
|
281 |
+
opts.randomMap.push(i);
|
282 |
+
opts.randomMap.sort(function(a,b) {return Math.random() - 0.5;});
|
283 |
+
if (startingSlideSpecified) {
|
284 |
+
// try to find the specified starting slide and if found set start slide index in the map accordingly
|
285 |
+
for ( var cnt = 0; cnt < els.length; cnt++ ) {
|
286 |
+
if ( opts.startingSlide == opts.randomMap[cnt] ) {
|
287 |
+
opts.randomIndex = cnt;
|
288 |
+
}
|
289 |
+
}
|
290 |
+
}
|
291 |
+
else {
|
292 |
+
opts.randomIndex = 1;
|
293 |
+
opts.startingSlide = opts.randomMap[1];
|
294 |
+
}
|
295 |
+
}
|
296 |
+
else if (opts.startingSlide >= els.length)
|
297 |
+
opts.startingSlide = 0; // catch bogus input
|
298 |
+
opts.currSlide = opts.startingSlide || 0;
|
299 |
+
var first = opts.startingSlide;
|
300 |
+
|
301 |
+
// set position and zIndex on all the slides
|
302 |
+
$slides.css({position: 'absolute', top:0, left:0}).hide().each(function(i) {
|
303 |
+
var z;
|
304 |
+
if (opts.backwards)
|
305 |
+
z = first ? i <= first ? els.length + (i-first) : first-i : els.length-i;
|
306 |
+
else
|
307 |
+
z = first ? i >= first ? els.length - (i-first) : first-i : els.length-i;
|
308 |
+
$(this).css('z-index', z);
|
309 |
+
});
|
310 |
+
|
311 |
+
// make sure first slide is visible
|
312 |
+
$(els[first]).css('opacity',1).show(); // opacity bit needed to handle restart use case
|
313 |
+
removeFilter(els[first], opts);
|
314 |
+
|
315 |
+
// stretch slides
|
316 |
+
if (opts.fit) {
|
317 |
+
if (!opts.aspect) {
|
318 |
+
if (opts.width)
|
319 |
+
$slides.width(opts.width);
|
320 |
+
if (opts.height && opts.height != 'auto')
|
321 |
+
$slides.height(opts.height);
|
322 |
+
} else {
|
323 |
+
$slides.each(function(){
|
324 |
+
var $slide = $(this);
|
325 |
+
var ratio = (opts.aspect === true) ? $slide.width()/$slide.height() : opts.aspect;
|
326 |
+
if( opts.width && $slide.width() != opts.width ) {
|
327 |
+
$slide.width( opts.width );
|
328 |
+
$slide.height( opts.width / ratio );
|
329 |
+
}
|
330 |
+
|
331 |
+
if( opts.height && $slide.height() < opts.height ) {
|
332 |
+
$slide.height( opts.height );
|
333 |
+
$slide.width( opts.height * ratio );
|
334 |
+
}
|
335 |
+
});
|
336 |
+
}
|
337 |
+
}
|
338 |
+
|
339 |
+
if (opts.center && ((!opts.fit) || opts.aspect)) {
|
340 |
+
$slides.each(function(){
|
341 |
+
var $slide = $(this);
|
342 |
+
$slide.css({
|
343 |
+
"margin-left": opts.width ?
|
344 |
+
((opts.width - $slide.width()) / 2) + "px" :
|
345 |
+
0,
|
346 |
+
"margin-top": opts.height ?
|
347 |
+
((opts.height - $slide.height()) / 2) + "px" :
|
348 |
+
0
|
349 |
+
});
|
350 |
+
});
|
351 |
+
}
|
352 |
+
|
353 |
+
if (opts.center && !opts.fit && !opts.slideResize) {
|
354 |
+
$slides.each(function(){
|
355 |
+
var $slide = $(this);
|
356 |
+
$slide.css({
|
357 |
+
"margin-left": opts.width ? ((opts.width - $slide.width()) / 2) + "px" : 0,
|
358 |
+
"margin-top": opts.height ? ((opts.height - $slide.height()) / 2) + "px" : 0
|
359 |
+
});
|
360 |
+
});
|
361 |
+
}
|
362 |
+
|
363 |
+
// stretch container
|
364 |
+
var reshape = opts.containerResize && !$cont.innerHeight();
|
365 |
+
if (reshape) { // do this only if container has no size http://tinyurl.com/da2oa9
|
366 |
+
var maxw = 0, maxh = 0;
|
367 |
+
for(var j=0; j < els.length; j++) {
|
368 |
+
var $e = $(els[j]), e = $e[0], w = $e.outerWidth(), h = $e.outerHeight();
|
369 |
+
if (!w) w = e.offsetWidth || e.width || $e.attr('width');
|
370 |
+
if (!h) h = e.offsetHeight || e.height || $e.attr('height');
|
371 |
+
maxw = w > maxw ? w : maxw;
|
372 |
+
maxh = h > maxh ? h : maxh;
|
373 |
+
}
|
374 |
+
if (maxw > 0 && maxh > 0)
|
375 |
+
$cont.css({width:maxw+'px',height:maxh+'px'});
|
376 |
+
}
|
377 |
+
|
378 |
+
var pauseFlag = false; // https://github.com/malsup/cycle/issues/44
|
379 |
+
if (opts.pause)
|
380 |
+
$cont.bind('mouseenter.cycle', function(){
|
381 |
+
pauseFlag = true;
|
382 |
+
this.cyclePause++;
|
383 |
+
triggerPause(cont, true);
|
384 |
+
}).bind('mouseleave.cycle', function(){
|
385 |
+
if (pauseFlag)
|
386 |
+
this.cyclePause--;
|
387 |
+
triggerPause(cont, true);
|
388 |
+
});
|
389 |
+
|
390 |
+
if (supportMultiTransitions(opts) === false)
|
391 |
+
return false;
|
392 |
+
|
393 |
+
// apparently a lot of people use image slideshows without height/width attributes on the images.
|
394 |
+
// Cycle 2.50+ requires the sizing info for every slide; this block tries to deal with that.
|
395 |
+
var requeue = false;
|
396 |
+
options.requeueAttempts = options.requeueAttempts || 0;
|
397 |
+
$slides.each(function() {
|
398 |
+
// try to get height/width of each slide
|
399 |
+
var $el = $(this);
|
400 |
+
this.cycleH = (opts.fit && opts.height) ? opts.height : ($el.height() || this.offsetHeight || this.height || $el.attr('height') || 0);
|
401 |
+
this.cycleW = (opts.fit && opts.width) ? opts.width : ($el.width() || this.offsetWidth || this.width || $el.attr('width') || 0);
|
402 |
+
|
403 |
+
if ( $el.is('img') ) {
|
404 |
+
// sigh.. sniffing, hacking, shrugging... this crappy hack tries to account for what browsers do when
|
405 |
+
// an image is being downloaded and the markup did not include sizing info (height/width attributes);
|
406 |
+
// there seems to be some "default" sizes used in this situation
|
407 |
+
var loadingIE = ($.browser.msie && this.cycleW == 28 && this.cycleH == 30 && !this.complete);
|
408 |
+
var loadingFF = ($.browser.mozilla && this.cycleW == 34 && this.cycleH == 19 && !this.complete);
|
409 |
+
var loadingOp = ($.browser.opera && ((this.cycleW == 42 && this.cycleH == 19) || (this.cycleW == 37 && this.cycleH == 17)) && !this.complete);
|
410 |
+
var loadingOther = (this.cycleH === 0 && this.cycleW === 0 && !this.complete);
|
411 |
+
// don't requeue for images that are still loading but have a valid size
|
412 |
+
if (loadingIE || loadingFF || loadingOp || loadingOther) {
|
413 |
+
if (o.s && opts.requeueOnImageNotLoaded && ++options.requeueAttempts < 100) { // track retry count so we don't loop forever
|
414 |
+
log(options.requeueAttempts,' - img slide not loaded, requeuing slideshow: ', this.src, this.cycleW, this.cycleH);
|
415 |
+
setTimeout(function() {$(o.s,o.c).cycle(options);}, opts.requeueTimeout);
|
416 |
+
requeue = true;
|
417 |
+
return false; // break each loop
|
418 |
+
}
|
419 |
+
else {
|
420 |
+
log('could not determine size of image: '+this.src, this.cycleW, this.cycleH);
|
421 |
+
}
|
422 |
+
}
|
423 |
+
}
|
424 |
+
return true;
|
425 |
+
});
|
426 |
+
|
427 |
+
if (requeue)
|
428 |
+
return false;
|
429 |
+
|
430 |
+
opts.cssBefore = opts.cssBefore || {};
|
431 |
+
opts.cssAfter = opts.cssAfter || {};
|
432 |
+
opts.cssFirst = opts.cssFirst || {};
|
433 |
+
opts.animIn = opts.animIn || {};
|
434 |
+
opts.animOut = opts.animOut || {};
|
435 |
+
|
436 |
+
$slides.not(':eq('+first+')').css(opts.cssBefore);
|
437 |
+
$($slides[first]).css(opts.cssFirst);
|
438 |
+
|
439 |
+
if (opts.timeout) {
|
440 |
+
opts.timeout = parseInt(opts.timeout,10);
|
441 |
+
// ensure that timeout and speed settings are sane
|
442 |
+
if (opts.speed.constructor == String)
|
443 |
+
opts.speed = $.fx.speeds[opts.speed] || parseInt(opts.speed,10);
|
444 |
+
if (!opts.sync)
|
445 |
+
opts.speed = opts.speed / 2;
|
446 |
+
|
447 |
+
var buffer = opts.fx == 'none' ? 0 : opts.fx == 'shuffle' ? 500 : 250;
|
448 |
+
while((opts.timeout - opts.speed) < buffer) // sanitize timeout
|
449 |
+
opts.timeout += opts.speed;
|
450 |
+
}
|
451 |
+
if (opts.easing)
|
452 |
+
opts.easeIn = opts.easeOut = opts.easing;
|
453 |
+
if (!opts.speedIn)
|
454 |
+
opts.speedIn = opts.speed;
|
455 |
+
if (!opts.speedOut)
|
456 |
+
opts.speedOut = opts.speed;
|
457 |
+
|
458 |
+
opts.slideCount = els.length;
|
459 |
+
opts.currSlide = opts.lastSlide = first;
|
460 |
+
if (opts.random) {
|
461 |
+
if (++opts.randomIndex == els.length)
|
462 |
+
opts.randomIndex = 0;
|
463 |
+
opts.nextSlide = opts.randomMap[opts.randomIndex];
|
464 |
+
}
|
465 |
+
else if (opts.backwards)
|
466 |
+
opts.nextSlide = opts.startingSlide === 0 ? (els.length-1) : opts.startingSlide-1;
|
467 |
+
else
|
468 |
+
opts.nextSlide = opts.startingSlide >= (els.length-1) ? 0 : opts.startingSlide+1;
|
469 |
+
|
470 |
+
// run transition init fn
|
471 |
+
if (!opts.multiFx) {
|
472 |
+
var init = $.fn.cycle.transitions[opts.fx];
|
473 |
+
if ($.isFunction(init))
|
474 |
+
init($cont, $slides, opts);
|
475 |
+
else if (opts.fx != 'custom' && !opts.multiFx) {
|
476 |
+
log('unknown transition: ' + opts.fx,'; slideshow terminating');
|
477 |
+
return false;
|
478 |
+
}
|
479 |
+
}
|
480 |
+
|
481 |
+
// fire artificial events
|
482 |
+
var e0 = $slides[first];
|
483 |
+
if (!opts.skipInitializationCallbacks) {
|
484 |
+
if (opts.before.length)
|
485 |
+
opts.before[0].apply(e0, [e0, e0, opts, true]);
|
486 |
+
if (opts.after.length)
|
487 |
+
opts.after[0].apply(e0, [e0, e0, opts, true]);
|
488 |
+
}
|
489 |
+
if (opts.next)
|
490 |
+
$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,1);});
|
491 |
+
if (opts.prev)
|
492 |
+
$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,0);});
|
493 |
+
if (opts.pager || opts.pagerAnchorBuilder)
|
494 |
+
buildPager(els,opts);
|
495 |
+
|
496 |
+
exposeAddSlide(opts, els);
|
497 |
+
|
498 |
+
return opts;
|
499 |
+
}
|
500 |
+
|
501 |
+
// save off original opts so we can restore after clearing state
|
502 |
+
function saveOriginalOpts(opts) {
|
503 |
+
opts.original = { before: [], after: [] };
|
504 |
+
opts.original.cssBefore = $.extend({}, opts.cssBefore);
|
505 |
+
opts.original.cssAfter = $.extend({}, opts.cssAfter);
|
506 |
+
opts.original.animIn = $.extend({}, opts.animIn);
|
507 |
+
opts.original.animOut = $.extend({}, opts.animOut);
|
508 |
+
$.each(opts.before, function() { opts.original.before.push(this); });
|
509 |
+
$.each(opts.after, function() { opts.original.after.push(this); });
|
510 |
+
}
|
511 |
+
|
512 |
+
function supportMultiTransitions(opts) {
|
513 |
+
var i, tx, txs = $.fn.cycle.transitions;
|
514 |
+
// look for multiple effects
|
515 |
+
if (opts.fx.indexOf(',') > 0) {
|
516 |
+
opts.multiFx = true;
|
517 |
+
opts.fxs = opts.fx.replace(/\s*/g,'').split(',');
|
518 |
+
// discard any bogus effect names
|
519 |
+
for (i=0; i < opts.fxs.length; i++) {
|
520 |
+
var fx = opts.fxs[i];
|
521 |
+
tx = txs[fx];
|
522 |
+
if (!tx || !txs.hasOwnProperty(fx) || !$.isFunction(tx)) {
|
523 |
+
log('discarding unknown transition: ',fx);
|
524 |
+
opts.fxs.splice(i,1);
|
525 |
+
i--;
|
526 |
+
}
|
527 |
+
}
|
528 |
+
// if we have an empty list then we threw everything away!
|
529 |
+
if (!opts.fxs.length) {
|
530 |
+
log('No valid transitions named; slideshow terminating.');
|
531 |
+
return false;
|
532 |
+
}
|
533 |
+
}
|
534 |
+
else if (opts.fx == 'all') { // auto-gen the list of transitions
|
535 |
+
opts.multiFx = true;
|
536 |
+
opts.fxs = [];
|
537 |
+
for (var p in txs) {
|
538 |
+
if (txs.hasOwnProperty(p)) {
|
539 |
+
tx = txs[p];
|
540 |
+
if (txs.hasOwnProperty(p) && $.isFunction(tx))
|
541 |
+
opts.fxs.push(p);
|
542 |
+
}
|
543 |
+
}
|
544 |
+
}
|
545 |
+
if (opts.multiFx && opts.randomizeEffects) {
|
546 |
+
// munge the fxs array to make effect selection random
|
547 |
+
var r1 = Math.floor(Math.random() * 20) + 30;
|
548 |
+
for (i = 0; i < r1; i++) {
|
549 |
+
var r2 = Math.floor(Math.random() * opts.fxs.length);
|
550 |
+
opts.fxs.push(opts.fxs.splice(r2,1)[0]);
|
551 |
+
}
|
552 |
+
debug('randomized fx sequence: ',opts.fxs);
|
553 |
+
}
|
554 |
+
return true;
|
555 |
+
}
|
556 |
+
|
557 |
+
// provide a mechanism for adding slides after the slideshow has started
|
558 |
+
function exposeAddSlide(opts, els) {
|
559 |
+
opts.addSlide = function(newSlide, prepend) {
|
560 |
+
var $s = $(newSlide), s = $s[0];
|
561 |
+
if (!opts.autostopCount)
|
562 |
+
opts.countdown++;
|
563 |
+
els[prepend?'unshift':'push'](s);
|
564 |
+
if (opts.els)
|
565 |
+
opts.els[prepend?'unshift':'push'](s); // shuffle needs this
|
566 |
+
opts.slideCount = els.length;
|
567 |
+
|
568 |
+
// add the slide to the random map and resort
|
569 |
+
if (opts.random) {
|
570 |
+
opts.randomMap.push(opts.slideCount-1);
|
571 |
+
opts.randomMap.sort(function(a,b) {return Math.random() - 0.5;});
|
572 |
+
}
|
573 |
+
|
574 |
+
$s.css('position','absolute');
|
575 |
+
$s[prepend?'prependTo':'appendTo'](opts.$cont);
|
576 |
+
|
577 |
+
if (prepend) {
|
578 |
+
opts.currSlide++;
|
579 |
+
opts.nextSlide++;
|
580 |
+
}
|
581 |
+
|
582 |
+
if (!$.support.opacity && opts.cleartype && !opts.cleartypeNoBg)
|
583 |
+
clearTypeFix($s);
|
584 |
+
|
585 |
+
if (opts.fit && opts.width)
|
586 |
+
$s.width(opts.width);
|
587 |
+
if (opts.fit && opts.height && opts.height != 'auto')
|
588 |
+
$s.height(opts.height);
|
589 |
+
s.cycleH = (opts.fit && opts.height) ? opts.height : $s.height();
|
590 |
+
s.cycleW = (opts.fit && opts.width) ? opts.width : $s.width();
|
591 |
+
|
592 |
+
$s.css(opts.cssBefore);
|
593 |
+
|
594 |
+
if (opts.pager || opts.pagerAnchorBuilder)
|
595 |
+
$.fn.cycle.createPagerAnchor(els.length-1, s, $(opts.pager), els, opts);
|
596 |
+
|
597 |
+
if ($.isFunction(opts.onAddSlide))
|
598 |
+
opts.onAddSlide($s);
|
599 |
+
else
|
600 |
+
$s.hide(); // default behavior
|
601 |
+
};
|
602 |
+
}
|
603 |
+
|
604 |
+
// reset internal state; we do this on every pass in order to support multiple effects
|
605 |
+
$.fn.cycle.resetState = function(opts, fx) {
|
606 |
+
fx = fx || opts.fx;
|
607 |
+
opts.before = []; opts.after = [];
|
608 |
+
opts.cssBefore = $.extend({}, opts.original.cssBefore);
|
609 |
+
opts.cssAfter = $.extend({}, opts.original.cssAfter);
|
610 |
+
opts.animIn = $.extend({}, opts.original.animIn);
|
611 |
+
opts.animOut = $.extend({}, opts.original.animOut);
|
612 |
+
opts.fxFn = null;
|
613 |
+
$.each(opts.original.before, function() { opts.before.push(this); });
|
614 |
+
$.each(opts.original.after, function() { opts.after.push(this); });
|
615 |
+
|
616 |
+
// re-init
|
617 |
+
var init = $.fn.cycle.transitions[fx];
|
618 |
+
if ($.isFunction(init))
|
619 |
+
init(opts.$cont, $(opts.elements), opts);
|
620 |
+
};
|
621 |
+
|
622 |
+
// this is the main engine fn, it handles the timeouts, callbacks and slide index mgmt
|
623 |
+
function go(els, opts, manual, fwd) {
|
624 |
+
var p = opts.$cont[0], curr = els[opts.currSlide], next = els[opts.nextSlide];
|
625 |
+
|
626 |
+
// opts.busy is true if we're in the middle of an animation
|
627 |
+
if (manual && opts.busy && opts.manualTrump) {
|
628 |
+
// let manual transitions requests trump active ones
|
629 |
+
debug('manualTrump in go(), stopping active transition');
|
630 |
+
$(els).stop(true,true);
|
631 |
+
opts.busy = 0;
|
632 |
+
clearTimeout(p.cycleTimeout);
|
633 |
+
}
|
634 |
+
|
635 |
+
// don't begin another timeout-based transition if there is one active
|
636 |
+
if (opts.busy) {
|
637 |
+
debug('transition active, ignoring new tx request');
|
638 |
+
return;
|
639 |
+
}
|
640 |
+
|
641 |
+
|
642 |
+
// stop cycling if we have an outstanding stop request
|
643 |
+
if (p.cycleStop != opts.stopCount || p.cycleTimeout === 0 && !manual)
|
644 |
+
return;
|
645 |
+
|
646 |
+
// check to see if we should stop cycling based on autostop options
|
647 |
+
if (!manual && !p.cyclePause && !opts.bounce &&
|
648 |
+
((opts.autostop && (--opts.countdown <= 0)) ||
|
649 |
+
(opts.nowrap && !opts.random && opts.nextSlide < opts.currSlide))) {
|
650 |
+
if (opts.end)
|
651 |
+
opts.end(opts);
|
652 |
+
return;
|
653 |
+
}
|
654 |
+
|
655 |
+
// if slideshow is paused, only transition on a manual trigger
|
656 |
+
var changed = false;
|
657 |
+
if ((manual || !p.cyclePause) && (opts.nextSlide != opts.currSlide)) {
|
658 |
+
changed = true;
|
659 |
+
var fx = opts.fx;
|
660 |
+
// keep trying to get the slide size if we don't have it yet
|
661 |
+
curr.cycleH = curr.cycleH || $(curr).height();
|
662 |
+
curr.cycleW = curr.cycleW || $(curr).width();
|
663 |
+
next.cycleH = next.cycleH || $(next).height();
|
664 |
+
next.cycleW = next.cycleW || $(next).width();
|
665 |
+
|
666 |
+
// support multiple transition types
|
667 |
+
if (opts.multiFx) {
|
668 |
+
if (fwd && (opts.lastFx === undefined || ++opts.lastFx >= opts.fxs.length))
|
669 |
+
opts.lastFx = 0;
|
670 |
+
else if (!fwd && (opts.lastFx === undefined || --opts.lastFx < 0))
|
671 |
+
opts.lastFx = opts.fxs.length - 1;
|
672 |
+
fx = opts.fxs[opts.lastFx];
|
673 |
+
}
|
674 |
+
|
675 |
+
// one-time fx overrides apply to: $('div').cycle(3,'zoom');
|
676 |
+
if (opts.oneTimeFx) {
|
677 |
+
fx = opts.oneTimeFx;
|
678 |
+
opts.oneTimeFx = null;
|
679 |
+
}
|
680 |
+
|
681 |
+
$.fn.cycle.resetState(opts, fx);
|
682 |
+
|
683 |
+
// run the before callbacks
|
684 |
+
if (opts.before.length)
|
685 |
+
$.each(opts.before, function(i,o) {
|
686 |
+
if (p.cycleStop != opts.stopCount) return;
|
687 |
+
o.apply(next, [curr, next, opts, fwd]);
|
688 |
+
});
|
689 |
+
|
690 |
+
// stage the after callacks
|
691 |
+
var after = function() {
|
692 |
+
opts.busy = 0;
|
693 |
+
$.each(opts.after, function(i,o) {
|
694 |
+
if (p.cycleStop != opts.stopCount) return;
|
695 |
+
o.apply(next, [curr, next, opts, fwd]);
|
696 |
+
});
|
697 |
+
if (!p.cycleStop) {
|
698 |
+
// queue next transition
|
699 |
+
queueNext();
|
700 |
+
}
|
701 |
+
};
|
702 |
+
|
703 |
+
debug('tx firing('+fx+'); currSlide: ' + opts.currSlide + '; nextSlide: ' + opts.nextSlide);
|
704 |
+
|
705 |
+
// get ready to perform the transition
|
706 |
+
opts.busy = 1;
|
707 |
+
if (opts.fxFn) // fx function provided?
|
708 |
+
opts.fxFn(curr, next, opts, after, fwd, manual && opts.fastOnEvent);
|
709 |
+
else if ($.isFunction($.fn.cycle[opts.fx])) // fx plugin ?
|
710 |
+
$.fn.cycle[opts.fx](curr, next, opts, after, fwd, manual && opts.fastOnEvent);
|
711 |
+
else
|
712 |
+
$.fn.cycle.custom(curr, next, opts, after, fwd, manual && opts.fastOnEvent);
|
713 |
+
}
|
714 |
+
else {
|
715 |
+
queueNext();
|
716 |
+
}
|
717 |
+
|
718 |
+
if (changed || opts.nextSlide == opts.currSlide) {
|
719 |
+
// calculate the next slide
|
720 |
+
var roll;
|
721 |
+
opts.lastSlide = opts.currSlide;
|
722 |
+
if (opts.random) {
|
723 |
+
opts.currSlide = opts.nextSlide;
|
724 |
+
if (++opts.randomIndex == els.length) {
|
725 |
+
opts.randomIndex = 0;
|
726 |
+
opts.randomMap.sort(function(a,b) {return Math.random() - 0.5;});
|
727 |
+
}
|
728 |
+
opts.nextSlide = opts.randomMap[opts.randomIndex];
|
729 |
+
if (opts.nextSlide == opts.currSlide)
|
730 |
+
opts.nextSlide = (opts.currSlide == opts.slideCount - 1) ? 0 : opts.currSlide + 1;
|
731 |
+
}
|
732 |
+
else if (opts.backwards) {
|
733 |
+
roll = (opts.nextSlide - 1) < 0;
|
734 |
+
if (roll && opts.bounce) {
|
735 |
+
opts.backwards = !opts.backwards;
|
736 |
+
opts.nextSlide = 1;
|
737 |
+
opts.currSlide = 0;
|
738 |
+
}
|
739 |
+
else {
|
740 |
+
opts.nextSlide = roll ? (els.length-1) : opts.nextSlide-1;
|
741 |
+
opts.currSlide = roll ? 0 : opts.nextSlide+1;
|
742 |
+
}
|
743 |
+
}
|
744 |
+
else { // sequence
|
745 |
+
roll = (opts.nextSlide + 1) == els.length;
|
746 |
+
if (roll && opts.bounce) {
|
747 |
+
opts.backwards = !opts.backwards;
|
748 |
+
opts.nextSlide = els.length-2;
|
749 |
+
opts.currSlide = els.length-1;
|
750 |
+
}
|
751 |
+
else {
|
752 |
+
opts.nextSlide = roll ? 0 : opts.nextSlide+1;
|
753 |
+
opts.currSlide = roll ? els.length-1 : opts.nextSlide-1;
|
754 |
+
}
|
755 |
+
}
|
756 |
+
}
|
757 |
+
if (changed && opts.pager)
|
758 |
+
opts.updateActivePagerLink(opts.pager, opts.currSlide, opts.activePagerClass);
|
759 |
+
|
760 |
+
function queueNext() {
|
761 |
+
// stage the next transition
|
762 |
+
var ms = 0, timeout = opts.timeout;
|
763 |
+
if (opts.timeout && !opts.continuous) {
|
764 |
+
ms = getTimeout(els[opts.currSlide], els[opts.nextSlide], opts, fwd);
|
765 |
+
if (opts.fx == 'shuffle')
|
766 |
+
ms -= opts.speedOut;
|
767 |
+
}
|
768 |
+
else if (opts.continuous && p.cyclePause) // continuous shows work off an after callback, not this timer logic
|
769 |
+
ms = 10;
|
770 |
+
if (ms > 0)
|
771 |
+
p.cycleTimeout = setTimeout(function(){ go(els, opts, 0, !opts.backwards); }, ms);
|
772 |
+
}
|
773 |
+
}
|
774 |
+
|
775 |
+
// invoked after transition
|
776 |
+
$.fn.cycle.updateActivePagerLink = function(pager, currSlide, clsName) {
|
777 |
+
$(pager).each(function() {
|
778 |
+
$(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);
|
779 |
+
});
|
780 |
+
};
|
781 |
+
|
782 |
+
// calculate timeout value for current transition
|
783 |
+
function getTimeout(curr, next, opts, fwd) {
|
784 |
+
if (opts.timeoutFn) {
|
785 |
+
// call user provided calc fn
|
786 |
+
var t = opts.timeoutFn.call(curr,curr,next,opts,fwd);
|
787 |
+
while (opts.fx != 'none' && (t - opts.speed) < 250) // sanitize timeout
|
788 |
+
t += opts.speed;
|
789 |
+
debug('calculated timeout: ' + t + '; speed: ' + opts.speed);
|
790 |
+
if (t !== false)
|
791 |
+
return t;
|
792 |
+
}
|
793 |
+
return opts.timeout;
|
794 |
+
}
|
795 |
+
|
796 |
+
// expose next/prev function, caller must pass in state
|
797 |
+
$.fn.cycle.next = function(opts) { advance(opts,1); };
|
798 |
+
$.fn.cycle.prev = function(opts) { advance(opts,0);};
|
799 |
+
|
800 |
+
// advance slide forward or back
|
801 |
+
function advance(opts, moveForward) {
|
802 |
+
var val = moveForward ? 1 : -1;
|
803 |
+
var els = opts.elements;
|
804 |
+
var p = opts.$cont[0], timeout = p.cycleTimeout;
|
805 |
+
if (timeout) {
|
806 |
+
clearTimeout(timeout);
|
807 |
+
p.cycleTimeout = 0;
|
808 |
+
}
|
809 |
+
if (opts.random && val < 0) {
|
810 |
+
// move back to the previously display slide
|
811 |
+
opts.randomIndex--;
|
812 |
+
if (--opts.randomIndex == -2)
|
813 |
+
opts.randomIndex = els.length-2;
|
814 |
+
else if (opts.randomIndex == -1)
|
815 |
+
opts.randomIndex = els.length-1;
|
816 |
+
opts.nextSlide = opts.randomMap[opts.randomIndex];
|
817 |
+
}
|
818 |
+
else if (opts.random) {
|
819 |
+
opts.nextSlide = opts.randomMap[opts.randomIndex];
|
820 |
+
}
|
821 |
+
else {
|
822 |
+
opts.nextSlide = opts.currSlide + val;
|
823 |
+
if (opts.nextSlide < 0) {
|
824 |
+
if (opts.nowrap) return false;
|
825 |
+
opts.nextSlide = els.length - 1;
|
826 |
+
}
|
827 |
+
else if (opts.nextSlide >= els.length) {
|
828 |
+
if (opts.nowrap) return false;
|
829 |
+
opts.nextSlide = 0;
|
830 |
+
}
|
831 |
+
}
|
832 |
+
|
833 |
+
var cb = opts.onPrevNextEvent || opts.prevNextClick; // prevNextClick is deprecated
|
834 |
+
if ($.isFunction(cb))
|
835 |
+
cb(val > 0, opts.nextSlide, els[opts.nextSlide]);
|
836 |
+
go(els, opts, 1, moveForward);
|
837 |
+
return false;
|
838 |
+
}
|
839 |
+
|
840 |
+
function buildPager(els, opts) {
|
841 |
+
var $p = $(opts.pager);
|
842 |
+
$.each(els, function(i,o) {
|
843 |
+
$.fn.cycle.createPagerAnchor(i,o,$p,els,opts);
|
844 |
+
});
|
845 |
+
opts.updateActivePagerLink(opts.pager, opts.startingSlide, opts.activePagerClass);
|
846 |
+
}
|
847 |
+
|
848 |
+
$.fn.cycle.createPagerAnchor = function(i, el, $p, els, opts) {
|
849 |
+
var a;
|
850 |
+
if ($.isFunction(opts.pagerAnchorBuilder)) {
|
851 |
+
a = opts.pagerAnchorBuilder(i,el);
|
852 |
+
debug('pagerAnchorBuilder('+i+', el) returned: ' + a);
|
853 |
+
}
|
854 |
+
else
|
855 |
+
a = '<a href="#">'+(i+1)+'</a>';
|
856 |
+
|
857 |
+
if (!a)
|
858 |
+
return;
|
859 |
+
var $a = $(a);
|
860 |
+
// don't reparent if anchor is in the dom
|
861 |
+
if ($a.parents('body').length === 0) {
|
862 |
+
var arr = [];
|
863 |
+
if ($p.length > 1) {
|
864 |
+
$p.each(function() {
|
865 |
+
var $clone = $a.clone(true);
|
866 |
+
$(this).append($clone);
|
867 |
+
arr.push($clone[0]);
|
868 |
+
});
|
869 |
+
$a = $(arr);
|
870 |
+
}
|
871 |
+
else {
|
872 |
+
$a.appendTo($p);
|
873 |
+
}
|
874 |
+
}
|
875 |
+
|
876 |
+
opts.pagerAnchors = opts.pagerAnchors || [];
|
877 |
+
opts.pagerAnchors.push($a);
|
878 |
+
|
879 |
+
var pagerFn = function(e) {
|
880 |
+
e.preventDefault();
|
881 |
+
opts.nextSlide = i;
|
882 |
+
var p = opts.$cont[0], timeout = p.cycleTimeout;
|
883 |
+
if (timeout) {
|
884 |
+
clearTimeout(timeout);
|
885 |
+
p.cycleTimeout = 0;
|
886 |
+
}
|
887 |
+
var cb = opts.onPagerEvent || opts.pagerClick; // pagerClick is deprecated
|
888 |
+
if ($.isFunction(cb))
|
889 |
+
cb(opts.nextSlide, els[opts.nextSlide]);
|
890 |
+
go(els,opts,1,opts.currSlide < i); // trigger the trans
|
891 |
+
// return false; // <== allow bubble
|
892 |
+
};
|
893 |
+
|
894 |
+
if ( /mouseenter|mouseover/i.test(opts.pagerEvent) ) {
|
895 |
+
$a.hover(pagerFn, function(){/* no-op */} );
|
896 |
+
}
|
897 |
+
else {
|
898 |
+
$a.bind(opts.pagerEvent, pagerFn);
|
899 |
+
}
|
900 |
+
|
901 |
+
if ( ! /^click/.test(opts.pagerEvent) && !opts.allowPagerClickBubble)
|
902 |
+
$a.bind('click.cycle', function(){return false;}); // suppress click
|
903 |
+
|
904 |
+
var cont = opts.$cont[0];
|
905 |
+
var pauseFlag = false; // https://github.com/malsup/cycle/issues/44
|
906 |
+
if (opts.pauseOnPagerHover) {
|
907 |
+
$a.hover(
|
908 |
+
function() {
|
909 |
+
pauseFlag = true;
|
910 |
+
cont.cyclePause++;
|
911 |
+
triggerPause(cont,true,true);
|
912 |
+
}, function() {
|
913 |
+
if (pauseFlag)
|
914 |
+
cont.cyclePause--;
|
915 |
+
triggerPause(cont,true,true);
|
916 |
+
}
|
917 |
+
);
|
918 |
+
}
|
919 |
+
};
|
920 |
+
|
921 |
+
// helper fn to calculate the number of slides between the current and the next
|
922 |
+
$.fn.cycle.hopsFromLast = function(opts, fwd) {
|
923 |
+
var hops, l = opts.lastSlide, c = opts.currSlide;
|
924 |
+
if (fwd)
|
925 |
+
hops = c > l ? c - l : opts.slideCount - l;
|
926 |
+
else
|
927 |
+
hops = c < l ? l - c : l + opts.slideCount - c;
|
928 |
+
return hops;
|
929 |
+
};
|
930 |
+
|
931 |
+
// fix clearType problems in ie6 by setting an explicit bg color
|
932 |
+
// (otherwise text slides look horrible during a fade transition)
|
933 |
+
function clearTypeFix($slides) {
|
934 |
+
debug('applying clearType background-color hack');
|
935 |
+
function hex(s) {
|
936 |
+
s = parseInt(s,10).toString(16);
|
937 |
+
return s.length < 2 ? '0'+s : s;
|
938 |
+
}
|
939 |
+
function getBg(e) {
|
940 |
+
for ( ; e && e.nodeName.toLowerCase() != 'html'; e = e.parentNode) {
|
941 |
+
var v = $.css(e,'background-color');
|
942 |
+
if (v && v.indexOf('rgb') >= 0 ) {
|
943 |
+
var rgb = v.match(/\d+/g);
|
944 |
+
return '#'+ hex(rgb[0]) + hex(rgb[1]) + hex(rgb[2]);
|
945 |
+
}
|
946 |
+
if (v && v != 'transparent')
|
947 |
+
return v;
|
948 |
+
}
|
949 |
+
return '#ffffff';
|
950 |
+
}
|
951 |
+
$slides.each(function() { $(this).css('background-color', getBg(this)); });
|
952 |
+
}
|
953 |
+
|
954 |
+
// reset common props before the next transition
|
955 |
+
$.fn.cycle.commonReset = function(curr,next,opts,w,h,rev) {
|
956 |
+
$(opts.elements).not(curr).hide();
|
957 |
+
if (typeof opts.cssBefore.opacity == 'undefined')
|
958 |
+
opts.cssBefore.opacity = 1;
|
959 |
+
opts.cssBefore.display = 'block';
|
960 |
+
if (opts.slideResize && w !== false && next.cycleW > 0)
|
961 |
+
opts.cssBefore.width = next.cycleW;
|
962 |
+
if (opts.slideResize && h !== false && next.cycleH > 0)
|
963 |
+
opts.cssBefore.height = next.cycleH;
|
964 |
+
opts.cssAfter = opts.cssAfter || {};
|
965 |
+
opts.cssAfter.display = 'none';
|
966 |
+
$(curr).css('zIndex',opts.slideCount + (rev === true ? 1 : 0));
|
967 |
+
$(next).css('zIndex',opts.slideCount + (rev === true ? 0 : 1));
|
968 |
+
};
|
969 |
+
|
970 |
+
// the actual fn for effecting a transition
|
971 |
+
$.fn.cycle.custom = function(curr, next, opts, cb, fwd, speedOverride) {
|
972 |
+
var $l = $(curr), $n = $(next);
|
973 |
+
var speedIn = opts.speedIn, speedOut = opts.speedOut, easeIn = opts.easeIn, easeOut = opts.easeOut;
|
974 |
+
$n.css(opts.cssBefore);
|
975 |
+
if (speedOverride) {
|
976 |
+
if (typeof speedOverride == 'number')
|
977 |
+
speedIn = speedOut = speedOverride;
|
978 |
+
else
|
979 |
+
speedIn = speedOut = 1;
|
980 |
+
easeIn = easeOut = null;
|
981 |
+
}
|
982 |
+
var fn = function() {
|
983 |
+
$n.animate(opts.animIn, speedIn, easeIn, function() {
|
984 |
+
cb();
|
985 |
+
});
|
986 |
+
};
|
987 |
+
$l.animate(opts.animOut, speedOut, easeOut, function() {
|
988 |
+
$l.css(opts.cssAfter);
|
989 |
+
if (!opts.sync)
|
990 |
+
fn();
|
991 |
+
});
|
992 |
+
if (opts.sync) fn();
|
993 |
+
};
|
994 |
+
|
995 |
+
// transition definitions - only fade is defined here, transition pack defines the rest
|
996 |
+
$.fn.cycle.transitions = {
|
997 |
+
fade: function($cont, $slides, opts) {
|
998 |
+
$slides.not(':eq('+opts.currSlide+')').css('opacity',0);
|
999 |
+
opts.before.push(function(curr,next,opts) {
|
1000 |
+
$.fn.cycle.commonReset(curr,next,opts);
|
1001 |
+
opts.cssBefore.opacity = 0;
|
1002 |
+
});
|
1003 |
+
opts.animIn = { opacity: 1 };
|
1004 |
+
opts.animOut = { opacity: 0 };
|
1005 |
+
opts.cssBefore = { top: 0, left: 0 };
|
1006 |
+
}
|
1007 |
+
};
|
1008 |
+
|
1009 |
+
$.fn.cycle.ver = function() { return ver; };
|
1010 |
+
|
1011 |
+
// override these globally if you like (they are all optional)
|
1012 |
+
$.fn.cycle.defaults = {
|
1013 |
+
activePagerClass: 'activeSlide', // class name used for the active pager link
|
1014 |
+
after: null, // transition callback (scope set to element that was shown): function(currSlideElement, nextSlideElement, options, forwardFlag)
|
1015 |
+
allowPagerClickBubble: false, // allows or prevents click event on pager anchors from bubbling
|
1016 |
+
animIn: null, // properties that define how the slide animates in
|
1017 |
+
animOut: null, // properties that define how the slide animates out
|
1018 |
+
aspect: false, // preserve aspect ratio during fit resizing, cropping if necessary (must be used with fit option)
|
1019 |
+
autostop: 0, // true to end slideshow after X transitions (where X == slide count)
|
1020 |
+
autostopCount: 0, // number of transitions (optionally used with autostop to define X)
|
1021 |
+
backwards: false, // true to start slideshow at last slide and move backwards through the stack
|
1022 |
+
before: null, // transition callback (scope set to element to be shown): function(currSlideElement, nextSlideElement, options, forwardFlag)
|
1023 |
+
center: null, // set to true to have cycle add top/left margin to each slide (use with width and height options)
|
1024 |
+
cleartype: !$.support.opacity, // true if clearType corrections should be applied (for IE)
|
1025 |
+
cleartypeNoBg: false, // set to true to disable extra cleartype fixing (leave false to force background color setting on slides)
|
1026 |
+
containerResize: 1, // resize container to fit largest slide
|
1027 |
+
continuous: 0, // true to start next transition immediately after current one completes
|
1028 |
+
cssAfter: null, // properties that defined the state of the slide after transitioning out
|
1029 |
+
cssBefore: null, // properties that define the initial state of the slide before transitioning in
|
1030 |
+
delay: 0, // additional delay (in ms) for first transition (hint: can be negative)
|
1031 |
+
easeIn: null, // easing for "in" transition
|
1032 |
+
easeOut: null, // easing for "out" transition
|
1033 |
+
easing: null, // easing method for both in and out transitions
|
1034 |
+
end: null, // callback invoked when the slideshow terminates (use with autostop or nowrap options): function(options)
|
1035 |
+
fastOnEvent: 0, // force fast transitions when triggered manually (via pager or prev/next); value == time in ms
|
1036 |
+
fit: 0, // force slides to fit container
|
1037 |
+
fx: 'fade', // name of transition effect (or comma separated names, ex: 'fade,scrollUp,shuffle')
|
1038 |
+
fxFn: null, // function used to control the transition: function(currSlideElement, nextSlideElement, options, afterCalback, forwardFlag)
|
1039 |
+
height: 'auto', // container height (if the 'fit' option is true, the slides will be set to this height as well)
|
1040 |
+
manualTrump: true, // causes manual transition to stop an active transition instead of being ignored
|
1041 |
+
metaAttr: 'cycle', // data- attribute that holds the option data for the slideshow
|
1042 |
+
next: null, // element, jQuery object, or jQuery selector string for the element to use as event trigger for next slide
|
1043 |
+
nowrap: 0, // true to prevent slideshow from wrapping
|
1044 |
+
onPagerEvent: null, // callback fn for pager events: function(zeroBasedSlideIndex, slideElement)
|
1045 |
+
onPrevNextEvent: null, // callback fn for prev/next events: function(isNext, zeroBasedSlideIndex, slideElement)
|
1046 |
+
pager: null, // element, jQuery object, or jQuery selector string for the element to use as pager container
|
1047 |
+
pagerAnchorBuilder: null, // callback fn for building anchor links: function(index, DOMelement)
|
1048 |
+
pagerEvent: 'click.cycle', // name of event which drives the pager navigation
|
1049 |
+
pause: 0, // true to enable "pause on hover"
|
1050 |
+
pauseOnPagerHover: 0, // true to pause when hovering over pager link
|
1051 |
+
prev: null, // element, jQuery object, or jQuery selector string for the element to use as event trigger for previous slide
|
1052 |
+
prevNextEvent: 'click.cycle',// event which drives the manual transition to the previous or next slide
|
1053 |
+
random: 0, // true for random, false for sequence (not applicable to shuffle fx)
|
1054 |
+
randomizeEffects: 1, // valid when multiple effects are used; true to make the effect sequence random
|
1055 |
+
requeueOnImageNotLoaded: true, // requeue the slideshow if any image slides are not yet loaded
|
1056 |
+
requeueTimeout: 250, // ms delay for requeue
|
1057 |
+
rev: 0, // causes animations to transition in reverse (for effects that support it such as scrollHorz/scrollVert/shuffle)
|
1058 |
+
shuffle: null, // coords for shuffle animation, ex: { top:15, left: 200 }
|
1059 |
+
skipInitializationCallbacks: false, // set to true to disable the first before/after callback that occurs prior to any transition
|
1060 |
+
slideExpr: null, // expression for selecting slides (if something other than all children is required)
|
1061 |
+
slideResize: 1, // force slide width/height to fixed size before every transition
|
1062 |
+
speed: 1000, // speed of the transition (any valid fx speed value)
|
1063 |
+
speedIn: null, // speed of the 'in' transition
|
1064 |
+
speedOut: null, // speed of the 'out' transition
|
1065 |
+
startingSlide: undefined,// zero-based index of the first slide to be displayed
|
1066 |
+
sync: 1, // true if in/out transitions should occur simultaneously
|
1067 |
+
timeout: 4000, // milliseconds between slide transitions (0 to disable auto advance)
|
1068 |
+
timeoutFn: null, // callback for determining per-slide timeout value: function(currSlideElement, nextSlideElement, options, forwardFlag)
|
1069 |
+
updateActivePagerLink: null,// callback fn invoked to update the active pager link (adds/removes activePagerClass style)
|
1070 |
+
width: null // container width (if the 'fit' option is true, the slides will be set to this width as well)
|
1071 |
+
};
|
1072 |
+
|
1073 |
+
})(jQuery);
|
1074 |
+
|
1075 |
+
|
1076 |
+
/*!
|
1077 |
+
* jQuery Cycle Plugin Transition Definitions
|
1078 |
+
* This script is a plugin for the jQuery Cycle Plugin
|
1079 |
+
* Examples and documentation at: http://malsup.com/jquery/cycle/
|
1080 |
+
* Copyright (c) 2007-2010 M. Alsup
|
1081 |
+
* Version: 2.73
|
1082 |
+
* Dual licensed under the MIT and GPL licenses:
|
1083 |
+
* http://www.opensource.org/licenses/mit-license.php
|
1084 |
+
* http://www.gnu.org/licenses/gpl.html
|
1085 |
+
*/
|
1086 |
+
(function($) {
|
1087 |
+
"use strict";
|
1088 |
+
|
1089 |
+
//
|
1090 |
+
// These functions define slide initialization and properties for the named
|
1091 |
+
// transitions. To save file size feel free to remove any of these that you
|
1092 |
+
// don't need.
|
1093 |
+
//
|
1094 |
+
$.fn.cycle.transitions.none = function($cont, $slides, opts) {
|
1095 |
+
opts.fxFn = function(curr,next,opts,after){
|
1096 |
+
$(next).show();
|
1097 |
+
$(curr).hide();
|
1098 |
+
after();
|
1099 |
+
};
|
1100 |
+
};
|
1101 |
+
|
1102 |
+
// not a cross-fade, fadeout only fades out the top slide
|
1103 |
+
$.fn.cycle.transitions.fadeout = function($cont, $slides, opts) {
|
1104 |
+
$slides.not(':eq('+opts.currSlide+')').css({ display: 'block', 'opacity': 1 });
|
1105 |
+
opts.before.push(function(curr,next,opts,w,h,rev) {
|
1106 |
+
$(curr).css('zIndex',opts.slideCount + (rev !== true ? 1 : 0));
|
1107 |
+
$(next).css('zIndex',opts.slideCount + (rev !== true ? 0 : 1));
|
1108 |
+
});
|
1109 |
+
opts.animIn.opacity = 1;
|
1110 |
+
opts.animOut.opacity = 0;
|
1111 |
+
opts.cssBefore.opacity = 1;
|
1112 |
+
opts.cssBefore.display = 'block';
|
1113 |
+
opts.cssAfter.zIndex = 0;
|
1114 |
+
};
|
1115 |
+
|
1116 |
+
// scrollUp/Down/Left/Right
|
1117 |
+
$.fn.cycle.transitions.scrollUp = function($cont, $slides, opts) {
|
1118 |
+
$cont.css('overflow','hidden');
|
1119 |
+
opts.before.push($.fn.cycle.commonReset);
|
1120 |
+
var h = $cont.height();
|
1121 |
+
opts.cssBefore.top = h;
|
1122 |
+
opts.cssBefore.left = 0;
|
1123 |
+
opts.cssFirst.top = 0;
|
1124 |
+
opts.animIn.top = 0;
|
1125 |
+
opts.animOut.top = -h;
|
1126 |
+
};
|
1127 |
+
$.fn.cycle.transitions.scrollDown = function($cont, $slides, opts) {
|
1128 |
+
$cont.css('overflow','hidden');
|
1129 |
+
opts.before.push($.fn.cycle.commonReset);
|
1130 |
+
var h = $cont.height();
|
1131 |
+
opts.cssFirst.top = 0;
|
1132 |
+
opts.cssBefore.top = -h;
|
1133 |
+
opts.cssBefore.left = 0;
|
1134 |
+
opts.animIn.top = 0;
|
1135 |
+
opts.animOut.top = h;
|
1136 |
+
};
|
1137 |
+
$.fn.cycle.transitions.scrollLeft = function($cont, $slides, opts) {
|
1138 |
+
$cont.css('overflow','hidden');
|
1139 |
+
opts.before.push($.fn.cycle.commonReset);
|
1140 |
+
var w = $cont.width();
|
1141 |
+
opts.cssFirst.left = 0;
|
1142 |
+
opts.cssBefore.left = w;
|
1143 |
+
opts.cssBefore.top = 0;
|
1144 |
+
opts.animIn.left = 0;
|
1145 |
+
opts.animOut.left = 0-w;
|
1146 |
+
};
|
1147 |
+
$.fn.cycle.transitions.scrollRight = function($cont, $slides, opts) {
|
1148 |
+
$cont.css('overflow','hidden');
|
1149 |
+
opts.before.push($.fn.cycle.commonReset);
|
1150 |
+
var w = $cont.width();
|
1151 |
+
opts.cssFirst.left = 0;
|
1152 |
+
opts.cssBefore.left = -w;
|
1153 |
+
opts.cssBefore.top = 0;
|
1154 |
+
opts.animIn.left = 0;
|
1155 |
+
opts.animOut.left = w;
|
1156 |
+
};
|
1157 |
+
$.fn.cycle.transitions.scrollHorz = function($cont, $slides, opts) {
|
1158 |
+
$cont.css('overflow','hidden').width();
|
1159 |
+
opts.before.push(function(curr, next, opts, fwd) {
|
1160 |
+
if (opts.rev)
|
1161 |
+
fwd = !fwd;
|
1162 |
+
$.fn.cycle.commonReset(curr,next,opts);
|
1163 |
+
opts.cssBefore.left = fwd ? (next.cycleW-1) : (1-next.cycleW);
|
1164 |
+
opts.animOut.left = fwd ? -curr.cycleW : curr.cycleW;
|
1165 |
+
});
|
1166 |
+
opts.cssFirst.left = 0;
|
1167 |
+
opts.cssBefore.top = 0;
|
1168 |
+
opts.animIn.left = 0;
|
1169 |
+
opts.animOut.top = 0;
|
1170 |
+
};
|
1171 |
+
$.fn.cycle.transitions.scrollVert = function($cont, $slides, opts) {
|
1172 |
+
$cont.css('overflow','hidden');
|
1173 |
+
opts.before.push(function(curr, next, opts, fwd) {
|
1174 |
+
if (opts.rev)
|
1175 |
+
fwd = !fwd;
|
1176 |
+
$.fn.cycle.commonReset(curr,next,opts);
|
1177 |
+
opts.cssBefore.top = fwd ? (1-next.cycleH) : (next.cycleH-1);
|
1178 |
+
opts.animOut.top = fwd ? curr.cycleH : -curr.cycleH;
|
1179 |
+
});
|
1180 |
+
opts.cssFirst.top = 0;
|
1181 |
+
opts.cssBefore.left = 0;
|
1182 |
+
opts.animIn.top = 0;
|
1183 |
+
opts.animOut.left = 0;
|
1184 |
+
};
|
1185 |
+
|
1186 |
+
// slideX/slideY
|
1187 |
+
$.fn.cycle.transitions.slideX = function($cont, $slides, opts) {
|
1188 |
+
opts.before.push(function(curr, next, opts) {
|
1189 |
+
$(opts.elements).not(curr).hide();
|
1190 |
+
$.fn.cycle.commonReset(curr,next,opts,false,true);
|
1191 |
+
opts.animIn.width = next.cycleW;
|
1192 |
+
});
|
1193 |
+
opts.cssBefore.left = 0;
|
1194 |
+
opts.cssBefore.top = 0;
|
1195 |
+
opts.cssBefore.width = 0;
|
1196 |
+
opts.animIn.width = 'show';
|
1197 |
+
opts.animOut.width = 0;
|
1198 |
+
};
|
1199 |
+
$.fn.cycle.transitions.slideY = function($cont, $slides, opts) {
|
1200 |
+
opts.before.push(function(curr, next, opts) {
|
1201 |
+
$(opts.elements).not(curr).hide();
|
1202 |
+
$.fn.cycle.commonReset(curr,next,opts,true,false);
|
1203 |
+
opts.animIn.height = next.cycleH;
|
1204 |
+
});
|
1205 |
+
opts.cssBefore.left = 0;
|
1206 |
+
opts.cssBefore.top = 0;
|
1207 |
+
opts.cssBefore.height = 0;
|
1208 |
+
opts.animIn.height = 'show';
|
1209 |
+
opts.animOut.height = 0;
|
1210 |
+
};
|
1211 |
+
|
1212 |
+
// shuffle
|
1213 |
+
$.fn.cycle.transitions.shuffle = function($cont, $slides, opts) {
|
1214 |
+
var i, w = $cont.css('overflow', 'visible').width();
|
1215 |
+
$slides.css({left: 0, top: 0});
|
1216 |
+
opts.before.push(function(curr,next,opts) {
|
1217 |
+
$.fn.cycle.commonReset(curr,next,opts,true,true,true);
|
1218 |
+
});
|
1219 |
+
// only adjust speed once!
|
1220 |
+
if (!opts.speedAdjusted) {
|
1221 |
+
opts.speed = opts.speed / 2; // shuffle has 2 transitions
|
1222 |
+
opts.speedAdjusted = true;
|
1223 |
+
}
|
1224 |
+
opts.random = 0;
|
1225 |
+
opts.shuffle = opts.shuffle || {left:-w, top:15};
|
1226 |
+
opts.els = [];
|
1227 |
+
for (i=0; i < $slides.length; i++)
|
1228 |
+
opts.els.push($slides[i]);
|
1229 |
+
|
1230 |
+
for (i=0; i < opts.currSlide; i++)
|
1231 |
+
opts.els.push(opts.els.shift());
|
1232 |
+
|
1233 |
+
// custom transition fn (hat tip to Benjamin Sterling for this bit of sweetness!)
|
1234 |
+
opts.fxFn = function(curr, next, opts, cb, fwd) {
|
1235 |
+
if (opts.rev)
|
1236 |
+
fwd = !fwd;
|
1237 |
+
var $el = fwd ? $(curr) : $(next);
|
1238 |
+
$(next).css(opts.cssBefore);
|
1239 |
+
var count = opts.slideCount;
|
1240 |
+
$el.animate(opts.shuffle, opts.speedIn, opts.easeIn, function() {
|
1241 |
+
var hops = $.fn.cycle.hopsFromLast(opts, fwd);
|
1242 |
+
for (var k=0; k < hops; k++) {
|
1243 |
+
if (fwd)
|
1244 |
+
opts.els.push(opts.els.shift());
|
1245 |
+
else
|
1246 |
+
opts.els.unshift(opts.els.pop());
|
1247 |
+
}
|
1248 |
+
if (fwd) {
|
1249 |
+
for (var i=0, len=opts.els.length; i < len; i++)
|
1250 |
+
$(opts.els[i]).css('z-index', len-i+count);
|
1251 |
+
}
|
1252 |
+
else {
|
1253 |
+
var z = $(curr).css('z-index');
|
1254 |
+
$el.css('z-index', parseInt(z,10)+1+count);
|
1255 |
+
}
|
1256 |
+
$el.animate({left:0, top:0}, opts.speedOut, opts.easeOut, function() {
|
1257 |
+
$(fwd ? this : curr).hide();
|
1258 |
+
if (cb) cb();
|
1259 |
+
});
|
1260 |
+
});
|
1261 |
+
};
|
1262 |
+
$.extend(opts.cssBefore, { display: 'block', opacity: 1, top: 0, left: 0 });
|
1263 |
+
};
|
1264 |
+
|
1265 |
+
// turnUp/Down/Left/Right
|
1266 |
+
$.fn.cycle.transitions.turnUp = function($cont, $slides, opts) {
|
1267 |
+
opts.before.push(function(curr, next, opts) {
|
1268 |
+
$.fn.cycle.commonReset(curr,next,opts,true,false);
|
1269 |
+
opts.cssBefore.top = next.cycleH;
|
1270 |
+
opts.animIn.height = next.cycleH;
|
1271 |
+
opts.animOut.width = next.cycleW;
|
1272 |
+
});
|
1273 |
+
opts.cssFirst.top = 0;
|
1274 |
+
opts.cssBefore.left = 0;
|
1275 |
+
opts.cssBefore.height = 0;
|
1276 |
+
opts.animIn.top = 0;
|
1277 |
+
opts.animOut.height = 0;
|
1278 |
+
};
|
1279 |
+
$.fn.cycle.transitions.turnDown = function($cont, $slides, opts) {
|
1280 |
+
opts.before.push(function(curr, next, opts) {
|
1281 |
+
$.fn.cycle.commonReset(curr,next,opts,true,false);
|
1282 |
+
opts.animIn.height = next.cycleH;
|
1283 |
+
opts.animOut.top = curr.cycleH;
|
1284 |
+
});
|
1285 |
+
opts.cssFirst.top = 0;
|
1286 |
+
opts.cssBefore.left = 0;
|
1287 |
+
opts.cssBefore.top = 0;
|
1288 |
+
opts.cssBefore.height = 0;
|
1289 |
+
opts.animOut.height = 0;
|
1290 |
+
};
|
1291 |
+
$.fn.cycle.transitions.turnLeft = function($cont, $slides, opts) {
|
1292 |
+
opts.before.push(function(curr, next, opts) {
|
1293 |
+
$.fn.cycle.commonReset(curr,next,opts,false,true);
|
1294 |
+
opts.cssBefore.left = next.cycleW;
|
1295 |
+
opts.animIn.width = next.cycleW;
|
1296 |
+
});
|
1297 |
+
opts.cssBefore.top = 0;
|
1298 |
+
opts.cssBefore.width = 0;
|
1299 |
+
opts.animIn.left = 0;
|
1300 |
+
opts.animOut.width = 0;
|
1301 |
+
};
|
1302 |
+
$.fn.cycle.transitions.turnRight = function($cont, $slides, opts) {
|
1303 |
+
opts.before.push(function(curr, next, opts) {
|
1304 |
+
$.fn.cycle.commonReset(curr,next,opts,false,true);
|
1305 |
+
opts.animIn.width = next.cycleW;
|
1306 |
+
opts.animOut.left = curr.cycleW;
|
1307 |
+
});
|
1308 |
+
$.extend(opts.cssBefore, { top: 0, left: 0, width: 0 });
|
1309 |
+
opts.animIn.left = 0;
|
1310 |
+
opts.animOut.width = 0;
|
1311 |
+
};
|
1312 |
+
|
1313 |
+
// zoom
|
1314 |
+
$.fn.cycle.transitions.zoom = function($cont, $slides, opts) {
|
1315 |
+
opts.before.push(function(curr, next, opts) {
|
1316 |
+
$.fn.cycle.commonReset(curr,next,opts,false,false,true);
|
1317 |
+
opts.cssBefore.top = next.cycleH/2;
|
1318 |
+
opts.cssBefore.left = next.cycleW/2;
|
1319 |
+
$.extend(opts.animIn, { top: 0, left: 0, width: next.cycleW, height: next.cycleH });
|
1320 |
+
$.extend(opts.animOut, { width: 0, height: 0, top: curr.cycleH/2, left: curr.cycleW/2 });
|
1321 |
+
});
|
1322 |
+
opts.cssFirst.top = 0;
|
1323 |
+
opts.cssFirst.left = 0;
|
1324 |
+
opts.cssBefore.width = 0;
|
1325 |
+
opts.cssBefore.height = 0;
|
1326 |
+
};
|
1327 |
+
|
1328 |
+
// fadeZoom
|
1329 |
+
$.fn.cycle.transitions.fadeZoom = function($cont, $slides, opts) {
|
1330 |
+
opts.before.push(function(curr, next, opts) {
|
1331 |
+
$.fn.cycle.commonReset(curr,next,opts,false,false);
|
1332 |
+
opts.cssBefore.left = next.cycleW/2;
|
1333 |
+
opts.cssBefore.top = next.cycleH/2;
|
1334 |
+
$.extend(opts.animIn, { top: 0, left: 0, width: next.cycleW, height: next.cycleH });
|
1335 |
+
});
|
1336 |
+
opts.cssBefore.width = 0;
|
1337 |
+
opts.cssBefore.height = 0;
|
1338 |
+
opts.animOut.opacity = 0;
|
1339 |
+
};
|
1340 |
+
|
1341 |
+
// blindX
|
1342 |
+
$.fn.cycle.transitions.blindX = function($cont, $slides, opts) {
|
1343 |
+
var w = $cont.css('overflow','hidden').width();
|
1344 |
+
opts.before.push(function(curr, next, opts) {
|
1345 |
+
$.fn.cycle.commonReset(curr,next,opts);
|
1346 |
+
opts.animIn.width = next.cycleW;
|
1347 |
+
opts.animOut.left = curr.cycleW;
|
1348 |
+
});
|
1349 |
+
opts.cssBefore.left = w;
|
1350 |
+
opts.cssBefore.top = 0;
|
1351 |
+
opts.animIn.left = 0;
|
1352 |
+
opts.animOut.left = w;
|
1353 |
+
};
|
1354 |
+
// blindY
|
1355 |
+
$.fn.cycle.transitions.blindY = function($cont, $slides, opts) {
|
1356 |
+
var h = $cont.css('overflow','hidden').height();
|
1357 |
+
opts.before.push(function(curr, next, opts) {
|
1358 |
+
$.fn.cycle.commonReset(curr,next,opts);
|
1359 |
+
opts.animIn.height = next.cycleH;
|
1360 |
+
opts.animOut.top = curr.cycleH;
|
1361 |
+
});
|
1362 |
+
opts.cssBefore.top = h;
|
1363 |
+
opts.cssBefore.left = 0;
|
1364 |
+
opts.animIn.top = 0;
|
1365 |
+
opts.animOut.top = h;
|
1366 |
+
};
|
1367 |
+
// blindZ
|
1368 |
+
$.fn.cycle.transitions.blindZ = function($cont, $slides, opts) {
|
1369 |
+
var h = $cont.css('overflow','hidden').height();
|
1370 |
+
var w = $cont.width();
|
1371 |
+
opts.before.push(function(curr, next, opts) {
|
1372 |
+
$.fn.cycle.commonReset(curr,next,opts);
|
1373 |
+
opts.animIn.height = next.cycleH;
|
1374 |
+
opts.animOut.top = curr.cycleH;
|
1375 |
+
});
|
1376 |
+
opts.cssBefore.top = h;
|
1377 |
+
opts.cssBefore.left = w;
|
1378 |
+
opts.animIn.top = 0;
|
1379 |
+
opts.animIn.left = 0;
|
1380 |
+
opts.animOut.top = h;
|
1381 |
+
opts.animOut.left = w;
|
1382 |
+
};
|
1383 |
+
|
1384 |
+
// growX - grow horizontally from centered 0 width
|
1385 |
+
$.fn.cycle.transitions.growX = function($cont, $slides, opts) {
|
1386 |
+
opts.before.push(function(curr, next, opts) {
|
1387 |
+
$.fn.cycle.commonReset(curr,next,opts,false,true);
|
1388 |
+
opts.cssBefore.left = this.cycleW/2;
|
1389 |
+
opts.animIn.left = 0;
|
1390 |
+
opts.animIn.width = this.cycleW;
|
1391 |
+
opts.animOut.left = 0;
|
1392 |
+
});
|
1393 |
+
opts.cssBefore.top = 0;
|
1394 |
+
opts.cssBefore.width = 0;
|
1395 |
+
};
|
1396 |
+
// growY - grow vertically from centered 0 height
|
1397 |
+
$.fn.cycle.transitions.growY = function($cont, $slides, opts) {
|
1398 |
+
opts.before.push(function(curr, next, opts) {
|
1399 |
+
$.fn.cycle.commonReset(curr,next,opts,true,false);
|
1400 |
+
opts.cssBefore.top = this.cycleH/2;
|
1401 |
+
opts.animIn.top = 0;
|
1402 |
+
opts.animIn.height = this.cycleH;
|
1403 |
+
opts.animOut.top = 0;
|
1404 |
+
});
|
1405 |
+
opts.cssBefore.height = 0;
|
1406 |
+
opts.cssBefore.left = 0;
|
1407 |
+
};
|
1408 |
+
|
1409 |
+
// curtainX - squeeze in both edges horizontally
|
1410 |
+
$.fn.cycle.transitions.curtainX = function($cont, $slides, opts) {
|
1411 |
+
opts.before.push(function(curr, next, opts) {
|
1412 |
+
$.fn.cycle.commonReset(curr,next,opts,false,true,true);
|
1413 |
+
opts.cssBefore.left = next.cycleW/2;
|
1414 |
+
opts.animIn.left = 0;
|
1415 |
+
opts.animIn.width = this.cycleW;
|
1416 |
+
opts.animOut.left = curr.cycleW/2;
|
1417 |
+
opts.animOut.width = 0;
|
1418 |
+
});
|
1419 |
+
opts.cssBefore.top = 0;
|
1420 |
+
opts.cssBefore.width = 0;
|
1421 |
+
};
|
1422 |
+
// curtainY - squeeze in both edges vertically
|
1423 |
+
$.fn.cycle.transitions.curtainY = function($cont, $slides, opts) {
|
1424 |
+
opts.before.push(function(curr, next, opts) {
|
1425 |
+
$.fn.cycle.commonReset(curr,next,opts,true,false,true);
|
1426 |
+
opts.cssBefore.top = next.cycleH/2;
|
1427 |
+
opts.animIn.top = 0;
|
1428 |
+
opts.animIn.height = next.cycleH;
|
1429 |
+
opts.animOut.top = curr.cycleH/2;
|
1430 |
+
opts.animOut.height = 0;
|
1431 |
+
});
|
1432 |
+
opts.cssBefore.height = 0;
|
1433 |
+
opts.cssBefore.left = 0;
|
1434 |
+
};
|
1435 |
+
|
1436 |
+
// cover - curr slide covered by next slide
|
1437 |
+
$.fn.cycle.transitions.cover = function($cont, $slides, opts) {
|
1438 |
+
var d = opts.direction || 'left';
|
1439 |
+
var w = $cont.css('overflow','hidden').width();
|
1440 |
+
var h = $cont.height();
|
1441 |
+
opts.before.push(function(curr, next, opts) {
|
1442 |
+
$.fn.cycle.commonReset(curr,next,opts);
|
1443 |
+
if (d == 'right')
|
1444 |
+
opts.cssBefore.left = -w;
|
1445 |
+
else if (d == 'up')
|
1446 |
+
opts.cssBefore.top = h;
|
1447 |
+
else if (d == 'down')
|
1448 |
+
opts.cssBefore.top = -h;
|
1449 |
+
else
|
1450 |
+
opts.cssBefore.left = w;
|
1451 |
+
});
|
1452 |
+
opts.animIn.left = 0;
|
1453 |
+
opts.animIn.top = 0;
|
1454 |
+
opts.cssBefore.top = 0;
|
1455 |
+
opts.cssBefore.left = 0;
|
1456 |
+
};
|
1457 |
+
|
1458 |
+
// uncover - curr slide moves off next slide
|
1459 |
+
$.fn.cycle.transitions.uncover = function($cont, $slides, opts) {
|
1460 |
+
var d = opts.direction || 'left';
|
1461 |
+
var w = $cont.css('overflow','hidden').width();
|
1462 |
+
var h = $cont.height();
|
1463 |
+
opts.before.push(function(curr, next, opts) {
|
1464 |
+
$.fn.cycle.commonReset(curr,next,opts,true,true,true);
|
1465 |
+
if (d == 'right')
|
1466 |
+
opts.animOut.left = w;
|
1467 |
+
else if (d == 'up')
|
1468 |
+
opts.animOut.top = -h;
|
1469 |
+
else if (d == 'down')
|
1470 |
+
opts.animOut.top = h;
|
1471 |
+
else
|
1472 |
+
opts.animOut.left = -w;
|
1473 |
+
});
|
1474 |
+
opts.animIn.left = 0;
|
1475 |
+
opts.animIn.top = 0;
|
1476 |
+
opts.cssBefore.top = 0;
|
1477 |
+
opts.cssBefore.left = 0;
|
1478 |
+
};
|
1479 |
+
|
1480 |
+
// toss - move top slide and fade away
|
1481 |
+
$.fn.cycle.transitions.toss = function($cont, $slides, opts) {
|
1482 |
+
var w = $cont.css('overflow','visible').width();
|
1483 |
+
var h = $cont.height();
|
1484 |
+
opts.before.push(function(curr, next, opts) {
|
1485 |
+
$.fn.cycle.commonReset(curr,next,opts,true,true,true);
|
1486 |
+
// provide default toss settings if animOut not provided
|
1487 |
+
if (!opts.animOut.left && !opts.animOut.top)
|
1488 |
+
$.extend(opts.animOut, { left: w*2, top: -h/2, opacity: 0 });
|
1489 |
+
else
|
1490 |
+
opts.animOut.opacity = 0;
|
1491 |
+
});
|
1492 |
+
opts.cssBefore.left = 0;
|
1493 |
+
opts.cssBefore.top = 0;
|
1494 |
+
opts.animIn.left = 0;
|
1495 |
+
};
|
1496 |
+
|
1497 |
+
// wipe - clip animation
|
1498 |
+
$.fn.cycle.transitions.wipe = function($cont, $slides, opts) {
|
1499 |
+
var w = $cont.css('overflow','hidden').width();
|
1500 |
+
var h = $cont.height();
|
1501 |
+
opts.cssBefore = opts.cssBefore || {};
|
1502 |
+
var clip;
|
1503 |
+
if (opts.clip) {
|
1504 |
+
if (/l2r/.test(opts.clip))
|
1505 |
+
clip = 'rect(0px 0px '+h+'px 0px)';
|
1506 |
+
else if (/r2l/.test(opts.clip))
|
1507 |
+
clip = 'rect(0px '+w+'px '+h+'px '+w+'px)';
|
1508 |
+
else if (/t2b/.test(opts.clip))
|
1509 |
+
clip = 'rect(0px '+w+'px 0px 0px)';
|
1510 |
+
else if (/b2t/.test(opts.clip))
|
1511 |
+
clip = 'rect('+h+'px '+w+'px '+h+'px 0px)';
|
1512 |
+
else if (/zoom/.test(opts.clip)) {
|
1513 |
+
var top = parseInt(h/2,10);
|
1514 |
+
var left = parseInt(w/2,10);
|
1515 |
+
clip = 'rect('+top+'px '+left+'px '+top+'px '+left+'px)';
|
1516 |
+
}
|
1517 |
+
}
|
1518 |
+
|
1519 |
+
opts.cssBefore.clip = opts.cssBefore.clip || clip || 'rect(0px 0px 0px 0px)';
|
1520 |
+
|
1521 |
+
var d = opts.cssBefore.clip.match(/(\d+)/g);
|
1522 |
+
var t = parseInt(d[0],10), r = parseInt(d[1],10), b = parseInt(d[2],10), l = parseInt(d[3],10);
|
1523 |
+
|
1524 |
+
opts.before.push(function(curr, next, opts) {
|
1525 |
+
if (curr == next) return;
|
1526 |
+
var $curr = $(curr), $next = $(next);
|
1527 |
+
$.fn.cycle.commonReset(curr,next,opts,true,true,false);
|
1528 |
+
opts.cssAfter.display = 'block';
|
1529 |
+
|
1530 |
+
var step = 1, count = parseInt((opts.speedIn / 13),10) - 1;
|
1531 |
+
(function f() {
|
1532 |
+
var tt = t ? t - parseInt(step * (t/count),10) : 0;
|
1533 |
+
var ll = l ? l - parseInt(step * (l/count),10) : 0;
|
1534 |
+
var bb = b < h ? b + parseInt(step * ((h-b)/count || 1),10) : h;
|
1535 |
+
var rr = r < w ? r + parseInt(step * ((w-r)/count || 1),10) : w;
|
1536 |
+
$next.css({ clip: 'rect('+tt+'px '+rr+'px '+bb+'px '+ll+'px)' });
|
1537 |
+
(step++ <= count) ? setTimeout(f, 13) : $curr.css('display', 'none');
|
1538 |
+
})();
|
1539 |
+
});
|
1540 |
+
$.extend(opts.cssBefore, { display: 'block', opacity: 1, top: 0, left: 0 });
|
1541 |
+
opts.animIn = { left: 0 };
|
1542 |
+
opts.animOut = { left: 0 };
|
1543 |
+
};
|
1544 |
+
|
1545 |
+
})(jQuery);
|
js/jquery.cycle.all.min.js
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* jQuery Cycle Plugin (with Transition Definitions)
|
3 |
-
* Examples and documentation at: http://jquery.malsup.com/cycle/
|
4 |
-
* Copyright (c) 2007-2010 M. Alsup
|
5 |
-
* Version: 2.99 (12-MAR-2011)
|
6 |
-
* Dual licensed under the MIT and GPL licenses.
|
7 |
-
* http://jquery.malsup.com/license.html
|
8 |
-
* Requires: jQuery v1.3.2 or later
|
9 |
-
*/
|
10 |
-
(function($){var ver="2.99";if($.support==undefined){$.support={opacity:!($.browser.msie)};}function debug(s){$.fn.cycle.debug&&log(s);}function log(){window.console&&console.log&&console.log("[cycle] "+Array.prototype.join.call(arguments," "));}$.expr[":"].paused=function(el){return el.cyclePause;};$.fn.cycle=function(options,arg2){var o={s:this.selector,c:this.context};if(this.length===0&&options!="stop"){if(!$.isReady&&o.s){log("DOM not ready, queuing slideshow");$(function(){$(o.s,o.c).cycle(options,arg2);});return this;}log("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)"));return this;}return this.each(function(){var opts=handleArguments(this,options,arg2);if(opts===false){return;}opts.updateActivePagerLink=opts.updateActivePagerLink||$.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=this.cyclePause=0;var $cont=$(this);var $slides=opts.slideExpr?$(opts.slideExpr,this):$cont.children();var els=$slides.get();if(els.length<2){log("terminating; too few slides: "+els.length);return;}var opts2=buildOptions($cont,$slides,els,opts,o);if(opts2===false){return;}var startTime=opts2.continuous?10:getTimeout(els[opts2.currSlide],els[opts2.nextSlide],opts2,!opts2.backwards);if(startTime){startTime+=(opts2.delay||0);if(startTime<10){startTime=10;}debug("first timeout: "+startTime);this.cycleTimeout=setTimeout(function(){go(els,opts2,0,!opts.backwards);},startTime);}});};function handleArguments(cont,options,arg2){if(cont.cycleStop==undefined){cont.cycleStop=0;}if(options===undefined||options===null){options={};}if(options.constructor==String){switch(options){case"destroy":case"stop":var opts=$(cont).data("cycle.opts");if(!opts){return false;}cont.cycleStop++;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);}cont.cycleTimeout=0;$(cont).removeData("cycle.opts");if(options=="destroy"){destroy(opts);}return false;case"toggle":cont.cyclePause=(cont.cyclePause===1)?0:1;checkInstantResume(cont.cyclePause,arg2,cont);return false;case"pause":cont.cyclePause=1;return false;case"resume":cont.cyclePause=0;checkInstantResume(false,arg2,cont);return false;case"prev":case"next":var opts=$(cont).data("cycle.opts");if(!opts){log('options not found, "prev/next" ignored');return false;}$.fn.cycle[options](opts);return false;default:options={fx:options};}return options;}else{if(options.constructor==Number){var num=options;options=$(cont).data("cycle.opts");if(!options){log("options not found, can not advance slide");return false;}if(num<0||num>=options.elements.length){log("invalid slide index: "+num);return false;}options.nextSlide=num;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}if(typeof arg2=="string"){options.oneTimeFx=arg2;}go(options.elements,options,1,num>=options.currSlide);return false;}}return options;function checkInstantResume(isPaused,arg2,cont){if(!isPaused&&arg2===true){var options=$(cont).data("cycle.opts");if(!options){log("options not found, can not resume");return false;}if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}go(options.elements,options,1,!options.backwards);}}}function removeFilter(el,opts){if(!$.support.opacity&&opts.cleartype&&el.style.filter){try{el.style.removeAttribute("filter");}catch(smother){}}}function destroy(opts){if(opts.next){$(opts.next).unbind(opts.prevNextEvent);}if(opts.prev){$(opts.prev).unbind(opts.prevNextEvent);}if(opts.pager||opts.pagerAnchorBuilder){$.each(opts.pagerAnchors||[],function(){this.unbind().remove();});}opts.pagerAnchors=null;if(opts.destroy){opts.destroy(opts);}}function buildOptions($cont,$slides,els,options,o){var opts=$.extend({},$.fn.cycle.defaults,options||{},$.metadata?$cont.metadata():$.meta?$cont.data():{});if(opts.autostop){opts.countdown=opts.autostopCount||els.length;}var cont=$cont[0];$cont.data("cycle.opts",opts);opts.$cont=$cont;opts.stopCount=cont.cycleStop;opts.elements=els;opts.before=opts.before?[opts.before]:[];opts.after=opts.after?[opts.after]:[];if(!$.support.opacity&&opts.cleartype){opts.after.push(function(){removeFilter(this,opts);});}if(opts.continuous){opts.after.push(function(){go(els,opts,0,!opts.backwards);});}saveOriginalOpts(opts);if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($slides);}if($cont.css("position")=="static"){$cont.css("position","relative");}if(opts.width){$cont.width(opts.width);}if(opts.height&&opts.height!="auto"){$cont.height(opts.height);}if(opts.startingSlide){opts.startingSlide=parseInt(opts.startingSlide);}else{if(opts.backwards){opts.startingSlide=els.length-1;}}if(opts.random){opts.randomMap=[];for(var i=0;i<els.length;i++){opts.randomMap.push(i);}opts.randomMap.sort(function(a,b){return Math.random()-0.5;});opts.randomIndex=1;opts.startingSlide=opts.randomMap[1];}else{if(opts.startingSlide>=els.length){opts.startingSlide=0;}}opts.currSlide=opts.startingSlide||0;var first=opts.startingSlide;$slides.css({position:"absolute",top:0,left:0}).hide().each(function(i){var z;if(opts.backwards){z=first?i<=first?els.length+(i-first):first-i:els.length-i;}else{z=first?i>=first?els.length-(i-first):first-i:els.length-i;}$(this).css("z-index",z);});$(els[first]).css("opacity",1).show();removeFilter(els[first],opts);if(opts.fit&&opts.width){$slides.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}var reshape=opts.containerResize&&!$cont.innerHeight();if(reshape){var maxw=0,maxh=0;for(var j=0;j<els.length;j++){var $e=$(els[j]),e=$e[0],w=$e.outerWidth(),h=$e.outerHeight();if(!w){w=e.offsetWidth||e.width||$e.attr("width");}if(!h){h=e.offsetHeight||e.height||$e.attr("height");}maxw=w>maxw?w:maxw;maxh=h>maxh?h:maxh;}if(maxw>0&&maxh>0){$cont.css({width:maxw+"px",height:maxh+"px"});}}if(opts.pause){$cont.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});}if(supportMultiTransitions(opts)===false){return false;}var requeue=false;options.requeueAttempts=options.requeueAttempts||0;$slides.each(function(){var $el=$(this);this.cycleH=(opts.fit&&opts.height)?opts.height:($el.height()||this.offsetHeight||this.height||$el.attr("height")||0);this.cycleW=(opts.fit&&opts.width)?opts.width:($el.width()||this.offsetWidth||this.width||$el.attr("width")||0);if($el.is("img")){var loadingIE=($.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var loadingFF=($.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var loadingOp=($.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var loadingOther=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(loadingIE||loadingFF||loadingOp||loadingOther){if(o.s&&opts.requeueOnImageNotLoaded&&++options.requeueAttempts<100){log(options.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(options);},opts.requeueTimeout);requeue=true;return false;}else{log("could not determine size of image: "+this.src,this.cycleW,this.cycleH);}}}return true;});if(requeue){return false;}opts.cssBefore=opts.cssBefore||{};opts.cssAfter=opts.cssAfter||{};opts.cssFirst=opts.cssFirst||{};opts.animIn=opts.animIn||{};opts.animOut=opts.animOut||{};$slides.not(":eq("+first+")").css(opts.cssBefore);$($slides[first]).css(opts.cssFirst);if(opts.timeout){opts.timeout=parseInt(opts.timeout);if(opts.speed.constructor==String){opts.speed=$.fx.speeds[opts.speed]||parseInt(opts.speed);}if(!opts.sync){opts.speed=opts.speed/2;}var buffer=opts.fx=="none"?0:opts.fx=="shuffle"?500:250;while((opts.timeout-opts.speed)<buffer){opts.timeout+=opts.speed;}}if(opts.easing){opts.easeIn=opts.easeOut=opts.easing;}if(!opts.speedIn){opts.speedIn=opts.speed;}if(!opts.speedOut){opts.speedOut=opts.speed;}opts.slideCount=els.length;opts.currSlide=opts.lastSlide=first;if(opts.random){if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.backwards){opts.nextSlide=opts.startingSlide==0?(els.length-1):opts.startingSlide-1;}else{opts.nextSlide=opts.startingSlide>=(els.length-1)?0:opts.startingSlide+1;}}if(!opts.multiFx){var init=$.fn.cycle.transitions[opts.fx];if($.isFunction(init)){init($cont,$slides,opts);}else{if(opts.fx!="custom"&&!opts.multiFx){log("unknown transition: "+opts.fx,"; slideshow terminating");return false;}}}var e0=$slides[first];if(opts.before.length){opts.before[0].apply(e0,[e0,e0,opts,true]);}if(opts.after.length){opts.after[0].apply(e0,[e0,e0,opts,true]);}if(opts.next){$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,1);});}if(opts.prev){$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,0);});}if(opts.pager||opts.pagerAnchorBuilder){buildPager(els,opts);}exposeAddSlide(opts,els);return opts;}function saveOriginalOpts(opts){opts.original={before:[],after:[]};opts.original.cssBefore=$.extend({},opts.cssBefore);opts.original.cssAfter=$.extend({},opts.cssAfter);opts.original.animIn=$.extend({},opts.animIn);opts.original.animOut=$.extend({},opts.animOut);$.each(opts.before,function(){opts.original.before.push(this);});$.each(opts.after,function(){opts.original.after.push(this);});}function supportMultiTransitions(opts){var i,tx,txs=$.fn.cycle.transitions;if(opts.fx.indexOf(",")>0){opts.multiFx=true;opts.fxs=opts.fx.replace(/\s*/g,"").split(",");for(i=0;i<opts.fxs.length;i++){var fx=opts.fxs[i];tx=txs[fx];if(!tx||!txs.hasOwnProperty(fx)||!$.isFunction(tx)){log("discarding unknown transition: ",fx);opts.fxs.splice(i,1);i--;}}if(!opts.fxs.length){log("No valid transitions named; slideshow terminating.");return false;}}else{if(opts.fx=="all"){opts.multiFx=true;opts.fxs=[];for(p in txs){tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx)){opts.fxs.push(p);}}}}if(opts.multiFx&&opts.randomizeEffects){var r1=Math.floor(Math.random()*20)+30;for(i=0;i<r1;i++){var r2=Math.floor(Math.random()*opts.fxs.length);opts.fxs.push(opts.fxs.splice(r2,1)[0]);}debug("randomized fx sequence: ",opts.fxs);}return true;}function exposeAddSlide(opts,els){opts.addSlide=function(newSlide,prepend){var $s=$(newSlide),s=$s[0];if(!opts.autostopCount){opts.countdown++;}els[prepend?"unshift":"push"](s);if(opts.els){opts.els[prepend?"unshift":"push"](s);}opts.slideCount=els.length;$s.css("position","absolute");$s[prepend?"prependTo":"appendTo"](opts.$cont);if(prepend){opts.currSlide++;opts.nextSlide++;}if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($s);}if(opts.fit&&opts.width){$s.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$s.height(opts.height);}s.cycleH=(opts.fit&&opts.height)?opts.height:$s.height();s.cycleW=(opts.fit&&opts.width)?opts.width:$s.width();$s.css(opts.cssBefore);if(opts.pager||opts.pagerAnchorBuilder){$.fn.cycle.createPagerAnchor(els.length-1,s,$(opts.pager),els,opts);}if($.isFunction(opts.onAddSlide)){opts.onAddSlide($s);}else{$s.hide();}};}$.fn.cycle.resetState=function(opts,fx){fx=fx||opts.fx;opts.before=[];opts.after=[];opts.cssBefore=$.extend({},opts.original.cssBefore);opts.cssAfter=$.extend({},opts.original.cssAfter);opts.animIn=$.extend({},opts.original.animIn);opts.animOut=$.extend({},opts.original.animOut);opts.fxFn=null;$.each(opts.original.before,function(){opts.before.push(this);});$.each(opts.original.after,function(){opts.after.push(this);});var init=$.fn.cycle.transitions[fx];if($.isFunction(init)){init(opts.$cont,$(opts.elements),opts);}};function go(els,opts,manual,fwd){if(manual&&opts.busy&&opts.manualTrump){debug("manualTrump in go(), stopping active transition");$(els).stop(true,true);opts.busy=0;}if(opts.busy){debug("transition active, ignoring new tx request");return;}var p=opts.$cont[0],curr=els[opts.currSlide],next=els[opts.nextSlide];if(p.cycleStop!=opts.stopCount||p.cycleTimeout===0&&!manual){return;}if(!manual&&!p.cyclePause&&!opts.bounce&&((opts.autostop&&(--opts.countdown<=0))||(opts.nowrap&&!opts.random&&opts.nextSlide<opts.currSlide))){if(opts.end){opts.end(opts);}return;}var changed=false;if((manual||!p.cyclePause)&&(opts.nextSlide!=opts.currSlide)){changed=true;var fx=opts.fx;curr.cycleH=curr.cycleH||$(curr).height();curr.cycleW=curr.cycleW||$(curr).width();next.cycleH=next.cycleH||$(next).height();next.cycleW=next.cycleW||$(next).width();if(opts.multiFx){if(opts.lastFx==undefined||++opts.lastFx>=opts.fxs.length){opts.lastFx=0;}fx=opts.fxs[opts.lastFx];opts.currFx=fx;}if(opts.oneTimeFx){fx=opts.oneTimeFx;opts.oneTimeFx=null;}$.fn.cycle.resetState(opts,fx);if(opts.before.length){$.each(opts.before,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});}var after=function(){opts.busy=0;$.each(opts.after,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});};debug("tx firing("+fx+"); currSlide: "+opts.currSlide+"; nextSlide: "+opts.nextSlide);opts.busy=1;if(opts.fxFn){opts.fxFn(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{if($.isFunction($.fn.cycle[opts.fx])){$.fn.cycle[opts.fx](curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{$.fn.cycle.custom(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}}}if(changed||opts.nextSlide==opts.currSlide){opts.lastSlide=opts.currSlide;if(opts.random){opts.currSlide=opts.nextSlide;if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];if(opts.nextSlide==opts.currSlide){opts.nextSlide=(opts.currSlide==opts.slideCount-1)?0:opts.currSlide+1;}}else{if(opts.backwards){var roll=(opts.nextSlide-1)<0;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=1;opts.currSlide=0;}else{opts.nextSlide=roll?(els.length-1):opts.nextSlide-1;opts.currSlide=roll?0:opts.nextSlide+1;}}else{var roll=(opts.nextSlide+1)==els.length;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=els.length-2;opts.currSlide=els.length-1;}else{opts.nextSlide=roll?0:opts.nextSlide+1;opts.currSlide=roll?els.length-1:opts.nextSlide-1;}}}}if(changed&&opts.pager){opts.updateActivePagerLink(opts.pager,opts.currSlide,opts.activePagerClass);}var ms=0;if(opts.timeout&&!opts.continuous){ms=getTimeout(els[opts.currSlide],els[opts.nextSlide],opts,fwd);}else{if(opts.continuous&&p.cyclePause){ms=10;}}if(ms>0){p.cycleTimeout=setTimeout(function(){go(els,opts,0,!opts.backwards);},ms);}}$.fn.cycle.updateActivePagerLink=function(pager,currSlide,clsName){$(pager).each(function(){$(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);});};function getTimeout(curr,next,opts,fwd){if(opts.timeoutFn){var t=opts.timeoutFn.call(curr,curr,next,opts,fwd);while(opts.fx!="none"&&(t-opts.speed)<250){t+=opts.speed;}debug("calculated timeout: "+t+"; speed: "+opts.speed);if(t!==false){return t;}}return opts.timeout;}$.fn.cycle.next=function(opts){advance(opts,1);};$.fn.cycle.prev=function(opts){advance(opts,0);};function advance(opts,moveForward){var val=moveForward?1:-1;var els=opts.elements;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}if(opts.random&&val<0){opts.randomIndex--;if(--opts.randomIndex==-2){opts.randomIndex=els.length-2;}else{if(opts.randomIndex==-1){opts.randomIndex=els.length-1;}}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.random){opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.currSlide+val;if(opts.nextSlide<0){if(opts.nowrap){return false;}opts.nextSlide=els.length-1;}else{if(opts.nextSlide>=els.length){if(opts.nowrap){return false;}opts.nextSlide=0;}}}}var cb=opts.onPrevNextEvent||opts.prevNextClick;if($.isFunction(cb)){cb(val>0,opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,moveForward);return false;}function buildPager(els,opts){var $p=$(opts.pager);$.each(els,function(i,o){$.fn.cycle.createPagerAnchor(i,o,$p,els,opts);});opts.updateActivePagerLink(opts.pager,opts.startingSlide,opts.activePagerClass);}$.fn.cycle.createPagerAnchor=function(i,el,$p,els,opts){var a;if($.isFunction(opts.pagerAnchorBuilder)){a=opts.pagerAnchorBuilder(i,el);debug("pagerAnchorBuilder("+i+", el) returned: "+a);}else{a='<a href="#">'+(i+1)+"</a>";}if(!a){return;}var $a=$(a);if($a.parents("body").length===0){var arr=[];if($p.length>1){$p.each(function(){var $clone=$a.clone(true);$(this).append($clone);arr.push($clone[0]);});$a=$(arr);}else{$a.appendTo($p);}}opts.pagerAnchors=opts.pagerAnchors||[];opts.pagerAnchors.push($a);$a.bind(opts.pagerEvent,function(e){e.preventDefault();opts.nextSlide=i;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}var cb=opts.onPagerEvent||opts.pagerClick;if($.isFunction(cb)){cb(opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,opts.currSlide<i);});if(!/^click/.test(opts.pagerEvent)&&!opts.allowPagerClickBubble){$a.bind("click.cycle",function(){return false;});}if(opts.pauseOnPagerHover){$a.hover(function(){opts.$cont[0].cyclePause++;},function(){opts.$cont[0].cyclePause--;});}};$.fn.cycle.hopsFromLast=function(opts,fwd){var hops,l=opts.lastSlide,c=opts.currSlide;if(fwd){hops=c>l?c-l:opts.slideCount-l;}else{hops=c<l?l-c:l+opts.slideCount-c;}return hops;};function clearTypeFix($slides){debug("applying clearType background-color hack");function hex(s){s=parseInt(s).toString(16);return s.length<2?"0"+s:s;}function getBg(e){for(;e&&e.nodeName.toLowerCase()!="html";e=e.parentNode){var v=$.css(e,"background-color");if(v&&v.indexOf("rgb")>=0){var rgb=v.match(/\d+/g);return"#"+hex(rgb[0])+hex(rgb[1])+hex(rgb[2]);}if(v&&v!="transparent"){return v;}}return"#ffffff";}$slides.each(function(){$(this).css("background-color",getBg(this));});}$.fn.cycle.commonReset=function(curr,next,opts,w,h,rev){$(opts.elements).not(curr).hide();if(typeof opts.cssBefore.opacity=="undefined"){opts.cssBefore.opacity=1;}opts.cssBefore.display="block";if(opts.slideResize&&w!==false&&next.cycleW>0){opts.cssBefore.width=next.cycleW;}if(opts.slideResize&&h!==false&&next.cycleH>0){opts.cssBefore.height=next.cycleH;}opts.cssAfter=opts.cssAfter||{};opts.cssAfter.display="none";$(curr).css("zIndex",opts.slideCount+(rev===true?1:0));$(next).css("zIndex",opts.slideCount+(rev===true?0:1));};$.fn.cycle.custom=function(curr,next,opts,cb,fwd,speedOverride){var $l=$(curr),$n=$(next);var speedIn=opts.speedIn,speedOut=opts.speedOut,easeIn=opts.easeIn,easeOut=opts.easeOut;$n.css(opts.cssBefore);if(speedOverride){if(typeof speedOverride=="number"){speedIn=speedOut=speedOverride;}else{speedIn=speedOut=1;}easeIn=easeOut=null;}var fn=function(){$n.animate(opts.animIn,speedIn,easeIn,function(){cb();});};$l.animate(opts.animOut,speedOut,easeOut,function(){$l.css(opts.cssAfter);if(!opts.sync){fn();}});if(opts.sync){fn();}};$.fn.cycle.transitions={fade:function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css("opacity",0);opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.opacity=0;});opts.animIn={opacity:1};opts.animOut={opacity:0};opts.cssBefore={top:0,left:0};}};$.fn.cycle.ver=function(){return ver;};$.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:false,animIn:null,animOut:null,autostop:0,autostopCount:0,backwards:false,before:null,cleartype:!$.support.opacity,cleartypeNoBg:false,containerResize:1,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:true,next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:true,requeueTimeout:250,rev:0,shuffle:null,slideExpr:null,slideResize:1,speed:1000,speedIn:null,speedOut:null,startingSlide:0,sync:1,timeout:4000,timeoutFn:null,updateActivePagerLink:null};})(jQuery);
|
11 |
-
/*
|
12 |
-
* jQuery Cycle Plugin Transition Definitions
|
13 |
-
* This script is a plugin for the jQuery Cycle Plugin
|
14 |
-
* Examples and documentation at: http://malsup.com/jquery/cycle/
|
15 |
-
* Copyright (c) 2007-2010 M. Alsup
|
16 |
-
* Version: 2.73
|
17 |
-
* Dual licensed under the MIT and GPL licenses:
|
18 |
-
* http://www.opensource.org/licenses/mit-license.php
|
19 |
-
* http://www.gnu.org/licenses/gpl.html
|
20 |
-
*/
|
21 |
-
(function($){$.fn.cycle.transitions.none=function($cont,$slides,opts){opts.fxFn=function(curr,next,opts,after){$(next).show();$(curr).hide();after();};};$.fn.cycle.transitions.fadeout=function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css({display:"block",opacity:1});opts.before.push(function(curr,next,opts,w,h,rev){$(curr).css("zIndex",opts.slideCount+(!rev===true?1:0));$(next).css("zIndex",opts.slideCount+(!rev===true?0:1));});opts.animIn.opacity=1;opts.animOut.opacity=0;opts.cssBefore.opacity=1;opts.cssBefore.display="block";opts.cssAfter.zIndex=0;};$.fn.cycle.transitions.scrollUp=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssBefore.top=h;opts.cssBefore.left=0;opts.cssFirst.top=0;opts.animIn.top=0;opts.animOut.top=-h;};$.fn.cycle.transitions.scrollDown=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssFirst.top=0;opts.cssBefore.top=-h;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.top=h;};$.fn.cycle.transitions.scrollLeft=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst.left=0;opts.cssBefore.left=w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=0-w;};$.fn.cycle.transitions.scrollRight=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst.left=0;opts.cssBefore.left=-w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=w;};$.fn.cycle.transitions.scrollHorz=function($cont,$slides,opts){$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts,fwd){if(opts.rev){fwd=!fwd;}$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.left=fwd?(next.cycleW-1):(1-next.cycleW);opts.animOut.left=fwd?-curr.cycleW:curr.cycleW;});opts.cssFirst.left=0;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.top=0;};$.fn.cycle.transitions.scrollVert=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push(function(curr,next,opts,fwd){if(opts.rev){fwd=!fwd;}$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.top=fwd?(1-next.cycleH):(next.cycleH-1);opts.animOut.top=fwd?curr.cycleH:-curr.cycleH;});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.left=0;};$.fn.cycle.transitions.slideX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.width=0;opts.animIn.width="show";opts.animOut.width=0;};$.fn.cycle.transitions.slideY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.height=0;opts.animIn.height="show";opts.animOut.height=0;};$.fn.cycle.transitions.shuffle=function($cont,$slides,opts){var i,w=$cont.css("overflow","visible").width();$slides.css({left:0,top:0});opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);});if(!opts.speedAdjusted){opts.speed=opts.speed/2;opts.speedAdjusted=true;}opts.random=0;opts.shuffle=opts.shuffle||{left:-w,top:15};opts.els=[];for(i=0;i<$slides.length;i++){opts.els.push($slides[i]);}for(i=0;i<opts.currSlide;i++){opts.els.push(opts.els.shift());}opts.fxFn=function(curr,next,opts,cb,fwd){if(opts.rev){fwd=!fwd;}var $el=fwd?$(curr):$(next);$(next).css(opts.cssBefore);var count=opts.slideCount;$el.animate(opts.shuffle,opts.speedIn,opts.easeIn,function(){var hops=$.fn.cycle.hopsFromLast(opts,fwd);for(var k=0;k<hops;k++){fwd?opts.els.push(opts.els.shift()):opts.els.unshift(opts.els.pop());}if(fwd){for(var i=0,len=opts.els.length;i<len;i++){$(opts.els[i]).css("z-index",len-i+count);}}else{var z=$(curr).css("z-index");$el.css("z-index",parseInt(z)+1+count);}$el.animate({left:0,top:0},opts.speedOut,opts.easeOut,function(){$(fwd?this:curr).hide();if(cb){cb();}});});};$.extend(opts.cssBefore,{display:"block",opacity:1,top:0,left:0});};$.fn.cycle.transitions.turnUp=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=next.cycleH;opts.animIn.height=next.cycleH;opts.animOut.width=next.cycleW;});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.cssBefore.height=0;opts.animIn.top=0;opts.animOut.height=0;};$.fn.cycle.transitions.turnDown=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.height=0;opts.animOut.height=0;};$.fn.cycle.transitions.turnLeft=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=next.cycleW;opts.animIn.width=next.cycleW;});opts.cssBefore.top=0;opts.cssBefore.width=0;opts.animIn.left=0;opts.animOut.width=0;};$.fn.cycle.transitions.turnRight=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});$.extend(opts.cssBefore,{top:0,left:0,width:0});opts.animIn.left=0;opts.animOut.width=0;};$.fn.cycle.transitions.zoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false,true);opts.cssBefore.top=next.cycleH/2;opts.cssBefore.left=next.cycleW/2;$.extend(opts.animIn,{top:0,left:0,width:next.cycleW,height:next.cycleH});$.extend(opts.animOut,{width:0,height:0,top:curr.cycleH/2,left:curr.cycleW/2});});opts.cssFirst.top=0;opts.cssFirst.left=0;opts.cssBefore.width=0;opts.cssBefore.height=0;};$.fn.cycle.transitions.fadeZoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false);opts.cssBefore.left=next.cycleW/2;opts.cssBefore.top=next.cycleH/2;$.extend(opts.animIn,{top:0,left:0,width:next.cycleW,height:next.cycleH});});opts.cssBefore.width=0;opts.cssBefore.height=0;opts.animOut.opacity=0;};$.fn.cycle.transitions.blindX=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore.left=w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=w;};$.fn.cycle.transitions.blindY=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore.top=h;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.top=h;};$.fn.cycle.transitions.blindZ=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();var w=$cont.width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore.top=h;opts.cssBefore.left=w;opts.animIn.top=0;opts.animIn.left=0;opts.animOut.top=h;opts.animOut.left=w;};$.fn.cycle.transitions.growX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=this.cycleW/2;opts.animIn.left=0;opts.animIn.width=this.cycleW;opts.animOut.left=0;});opts.cssBefore.top=0;opts.cssBefore.width=0;};$.fn.cycle.transitions.growY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=this.cycleH/2;opts.animIn.top=0;opts.animIn.height=this.cycleH;opts.animOut.top=0;});opts.cssBefore.height=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.curtainX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true,true);opts.cssBefore.left=next.cycleW/2;opts.animIn.left=0;opts.animIn.width=this.cycleW;opts.animOut.left=curr.cycleW/2;opts.animOut.width=0;});opts.cssBefore.top=0;opts.cssBefore.width=0;};$.fn.cycle.transitions.curtainY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false,true);opts.cssBefore.top=next.cycleH/2;opts.animIn.top=0;opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH/2;opts.animOut.height=0;});opts.cssBefore.height=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.cover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);if(d=="right"){opts.cssBefore.left=-w;}else{if(d=="up"){opts.cssBefore.top=h;}else{if(d=="down"){opts.cssBefore.top=-h;}else{opts.cssBefore.left=w;}}}});opts.animIn.left=0;opts.animIn.top=0;opts.cssBefore.top=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.uncover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(d=="right"){opts.animOut.left=w;}else{if(d=="up"){opts.animOut.top=-h;}else{if(d=="down"){opts.animOut.top=h;}else{opts.animOut.left=-w;}}}});opts.animIn.left=0;opts.animIn.top=0;opts.cssBefore.top=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.toss=function($cont,$slides,opts){var w=$cont.css("overflow","visible").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(!opts.animOut.left&&!opts.animOut.top){$.extend(opts.animOut,{left:w*2,top:-h/2,opacity:0});}else{opts.animOut.opacity=0;}});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.animIn.left=0;};$.fn.cycle.transitions.wipe=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.cssBefore=opts.cssBefore||{};var clip;if(opts.clip){if(/l2r/.test(opts.clip)){clip="rect(0px 0px "+h+"px 0px)";}else{if(/r2l/.test(opts.clip)){clip="rect(0px "+w+"px "+h+"px "+w+"px)";}else{if(/t2b/.test(opts.clip)){clip="rect(0px "+w+"px 0px 0px)";}else{if(/b2t/.test(opts.clip)){clip="rect("+h+"px "+w+"px "+h+"px 0px)";}else{if(/zoom/.test(opts.clip)){var top=parseInt(h/2);var left=parseInt(w/2);clip="rect("+top+"px "+left+"px "+top+"px "+left+"px)";}}}}}}opts.cssBefore.clip=opts.cssBefore.clip||clip||"rect(0px 0px 0px 0px)";var d=opts.cssBefore.clip.match(/(\d+)/g);var t=parseInt(d[0]),r=parseInt(d[1]),b=parseInt(d[2]),l=parseInt(d[3]);opts.before.push(function(curr,next,opts){if(curr==next){return;}var $curr=$(curr),$next=$(next);$.fn.cycle.commonReset(curr,next,opts,true,true,false);opts.cssAfter.display="block";var step=1,count=parseInt((opts.speedIn/13))-1;(function f(){var tt=t?t-parseInt(step*(t/count)):0;var ll=l?l-parseInt(step*(l/count)):0;var bb=b<h?b+parseInt(step*((h-b)/count||1)):h;var rr=r<w?r+parseInt(step*((w-r)/count||1)):w;$next.css({clip:"rect("+tt+"px "+rr+"px "+bb+"px "+ll+"px)"});(step++<=count)?setTimeout(f,13):$curr.css("display","none");})();});$.extend(opts.cssBefore,{display:"block",opacity:1,top:0,left:0});opts.animIn={left:0};opts.animOut={left:0};};})(jQuery);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/jquery.touchwipe.1.1.1.js
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* jQuery Plugin to obtain touch gestures from iPhone, iPod Touch and iPad, should also work with Android mobile phones (not tested yet!)
|
3 |
+
* Common usage: wipe images (left and right to show the previous or next image)
|
4 |
+
*
|
5 |
+
* @author Andreas Waltl, netCU Internetagentur (http://www.netcu.de)
|
6 |
+
* @version 1.1.1 (9th December 2010) - fix bug (older IE's had problems)
|
7 |
+
* @version 1.1 (1st September 2010) - support wipe up and wipe down
|
8 |
+
* @version 1.0 (15th July 2010)
|
9 |
+
*/
|
10 |
+
(function($) {
|
11 |
+
$.fn.touchwipe = function(settings) {
|
12 |
+
var config = {
|
13 |
+
min_move_x: 20,
|
14 |
+
min_move_y: 20,
|
15 |
+
wipeLeft: function() { },
|
16 |
+
wipeRight: function() { },
|
17 |
+
wipeUp: function() { },
|
18 |
+
wipeDown: function() { },
|
19 |
+
preventDefaultEvents: true
|
20 |
+
};
|
21 |
+
|
22 |
+
if (settings) $.extend(config, settings);
|
23 |
+
|
24 |
+
this.each(function() {
|
25 |
+
var startX;
|
26 |
+
var startY;
|
27 |
+
var isMoving = false;
|
28 |
+
|
29 |
+
function cancelTouch() {
|
30 |
+
this.removeEventListener('touchmove', onTouchMove);
|
31 |
+
startX = null;
|
32 |
+
isMoving = false;
|
33 |
+
}
|
34 |
+
|
35 |
+
function onTouchMove(e) {
|
36 |
+
if(config.preventDefaultEvents) {
|
37 |
+
e.preventDefault();
|
38 |
+
}
|
39 |
+
if(isMoving) {
|
40 |
+
var x = e.touches[0].pageX;
|
41 |
+
var y = e.touches[0].pageY;
|
42 |
+
var dx = startX - x;
|
43 |
+
var dy = startY - y;
|
44 |
+
if(Math.abs(dx) >= config.min_move_x) {
|
45 |
+
cancelTouch();
|
46 |
+
if(dx > 0) {
|
47 |
+
config.wipeLeft();
|
48 |
+
}
|
49 |
+
else {
|
50 |
+
config.wipeRight();
|
51 |
+
}
|
52 |
+
}
|
53 |
+
else if(Math.abs(dy) >= config.min_move_y) {
|
54 |
+
cancelTouch();
|
55 |
+
if(dy > 0) {
|
56 |
+
config.wipeDown();
|
57 |
+
}
|
58 |
+
else {
|
59 |
+
config.wipeUp();
|
60 |
+
}
|
61 |
+
}
|
62 |
+
}
|
63 |
+
}
|
64 |
+
|
65 |
+
function onTouchStart(e)
|
66 |
+
{
|
67 |
+
if (e.touches.length == 1) {
|
68 |
+
startX = e.touches[0].pageX;
|
69 |
+
startY = e.touches[0].pageY;
|
70 |
+
isMoving = true;
|
71 |
+
this.addEventListener('touchmove', onTouchMove, false);
|
72 |
+
}
|
73 |
+
}
|
74 |
+
if ('ontouchstart' in document.documentElement) {
|
75 |
+
this.addEventListener('touchstart', onTouchStart, false);
|
76 |
+
}
|
77 |
+
});
|
78 |
+
|
79 |
+
return this;
|
80 |
+
};
|
81 |
+
|
82 |
+
})(jQuery);
|
js/slideshow.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*
|
2 |
|
3 |
Copy "slideshow.js" from "/meteor-slides/js/" to your theme's directory to replace
|
4 |
the plugin's default slideshow script.
|
@@ -7,36 +7,59 @@
|
|
7 |
http://www.jleuze.com/plugins/meteor-slides/customizing-the-slideshow-script/
|
8 |
*/
|
9 |
|
|
|
10 |
var $j = jQuery.noConflict();
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
var $slidetimeout
|
15 |
-
|
16 |
-
var $
|
17 |
-
|
18 |
-
var $slidewidth = parseInt( meteorslidessettings.meteorslideshowwidth );
|
19 |
-
|
20 |
var $slidetransition = meteorslidessettings.meteorslideshowtransition;
|
21 |
|
22 |
$j(document).ready(function() {
|
|
|
|
|
23 |
|
24 |
$j('.meteor-slides').cycle({
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
pause:
|
33 |
-
prev:
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
slideExpr: '.mslide'
|
39 |
-
|
40 |
});
|
|
|
|
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
});
|
1 |
+
/* Script for the Meteor Slides 1.5 slideshow
|
2 |
|
3 |
Copy "slideshow.js" from "/meteor-slides/js/" to your theme's directory to replace
|
4 |
the plugin's default slideshow script.
|
7 |
http://www.jleuze.com/plugins/meteor-slides/customizing-the-slideshow-script/
|
8 |
*/
|
9 |
|
10 |
+
// Set custom shortcut to avoid conflicts
|
11 |
var $j = jQuery.noConflict();
|
12 |
|
13 |
+
// Get the slideshow options
|
14 |
+
var $slidespeed = parseInt( meteorslidessettings.meteorslideshowspeed );
|
15 |
+
var $slidetimeout = parseInt( meteorslidessettings.meteorslideshowduration );
|
16 |
+
var $slideheight = parseInt( meteorslidessettings.meteorslideshowheight );
|
17 |
+
var $slidewidth = parseInt( meteorslidessettings.meteorslideshowwidth );
|
|
|
|
|
|
|
18 |
var $slidetransition = meteorslidessettings.meteorslideshowtransition;
|
19 |
|
20 |
$j(document).ready(function() {
|
21 |
+
|
22 |
+
// Setup jQuery Cycle
|
23 |
|
24 |
$j('.meteor-slides').cycle({
|
25 |
+
cleartypeNoBg: true,
|
26 |
+
fit: 1,
|
27 |
+
fx: $slidetransition,
|
28 |
+
height: $slideheight,
|
29 |
+
next: '#meteor-next',
|
30 |
+
pager: '#meteor-buttons',
|
31 |
+
pagerEvent: 'click',
|
32 |
+
pause: 1,
|
33 |
+
prev: '#meteor-prev',
|
34 |
+
slideExpr: '.mslide',
|
35 |
+
speed: $slidespeed,
|
36 |
+
timeout: $slidetimeout,
|
37 |
+
width: $slidewidth
|
|
|
|
|
38 |
});
|
39 |
+
|
40 |
+
// Setup jQuery TouchWipe
|
41 |
|
42 |
+
$j('.meteor-slides').touchwipe({
|
43 |
+
wipeLeft: function() {
|
44 |
+
$j('.meteor-slides').cycle('next');
|
45 |
+
},
|
46 |
+
wipeRight: function() {
|
47 |
+
$j('.meteor-slides').cycle('prev');
|
48 |
+
}
|
49 |
+
});
|
50 |
+
|
51 |
+
// Add class to hide and show prev/next nav on hover
|
52 |
+
|
53 |
+
$j('.meteor-slides').hover(function () {
|
54 |
+
$j(this).addClass('navhover');
|
55 |
+
}, function () {
|
56 |
+
$j(this).removeClass('navhover');
|
57 |
+
});
|
58 |
+
|
59 |
+
// Set a fixed height for prev/next nav in IE6
|
60 |
+
|
61 |
+
if(typeof document.body.style.maxWidth === 'undefined') {
|
62 |
+
$j('.meteor-nav a').height($slideheight);
|
63 |
+
}
|
64 |
+
|
65 |
});
|
languages/meteor-slides-be_BY.mo
ADDED
Binary file
|
languages/{meteor-slides-en_RU.po → meteor-slides-be_BY.po}
RENAMED
@@ -8,14 +8,16 @@ msgstr ""
|
|
8 |
"Project-Id-Version: Meteor Slides 1.3\n"
|
9 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/meteor-slides\n"
|
10 |
"POT-Creation-Date: 2010-10-13 16:51+0000\n"
|
11 |
-
"PO-Revision-Date: 2011-04
|
12 |
-
"Last-Translator:
|
13 |
-
"Language-Team:
|
14 |
"MIME-Version: 1.0\n"
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
"Content-Transfer-Encoding: 8bit\n"
|
17 |
"X-Poedit-KeywordsList: __;_e\n"
|
18 |
"X-Poedit-Basepath: .\n"
|
|
|
|
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
20 |
|
21 |
#: meteor-slides-plugin.php:78
|
@@ -28,160 +30,160 @@ msgstr "Слайд"
|
|
28 |
|
29 |
#: meteor-slides-plugin.php:80
|
30 |
msgid "Add New"
|
31 |
-
msgstr "
|
32 |
|
33 |
#: meteor-slides-plugin.php:81
|
34 |
msgid "Add New Slide"
|
35 |
-
msgstr "
|
36 |
|
37 |
#: meteor-slides-plugin.php:82
|
38 |
msgid "Edit Slide"
|
39 |
-
msgstr "
|
40 |
|
41 |
#: meteor-slides-plugin.php:83
|
42 |
msgid "Edit"
|
43 |
-
msgstr "
|
44 |
|
45 |
#: meteor-slides-plugin.php:84
|
46 |
msgid "New Slide"
|
47 |
-
msgstr "
|
48 |
|
49 |
#: meteor-slides-plugin.php:85
|
50 |
#: meteor-slides-plugin.php:89
|
51 |
msgid "View Slide"
|
52 |
-
msgstr "
|
53 |
|
54 |
#: meteor-slides-plugin.php:86
|
55 |
msgid "Search Slides"
|
56 |
-
msgstr "
|
57 |
|
58 |
#: meteor-slides-plugin.php:87
|
59 |
msgid "No slides found"
|
60 |
-
msgstr "Слайды не
|
61 |
|
62 |
#: meteor-slides-plugin.php:88
|
63 |
msgid "No slides found in Trash"
|
64 |
-
msgstr "Слайды
|
65 |
|
66 |
#: meteor-slides-plugin.php:127
|
67 |
msgid "Slideshows"
|
68 |
-
msgstr "Слайд
|
69 |
|
70 |
#: meteor-slides-plugin.php:128
|
71 |
msgid "Slideshow"
|
72 |
-
msgstr "Слайд
|
73 |
|
74 |
#: meteor-slides-plugin.php:129
|
75 |
msgid "Search Slideshows"
|
76 |
-
msgstr "
|
77 |
|
78 |
#: meteor-slides-plugin.php:130
|
79 |
msgid "Popular Slideshows"
|
80 |
-
msgstr "
|
81 |
|
82 |
#: meteor-slides-plugin.php:131
|
83 |
msgid "All Slideshows"
|
84 |
-
msgstr "
|
85 |
|
86 |
#: meteor-slides-plugin.php:132
|
87 |
msgid "Parent Slideshow"
|
88 |
-
msgstr "
|
89 |
|
90 |
#: meteor-slides-plugin.php:133
|
91 |
msgid "Parent Slideshow:"
|
92 |
-
msgstr "
|
93 |
|
94 |
#: meteor-slides-plugin.php:134
|
95 |
msgid "Edit Slideshow"
|
96 |
-
msgstr "
|
97 |
|
98 |
#: meteor-slides-plugin.php:135
|
99 |
msgid "Update Slideshow"
|
100 |
-
msgstr "
|
101 |
|
102 |
#: meteor-slides-plugin.php:136
|
103 |
msgid "Add New Slideshow"
|
104 |
-
msgstr "
|
105 |
|
106 |
#: meteor-slides-plugin.php:137
|
107 |
msgid "New Slideshow Name"
|
108 |
-
msgstr "
|
109 |
|
110 |
#: meteor-slides-plugin.php:159
|
111 |
msgid "Slide Image"
|
112 |
-
msgstr "
|
113 |
|
114 |
#: meteor-slides-plugin.php:194
|
115 |
msgid "Add the URL this slide should link to."
|
116 |
-
msgstr "
|
117 |
|
118 |
#: meteor-slides-plugin.php:206
|
119 |
msgid "Slide Link"
|
120 |
-
msgstr "
|
121 |
|
122 |
#: meteor-slides-plugin.php:324
|
123 |
msgid "Slides Settings"
|
124 |
-
msgstr "
|
125 |
|
126 |
#: meteor-slides-plugin.php:324
|
127 |
msgid "Settings"
|
128 |
-
msgstr "
|
129 |
|
130 |
#: meteor-slides-plugin.php:358
|
131 |
msgid "Configure Slideshow"
|
132 |
-
msgstr "
|
133 |
|
134 |
#: meteor-slides-plugin.php:360
|
135 |
msgid "Slideshow Quantity"
|
136 |
-
msgstr "
|
137 |
|
138 |
#: meteor-slides-plugin.php:362
|
139 |
msgid "Slide Height"
|
140 |
-
msgstr "
|
141 |
|
142 |
#: meteor-slides-plugin.php:364
|
143 |
msgid "Slide Width"
|
144 |
-
msgstr "
|
145 |
|
146 |
#: meteor-slides-plugin.php:366
|
147 |
msgid "Transition Style"
|
148 |
-
msgstr "
|
149 |
|
150 |
#: meteor-slides-plugin.php:368
|
151 |
msgid "Transition Speed"
|
152 |
-
msgstr "
|
153 |
|
154 |
#: meteor-slides-plugin.php:370
|
155 |
msgid "Slide Duration"
|
156 |
-
msgstr "
|
157 |
|
158 |
#: meteor-slides-plugin.php:372
|
159 |
msgid "Slideshow Navigation"
|
160 |
-
msgstr "Навишация
|
161 |
|
162 |
#: meteor-slides-plugin.php:605
|
163 |
msgid "Add a slideshow widget to a sidebar"
|
164 |
-
msgstr "
|
165 |
|
166 |
#: meteor-slides-plugin.php:609
|
167 |
msgid "Meteor Slides Widget"
|
168 |
-
msgstr "Виджет
|
169 |
|
170 |
#: meteor-slides-plugin.php:653
|
171 |
msgid "Title:"
|
172 |
-
msgstr "
|
173 |
|
174 |
#: meteor-slides-plugin.php:656
|
175 |
msgid "Slideshow:"
|
176 |
-
msgstr "
|
177 |
|
178 |
#: meteor-slides-plugin.php:659
|
179 |
msgid "Metadata:"
|
180 |
-
msgstr "
|
181 |
|
182 |
#: meteor-slides-settings.php:7
|
183 |
msgid "Set up your slideshow using the options below."
|
184 |
-
msgstr "
|
185 |
|
186 |
#: meteor-slides-settings.php:21
|
187 |
#: meteor-slides-settings.php:31
|
@@ -190,91 +192,91 @@ msgstr "px"
|
|
190 |
|
191 |
#: meteor-slides-settings.php:41
|
192 |
msgid "blindX"
|
193 |
-
msgstr "
|
194 |
|
195 |
#: meteor-slides-settings.php:41
|
196 |
msgid "blindY"
|
197 |
-
msgstr "
|
198 |
|
199 |
#: meteor-slides-settings.php:41
|
200 |
msgid "blindZ"
|
201 |
-
msgstr "
|
202 |
|
203 |
#: meteor-slides-settings.php:41
|
204 |
msgid "cover"
|
205 |
-
msgstr "
|
206 |
|
207 |
#: meteor-slides-settings.php:41
|
208 |
msgid "curtainX"
|
209 |
-
msgstr "
|
210 |
|
211 |
#: meteor-slides-settings.php:41
|
212 |
msgid "curtainY"
|
213 |
-
msgstr "
|
214 |
|
215 |
#: meteor-slides-settings.php:41
|
216 |
msgid "fade"
|
217 |
-
msgstr "
|
218 |
|
219 |
#: meteor-slides-settings.php:41
|
220 |
msgid "fadeZoom"
|
221 |
-
msgstr "
|
222 |
|
223 |
#: meteor-slides-settings.php:41
|
224 |
msgid "growX"
|
225 |
-
msgstr "
|
226 |
|
227 |
#: meteor-slides-settings.php:41
|
228 |
msgid "growY"
|
229 |
-
msgstr "
|
230 |
|
231 |
#: meteor-slides-settings.php:41
|
232 |
msgid "none"
|
233 |
-
msgstr "
|
234 |
|
235 |
#: meteor-slides-settings.php:41
|
236 |
msgid "scrollUp"
|
237 |
-
msgstr "
|
238 |
|
239 |
#: meteor-slides-settings.php:41
|
240 |
msgid "scrollDown"
|
241 |
-
msgstr "
|
242 |
|
243 |
#: meteor-slides-settings.php:41
|
244 |
msgid "scrollLeft"
|
245 |
-
msgstr "
|
246 |
|
247 |
#: meteor-slides-settings.php:41
|
248 |
msgid "scrollRight"
|
249 |
-
msgstr "
|
250 |
|
251 |
#: meteor-slides-settings.php:41
|
252 |
msgid "scrollHorz"
|
253 |
-
msgstr "
|
254 |
|
255 |
#: meteor-slides-settings.php:41
|
256 |
msgid "scrollVert"
|
257 |
-
msgstr "
|
258 |
|
259 |
#: meteor-slides-settings.php:41
|
260 |
msgid "slideX"
|
261 |
-
msgstr "
|
262 |
|
263 |
#: meteor-slides-settings.php:41
|
264 |
msgid "slideY"
|
265 |
-
msgstr "
|
266 |
|
267 |
#: meteor-slides-settings.php:41
|
268 |
msgid "shuffle"
|
269 |
-
msgstr "случаный
|
270 |
|
271 |
#: meteor-slides-settings.php:41
|
272 |
msgid "turnUp"
|
273 |
-
msgstr "наезд
|
274 |
|
275 |
#: meteor-slides-settings.php:41
|
276 |
msgid "turnDown"
|
277 |
-
msgstr "наезд
|
278 |
|
279 |
#: meteor-slides-settings.php:41
|
280 |
msgid "turnLeft"
|
@@ -282,19 +284,19 @@ msgstr "наезд справа"
|
|
282 |
|
283 |
#: meteor-slides-settings.php:41
|
284 |
msgid "turnRight"
|
285 |
-
msgstr "наезд
|
286 |
|
287 |
#: meteor-slides-settings.php:41
|
288 |
msgid "uncover"
|
289 |
-
msgstr "сняти
|
290 |
|
291 |
#: meteor-slides-settings.php:41
|
292 |
msgid "wipe"
|
293 |
-
msgstr "
|
294 |
|
295 |
#: meteor-slides-settings.php:41
|
296 |
msgid "zoom"
|
297 |
-
msgstr "
|
298 |
|
299 |
#: meteor-slides-settings.php:63
|
300 |
#: meteor-slides-settings.php:73
|
@@ -303,49 +305,49 @@ msgstr "секунды"
|
|
303 |
|
304 |
#: meteor-slides-settings.php:83
|
305 |
msgid "None"
|
306 |
-
msgstr "
|
307 |
|
308 |
#: meteor-slides-settings.php:84
|
309 |
msgid "Previous/Next"
|
310 |
-
msgstr "
|
311 |
|
312 |
#: meteor-slides-settings.php:85
|
313 |
msgid "Paged"
|
314 |
-
msgstr "
|
315 |
|
316 |
#: meteor-slides-settings.php:86
|
317 |
msgid "Both"
|
318 |
-
msgstr "
|
319 |
|
320 |
#: meteor-slides-settings.php:112
|
321 |
msgid "Meteor Slides Settings"
|
322 |
-
msgstr "
|
323 |
|
324 |
#: meteor-slides-settings.php:126
|
325 |
msgid "Save Changes"
|
326 |
-
msgstr "
|
327 |
|
328 |
#: meteor-slides-settings.php:132
|
329 |
msgid "Install Slideshow"
|
330 |
-
msgstr "
|
331 |
|
332 |
#: meteor-slides-settings.php:134
|
333 |
#, php-format
|
334 |
msgid "Use %1$s to add this slideshow to your theme, use %2$s to add it to your Post or Page content, or use the Meteor Slides Widget. %3$sMore information%4$s"
|
335 |
-
msgstr "
|
336 |
|
337 |
#: meteor-slides-settings.php:136
|
338 |
#, php-format
|
339 |
msgid "Please %1$spost any questions or problems%2$s in the WordPress.org support forums."
|
340 |
-
msgstr "
|
341 |
|
342 |
#: meteor-slideshow.php:17
|
343 |
#: meteor-slideshow.php:29
|
344 |
msgid "Previous"
|
345 |
-
msgstr "
|
346 |
|
347 |
#: meteor-slideshow.php:19
|
348 |
#: meteor-slideshow.php:31
|
349 |
msgid "Next"
|
350 |
-
msgstr "
|
351 |
|
8 |
"Project-Id-Version: Meteor Slides 1.3\n"
|
9 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/meteor-slides\n"
|
10 |
"POT-Creation-Date: 2010-10-13 16:51+0000\n"
|
11 |
+
"PO-Revision-Date: 2011-11-04 09:34+0200\n"
|
12 |
+
"Last-Translator: \n"
|
13 |
+
"Language-Team: Web Geeks\n"
|
14 |
"MIME-Version: 1.0\n"
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
"Content-Transfer-Encoding: 8bit\n"
|
17 |
"X-Poedit-KeywordsList: __;_e\n"
|
18 |
"X-Poedit-Basepath: .\n"
|
19 |
+
"X-Poedit-Language: Belarusian\n"
|
20 |
+
"X-Poedit-Country: BELARUS\n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
|
23 |
#: meteor-slides-plugin.php:78
|
30 |
|
31 |
#: meteor-slides-plugin.php:80
|
32 |
msgid "Add New"
|
33 |
+
msgstr "Дадаць новы"
|
34 |
|
35 |
#: meteor-slides-plugin.php:81
|
36 |
msgid "Add New Slide"
|
37 |
+
msgstr "Дадаць новы слайд"
|
38 |
|
39 |
#: meteor-slides-plugin.php:82
|
40 |
msgid "Edit Slide"
|
41 |
+
msgstr "Рэдагаваць слайд"
|
42 |
|
43 |
#: meteor-slides-plugin.php:83
|
44 |
msgid "Edit"
|
45 |
+
msgstr "Рэдагаваць"
|
46 |
|
47 |
#: meteor-slides-plugin.php:84
|
48 |
msgid "New Slide"
|
49 |
+
msgstr "Новы слайд"
|
50 |
|
51 |
#: meteor-slides-plugin.php:85
|
52 |
#: meteor-slides-plugin.php:89
|
53 |
msgid "View Slide"
|
54 |
+
msgstr "Паглядзець слайд"
|
55 |
|
56 |
#: meteor-slides-plugin.php:86
|
57 |
msgid "Search Slides"
|
58 |
+
msgstr "Шукаць слайды"
|
59 |
|
60 |
#: meteor-slides-plugin.php:87
|
61 |
msgid "No slides found"
|
62 |
+
msgstr "Слайды не знойдзены"
|
63 |
|
64 |
#: meteor-slides-plugin.php:88
|
65 |
msgid "No slides found in Trash"
|
66 |
+
msgstr "Слайды ў кошыку не знойдзены"
|
67 |
|
68 |
#: meteor-slides-plugin.php:127
|
69 |
msgid "Slideshows"
|
70 |
+
msgstr "Слайд шоў"
|
71 |
|
72 |
#: meteor-slides-plugin.php:128
|
73 |
msgid "Slideshow"
|
74 |
+
msgstr "Слайд шоў"
|
75 |
|
76 |
#: meteor-slides-plugin.php:129
|
77 |
msgid "Search Slideshows"
|
78 |
+
msgstr "Пошук слайд шоў"
|
79 |
|
80 |
#: meteor-slides-plugin.php:130
|
81 |
msgid "Popular Slideshows"
|
82 |
+
msgstr "Папулярныя слайдшоў"
|
83 |
|
84 |
#: meteor-slides-plugin.php:131
|
85 |
msgid "All Slideshows"
|
86 |
+
msgstr "Усё слайдшоў"
|
87 |
|
88 |
#: meteor-slides-plugin.php:132
|
89 |
msgid "Parent Slideshow"
|
90 |
+
msgstr "Бацькоўскае слайдшоў"
|
91 |
|
92 |
#: meteor-slides-plugin.php:133
|
93 |
msgid "Parent Slideshow:"
|
94 |
+
msgstr "Бацькоўскае слайдшоў:"
|
95 |
|
96 |
#: meteor-slides-plugin.php:134
|
97 |
msgid "Edit Slideshow"
|
98 |
+
msgstr "Кіраваць слайдшоў"
|
99 |
|
100 |
#: meteor-slides-plugin.php:135
|
101 |
msgid "Update Slideshow"
|
102 |
+
msgstr "Абнавіць слайдшоў"
|
103 |
|
104 |
#: meteor-slides-plugin.php:136
|
105 |
msgid "Add New Slideshow"
|
106 |
+
msgstr "Дадаць новае слайдшоў"
|
107 |
|
108 |
#: meteor-slides-plugin.php:137
|
109 |
msgid "New Slideshow Name"
|
110 |
+
msgstr "Імя новага слайдшоў"
|
111 |
|
112 |
#: meteor-slides-plugin.php:159
|
113 |
msgid "Slide Image"
|
114 |
+
msgstr "Малюначак слайда"
|
115 |
|
116 |
#: meteor-slides-plugin.php:194
|
117 |
msgid "Add the URL this slide should link to."
|
118 |
+
msgstr "Пакажыце адрас пераходу (url) са слайда."
|
119 |
|
120 |
#: meteor-slides-plugin.php:206
|
121 |
msgid "Slide Link"
|
122 |
+
msgstr "Спасылка са слайда"
|
123 |
|
124 |
#: meteor-slides-plugin.php:324
|
125 |
msgid "Slides Settings"
|
126 |
+
msgstr "Налады слайдаў"
|
127 |
|
128 |
#: meteor-slides-plugin.php:324
|
129 |
msgid "Settings"
|
130 |
+
msgstr "Налады"
|
131 |
|
132 |
#: meteor-slides-plugin.php:358
|
133 |
msgid "Configure Slideshow"
|
134 |
+
msgstr "Налада слайдшоў"
|
135 |
|
136 |
#: meteor-slides-plugin.php:360
|
137 |
msgid "Slideshow Quantity"
|
138 |
+
msgstr "Колькасць слайдаў у слайдшоў"
|
139 |
|
140 |
#: meteor-slides-plugin.php:362
|
141 |
msgid "Slide Height"
|
142 |
+
msgstr "Вышыня слайда"
|
143 |
|
144 |
#: meteor-slides-plugin.php:364
|
145 |
msgid "Slide Width"
|
146 |
+
msgstr "Шырыня слайда"
|
147 |
|
148 |
#: meteor-slides-plugin.php:366
|
149 |
msgid "Transition Style"
|
150 |
+
msgstr "Стыль змены слайдаў"
|
151 |
|
152 |
#: meteor-slides-plugin.php:368
|
153 |
msgid "Transition Speed"
|
154 |
+
msgstr "Хуткасць змены слайдаў"
|
155 |
|
156 |
#: meteor-slides-plugin.php:370
|
157 |
msgid "Slide Duration"
|
158 |
+
msgstr "Час паказу слайда"
|
159 |
|
160 |
#: meteor-slides-plugin.php:372
|
161 |
msgid "Slideshow Navigation"
|
162 |
+
msgstr "Навишация па слайдшоў"
|
163 |
|
164 |
#: meteor-slides-plugin.php:605
|
165 |
msgid "Add a slideshow widget to a sidebar"
|
166 |
+
msgstr "Дадаць виджет слайдшоў у бакавую панэль"
|
167 |
|
168 |
#: meteor-slides-plugin.php:609
|
169 |
msgid "Meteor Slides Widget"
|
170 |
+
msgstr "Виджет Метэор Слайдшоў"
|
171 |
|
172 |
#: meteor-slides-plugin.php:653
|
173 |
msgid "Title:"
|
174 |
+
msgstr "Загаловак:"
|
175 |
|
176 |
#: meteor-slides-plugin.php:656
|
177 |
msgid "Slideshow:"
|
178 |
+
msgstr "Слайдшоў:"
|
179 |
|
180 |
#: meteor-slides-plugin.php:659
|
181 |
msgid "Metadata:"
|
182 |
+
msgstr "Метададзеныя:"
|
183 |
|
184 |
#: meteor-slides-settings.php:7
|
185 |
msgid "Set up your slideshow using the options below."
|
186 |
+
msgstr "Наладзьце ваша слайдшоў выкарыстоўваючы опцыі размешчаныя ніжэй."
|
187 |
|
188 |
#: meteor-slides-settings.php:21
|
189 |
#: meteor-slides-settings.php:31
|
192 |
|
193 |
#: meteor-slides-settings.php:41
|
194 |
msgid "blindX"
|
195 |
+
msgstr "гарызантальны падвойны зрух"
|
196 |
|
197 |
#: meteor-slides-settings.php:41
|
198 |
msgid "blindY"
|
199 |
+
msgstr "вертыкальны падвойны зрух"
|
200 |
|
201 |
#: meteor-slides-settings.php:41
|
202 |
msgid "blindZ"
|
203 |
+
msgstr "падвойны зрух па дыяганалі"
|
204 |
|
205 |
#: meteor-slides-settings.php:41
|
206 |
msgid "cover"
|
207 |
+
msgstr "накладанне"
|
208 |
|
209 |
#: meteor-slides-settings.php:41
|
210 |
msgid "curtainX"
|
211 |
+
msgstr "гарызантальная заслона"
|
212 |
|
213 |
#: meteor-slides-settings.php:41
|
214 |
msgid "curtainY"
|
215 |
+
msgstr "вертыкальная заслона"
|
216 |
|
217 |
#: meteor-slides-settings.php:41
|
218 |
msgid "fade"
|
219 |
+
msgstr "плыўны пераход"
|
220 |
|
221 |
#: meteor-slides-settings.php:41
|
222 |
msgid "fadeZoom"
|
223 |
+
msgstr "плыўны пераход з наездам"
|
224 |
|
225 |
#: meteor-slides-settings.php:41
|
226 |
msgid "growX"
|
227 |
+
msgstr "рассоўныя вароты па гарызанталі"
|
228 |
|
229 |
#: meteor-slides-settings.php:41
|
230 |
msgid "growY"
|
231 |
+
msgstr "рассоўныя вароты па вертыкалі"
|
232 |
|
233 |
#: meteor-slides-settings.php:41
|
234 |
msgid "none"
|
235 |
+
msgstr "не"
|
236 |
|
237 |
#: meteor-slides-settings.php:41
|
238 |
msgid "scrollUp"
|
239 |
+
msgstr "прагортка ўгару"
|
240 |
|
241 |
#: meteor-slides-settings.php:41
|
242 |
msgid "scrollDown"
|
243 |
+
msgstr "прагортка ўніз"
|
244 |
|
245 |
#: meteor-slides-settings.php:41
|
246 |
msgid "scrollLeft"
|
247 |
+
msgstr "прагортка налева"
|
248 |
|
249 |
#: meteor-slides-settings.php:41
|
250 |
msgid "scrollRight"
|
251 |
+
msgstr "прагортка направа"
|
252 |
|
253 |
#: meteor-slides-settings.php:41
|
254 |
msgid "scrollHorz"
|
255 |
+
msgstr "прагортка гарызантальная"
|
256 |
|
257 |
#: meteor-slides-settings.php:41
|
258 |
msgid "scrollVert"
|
259 |
+
msgstr "прагортка вертыкальная"
|
260 |
|
261 |
#: meteor-slides-settings.php:41
|
262 |
msgid "slideX"
|
263 |
+
msgstr "гарызантальны зрух"
|
264 |
|
265 |
#: meteor-slides-settings.php:41
|
266 |
msgid "slideY"
|
267 |
+
msgstr "вертыкальны зрух"
|
268 |
|
269 |
#: meteor-slides-settings.php:41
|
270 |
msgid "shuffle"
|
271 |
+
msgstr "случаный выбар"
|
272 |
|
273 |
#: meteor-slides-settings.php:41
|
274 |
msgid "turnUp"
|
275 |
+
msgstr "наезд знізу"
|
276 |
|
277 |
#: meteor-slides-settings.php:41
|
278 |
msgid "turnDown"
|
279 |
+
msgstr "наезд зверху"
|
280 |
|
281 |
#: meteor-slides-settings.php:41
|
282 |
msgid "turnLeft"
|
284 |
|
285 |
#: meteor-slides-settings.php:41
|
286 |
msgid "turnRight"
|
287 |
+
msgstr "наезд злева"
|
288 |
|
289 |
#: meteor-slides-settings.php:41
|
290 |
msgid "uncover"
|
291 |
+
msgstr "сняти верхняга"
|
292 |
|
293 |
#: meteor-slides-settings.php:41
|
294 |
msgid "wipe"
|
295 |
+
msgstr "выціранне"
|
296 |
|
297 |
#: meteor-slides-settings.php:41
|
298 |
msgid "zoom"
|
299 |
+
msgstr "павелічэнне"
|
300 |
|
301 |
#: meteor-slides-settings.php:63
|
302 |
#: meteor-slides-settings.php:73
|
305 |
|
306 |
#: meteor-slides-settings.php:83
|
307 |
msgid "None"
|
308 |
+
msgstr "Не"
|
309 |
|
310 |
#: meteor-slides-settings.php:84
|
311 |
msgid "Previous/Next"
|
312 |
+
msgstr "Папярэдні/Наступны"
|
313 |
|
314 |
#: meteor-slides-settings.php:85
|
315 |
msgid "Paged"
|
316 |
+
msgstr "Старонкі"
|
317 |
|
318 |
#: meteor-slides-settings.php:86
|
319 |
msgid "Both"
|
320 |
+
msgstr "Абодва"
|
321 |
|
322 |
#: meteor-slides-settings.php:112
|
323 |
msgid "Meteor Slides Settings"
|
324 |
+
msgstr "Налады Meteor Slides"
|
325 |
|
326 |
#: meteor-slides-settings.php:126
|
327 |
msgid "Save Changes"
|
328 |
+
msgstr "Захаваць змены"
|
329 |
|
330 |
#: meteor-slides-settings.php:132
|
331 |
msgid "Install Slideshow"
|
332 |
+
msgstr "Усталяваць слайдшоў"
|
333 |
|
334 |
#: meteor-slides-settings.php:134
|
335 |
#, php-format
|
336 |
msgid "Use %1$s to add this slideshow to your theme, use %2$s to add it to your Post or Page content, or use the Meteor Slides Widget. %3$sMore information%4$s"
|
337 |
+
msgstr "Выкарыстоўвайце %1$s для дадання гэтага слайдшоў у сваю тэму, выкарыстоўвайце %2$s для дадання яго ў ваш пост ці старонку, ці выкарыстоўвайце виджет Meteor Slides. %3$sПодробнее%4$s"
|
338 |
|
339 |
#: meteor-slides-settings.php:136
|
340 |
#, php-format
|
341 |
msgid "Please %1$spost any questions or problems%2$s in the WordPress.org support forums."
|
342 |
+
msgstr "Калі ласка %1$sзадавайте любыя пытанні ці паведамляйце пра праблемы%2$s на форуме тэхпадтрымкі WordPress.org."
|
343 |
|
344 |
#: meteor-slideshow.php:17
|
345 |
#: meteor-slideshow.php:29
|
346 |
msgid "Previous"
|
347 |
+
msgstr "Папярэдні"
|
348 |
|
349 |
#: meteor-slideshow.php:19
|
350 |
#: meteor-slideshow.php:31
|
351 |
msgid "Next"
|
352 |
+
msgstr "Наступны"
|
353 |
|
languages/meteor-slides-cs_CZ.mo
ADDED
Binary file
|
languages/meteor-slides-cs_CZ.po
ADDED
@@ -0,0 +1,351 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of the WordPress plugin by .
|
2 |
+
# Copyright (C) 2010
|
3 |
+
# This file is distributed under the same license as the package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
+
#
|
6 |
+
msgid ""
|
7 |
+
msgstr ""
|
8 |
+
"Project-Id-Version: Meteor Slides 1.4.1\n"
|
9 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/meteor-slides\n"
|
10 |
+
"POT-Creation-Date: 2010-10-13 16:51+0000\n"
|
11 |
+
"PO-Revision-Date: 2011-11-27 10:53-0600\n"
|
12 |
+
"Last-Translator: Josh Leuze <jleuze@gmail.com>\n"
|
13 |
+
"Language-Team: JLeuze <mail@jleuze.com>\n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
+
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
18 |
+
"X-Poedit-Basepath: .\n"
|
19 |
+
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
|
21 |
+
#: meteor-slides-plugin.php:78
|
22 |
+
msgid "Slides"
|
23 |
+
msgstr ""
|
24 |
+
|
25 |
+
#: meteor-slides-plugin.php:79
|
26 |
+
msgid "Slide"
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: meteor-slides-plugin.php:80
|
30 |
+
msgid "Add New"
|
31 |
+
msgstr "Pøidat Nový"
|
32 |
+
|
33 |
+
#: meteor-slides-plugin.php:81
|
34 |
+
msgid "Add New Slide"
|
35 |
+
msgstr "Sløidat Nový Slide"
|
36 |
+
|
37 |
+
#: meteor-slides-plugin.php:82
|
38 |
+
msgid "Edit Slide"
|
39 |
+
msgstr "Upravit Slide"
|
40 |
+
|
41 |
+
#: meteor-slides-plugin.php:83
|
42 |
+
msgid "Edit"
|
43 |
+
msgstr "Upravit"
|
44 |
+
|
45 |
+
#: meteor-slides-plugin.php:84
|
46 |
+
msgid "New Slide"
|
47 |
+
msgstr "Nový Slide"
|
48 |
+
|
49 |
+
#: meteor-slides-plugin.php:85
|
50 |
+
#: meteor-slides-plugin.php:89
|
51 |
+
msgid "View Slide"
|
52 |
+
msgstr "Zobrazit Slide"
|
53 |
+
|
54 |
+
#: meteor-slides-plugin.php:86
|
55 |
+
msgid "Search Slides"
|
56 |
+
msgstr "Hledat Slides"
|
57 |
+
|
58 |
+
#: meteor-slides-plugin.php:87
|
59 |
+
msgid "No slides found"
|
60 |
+
msgstr "Žádné slides nenalezeny"
|
61 |
+
|
62 |
+
#: meteor-slides-plugin.php:88
|
63 |
+
msgid "No slides found in Trash"
|
64 |
+
msgstr "V koši nenalezeny žádné slides"
|
65 |
+
|
66 |
+
#: meteor-slides-plugin.php:127
|
67 |
+
msgid "Slideshows"
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
#: meteor-slides-plugin.php:128
|
71 |
+
msgid "Slideshow"
|
72 |
+
msgstr ""
|
73 |
+
|
74 |
+
#: meteor-slides-plugin.php:129
|
75 |
+
msgid "Search Slideshows"
|
76 |
+
msgstr "Hledat Slideshows"
|
77 |
+
|
78 |
+
#: meteor-slides-plugin.php:130
|
79 |
+
msgid "Popular Slideshows"
|
80 |
+
msgstr "Populární Slideshows"
|
81 |
+
|
82 |
+
#: meteor-slides-plugin.php:131
|
83 |
+
msgid "All Slideshows"
|
84 |
+
msgstr "Všechny Slideshows"
|
85 |
+
|
86 |
+
#: meteor-slides-plugin.php:132
|
87 |
+
msgid "Parent Slideshow"
|
88 |
+
msgstr "Nadøazená Slideshow"
|
89 |
+
|
90 |
+
#: meteor-slides-plugin.php:133
|
91 |
+
msgid "Parent Slideshow:"
|
92 |
+
msgstr "Nadøazená Slideshow:"
|
93 |
+
|
94 |
+
#: meteor-slides-plugin.php:134
|
95 |
+
msgid "Edit Slideshow"
|
96 |
+
msgstr "Upravit Slideshow"
|
97 |
+
|
98 |
+
#: meteor-slides-plugin.php:135
|
99 |
+
msgid "Update Slideshow"
|
100 |
+
msgstr "Aktualizovat Slideshow"
|
101 |
+
|
102 |
+
#: meteor-slides-plugin.php:136
|
103 |
+
msgid "Add New Slideshow"
|
104 |
+
msgstr "Pøidat Novou Slideshow"
|
105 |
+
|
106 |
+
#: meteor-slides-plugin.php:137
|
107 |
+
msgid "New Slideshow Name"
|
108 |
+
msgstr "Jméno Nové Slideshow"
|
109 |
+
|
110 |
+
#: meteor-slides-plugin.php:159
|
111 |
+
msgid "Slide Image"
|
112 |
+
msgstr "Obrázek ve slideshow"
|
113 |
+
|
114 |
+
#: meteor-slides-plugin.php:194
|
115 |
+
msgid "Add the URL this slide should link to."
|
116 |
+
msgstr "Pøidejte adresu, na kterou bude slide odkazovat"
|
117 |
+
|
118 |
+
#: meteor-slides-plugin.php:206
|
119 |
+
msgid "Slide Link"
|
120 |
+
msgstr "Odkaz"
|
121 |
+
|
122 |
+
#: meteor-slides-plugin.php:324
|
123 |
+
msgid "Slides Settings"
|
124 |
+
msgstr "Nastavení Slides"
|
125 |
+
|
126 |
+
#: meteor-slides-plugin.php:324
|
127 |
+
msgid "Settings"
|
128 |
+
msgstr "Nastavení"
|
129 |
+
|
130 |
+
#: meteor-slides-plugin.php:358
|
131 |
+
msgid "Configure Slideshow"
|
132 |
+
msgstr "Upravit Slideshow"
|
133 |
+
|
134 |
+
#: meteor-slides-plugin.php:360
|
135 |
+
msgid "Slideshow Quantity"
|
136 |
+
msgstr "Poèet Slideshow"
|
137 |
+
|
138 |
+
#: meteor-slides-plugin.php:362
|
139 |
+
msgid "Slide Height"
|
140 |
+
msgstr "Výška"
|
141 |
+
|
142 |
+
#: meteor-slides-plugin.php:364
|
143 |
+
msgid "Slide Width"
|
144 |
+
msgstr "Šíøka"
|
145 |
+
|
146 |
+
#: meteor-slides-plugin.php:366
|
147 |
+
msgid "Transition Style"
|
148 |
+
msgstr "Typ prolnutí"
|
149 |
+
|
150 |
+
#: meteor-slides-plugin.php:368
|
151 |
+
msgid "Transition Speed"
|
152 |
+
msgstr "Rychlost prolnutí"
|
153 |
+
|
154 |
+
#: meteor-slides-plugin.php:370
|
155 |
+
msgid "Slide Duration"
|
156 |
+
msgstr "Doba/trvání Slide"
|
157 |
+
|
158 |
+
#: meteor-slides-plugin.php:372
|
159 |
+
msgid "Slideshow Navigation"
|
160 |
+
msgstr "Navigace Slideshow"
|
161 |
+
|
162 |
+
#: meteor-slides-plugin.php:605
|
163 |
+
msgid "Add a slideshow widget to a sidebar"
|
164 |
+
msgstr "Pøidá slideshow do postranního panelu"
|
165 |
+
|
166 |
+
#: meteor-slides-plugin.php:609
|
167 |
+
msgid "Meteor Slides Widget"
|
168 |
+
msgstr ""
|
169 |
+
|
170 |
+
#: meteor-slides-plugin.php:653
|
171 |
+
msgid "Title:"
|
172 |
+
msgstr "Název:"
|
173 |
+
|
174 |
+
#: meteor-slides-plugin.php:656
|
175 |
+
msgid "Slideshow:"
|
176 |
+
msgstr ""
|
177 |
+
|
178 |
+
#: meteor-slides-plugin.php:659
|
179 |
+
msgid "Metadata:"
|
180 |
+
msgstr ""
|
181 |
+
|
182 |
+
#: meteor-slides-settings.php:7
|
183 |
+
msgid "Set up your slideshow using the options below."
|
184 |
+
msgstr "Nastavte slideshow pomocí níže uvedených možností."
|
185 |
+
|
186 |
+
#: meteor-slides-settings.php:21
|
187 |
+
#: meteor-slides-settings.php:31
|
188 |
+
msgid "px"
|
189 |
+
msgstr ""
|
190 |
+
|
191 |
+
#: meteor-slides-settings.php:41
|
192 |
+
msgid "blindX"
|
193 |
+
msgstr ""
|
194 |
+
|
195 |
+
#: meteor-slides-settings.php:41
|
196 |
+
msgid "blindY"
|
197 |
+
msgstr ""
|
198 |
+
|
199 |
+
#: meteor-slides-settings.php:41
|
200 |
+
msgid "blindZ"
|
201 |
+
msgstr ""
|
202 |
+
|
203 |
+
#: meteor-slides-settings.php:41
|
204 |
+
msgid "cover"
|
205 |
+
msgstr ""
|
206 |
+
|
207 |
+
#: meteor-slides-settings.php:41
|
208 |
+
msgid "curtainX"
|
209 |
+
msgstr ""
|
210 |
+
|
211 |
+
#: meteor-slides-settings.php:41
|
212 |
+
msgid "curtainY"
|
213 |
+
msgstr ""
|
214 |
+
|
215 |
+
#: meteor-slides-settings.php:41
|
216 |
+
msgid "fade"
|
217 |
+
msgstr ""
|
218 |
+
|
219 |
+
#: meteor-slides-settings.php:41
|
220 |
+
msgid "fadeZoom"
|
221 |
+
msgstr ""
|
222 |
+
|
223 |
+
#: meteor-slides-settings.php:41
|
224 |
+
msgid "growX"
|
225 |
+
msgstr ""
|
226 |
+
|
227 |
+
#: meteor-slides-settings.php:41
|
228 |
+
msgid "growY"
|
229 |
+
msgstr ""
|
230 |
+
|
231 |
+
#: meteor-slides-settings.php:41
|
232 |
+
msgid "none"
|
233 |
+
msgstr "Žádný"
|
234 |
+
|
235 |
+
#: meteor-slides-settings.php:41
|
236 |
+
msgid "scrollUp"
|
237 |
+
msgstr ""
|
238 |
+
|
239 |
+
#: meteor-slides-settings.php:41
|
240 |
+
msgid "scrollDown"
|
241 |
+
msgstr ""
|
242 |
+
|
243 |
+
#: meteor-slides-settings.php:41
|
244 |
+
msgid "scrollLeft"
|
245 |
+
msgstr ""
|
246 |
+
|
247 |
+
#: meteor-slides-settings.php:41
|
248 |
+
msgid "scrollRight"
|
249 |
+
msgstr ""
|
250 |
+
|
251 |
+
#: meteor-slides-settings.php:41
|
252 |
+
msgid "scrollHorz"
|
253 |
+
msgstr ""
|
254 |
+
|
255 |
+
#: meteor-slides-settings.php:41
|
256 |
+
msgid "scrollVert"
|
257 |
+
msgstr ""
|
258 |
+
|
259 |
+
#: meteor-slides-settings.php:41
|
260 |
+
msgid "slideX"
|
261 |
+
msgstr ""
|
262 |
+
|
263 |
+
#: meteor-slides-settings.php:41
|
264 |
+
msgid "slideY"
|
265 |
+
msgstr ""
|
266 |
+
|
267 |
+
#: meteor-slides-settings.php:41
|
268 |
+
msgid "shuffle"
|
269 |
+
msgstr ""
|
270 |
+
|
271 |
+
#: meteor-slides-settings.php:41
|
272 |
+
msgid "turnUp"
|
273 |
+
msgstr ""
|
274 |
+
|
275 |
+
#: meteor-slides-settings.php:41
|
276 |
+
msgid "turnDown"
|
277 |
+
msgstr ""
|
278 |
+
|
279 |
+
#: meteor-slides-settings.php:41
|
280 |
+
msgid "turnLeft"
|
281 |
+
msgstr ""
|
282 |
+
|
283 |
+
#: meteor-slides-settings.php:41
|
284 |
+
msgid "turnRight"
|
285 |
+
msgstr ""
|
286 |
+
|
287 |
+
#: meteor-slides-settings.php:41
|
288 |
+
msgid "uncover"
|
289 |
+
msgstr ""
|
290 |
+
|
291 |
+
#: meteor-slides-settings.php:41
|
292 |
+
msgid "wipe"
|
293 |
+
msgstr ""
|
294 |
+
|
295 |
+
#: meteor-slides-settings.php:41
|
296 |
+
msgid "zoom"
|
297 |
+
msgstr ""
|
298 |
+
|
299 |
+
#: meteor-slides-settings.php:63
|
300 |
+
#: meteor-slides-settings.php:73
|
301 |
+
msgid "seconds"
|
302 |
+
msgstr ""
|
303 |
+
|
304 |
+
#: meteor-slides-settings.php:83
|
305 |
+
msgid "None"
|
306 |
+
msgstr "Žádný"
|
307 |
+
|
308 |
+
#: meteor-slides-settings.php:84
|
309 |
+
msgid "Previous/Next"
|
310 |
+
msgstr "Pøedchozí/Další"
|
311 |
+
|
312 |
+
#: meteor-slides-settings.php:85
|
313 |
+
msgid "Paged"
|
314 |
+
msgstr "Stránkování"
|
315 |
+
|
316 |
+
#: meteor-slides-settings.php:86
|
317 |
+
msgid "Both"
|
318 |
+
msgstr "Oba/obì"
|
319 |
+
|
320 |
+
#: meteor-slides-settings.php:112
|
321 |
+
msgid "Meteor Slides Settings"
|
322 |
+
msgstr "Meteor Slides - Nastavení"
|
323 |
+
|
324 |
+
#: meteor-slides-settings.php:126
|
325 |
+
msgid "Save Changes"
|
326 |
+
msgstr "Uložit Zmìny"
|
327 |
+
|
328 |
+
#: meteor-slides-settings.php:132
|
329 |
+
msgid "Install Slideshow"
|
330 |
+
msgstr "Instalovat Slideshow"
|
331 |
+
|
332 |
+
#: meteor-slides-settings.php:134
|
333 |
+
#, php-format
|
334 |
+
msgid "Use %1$s to add this slideshow to your theme, use %2$s to add it to your Post or Page content, or use the Meteor Slides Widget. %3$sMore information%4$s"
|
335 |
+
msgstr "Použijte %1$s k pøidání slideshow do vaší šablony. Použijte %2$s k pøidání slideshow do obsahu Pøíspìvku nebo Stránky. Nebo použijte Meteor Slides Widget. %3$sVíce informací%4$s"
|
336 |
+
|
337 |
+
#: meteor-slides-settings.php:136
|
338 |
+
#, php-format
|
339 |
+
msgid "Please %1$spost any questions or problems%2$s in the WordPress.org support forums."
|
340 |
+
msgstr "Prosím, %1$sdotazy nebo problémy pište%2$s na fóra podpory - WordPress.org."
|
341 |
+
|
342 |
+
#: meteor-slideshow.php:17
|
343 |
+
#: meteor-slideshow.php:29
|
344 |
+
msgid "Previous"
|
345 |
+
msgstr "Pøedchozí"
|
346 |
+
|
347 |
+
#: meteor-slideshow.php:19
|
348 |
+
#: meteor-slideshow.php:31
|
349 |
+
msgid "Next"
|
350 |
+
msgstr "Další"
|
351 |
+
|
languages/meteor-slides-da_DK.mo
ADDED
Binary file
|
languages/meteor-slides-da_DK.po
ADDED
@@ -0,0 +1,676 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: \n"
|
4 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/meteor-slides\n"
|
5 |
+
"POT-Creation-Date: 2010-10-13 16:51+0000\n"
|
6 |
+
"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
|
7 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Poedit-Language: \n"
|
14 |
+
"X-Poedit-Country: \n"
|
15 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
|
17 |
+
"X-Poedit-Basepath: \n"
|
18 |
+
"X-Poedit-Bookmarks: \n"
|
19 |
+
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
"X-Textdomain-Support: yes"
|
21 |
+
|
22 |
+
#: includes/meteor-slides-admin.php:238
|
23 |
+
#: meteor-slides-plugin.php:36
|
24 |
+
#: meteor-slides-plugin.php:47
|
25 |
+
#@ meteor-slides
|
26 |
+
msgid "Slides"
|
27 |
+
msgstr "lysbilleder"
|
28 |
+
|
29 |
+
#: meteor-slides-plugin.php:37
|
30 |
+
#@ meteor-slides
|
31 |
+
msgid "Slide"
|
32 |
+
msgstr "lysbillede"
|
33 |
+
|
34 |
+
#: meteor-slides-plugin.php:38
|
35 |
+
#@ meteor-slides
|
36 |
+
msgid "Add New"
|
37 |
+
msgstr "Tilføj nyt"
|
38 |
+
|
39 |
+
#: includes/meteor-slides-admin.php:224
|
40 |
+
#: meteor-slides-plugin.php:39
|
41 |
+
#@ meteor-slides
|
42 |
+
msgid "Add New Slide"
|
43 |
+
msgstr "Tilføj nyt lysbillede"
|
44 |
+
|
45 |
+
#: meteor-slides-plugin.php:40
|
46 |
+
#@ meteor-slides
|
47 |
+
msgid "Edit Slide"
|
48 |
+
msgstr "Redigér lysbillede"
|
49 |
+
|
50 |
+
#: meteor-slides-plugin.php:41
|
51 |
+
#@ meteor-slides
|
52 |
+
msgid "New Slide"
|
53 |
+
msgstr "Nyt lysbillede"
|
54 |
+
|
55 |
+
#: meteor-slides-plugin.php:42
|
56 |
+
#@ meteor-slides
|
57 |
+
msgid "View Slide"
|
58 |
+
msgstr "Se lysbillede"
|
59 |
+
|
60 |
+
#: meteor-slides-plugin.php:43
|
61 |
+
#@ meteor-slides
|
62 |
+
msgid "Search Slides"
|
63 |
+
msgstr "Søg lysbilleder"
|
64 |
+
|
65 |
+
#: meteor-slides-plugin.php:44
|
66 |
+
#@ meteor-slides
|
67 |
+
msgid "No slides found"
|
68 |
+
msgstr "Ingen lysbilleder fundet"
|
69 |
+
|
70 |
+
#: meteor-slides-plugin.php:45
|
71 |
+
#@ meteor-slides
|
72 |
+
msgid "No slides found in Trash"
|
73 |
+
msgstr "Ingen lysbilleder fundet i papirkurven"
|
74 |
+
|
75 |
+
#: includes/meteor-slides-admin.php:248
|
76 |
+
#: meteor-slides-plugin.php:124
|
77 |
+
#: meteor-slides-plugin.php:135
|
78 |
+
#@ meteor-slides
|
79 |
+
msgid "Slideshows"
|
80 |
+
msgstr "Lysbilledshows"
|
81 |
+
|
82 |
+
#: meteor-slides-plugin.php:125
|
83 |
+
#@ meteor-slides
|
84 |
+
msgid "Slideshow"
|
85 |
+
msgstr "Lysbilledshow"
|
86 |
+
|
87 |
+
#: meteor-slides-plugin.php:126
|
88 |
+
#@ meteor-slides
|
89 |
+
msgid "Search Slideshows"
|
90 |
+
msgstr "Søg lysbilledshows"
|
91 |
+
|
92 |
+
#: meteor-slides-plugin.php:127
|
93 |
+
#@ meteor-slides
|
94 |
+
msgid "Popular Slideshows"
|
95 |
+
msgstr "Populære lysbilledshows"
|
96 |
+
|
97 |
+
#: meteor-slides-plugin.php:128
|
98 |
+
#@ meteor-slides
|
99 |
+
msgid "All Slideshows"
|
100 |
+
msgstr "Alle lysbilledshows"
|
101 |
+
|
102 |
+
#: meteor-slides-plugin.php:129
|
103 |
+
#@ meteor-slides
|
104 |
+
msgid "Parent Slideshow"
|
105 |
+
msgstr "Forældre lysbilledshow"
|
106 |
+
|
107 |
+
#: meteor-slides-plugin.php:130
|
108 |
+
#@ meteor-slides
|
109 |
+
msgid "Parent Slideshow:"
|
110 |
+
msgstr "Forældre lysbilledshow:"
|
111 |
+
|
112 |
+
#: meteor-slides-plugin.php:131
|
113 |
+
#@ meteor-slides
|
114 |
+
msgid "Edit Slideshow"
|
115 |
+
msgstr "Redigér lysbilledshow"
|
116 |
+
|
117 |
+
#: meteor-slides-plugin.php:132
|
118 |
+
#@ meteor-slides
|
119 |
+
msgid "Update Slideshow"
|
120 |
+
msgstr "Opdatér lysbilledshow"
|
121 |
+
|
122 |
+
#: meteor-slides-plugin.php:133
|
123 |
+
#@ meteor-slides
|
124 |
+
msgid "Add New Slideshow"
|
125 |
+
msgstr "Tilføj nyt lysbilledshow"
|
126 |
+
|
127 |
+
#: meteor-slides-plugin.php:134
|
128 |
+
#@ meteor-slides
|
129 |
+
msgid "New Slideshow Name"
|
130 |
+
msgstr "Nyt lysbilledshow-navn"
|
131 |
+
|
132 |
+
#: includes/meteor-slides-admin.php:39
|
133 |
+
#: includes/meteor-slides-admin.php:170
|
134 |
+
#@ meteor-slides
|
135 |
+
msgid "Slide Image"
|
136 |
+
msgstr "Lysbillede"
|
137 |
+
|
138 |
+
#: includes/meteor-slides-admin.php:87
|
139 |
+
#@ meteor-slides
|
140 |
+
msgid "Add the URL this slide should link to."
|
141 |
+
msgstr "Tilføj URL som dette lysbillede skal linke til."
|
142 |
+
|
143 |
+
#: includes/meteor-slides-admin.php:99
|
144 |
+
#: includes/meteor-slides-admin.php:172
|
145 |
+
#@ meteor-slides
|
146 |
+
msgid "Slide Link"
|
147 |
+
msgstr "Lysbillede-link"
|
148 |
+
|
149 |
+
#: includes/meteor-slides-admin.php:325
|
150 |
+
#@ meteor-slides
|
151 |
+
msgid "Slides Settings"
|
152 |
+
msgstr "Lysbillede-indstillinger"
|
153 |
+
|
154 |
+
#: includes/meteor-slides-admin.php:325
|
155 |
+
#: includes/meteor-slides-admin.php:373
|
156 |
+
#@ meteor-slides
|
157 |
+
msgid "Settings"
|
158 |
+
msgstr "Indstillinger"
|
159 |
+
|
160 |
+
#: includes/meteor-slides-admin.php:262
|
161 |
+
#: includes/meteor-slides-admin.php:389
|
162 |
+
#@ meteor-slides
|
163 |
+
msgid "Configure Slideshow"
|
164 |
+
msgstr "Konfigurer lysbilledshow"
|
165 |
+
|
166 |
+
#: includes/meteor-slides-admin.php:391
|
167 |
+
#@ meteor-slides
|
168 |
+
msgid "Slideshow Quantity"
|
169 |
+
msgstr "Lysbilledshow-kvantitet"
|
170 |
+
|
171 |
+
#: includes/meteor-slides-admin.php:393
|
172 |
+
#@ meteor-slides
|
173 |
+
msgid "Slide Height"
|
174 |
+
msgstr "Lysbillede-højde"
|
175 |
+
|
176 |
+
#: includes/meteor-slides-admin.php:395
|
177 |
+
#@ meteor-slides
|
178 |
+
msgid "Slide Width"
|
179 |
+
msgstr "Lysbillede-bredde"
|
180 |
+
|
181 |
+
#: includes/meteor-slides-admin.php:397
|
182 |
+
#@ meteor-slides
|
183 |
+
msgid "Transition Style"
|
184 |
+
msgstr "Overgangstypografi"
|
185 |
+
|
186 |
+
#: includes/meteor-slides-admin.php:399
|
187 |
+
#@ meteor-slides
|
188 |
+
msgid "Transition Speed"
|
189 |
+
msgstr "Overgangshastighed"
|
190 |
+
|
191 |
+
#: includes/meteor-slides-admin.php:401
|
192 |
+
#@ meteor-slides
|
193 |
+
msgid "Slide Duration"
|
194 |
+
msgstr "Lysbillede-visningsvarighed"
|
195 |
+
|
196 |
+
#: includes/meteor-slides-admin.php:403
|
197 |
+
#@ meteor-slides
|
198 |
+
msgid "Slideshow Navigation"
|
199 |
+
msgstr "Lysbilledshow navigering"
|
200 |
+
|
201 |
+
#: meteor-slides-plugin.php:408
|
202 |
+
#@ meteor-slides
|
203 |
+
msgid "Add a slideshow widget to a sidebar"
|
204 |
+
msgstr "Tilføj en lysbilledshow-widget til et sidepanel"
|
205 |
+
|
206 |
+
#: meteor-slides-plugin.php:414
|
207 |
+
#@ meteor-slides
|
208 |
+
msgid "Meteor Slides Widget"
|
209 |
+
msgstr "Meteor lysbillede-widget"
|
210 |
+
|
211 |
+
#: meteor-slides-plugin.php:463
|
212 |
+
#@ meteor-slides
|
213 |
+
msgid "Title:"
|
214 |
+
msgstr "Titel:"
|
215 |
+
|
216 |
+
#: meteor-slides-plugin.php:466
|
217 |
+
#@ meteor-slides
|
218 |
+
msgid "Slideshow:"
|
219 |
+
msgstr "Lysbilledshow:"
|
220 |
+
|
221 |
+
#: meteor-slides-plugin.php:469
|
222 |
+
#@ meteor-slides
|
223 |
+
msgid "Metadata:"
|
224 |
+
msgstr "Metadata:"
|
225 |
+
|
226 |
+
#: includes/meteor-slides-settings.php:7
|
227 |
+
#@ meteor-slides
|
228 |
+
msgid "Set up your slideshow using the options below."
|
229 |
+
msgstr "Tilpas dit lysbilledshow ved hjælp af indstillingerne herunder:"
|
230 |
+
|
231 |
+
#: includes/meteor-slides-settings.php:23
|
232 |
+
#: includes/meteor-slides-settings.php:33
|
233 |
+
#@ meteor-slides
|
234 |
+
msgid "px"
|
235 |
+
msgstr "px"
|
236 |
+
|
237 |
+
#: includes/meteor-slides-settings.php:43
|
238 |
+
#@ meteor-slides
|
239 |
+
msgid "blindX"
|
240 |
+
msgstr "blindX"
|
241 |
+
|
242 |
+
#: includes/meteor-slides-settings.php:44
|
243 |
+
#@ meteor-slides
|
244 |
+
msgid "blindY"
|
245 |
+
msgstr "blindY"
|
246 |
+
|
247 |
+
#: includes/meteor-slides-settings.php:45
|
248 |
+
#@ meteor-slides
|
249 |
+
msgid "blindZ"
|
250 |
+
msgstr "blindZ"
|
251 |
+
|
252 |
+
#: includes/meteor-slides-settings.php:46
|
253 |
+
#@ meteor-slides
|
254 |
+
msgid "cover"
|
255 |
+
msgstr "cover"
|
256 |
+
|
257 |
+
#: includes/meteor-slides-settings.php:47
|
258 |
+
#@ meteor-slides
|
259 |
+
msgid "curtainX"
|
260 |
+
msgstr "curtainX"
|
261 |
+
|
262 |
+
#: includes/meteor-slides-settings.php:48
|
263 |
+
#@ meteor-slides
|
264 |
+
msgid "curtainY"
|
265 |
+
msgstr "curtainY"
|
266 |
+
|
267 |
+
#: includes/meteor-slides-settings.php:49
|
268 |
+
#@ meteor-slides
|
269 |
+
msgid "fade"
|
270 |
+
msgstr "fade"
|
271 |
+
|
272 |
+
#: includes/meteor-slides-settings.php:50
|
273 |
+
#@ meteor-slides
|
274 |
+
msgid "fadeZoom"
|
275 |
+
msgstr "fadeZoom"
|
276 |
+
|
277 |
+
#: includes/meteor-slides-settings.php:51
|
278 |
+
#@ meteor-slides
|
279 |
+
msgid "growX"
|
280 |
+
msgstr "growX"
|
281 |
+
|
282 |
+
#: includes/meteor-slides-settings.php:52
|
283 |
+
#@ meteor-slides
|
284 |
+
msgid "growY"
|
285 |
+
msgstr "growY"
|
286 |
+
|
287 |
+
#: includes/meteor-slides-settings.php:53
|
288 |
+
#@ meteor-slides
|
289 |
+
msgid "none"
|
290 |
+
msgstr "Ingen"
|
291 |
+
|
292 |
+
#: includes/meteor-slides-settings.php:54
|
293 |
+
#@ meteor-slides
|
294 |
+
msgid "scrollUp"
|
295 |
+
msgstr "scrollUp"
|
296 |
+
|
297 |
+
#: includes/meteor-slides-settings.php:55
|
298 |
+
#@ meteor-slides
|
299 |
+
msgid "scrollDown"
|
300 |
+
msgstr "scrollDown"
|
301 |
+
|
302 |
+
#: includes/meteor-slides-settings.php:56
|
303 |
+
#@ meteor-slides
|
304 |
+
msgid "scrollLeft"
|
305 |
+
msgstr "scrollLeft"
|
306 |
+
|
307 |
+
#: includes/meteor-slides-settings.php:57
|
308 |
+
#@ meteor-slides
|
309 |
+
msgid "scrollRight"
|
310 |
+
msgstr "scrollRight"
|
311 |
+
|
312 |
+
#: includes/meteor-slides-settings.php:58
|
313 |
+
#@ meteor-slides
|
314 |
+
msgid "scrollHorz"
|
315 |
+
msgstr "scrollHorz"
|
316 |
+
|
317 |
+
#: includes/meteor-slides-settings.php:59
|
318 |
+
#@ meteor-slides
|
319 |
+
msgid "scrollVert"
|
320 |
+
msgstr "scrollVert"
|
321 |
+
|
322 |
+
#: includes/meteor-slides-settings.php:60
|
323 |
+
#@ meteor-slides
|
324 |
+
msgid "slideX"
|
325 |
+
msgstr "slideX"
|
326 |
+
|
327 |
+
#: includes/meteor-slides-settings.php:61
|
328 |
+
#@ meteor-slides
|
329 |
+
msgid "slideY"
|
330 |
+
msgstr "slideY"
|
331 |
+
|
332 |
+
#: includes/meteor-slides-settings.php:62
|
333 |
+
#@ meteor-slides
|
334 |
+
msgid "shuffle"
|
335 |
+
msgstr "shuffle"
|
336 |
+
|
337 |
+
#: includes/meteor-slides-settings.php:63
|
338 |
+
#@ meteor-slides
|
339 |
+
msgid "turnUp"
|
340 |
+
msgstr "turnUp"
|
341 |
+
|
342 |
+
#: includes/meteor-slides-settings.php:64
|
343 |
+
#@ meteor-slides
|
344 |
+
msgid "turnDown"
|
345 |
+
msgstr "turnDown"
|
346 |
+
|
347 |
+
#: includes/meteor-slides-settings.php:65
|
348 |
+
#@ meteor-slides
|
349 |
+
msgid "turnLeft"
|
350 |
+
msgstr "turnLeft"
|
351 |
+
|
352 |
+
#: includes/meteor-slides-settings.php:66
|
353 |
+
#@ meteor-slides
|
354 |
+
msgid "turnRight"
|
355 |
+
msgstr "turnRight"
|
356 |
+
|
357 |
+
#: includes/meteor-slides-settings.php:67
|
358 |
+
#@ meteor-slides
|
359 |
+
msgid "uncover"
|
360 |
+
msgstr "uncover"
|
361 |
+
|
362 |
+
#: includes/meteor-slides-settings.php:68
|
363 |
+
#@ meteor-slides
|
364 |
+
msgid "wipe"
|
365 |
+
msgstr "wipe"
|
366 |
+
|
367 |
+
#: includes/meteor-slides-settings.php:69
|
368 |
+
#@ meteor-slides
|
369 |
+
msgid "zoom"
|
370 |
+
msgstr "zoom"
|
371 |
+
|
372 |
+
#: includes/meteor-slides-settings.php:121
|
373 |
+
#: includes/meteor-slides-settings.php:131
|
374 |
+
#@ meteor-slides
|
375 |
+
msgid "seconds"
|
376 |
+
msgstr "sekunder"
|
377 |
+
|
378 |
+
#: includes/meteor-slides-settings.php:141
|
379 |
+
#@ meteor-slides
|
380 |
+
msgid "None"
|
381 |
+
msgstr "Ingen"
|
382 |
+
|
383 |
+
#: includes/meteor-slides-settings.php:142
|
384 |
+
#@ meteor-slides
|
385 |
+
msgid "Previous/Next"
|
386 |
+
msgstr "Forrige/Næste"
|
387 |
+
|
388 |
+
#: includes/meteor-slides-settings.php:143
|
389 |
+
#@ meteor-slides
|
390 |
+
msgid "Paged"
|
391 |
+
msgstr "Sideinddelte"
|
392 |
+
|
393 |
+
#: includes/meteor-slides-settings.php:144
|
394 |
+
#@ meteor-slides
|
395 |
+
msgid "Both"
|
396 |
+
msgstr "Begge"
|
397 |
+
|
398 |
+
#: includes/meteor-slides-settings.php:177
|
399 |
+
#@ meteor-slides
|
400 |
+
msgid "Meteor Slides Settings"
|
401 |
+
msgstr "Meteor Slides indstillinger"
|
402 |
+
|
403 |
+
#: includes/meteor-slides-settings.php:191
|
404 |
+
#@ meteor-slides
|
405 |
+
msgid "Save Changes"
|
406 |
+
msgstr "Gem ændringer"
|
407 |
+
|
408 |
+
#: includes/meteor-slides-settings.php:203
|
409 |
+
#, php-format
|
410 |
+
#@ meteor-slides
|
411 |
+
msgid "Please %1$spost any questions or problems%2$s in the WordPress.org support forums."
|
412 |
+
msgstr "%1$sOpret indlæg på evt. spørgsmål eller problemer%2$s i WordPress.org support forum."
|
413 |
+
|
414 |
+
#: includes/meteor-slideshow.php:71
|
415 |
+
#: includes/meteor-slideshow.php:85
|
416 |
+
#@ meteor-slides
|
417 |
+
msgid "Previous"
|
418 |
+
msgstr "Forrige"
|
419 |
+
|
420 |
+
#: includes/meteor-slideshow.php:73
|
421 |
+
#: includes/meteor-slideshow.php:87
|
422 |
+
#@ meteor-slides
|
423 |
+
msgid "Next"
|
424 |
+
msgstr "Næste"
|
425 |
+
|
426 |
+
#: includes/meteor-slides-admin.php:14
|
427 |
+
#, php-format
|
428 |
+
#@ meteor-slides
|
429 |
+
msgid "Slide updated. <a href=\"%s\">View slide</a>"
|
430 |
+
msgstr "Lysbillede opdateret. <a href=\"%s\">Se lysbillede</a>"
|
431 |
+
|
432 |
+
#: includes/meteor-slides-admin.php:15
|
433 |
+
#@ meteor-slides
|
434 |
+
msgid "Custom field updated."
|
435 |
+
msgstr "Tilpasset felt opdateret."
|
436 |
+
|
437 |
+
#: includes/meteor-slides-admin.php:16
|
438 |
+
#@ meteor-slides
|
439 |
+
msgid "Custom field deleted."
|
440 |
+
msgstr "Tilpasset felt slettet."
|
441 |
+
|
442 |
+
#: includes/meteor-slides-admin.php:17
|
443 |
+
#@ meteor-slides
|
444 |
+
msgid "Slide updated."
|
445 |
+
msgstr "Lysbillede opdateret."
|
446 |
+
|
447 |
+
#: includes/meteor-slides-admin.php:18
|
448 |
+
#, php-format
|
449 |
+
#@ meteor-slides
|
450 |
+
msgid "Slide restored to revision from %s"
|
451 |
+
msgstr "Lysbillede gendannet til revision fra %s"
|
452 |
+
|
453 |
+
#: includes/meteor-slides-admin.php:19
|
454 |
+
#, php-format
|
455 |
+
#@ meteor-slides
|
456 |
+
msgid "Slide published. <a href=\"%s\">View slide</a>"
|
457 |
+
msgstr "Lysbillede offentliggjort. <a href=\"%s\">Se lysbillede</a>"
|
458 |
+
|
459 |
+
#: includes/meteor-slides-admin.php:20
|
460 |
+
#@ meteor-slides
|
461 |
+
msgid "Slide saved."
|
462 |
+
msgstr "Lysbillede gemt."
|
463 |
+
|
464 |
+
#: includes/meteor-slides-admin.php:21
|
465 |
+
#, php-format
|
466 |
+
#@ meteor-slides
|
467 |
+
msgid "Slide submitted. <a target=\"_blank\" href=\"%s\">Preview slide</a>"
|
468 |
+
msgstr "Lysbillede indsendt. <a target=\"_blank\" href=\"%s\">Forhåndsvisning af lysbillede</a>"
|
469 |
+
|
470 |
+
#: includes/meteor-slides-admin.php:22
|
471 |
+
#, php-format
|
472 |
+
#@ meteor-slides
|
473 |
+
msgid "Slide scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Preview slide</a>"
|
474 |
+
msgstr "Lysbillede planlagt for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Forhåndsvisning af lysbillede</a>"
|
475 |
+
|
476 |
+
#: includes/meteor-slides-admin.php:22
|
477 |
+
#@ meteor-slides
|
478 |
+
msgid "M j, Y @ G:i"
|
479 |
+
msgstr "M j, Y @ G:i"
|
480 |
+
|
481 |
+
#: includes/meteor-slides-admin.php:23
|
482 |
+
#, php-format
|
483 |
+
#@ meteor-slides
|
484 |
+
msgid "Slide draft updated. <a target=\"_blank\" href=\"%s\">Preview slide</a>"
|
485 |
+
msgstr "Lysbillede-kladde opdateret. <a target=\"_blank\" href=\"%s\">Forhåndsvisning af lysbillede</a>"
|
486 |
+
|
487 |
+
#: includes/meteor-slides-admin.php:171
|
488 |
+
#@ meteor-slides
|
489 |
+
msgid "Slide Title"
|
490 |
+
msgstr "Lysbillede-titel"
|
491 |
+
|
492 |
+
#: includes/meteor-slides-admin.php:173
|
493 |
+
#@ meteor-slides
|
494 |
+
msgid "Date"
|
495 |
+
msgstr "Dato"
|
496 |
+
|
497 |
+
#: includes/meteor-slides-admin.php:205
|
498 |
+
#@ meteor-slides
|
499 |
+
msgid "No Link"
|
500 |
+
msgstr "Intet link"
|
501 |
+
|
502 |
+
#: includes/meteor-slides-admin.php:225
|
503 |
+
#@ meteor-slides
|
504 |
+
msgid "<strong>Title:</strong> Each slide needs a title in order to be published."
|
505 |
+
msgstr "<strong>Titel:</strong> Ethvert lysbillede skal have en titel for at kunne offentliggøres."
|
506 |
+
|
507 |
+
#: includes/meteor-slides-admin.php:226
|
508 |
+
#@ meteor-slides
|
509 |
+
msgid "<strong>Slide Image:</strong> To add an image to a slide, click the <strong>Set featured image</strong> link. Upload an image, or browse the media library for one, click the <strong>Use as featured image</strong> link to add the image and then close the media uploader. The Slide Image metabox should now have a thumbnail image."
|
510 |
+
msgstr "<strong>Lysbillede: </strong> Hvis du vil føje et lysbillede, skal du klikke på <strong>Angiv udvalgt billede</strong> link'et. Overfør et billede, eller gennemse mediebiblioteket for at finde ét, klik på <strong>Brug som udvalgt billede</strong> link, for at tilføje billedet og luk derefter medie-overførsel. Billede-METABOX for lysbilledet skulle nu indeholde et miniaturebillede."
|
511 |
+
|
512 |
+
#: includes/meteor-slides-admin.php:227
|
513 |
+
#@ meteor-slides
|
514 |
+
msgid "<strong>Slide Link:</strong> Add the full URL to the Slide Link metabox, such as <em>http://wordpress.org/</em> (Optional)"
|
515 |
+
msgstr "<strong>Lysbillede-link:</strong> Tilføj komplet URL til lysbillede Link metabox, som f.eks. <em>http://wordpress.org/</em> (Valgfri)"
|
516 |
+
|
517 |
+
#: includes/meteor-slides-admin.php:228
|
518 |
+
#@ meteor-slides
|
519 |
+
msgid "<strong>Slideshows:</strong> A slide can be added to a slideshow by selecting the slideshow from the Slideshows metabox."
|
520 |
+
msgstr "<strong>Lysbilledshows:</strong> Et lysbillede kan tilføjes et lysbilledeshow ved at vælge lysbilledshow fra lysbilledshow-metabox'en."
|
521 |
+
|
522 |
+
#: includes/meteor-slides-admin.php:229
|
523 |
+
#@ meteor-slides
|
524 |
+
msgid "<strong>Slide Order:</strong> Slides are sorted chronologically, edit the slide's published date to change the order of the slide."
|
525 |
+
msgstr "<strong>Lysbillede-rækkefølge:</strong> Lysbilleder sorteres kronologisk, rediger lysbilledets offentliggjort-dato for at ændre rækkefølgen på lysbilledet."
|
526 |
+
|
527 |
+
#: includes/meteor-slides-admin.php:230
|
528 |
+
#: includes/meteor-slides-admin.php:240
|
529 |
+
#: includes/meteor-slides-admin.php:254
|
530 |
+
#: includes/meteor-slides-admin.php:279
|
531 |
+
#@ meteor-slides
|
532 |
+
msgid "For more information"
|
533 |
+
msgstr "For mere information"
|
534 |
+
|
535 |
+
#: includes/meteor-slides-admin.php:231
|
536 |
+
#@ meteor-slides
|
537 |
+
msgid "<a href=\"http://www.jleuze.com/plugins/meteor-slides/using-meteor-slides/\" target=\"_blank\">Using Meteor Slides Documentation</a>"
|
538 |
+
msgstr "<a href=\"http://www.jleuze.com/plugins/meteor-slides/using-meteor-slides/\" target=\"_blank\">Brug Meteor Slides dokumentationen</a>"
|
539 |
+
|
540 |
+
#: includes/meteor-slides-admin.php:232
|
541 |
+
#: includes/meteor-slides-admin.php:242
|
542 |
+
#: includes/meteor-slides-admin.php:256
|
543 |
+
#: includes/meteor-slides-admin.php:281
|
544 |
+
#@ meteor-slides
|
545 |
+
msgid "<a href=\"http://wordpress.org/tags/meteor-slides\" target=\"_blank\">Plugin Support Forum</a>"
|
546 |
+
msgstr "<a href=\"http://wordpress.org/tags/meteor-slides\" target=\"_blank\">Plugin Support Forum</a>"
|
547 |
+
|
548 |
+
#: includes/meteor-slides-admin.php:239
|
549 |
+
#@ meteor-slides
|
550 |
+
msgid "Choose a slide to edit, or add a new slide."
|
551 |
+
msgstr "Vælg et lysbillede der skal redigeres, eller tilføj et nyt."
|
552 |
+
|
553 |
+
#: includes/meteor-slides-admin.php:241
|
554 |
+
#: includes/meteor-slides-admin.php:280
|
555 |
+
#@ meteor-slides
|
556 |
+
msgid "<a href=\"http://www.jleuze.com/plugins/meteor-slides/installation/\" target=\"_blank\">Meteor Slides Documentation</a>"
|
557 |
+
msgstr "<a href=\"http://www.jleuze.com/plugins/meteor-slides/installation/\" target=\"_blank\">Meteor Slides dokumentationen</a>"
|
558 |
+
|
559 |
+
#: includes/meteor-slides-admin.php:249
|
560 |
+
#@ meteor-slides
|
561 |
+
msgid "Slides can be organized into slideshows, just as posts can be organized into categories."
|
562 |
+
msgstr "Lysbilleder kan organiseres i lysbilledshows, ligesom indlæg kan organiseres i kategorier."
|
563 |
+
|
564 |
+
#: includes/meteor-slides-admin.php:250
|
565 |
+
#@ meteor-slides
|
566 |
+
msgid "<strong>Add New Slideshow:</strong> Name the slideshow, specify a Slug or one will be generated from the name, skip the Parent and Description and click <strong>Add New Slideshow</strong>."
|
567 |
+
msgstr "<strong>Tilføj nyt lysbilledshow:</strong> Navngiv lysbilledshowet, specificer en Slug eller der genereres en fra navnet, springover Forælder og beskrivelse og klik <strong>Tilføj nyt lysbilledshow</strong>."
|
568 |
+
|
569 |
+
#: includes/meteor-slides-admin.php:251
|
570 |
+
#@ meteor-slides
|
571 |
+
msgid "<strong>Add Slide to Slideshow:</strong> Edit a slide and select the slideshow in the Slideshows metabox."
|
572 |
+
msgstr "<strong>Tilføj lysbillede til lysbilledshow</strong> Rediger et lysbillede og vælg et lysbilledshow i lysbilledshow-metabox'en."
|
573 |
+
|
574 |
+
#: includes/meteor-slides-admin.php:252
|
575 |
+
#@ meteor-slides
|
576 |
+
msgid "<strong>Adding a specific Slideshow:</strong> Add a slideshow slug to a template tag, shortcode, or widget to load a specific slideshow. Here is an example using the shortcode:"
|
577 |
+
msgstr "<strong>Tilføj et specifikt lysbilledshow:</strong> Tilføj et lysbillede-slug til en template tag, shortcode, eller widget for at indlæse et specifikt lysbilledshow. Her er et eksempel ved brug af shortcode:"
|
578 |
+
|
579 |
+
#: includes/meteor-slides-admin.php:253
|
580 |
+
#@ meteor-slides
|
581 |
+
msgid "<code>[meteor_slideshow slideshow=\"slug\"]</code>"
|
582 |
+
msgstr "<code>[meteor_slideshow slideshow=\"slug\"]</code>"
|
583 |
+
|
584 |
+
#: includes/meteor-slides-admin.php:255
|
585 |
+
#@ meteor-slides
|
586 |
+
msgid "<a href=\"http://www.jleuze.com/plugins/meteor-slides/multiple-slideshows/\" target=\"_blank\">Multiple Slideshows Documentation</a>"
|
587 |
+
msgstr "<a href=\"http://www.jleuze.com/plugins/meteor-slides/multiple-slideshows/\" target=\"_blank\">Multiple Slideshows dokumentation</a>"
|
588 |
+
|
589 |
+
#: includes/meteor-slides-admin.php:263
|
590 |
+
#@ meteor-slides
|
591 |
+
msgid "<em>Before adding any slides, enter the slide height and width in the settings so the slides are the correct dimensions.</em>"
|
592 |
+
msgstr "<em>Før du tilføjer lysbilleder, så indtast lysbilled-højde og bredde under indstillinger, så lysbillederne får de korrekte dimensioner.</em>"
|
593 |
+
|
594 |
+
#: includes/meteor-slides-admin.php:264
|
595 |
+
#@ meteor-slides
|
596 |
+
msgid "<strong>Slideshow Quantity:</strong> Choose the number of slides that are loaded in the slideshow. (Leave this option blank to reset the settings)"
|
597 |
+
msgstr "<strong>Lysbilledshow-kvantitet:</strong> Vælg antallet af lysbilleder som indlæses i lysbilledshowet. (Sæt denne til blank for at nulstille indstillingerne)"
|
598 |
+
|
599 |
+
#: includes/meteor-slides-admin.php:265
|
600 |
+
#@ meteor-slides
|
601 |
+
msgid "<strong>Slide Height:</strong> Enter the height of your slides in pixels. For slides of different heights, use the height of the tallest slide."
|
602 |
+
msgstr "<strong>Lysbillede-højde:</strong> Indtast højden på dine lysbilleder i pixels. For lysbilleder af forskellig højde, brug højden på det højeste lysbillede."
|
603 |
+
|
604 |
+
#: includes/meteor-slides-admin.php:266
|
605 |
+
#@ meteor-slides
|
606 |
+
msgid "<strong>Slide Width:</strong> Enter the width of your slides in pixels. Slides that are narrower than this will be centered in the slideshow."
|
607 |
+
msgstr "<strong>Lysbillede-bredde:</strong> Indtast bredden på dine lysbilleder i pixels. Lysbilleder der er smallere end denne indstilling vil blive centreret i lysbilledshowet."
|
608 |
+
|
609 |
+
#: includes/meteor-slides-admin.php:267
|
610 |
+
#@ meteor-slides
|
611 |
+
msgid "<strong>Transition Style:</strong> Choose the effect that is used to transition between slides."
|
612 |
+
msgstr "<strong>Overgangstypografi:</strong> Vælg effekt som skal benyttes som overgang mellem lysbillederne."
|
613 |
+
|
614 |
+
#: includes/meteor-slides-admin.php:268
|
615 |
+
#@ meteor-slides
|
616 |
+
msgid "<strong>Transition Speed:</strong> Enter the number of seconds that it should take for a transition between slides to complete."
|
617 |
+
msgstr "<strong>Overgangshastighed:</strong> Indtast det antal sekunder som overgangen mellem lysbillederne maksimalt må tage."
|
618 |
+
|
619 |
+
#: includes/meteor-slides-admin.php:269
|
620 |
+
#@ meteor-slides
|
621 |
+
msgid "<strong>Slide Duration:</strong> Enter the number of seconds that each slide should be paused on in the slideshow."
|
622 |
+
msgstr "<strong>Lysbillede-visningsvarighed:</strong> Indtast det antal sekunder som hvert lysbillede maksimalt skal vises i lysbilledshowet."
|
623 |
+
|
624 |
+
#: includes/meteor-slides-admin.php:270
|
625 |
+
#@ meteor-slides
|
626 |
+
msgid "<strong>Slideshow Navigation:</strong> "
|
627 |
+
msgstr "<strong>Lysbilledshow-navigering:</strong> "
|
628 |
+
|
629 |
+
#: includes/meteor-slides-admin.php:272
|
630 |
+
#@ meteor-slides
|
631 |
+
msgid "<strong>None:</strong> The default option, no navigation is added to the slideshow."
|
632 |
+
msgstr "<strong>Ingen:</strong> Standard-indstillingen, ingen navigering er tilføjet lysbilledshowet."
|
633 |
+
|
634 |
+
#: includes/meteor-slides-admin.php:273
|
635 |
+
#@ meteor-slides
|
636 |
+
msgid "<strong>Previous/Next:</strong> Left and right buttons are added to the slideshow to cycle through the slides."
|
637 |
+
msgstr "<strong>Forrige/Næste:</strong> En venstre og højre-knap er tilføjet lysbilledshowet for at kunne navigere gennem lysbillederne."
|
638 |
+
|
639 |
+
#: includes/meteor-slides-admin.php:274
|
640 |
+
#@ meteor-slides
|
641 |
+
msgid "<strong>Paged:</strong> Small round buttons are added below the slideshow to choose a specific slide and highlight the current slide."
|
642 |
+
msgstr "<strong>Sideinddelt:</strong> Små runde knapper er tilføjet under lysbilledshowet for at kunne vælge et specifikt lysbillede og fremhæve det nuværende lysbillede."
|
643 |
+
|
644 |
+
#: includes/meteor-slides-admin.php:275
|
645 |
+
#@ meteor-slides
|
646 |
+
msgid "<strong>Both:</strong> Previous/Next and Paged navigation are both added to the slideshow."
|
647 |
+
msgstr "<strong>Begge:</strong> Forrige/Næste og Sideinddelt navigering er begge tilføjet lysbilledshowet."
|
648 |
+
|
649 |
+
#: includes/meteor-slides-admin.php:277
|
650 |
+
#: includes/meteor-slides-settings.php:197
|
651 |
+
#@ meteor-slides
|
652 |
+
msgid "Add Slideshow"
|
653 |
+
msgstr "Tilføj lysbilledshow"
|
654 |
+
|
655 |
+
#: includes/meteor-slides-admin.php:278
|
656 |
+
#@ meteor-slides
|
657 |
+
msgid "Check out the documentation for <a href=\"http://www.jleuze.com/plugins/meteor-slides/adding-a-slideshow/\" target=\"_blank\">adding a slideshow</a>."
|
658 |
+
msgstr "Tjek dokumentationen for <a href=\"http://www.jleuze.com/plugins/meteor-slides/adding-a-slideshow/\" target=\"_blank\">adding et lysbilledshow</a>."
|
659 |
+
|
660 |
+
#: includes/meteor-slides-settings.php:13
|
661 |
+
#@ meteor-slides
|
662 |
+
msgid "slides"
|
663 |
+
msgstr "Lysbilleder"
|
664 |
+
|
665 |
+
#: includes/meteor-slides-settings.php:199
|
666 |
+
#, php-format
|
667 |
+
#@ meteor-slides
|
668 |
+
msgid "Use %1$s to add this slideshow to your theme, use %2$s to add it to your Post or Page content, or use the Meteor Slides Widget."
|
669 |
+
msgstr "Brug %1$s for at tilføje dette lysbilledshow til dit tema, brug %2$s for at tilføje det til dit indlægs eller sideindhold, eller brug Meteor Slides Widget."
|
670 |
+
|
671 |
+
#: includes/meteor-slides-settings.php:201
|
672 |
+
#, php-format
|
673 |
+
#@ meteor-slides
|
674 |
+
msgid "Visit the %1$sMeteor Slides homepage%2$s for documentation, tutorials, and videos."
|
675 |
+
msgstr "Besøg %1$sMeteor Slides hjemmesiden%2$s for dokumentation, vejledninger, og videoer."
|
676 |
+
|
languages/meteor-slides-de_DE.mo
ADDED
Binary file
|
languages/meteor-slides-de_DE.po
ADDED
@@ -0,0 +1,351 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of the WordPress plugin by .
|
2 |
+
# Copyright (C) 2010
|
3 |
+
# This file is distributed under the same license as the package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
+
#
|
6 |
+
msgid ""
|
7 |
+
msgstr ""
|
8 |
+
"Project-Id-Version: Meteor Slides 1.3\n"
|
9 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/meteor-slides\n"
|
10 |
+
"POT-Creation-Date: 2010-10-13 16:51+0000\n"
|
11 |
+
"PO-Revision-Date: 2011-11-27 11:59-0600\n"
|
12 |
+
"Last-Translator: Josh Leuze <jleuze@gmail.com>\n"
|
13 |
+
"Language-Team: JLeuze <mail@jleuze.com>\n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
+
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
18 |
+
"X-Poedit-Basepath: .\n"
|
19 |
+
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
|
21 |
+
#: meteor-slides-plugin.php:78
|
22 |
+
msgid "Slides"
|
23 |
+
msgstr "Folien"
|
24 |
+
|
25 |
+
#: meteor-slides-plugin.php:79
|
26 |
+
msgid "Slide"
|
27 |
+
msgstr "Folie"
|
28 |
+
|
29 |
+
#: meteor-slides-plugin.php:80
|
30 |
+
msgid "Add New"
|
31 |
+
msgstr "Neue Folie"
|
32 |
+
|
33 |
+
#: meteor-slides-plugin.php:81
|
34 |
+
msgid "Add New Slide"
|
35 |
+
msgstr "Neue Folie"
|
36 |
+
|
37 |
+
#: meteor-slides-plugin.php:82
|
38 |
+
msgid "Edit Slide"
|
39 |
+
msgstr "Folie bearbeiten"
|
40 |
+
|
41 |
+
#: meteor-slides-plugin.php:83
|
42 |
+
msgid "Edit"
|
43 |
+
msgstr "Bearbeiten"
|
44 |
+
|
45 |
+
#: meteor-slides-plugin.php:84
|
46 |
+
msgid "New Slide"
|
47 |
+
msgstr "Neue Folie"
|
48 |
+
|
49 |
+
#: meteor-slides-plugin.php:85
|
50 |
+
#: meteor-slides-plugin.php:89
|
51 |
+
msgid "View Slide"
|
52 |
+
msgstr "Folie anzeigen"
|
53 |
+
|
54 |
+
#: meteor-slides-plugin.php:86
|
55 |
+
msgid "Search Slides"
|
56 |
+
msgstr "Folie suchen"
|
57 |
+
|
58 |
+
#: meteor-slides-plugin.php:87
|
59 |
+
msgid "No slides found"
|
60 |
+
msgstr "Es wurden keine Folien gefunden"
|
61 |
+
|
62 |
+
#: meteor-slides-plugin.php:88
|
63 |
+
msgid "No slides found in Trash"
|
64 |
+
msgstr "Es wurden keine Folien im Papierkorb gefunden"
|
65 |
+
|
66 |
+
#: meteor-slides-plugin.php:127
|
67 |
+
msgid "Slideshows"
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
#: meteor-slides-plugin.php:128
|
71 |
+
msgid "Slideshow"
|
72 |
+
msgstr ""
|
73 |
+
|
74 |
+
#: meteor-slides-plugin.php:129
|
75 |
+
msgid "Search Slideshows"
|
76 |
+
msgstr "Slideshow suchen"
|
77 |
+
|
78 |
+
#: meteor-slides-plugin.php:130
|
79 |
+
msgid "Popular Slideshows"
|
80 |
+
msgstr "Beliebte Slideshows"
|
81 |
+
|
82 |
+
#: meteor-slides-plugin.php:131
|
83 |
+
msgid "All Slideshows"
|
84 |
+
msgstr "Alle Slideshows"
|
85 |
+
|
86 |
+
#: meteor-slides-plugin.php:132
|
87 |
+
msgid "Parent Slideshow"
|
88 |
+
msgstr "Übergeordnete Slideshow"
|
89 |
+
|
90 |
+
#: meteor-slides-plugin.php:133
|
91 |
+
msgid "Parent Slideshow:"
|
92 |
+
msgstr "Übergeordnete Slideshows"
|
93 |
+
|
94 |
+
#: meteor-slides-plugin.php:134
|
95 |
+
msgid "Edit Slideshow"
|
96 |
+
msgstr "Slideshow bearbeiten"
|
97 |
+
|
98 |
+
#: meteor-slides-plugin.php:135
|
99 |
+
msgid "Update Slideshow"
|
100 |
+
msgstr "Slideshow updaten"
|
101 |
+
|
102 |
+
#: meteor-slides-plugin.php:136
|
103 |
+
msgid "Add New Slideshow"
|
104 |
+
msgstr "Slideshow hinzufügen"
|
105 |
+
|
106 |
+
#: meteor-slides-plugin.php:137
|
107 |
+
msgid "New Slideshow Name"
|
108 |
+
msgstr "Neuer Slideshow Name"
|
109 |
+
|
110 |
+
#: meteor-slides-plugin.php:159
|
111 |
+
msgid "Slide Image"
|
112 |
+
msgstr "Folien Bild"
|
113 |
+
|
114 |
+
#: meteor-slides-plugin.php:194
|
115 |
+
msgid "Add the URL this slide should link to."
|
116 |
+
msgstr "URL für die verlinkung der Folie hinzufügen"
|
117 |
+
|
118 |
+
#: meteor-slides-plugin.php:206
|
119 |
+
msgid "Slide Link"
|
120 |
+
msgstr "Folien Link"
|
121 |
+
|
122 |
+
#: meteor-slides-plugin.php:324
|
123 |
+
msgid "Slides Settings"
|
124 |
+
msgstr "Folien Einstellungen"
|
125 |
+
|
126 |
+
#: meteor-slides-plugin.php:324
|
127 |
+
msgid "Settings"
|
128 |
+
msgstr "Einstellungen"
|
129 |
+
|
130 |
+
#: meteor-slides-plugin.php:358
|
131 |
+
msgid "Configure Slideshow"
|
132 |
+
msgstr "Slideshow konfigurieren"
|
133 |
+
|
134 |
+
#: meteor-slides-plugin.php:360
|
135 |
+
msgid "Slideshow Quantity"
|
136 |
+
msgstr "Slideshow Größe"
|
137 |
+
|
138 |
+
#: meteor-slides-plugin.php:362
|
139 |
+
msgid "Slide Height"
|
140 |
+
msgstr "Folien Höhe"
|
141 |
+
|
142 |
+
#: meteor-slides-plugin.php:364
|
143 |
+
msgid "Slide Width"
|
144 |
+
msgstr "Folien Breite"
|
145 |
+
|
146 |
+
#: meteor-slides-plugin.php:366
|
147 |
+
msgid "Transition Style"
|
148 |
+
msgstr "Übergangs-Stil"
|
149 |
+
|
150 |
+
#: meteor-slides-plugin.php:368
|
151 |
+
msgid "Transition Speed"
|
152 |
+
msgstr "Übergangs-Geschwindigkeit"
|
153 |
+
|
154 |
+
#: meteor-slides-plugin.php:370
|
155 |
+
msgid "Slide Duration"
|
156 |
+
msgstr "Folien Dauer"
|
157 |
+
|
158 |
+
#: meteor-slides-plugin.php:372
|
159 |
+
msgid "Slideshow Navigation"
|
160 |
+
msgstr "Slideshow Navigation"
|
161 |
+
|
162 |
+
#: meteor-slides-plugin.php:605
|
163 |
+
msgid "Add a slideshow widget to a sidebar"
|
164 |
+
msgstr "Slideshow Widget für die Sidebar"
|
165 |
+
|
166 |
+
#: meteor-slides-plugin.php:609
|
167 |
+
msgid "Meteor Slides Widget"
|
168 |
+
msgstr ""
|
169 |
+
|
170 |
+
#: meteor-slides-plugin.php:653
|
171 |
+
msgid "Title:"
|
172 |
+
msgstr "Titel:"
|
173 |
+
|
174 |
+
#: meteor-slides-plugin.php:656
|
175 |
+
msgid "Slideshow:"
|
176 |
+
msgstr ""
|
177 |
+
|
178 |
+
#: meteor-slides-plugin.php:659
|
179 |
+
msgid "Metadata:"
|
180 |
+
msgstr "Metadaten:"
|
181 |
+
|
182 |
+
#: meteor-slides-settings.php:7
|
183 |
+
msgid "Set up your slideshow using the options below."
|
184 |
+
msgstr "Bearbeite deine Slideshow durch die Einstellungen unterhalb"
|
185 |
+
|
186 |
+
#: meteor-slides-settings.php:21
|
187 |
+
#: meteor-slides-settings.php:31
|
188 |
+
msgid "px"
|
189 |
+
msgstr ""
|
190 |
+
|
191 |
+
#: meteor-slides-settings.php:41
|
192 |
+
msgid "blindX"
|
193 |
+
msgstr "blendenX"
|
194 |
+
|
195 |
+
#: meteor-slides-settings.php:41
|
196 |
+
msgid "blindY"
|
197 |
+
msgstr "blendenY"
|
198 |
+
|
199 |
+
#: meteor-slides-settings.php:41
|
200 |
+
msgid "blindZ"
|
201 |
+
msgstr "blendenZ"
|
202 |
+
|
203 |
+
#: meteor-slides-settings.php:41
|
204 |
+
msgid "cover"
|
205 |
+
msgstr "verdecken"
|
206 |
+
|
207 |
+
#: meteor-slides-settings.php:41
|
208 |
+
msgid "curtainX"
|
209 |
+
msgstr "VorhangX"
|
210 |
+
|
211 |
+
#: meteor-slides-settings.php:41
|
212 |
+
msgid "curtainY"
|
213 |
+
msgstr "VorhangY"
|
214 |
+
|
215 |
+
#: meteor-slides-settings.php:41
|
216 |
+
msgid "fade"
|
217 |
+
msgstr "verblassen"
|
218 |
+
|
219 |
+
#: meteor-slides-settings.php:41
|
220 |
+
msgid "fadeZoom"
|
221 |
+
msgstr "verblassenZoom"
|
222 |
+
|
223 |
+
#: meteor-slides-settings.php:41
|
224 |
+
msgid "growX"
|
225 |
+
msgstr "wachsenX"
|
226 |
+
|
227 |
+
#: meteor-slides-settings.php:41
|
228 |
+
msgid "growY"
|
229 |
+
msgstr "wachsenY"
|
230 |
+
|
231 |
+
#: meteor-slides-settings.php:41
|
232 |
+
msgid "none"
|
233 |
+
msgstr "keine"
|
234 |
+
|
235 |
+
#: meteor-slides-settings.php:41
|
236 |
+
msgid "scrollUp"
|
237 |
+
msgstr "hochrollen"
|
238 |
+
|
239 |
+
#: meteor-slides-settings.php:41
|
240 |
+
msgid "scrollDown"
|
241 |
+
msgstr "msgstr \"runterrollen\""
|
242 |
+
|
243 |
+
#: meteor-slides-settings.php:41
|
244 |
+
msgid "scrollLeft"
|
245 |
+
msgstr "linksrollen"
|
246 |
+
|
247 |
+
#: meteor-slides-settings.php:41
|
248 |
+
msgid "scrollRight"
|
249 |
+
msgstr "rechtsrollen"
|
250 |
+
|
251 |
+
#: meteor-slides-settings.php:41
|
252 |
+
msgid "scrollHorz"
|
253 |
+
msgstr "horizontalrollen"
|
254 |
+
|
255 |
+
#: meteor-slides-settings.php:41
|
256 |
+
msgid "scrollVert"
|
257 |
+
msgstr "vertikalrollen"
|
258 |
+
|
259 |
+
#: meteor-slides-settings.php:41
|
260 |
+
msgid "slideX"
|
261 |
+
msgstr "gleitenX"
|
262 |
+
|
263 |
+
#: meteor-slides-settings.php:41
|
264 |
+
msgid "slideY"
|
265 |
+
msgstr "gleitenY"
|
266 |
+
|
267 |
+
#: meteor-slides-settings.php:41
|
268 |
+
msgid "shuffle"
|
269 |
+
msgstr "zufall/mischen"
|
270 |
+
|
271 |
+
#: meteor-slides-settings.php:41
|
272 |
+
msgid "turnUp"
|
273 |
+
msgstr "auftauchen"
|
274 |
+
|
275 |
+
#: meteor-slides-settings.php:41
|
276 |
+
msgid "turnDown"
|
277 |
+
msgstr "abtauchen"
|
278 |
+
|
279 |
+
#: meteor-slides-settings.php:41
|
280 |
+
msgid "turnLeft"
|
281 |
+
msgstr "linkswenden"
|
282 |
+
|
283 |
+
#: meteor-slides-settings.php:41
|
284 |
+
msgid "turnRight"
|
285 |
+
msgstr "rechtswenden"
|
286 |
+
|
287 |
+
#: meteor-slides-settings.php:41
|
288 |
+
msgid "uncover"
|
289 |
+
msgstr "aufdecken"
|
290 |
+
|
291 |
+
#: meteor-slides-settings.php:41
|
292 |
+
msgid "wipe"
|
293 |
+
msgstr "wischen"
|
294 |
+
|
295 |
+
#: meteor-slides-settings.php:41
|
296 |
+
msgid "zoom"
|
297 |
+
msgstr ""
|
298 |
+
|
299 |
+
#: meteor-slides-settings.php:63
|
300 |
+
#: meteor-slides-settings.php:73
|
301 |
+
msgid "seconds"
|
302 |
+
msgstr "Sekunden"
|
303 |
+
|
304 |
+
#: meteor-slides-settings.php:83
|
305 |
+
msgid "None"
|
306 |
+
msgstr "Keine"
|
307 |
+
|
308 |
+
#: meteor-slides-settings.php:84
|
309 |
+
msgid "Previous/Next"
|
310 |
+
msgstr "Vor/Zurück"
|
311 |
+
|
312 |
+
#: meteor-slides-settings.php:85
|
313 |
+
msgid "Paged"
|
314 |
+
msgstr "Punkte"
|
315 |
+
|
316 |
+
#: meteor-slides-settings.php:86
|
317 |
+
msgid "Both"
|
318 |
+
msgstr "Beide"
|
319 |
+
|
320 |
+
#: meteor-slides-settings.php:112
|
321 |
+
msgid "Meteor Slides Settings"
|
322 |
+
msgstr "Meteor Slides Einstellungen"
|
323 |
+
|
324 |
+
#: meteor-slides-settings.php:126
|
325 |
+
msgid "Save Changes"
|
326 |
+
msgstr "Speichern"
|
327 |
+
|
328 |
+
#: meteor-slides-settings.php:132
|
329 |
+
msgid "Install Slideshow"
|
330 |
+
msgstr "Meteor Slides installieren"
|
331 |
+
|
332 |
+
#: meteor-slides-settings.php:134
|
333 |
+
#, php-format
|
334 |
+
msgid "Use %1$s to add this slideshow to your theme, use %2$s to add it to your Post or Page content, or use the Meteor Slides Widget. %3$sMore information%4$s"
|
335 |
+
msgstr "Benutze %1$s um die Slideshow in dein Theme zu integrieren. Benutze %2$s um die Slideshow auf einer Seite bzw. einem Artikel anzuzeigen oder nutze das Meteor Slides Widget für deine Sidebar. %3$sMehr Informationen%4$s"
|
336 |
+
|
337 |
+
#: meteor-slides-settings.php:136
|
338 |
+
#, php-format
|
339 |
+
msgid "Please %1$spost any questions or problems%2$s in the WordPress.org support forums."
|
340 |
+
msgstr "Bitte %1$sschreibe alle Fragen und Probleme%2$s in das WordPress.org Support-Forum."
|
341 |
+
|
342 |
+
#: meteor-slideshow.php:17
|
343 |
+
#: meteor-slideshow.php:29
|
344 |
+
msgid "Previous"
|
345 |
+
msgstr "Zurück"
|
346 |
+
|
347 |
+
#: meteor-slideshow.php:19
|
348 |
+
#: meteor-slideshow.php:31
|
349 |
+
msgid "Next"
|
350 |
+
msgstr "Vor"
|
351 |
+
|
languages/meteor-slides-en_RU.mo
DELETED
Binary file
|
languages/meteor-slides-fa_IR.mo
ADDED
Binary file
|
languages/meteor-slides-fa_IR.po
ADDED
@@ -0,0 +1,351 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of the WordPress plugin by .
|
2 |
+
# Copyright (C) 2010
|
3 |
+
# This file is distributed under the same license as the package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
+
#
|
6 |
+
msgid ""
|
7 |
+
msgstr ""
|
8 |
+
"Project-Id-Version: Meteor Slides 1.3\n"
|
9 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/meteor-slides\n"
|
10 |
+
"POT-Creation-Date: 2010-10-13 16:51+0000\n"
|
11 |
+
"PO-Revision-Date: 2011-10-03 23:23+0330\n"
|
12 |
+
"Last-Translator: Sizyphe <sizyphe@gmail.com>\n"
|
13 |
+
"Language-Team: JLeuze <mail@jleuze.com>\n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
+
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
18 |
+
"X-Poedit-Basepath: .\n"
|
19 |
+
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
|
21 |
+
#: meteor-slides-plugin.php:78
|
22 |
+
msgid "Slides"
|
23 |
+
msgstr "اسلایدها"
|
24 |
+
|
25 |
+
#: meteor-slides-plugin.php:79
|
26 |
+
msgid "Slide"
|
27 |
+
msgstr "اسلاید"
|
28 |
+
|
29 |
+
#: meteor-slides-plugin.php:80
|
30 |
+
msgid "Add New"
|
31 |
+
msgstr "افزودن جدید"
|
32 |
+
|
33 |
+
#: meteor-slides-plugin.php:81
|
34 |
+
msgid "Add New Slide"
|
35 |
+
msgstr "افزودن اسلاید جدید"
|
36 |
+
|
37 |
+
#: meteor-slides-plugin.php:82
|
38 |
+
msgid "Edit Slide"
|
39 |
+
msgstr "ویرایش اسلاید"
|
40 |
+
|
41 |
+
#: meteor-slides-plugin.php:83
|
42 |
+
msgid "Edit"
|
43 |
+
msgstr "ویرایش"
|
44 |
+
|
45 |
+
#: meteor-slides-plugin.php:84
|
46 |
+
msgid "New Slide"
|
47 |
+
msgstr "اسلاید جدید"
|
48 |
+
|
49 |
+
#: meteor-slides-plugin.php:85
|
50 |
+
#: meteor-slides-plugin.php:89
|
51 |
+
msgid "View Slide"
|
52 |
+
msgstr "مشاهده اسلاید"
|
53 |
+
|
54 |
+
#: meteor-slides-plugin.php:86
|
55 |
+
msgid "Search Slides"
|
56 |
+
msgstr "جستجو اسلاید"
|
57 |
+
|
58 |
+
#: meteor-slides-plugin.php:87
|
59 |
+
msgid "No slides found"
|
60 |
+
msgstr "هیچ اسلایدی پیدا نشد"
|
61 |
+
|
62 |
+
#: meteor-slides-plugin.php:88
|
63 |
+
msgid "No slides found in Trash"
|
64 |
+
msgstr "هیچ اسلایدی در زبالهدان پیدا نشد"
|
65 |
+
|
66 |
+
#: meteor-slides-plugin.php:127
|
67 |
+
msgid "Slideshows"
|
68 |
+
msgstr "اسلایدشوها"
|
69 |
+
|
70 |
+
#: meteor-slides-plugin.php:128
|
71 |
+
msgid "Slideshow"
|
72 |
+
msgstr "اسلایدشو"
|
73 |
+
|
74 |
+
#: meteor-slides-plugin.php:129
|
75 |
+
msgid "Search Slideshows"
|
76 |
+
msgstr "جستجوی اسلایدشوها"
|
77 |
+
|
78 |
+
#: meteor-slides-plugin.php:130
|
79 |
+
msgid "Popular Slideshows"
|
80 |
+
msgstr "اسلایدشوهای محبوب"
|
81 |
+
|
82 |
+
#: meteor-slides-plugin.php:131
|
83 |
+
msgid "All Slideshows"
|
84 |
+
msgstr "همه اسلایدشوها"
|
85 |
+
|
86 |
+
#: meteor-slides-plugin.php:132
|
87 |
+
msgid "Parent Slideshow"
|
88 |
+
msgstr "اسلایدشوی مادر"
|
89 |
+
|
90 |
+
#: meteor-slides-plugin.php:133
|
91 |
+
msgid "Parent Slideshow:"
|
92 |
+
msgstr "اسلایدشوی مادر:"
|
93 |
+
|
94 |
+
#: meteor-slides-plugin.php:134
|
95 |
+
msgid "Edit Slideshow"
|
96 |
+
msgstr "ویرایش اسلایدشو"
|
97 |
+
|
98 |
+
#: meteor-slides-plugin.php:135
|
99 |
+
msgid "Update Slideshow"
|
100 |
+
msgstr "بروز رسانی اسلایدشو"
|
101 |
+
|
102 |
+
#: meteor-slides-plugin.php:136
|
103 |
+
msgid "Add New Slideshow"
|
104 |
+
msgstr "افزودن اسلایدشوی جدید"
|
105 |
+
|
106 |
+
#: meteor-slides-plugin.php:137
|
107 |
+
msgid "New Slideshow Name"
|
108 |
+
msgstr "نام اسلایدشوی جدید"
|
109 |
+
|
110 |
+
#: meteor-slides-plugin.php:159
|
111 |
+
msgid "Slide Image"
|
112 |
+
msgstr "نام اسلاید"
|
113 |
+
|
114 |
+
#: meteor-slides-plugin.php:194
|
115 |
+
msgid "Add the URL this slide should link to."
|
116 |
+
msgstr "افزودن پیوند این اسلاید باید لینک شود به."
|
117 |
+
|
118 |
+
#: meteor-slides-plugin.php:206
|
119 |
+
msgid "Slide Link"
|
120 |
+
msgstr "پیوند اسلاید"
|
121 |
+
|
122 |
+
#: meteor-slides-plugin.php:324
|
123 |
+
msgid "Slides Settings"
|
124 |
+
msgstr "تنظیمات اسلایدها"
|
125 |
+
|
126 |
+
#: meteor-slides-plugin.php:324
|
127 |
+
msgid "Settings"
|
128 |
+
msgstr "تنظیمات"
|
129 |
+
|
130 |
+
#: meteor-slides-plugin.php:358
|
131 |
+
msgid "Configure Slideshow"
|
132 |
+
msgstr "پیکربندی اسلایدشو"
|
133 |
+
|
134 |
+
#: meteor-slides-plugin.php:360
|
135 |
+
msgid "Slideshow Quantity"
|
136 |
+
msgstr "مقدار نمایش اسلایدشو"
|
137 |
+
|
138 |
+
#: meteor-slides-plugin.php:362
|
139 |
+
msgid "Slide Height"
|
140 |
+
msgstr "ارتفاع اسلاید"
|
141 |
+
|
142 |
+
#: meteor-slides-plugin.php:364
|
143 |
+
msgid "Slide Width"
|
144 |
+
msgstr "عرض اسلاید"
|
145 |
+
|
146 |
+
#: meteor-slides-plugin.php:366
|
147 |
+
msgid "Transition Style"
|
148 |
+
msgstr "سبک تغییر اسلایدها"
|
149 |
+
|
150 |
+
#: meteor-slides-plugin.php:368
|
151 |
+
msgid "Transition Speed"
|
152 |
+
msgstr "سرعت انتقال اسلایدها"
|
153 |
+
|
154 |
+
#: meteor-slides-plugin.php:370
|
155 |
+
msgid "Slide Duration"
|
156 |
+
msgstr "مدت نمایش اسلاید"
|
157 |
+
|
158 |
+
#: meteor-slides-plugin.php:372
|
159 |
+
msgid "Slideshow Navigation"
|
160 |
+
msgstr "ناوبری اسلایدشو"
|
161 |
+
|
162 |
+
#: meteor-slides-plugin.php:605
|
163 |
+
msgid "Add a slideshow widget to a sidebar"
|
164 |
+
msgstr "افزودن یک اسلایدشو بصورت ابزارک به یک نوارکناری"
|
165 |
+
|
166 |
+
#: meteor-slides-plugin.php:609
|
167 |
+
msgid "Meteor Slides Widget"
|
168 |
+
msgstr "ابزارک اسلایدشوی شهاب"
|
169 |
+
|
170 |
+
#: meteor-slides-plugin.php:653
|
171 |
+
msgid "Title:"
|
172 |
+
msgstr "عنوان:"
|
173 |
+
|
174 |
+
#: meteor-slides-plugin.php:656
|
175 |
+
msgid "Slideshow:"
|
176 |
+
msgstr "اسلایدشو:"
|
177 |
+
|
178 |
+
#: meteor-slides-plugin.php:659
|
179 |
+
msgid "Metadata:"
|
180 |
+
msgstr "ابرداده:"
|
181 |
+
|
182 |
+
#: meteor-slides-settings.php:7
|
183 |
+
msgid "Set up your slideshow using the options below."
|
184 |
+
msgstr "اسلایدشوی خود را با استفاده از گرینههای زیر نمایش دهید."
|
185 |
+
|
186 |
+
#: meteor-slides-settings.php:21
|
187 |
+
#: meteor-slides-settings.php:31
|
188 |
+
msgid "px"
|
189 |
+
msgstr "پیکسل"
|
190 |
+
|
191 |
+
#: meteor-slides-settings.php:41
|
192 |
+
msgid "blindX"
|
193 |
+
msgstr ""
|
194 |
+
|
195 |
+
#: meteor-slides-settings.php:41
|
196 |
+
msgid "blindY"
|
197 |
+
msgstr ""
|
198 |
+
|
199 |
+
#: meteor-slides-settings.php:41
|
200 |
+
msgid "blindZ"
|
201 |
+
msgstr ""
|
202 |
+
|
203 |
+
#: meteor-slides-settings.php:41
|
204 |
+
msgid "cover"
|
205 |
+
msgstr ""
|
206 |
+
|
207 |
+
#: meteor-slides-settings.php:41
|
208 |
+
msgid "curtainX"
|
209 |
+
msgstr ""
|
210 |
+
|
211 |
+
#: meteor-slides-settings.php:41
|
212 |
+
msgid "curtainY"
|
213 |
+
msgstr ""
|
214 |
+
|
215 |
+
#: meteor-slides-settings.php:41
|
216 |
+
msgid "fade"
|
217 |
+
msgstr ""
|
218 |
+
|
219 |
+
#: meteor-slides-settings.php:41
|
220 |
+
msgid "fadeZoom"
|
221 |
+
msgstr ""
|
222 |
+
|
223 |
+
#: meteor-slides-settings.php:41
|
224 |
+
msgid "growX"
|
225 |
+
msgstr ""
|
226 |
+
|
227 |
+
#: meteor-slides-settings.php:41
|
228 |
+
msgid "growY"
|
229 |
+
msgstr ""
|
230 |
+
|
231 |
+
#: meteor-slides-settings.php:41
|
232 |
+
msgid "none"
|
233 |
+
msgstr "هیچکدام"
|
234 |
+
|
235 |
+
#: meteor-slides-settings.php:41
|
236 |
+
msgid "scrollUp"
|
237 |
+
msgstr ""
|
238 |
+
|
239 |
+
#: meteor-slides-settings.php:41
|
240 |
+
msgid "scrollDown"
|
241 |
+
msgstr ""
|
242 |
+
|
243 |
+
#: meteor-slides-settings.php:41
|
244 |
+
msgid "scrollLeft"
|
245 |
+
msgstr ""
|
246 |
+
|
247 |
+
#: meteor-slides-settings.php:41
|
248 |
+
msgid "scrollRight"
|
249 |
+
msgstr ""
|
250 |
+
|
251 |
+
#: meteor-slides-settings.php:41
|
252 |
+
msgid "scrollHorz"
|
253 |
+
msgstr ""
|
254 |
+
|
255 |
+
#: meteor-slides-settings.php:41
|
256 |
+
msgid "scrollVert"
|
257 |
+
msgstr ""
|
258 |
+
|
259 |
+
#: meteor-slides-settings.php:41
|
260 |
+
msgid "slideX"
|
261 |
+
msgstr ""
|
262 |
+
|
263 |
+
#: meteor-slides-settings.php:41
|
264 |
+
msgid "slideY"
|
265 |
+
msgstr ""
|
266 |
+
|
267 |
+
#: meteor-slides-settings.php:41
|
268 |
+
msgid "shuffle"
|
269 |
+
msgstr "درهمبرهم"
|
270 |
+
|
271 |
+
#: meteor-slides-settings.php:41
|
272 |
+
msgid "turnUp"
|
273 |
+
msgstr ""
|
274 |
+
|
275 |
+
#: meteor-slides-settings.php:41
|
276 |
+
msgid "turnDown"
|
277 |
+
msgstr ""
|
278 |
+
|
279 |
+
#: meteor-slides-settings.php:41
|
280 |
+
msgid "turnLeft"
|
281 |
+
msgstr ""
|
282 |
+
|
283 |
+
#: meteor-slides-settings.php:41
|
284 |
+
msgid "turnRight"
|
285 |
+
msgstr ""
|
286 |
+
|
287 |
+
#: meteor-slides-settings.php:41
|
288 |
+
msgid "uncover"
|
289 |
+
msgstr ""
|
290 |
+
|
291 |
+
#: meteor-slides-settings.php:41
|
292 |
+
msgid "wipe"
|
293 |
+
msgstr ""
|
294 |
+
|
295 |
+
#: meteor-slides-settings.php:41
|
296 |
+
msgid "zoom"
|
297 |
+
msgstr "زووم"
|
298 |
+
|
299 |
+
#: meteor-slides-settings.php:63
|
300 |
+
#: meteor-slides-settings.php:73
|
301 |
+
msgid "seconds"
|
302 |
+
msgstr "ثانیه"
|
303 |
+
|
304 |
+
#: meteor-slides-settings.php:83
|
305 |
+
msgid "None"
|
306 |
+
msgstr "هیچکدام"
|
307 |
+
|
308 |
+
#: meteor-slides-settings.php:84
|
309 |
+
msgid "Previous/Next"
|
310 |
+
msgstr "قبل/بعد"
|
311 |
+
|
312 |
+
#: meteor-slides-settings.php:85
|
313 |
+
msgid "Paged"
|
314 |
+
msgstr "صفحه صفحه"
|
315 |
+
|
316 |
+
#: meteor-slides-settings.php:86
|
317 |
+
msgid "Both"
|
318 |
+
msgstr "هردو"
|
319 |
+
|
320 |
+
#: meteor-slides-settings.php:112
|
321 |
+
msgid "Meteor Slides Settings"
|
322 |
+
msgstr "تنظیمات اسلایدشوی شهاب"
|
323 |
+
|
324 |
+
#: meteor-slides-settings.php:126
|
325 |
+
msgid "Save Changes"
|
326 |
+
msgstr "ذخیره تغییرات"
|
327 |
+
|
328 |
+
#: meteor-slides-settings.php:132
|
329 |
+
msgid "Install Slideshow"
|
330 |
+
msgstr "نصب اسلایدشو"
|
331 |
+
|
332 |
+
#: meteor-slides-settings.php:134
|
333 |
+
#, php-format
|
334 |
+
msgid "Use %1$s to add this slideshow to your theme, use %2$s to add it to your Post or Page content, or use the Meteor Slides Widget. %3$sMore information%4$s"
|
335 |
+
msgstr "از %1$s برای افزودن این اسلایدشو به پوستهی خود استفاده کنید، از %2$s برای افزودن آن به یک پست یا صفحه استفاده کنید و یا از ابزارک اسلایدشوی شهاب استفاده کنید. %3$sاطلاعات بیشتر%4$s"
|
336 |
+
|
337 |
+
#: meteor-slides-settings.php:136
|
338 |
+
#, php-format
|
339 |
+
msgid "Please %1$spost any questions or problems%2$s in the WordPress.org support forums."
|
340 |
+
msgstr "لطفن %1$sهرگونه سوال یا مشکلی را%1$s در بخش پشتیبانی وردپرس مطرح کنید."
|
341 |
+
|
342 |
+
#: meteor-slideshow.php:17
|
343 |
+
#: meteor-slideshow.php:29
|
344 |
+
msgid "Previous"
|
345 |
+
msgstr "قبلی"
|
346 |
+
|
347 |
+
#: meteor-slideshow.php:19
|
348 |
+
#: meteor-slideshow.php:31
|
349 |
+
msgid "Next"
|
350 |
+
msgstr "بعدی"
|
351 |
+
|
languages/meteor-slides-nl_NL.mo
ADDED
Binary file
|
languages/meteor-slides-nl_NL.po
ADDED
@@ -0,0 +1,354 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of the WordPress plugin by .
|
2 |
+
# Copyright (C) 2010
|
3 |
+
# This file is distributed under the same license as the package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
+
#
|
6 |
+
msgid ""
|
7 |
+
msgstr ""
|
8 |
+
"Project-Id-Version: Meteor Slides 1.3\n"
|
9 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/meteor-slides\n"
|
10 |
+
"POT-Creation-Date: 2010-10-13 16:51+0000\n"
|
11 |
+
"PO-Revision-Date: 2011-11-16 19:16+0100\n"
|
12 |
+
"Last-Translator: \n"
|
13 |
+
"Language-Team: JLeuze <mail@jleuze.com>\n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
+
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
18 |
+
"X-Poedit-Basepath: .\n"
|
19 |
+
"X-Poedit-Language: Dutch\n"
|
20 |
+
"X-Poedit-Country: NETHERLANDS\n"
|
21 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
22 |
+
"X-Poedit-SearchPath-0: .\n"
|
23 |
+
|
24 |
+
#: meteor-slides-plugin.php:78
|
25 |
+
msgid "Slides"
|
26 |
+
msgstr "Dia's"
|
27 |
+
|
28 |
+
#: meteor-slides-plugin.php:79
|
29 |
+
msgid "Slide"
|
30 |
+
msgstr "Dia"
|
31 |
+
|
32 |
+
#: meteor-slides-plugin.php:80
|
33 |
+
msgid "Add New"
|
34 |
+
msgstr "Toevoegen"
|
35 |
+
|
36 |
+
#: meteor-slides-plugin.php:81
|
37 |
+
msgid "Add New Slide"
|
38 |
+
msgstr "Nieuwe dia toevoegen"
|
39 |
+
|
40 |
+
#: meteor-slides-plugin.php:82
|
41 |
+
msgid "Edit Slide"
|
42 |
+
msgstr "Dia bewerken"
|
43 |
+
|
44 |
+
#: meteor-slides-plugin.php:83
|
45 |
+
msgid "Edit"
|
46 |
+
msgstr "Bewerken"
|
47 |
+
|
48 |
+
#: meteor-slides-plugin.php:84
|
49 |
+
msgid "New Slide"
|
50 |
+
msgstr "Nieuwe dia"
|
51 |
+
|
52 |
+
#: meteor-slides-plugin.php:85
|
53 |
+
#: meteor-slides-plugin.php:89
|
54 |
+
msgid "View Slide"
|
55 |
+
msgstr "Bekijk dia"
|
56 |
+
|
57 |
+
#: meteor-slides-plugin.php:86
|
58 |
+
msgid "Search Slides"
|
59 |
+
msgstr "Zoek dia's"
|
60 |
+
|
61 |
+
#: meteor-slides-plugin.php:87
|
62 |
+
msgid "No slides found"
|
63 |
+
msgstr "Geen dia's gevonden"
|
64 |
+
|
65 |
+
#: meteor-slides-plugin.php:88
|
66 |
+
msgid "No slides found in Trash"
|
67 |
+
msgstr "Geen dia's gevonden in de prullenbak"
|
68 |
+
|
69 |
+
#: meteor-slides-plugin.php:127
|
70 |
+
msgid "Slideshows"
|
71 |
+
msgstr "Diavoorstellingen"
|
72 |
+
|
73 |
+
#: meteor-slides-plugin.php:128
|
74 |
+
msgid "Slideshow"
|
75 |
+
msgstr "Diavoorstelling"
|
76 |
+
|
77 |
+
#: meteor-slides-plugin.php:129
|
78 |
+
msgid "Search Slideshows"
|
79 |
+
msgstr "Zoek diavoorstellingen"
|
80 |
+
|
81 |
+
#: meteor-slides-plugin.php:130
|
82 |
+
msgid "Popular Slideshows"
|
83 |
+
msgstr "Populaire diavoorstellingen"
|
84 |
+
|
85 |
+
#: meteor-slides-plugin.php:131
|
86 |
+
msgid "All Slideshows"
|
87 |
+
msgstr "Alle diavoorstellingen"
|
88 |
+
|
89 |
+
#: meteor-slides-plugin.php:132
|
90 |
+
msgid "Parent Slideshow"
|
91 |
+
msgstr "Hoofd diavoorstelling"
|
92 |
+
|
93 |
+
#: meteor-slides-plugin.php:133
|
94 |
+
msgid "Parent Slideshow:"
|
95 |
+
msgstr "Hoofd diavoorstelling:"
|
96 |
+
|
97 |
+
#: meteor-slides-plugin.php:134
|
98 |
+
msgid "Edit Slideshow"
|
99 |
+
msgstr "Bewerk diavoorstelling"
|
100 |
+
|
101 |
+
#: meteor-slides-plugin.php:135
|
102 |
+
msgid "Update Slideshow"
|
103 |
+
msgstr "Update diavoorstelling"
|
104 |
+
|
105 |
+
#: meteor-slides-plugin.php:136
|
106 |
+
msgid "Add New Slideshow"
|
107 |
+
msgstr "Nieuwe diavoorstelling toevoegen"
|
108 |
+
|
109 |
+
#: meteor-slides-plugin.php:137
|
110 |
+
msgid "New Slideshow Name"
|
111 |
+
msgstr "Naam van nieuwe diavoorstelling"
|
112 |
+
|
113 |
+
#: meteor-slides-plugin.php:159
|
114 |
+
msgid "Slide Image"
|
115 |
+
msgstr "Dia afbeelding"
|
116 |
+
|
117 |
+
#: meteor-slides-plugin.php:194
|
118 |
+
msgid "Add the URL this slide should link to."
|
119 |
+
msgstr "Voeg de URL toe waar de dia naar toe linkt."
|
120 |
+
|
121 |
+
#: meteor-slides-plugin.php:206
|
122 |
+
msgid "Slide Link"
|
123 |
+
msgstr "Dia link"
|
124 |
+
|
125 |
+
#: meteor-slides-plugin.php:324
|
126 |
+
msgid "Slides Settings"
|
127 |
+
msgstr "Dia's instellingen"
|
128 |
+
|
129 |
+
#: meteor-slides-plugin.php:324
|
130 |
+
msgid "Settings"
|
131 |
+
msgstr "Instellingen"
|
132 |
+
|
133 |
+
#: meteor-slides-plugin.php:358
|
134 |
+
msgid "Configure Slideshow"
|
135 |
+
msgstr "Configureer diavoorstelling"
|
136 |
+
|
137 |
+
#: meteor-slides-plugin.php:360
|
138 |
+
msgid "Slideshow Quantity"
|
139 |
+
msgstr "Aantal dia's in voorstelling"
|
140 |
+
|
141 |
+
#: meteor-slides-plugin.php:362
|
142 |
+
msgid "Slide Height"
|
143 |
+
msgstr "Hoogte van dia"
|
144 |
+
|
145 |
+
#: meteor-slides-plugin.php:364
|
146 |
+
msgid "Slide Width"
|
147 |
+
msgstr "Breedte van dia"
|
148 |
+
|
149 |
+
#: meteor-slides-plugin.php:366
|
150 |
+
msgid "Transition Style"
|
151 |
+
msgstr "Overgangsstijl"
|
152 |
+
|
153 |
+
#: meteor-slides-plugin.php:368
|
154 |
+
msgid "Transition Speed"
|
155 |
+
msgstr "Overgangssnelheid"
|
156 |
+
|
157 |
+
#: meteor-slides-plugin.php:370
|
158 |
+
msgid "Slide Duration"
|
159 |
+
msgstr "Tijdsduur van dia"
|
160 |
+
|
161 |
+
#: meteor-slides-plugin.php:372
|
162 |
+
msgid "Slideshow Navigation"
|
163 |
+
msgstr "Diavoorstelling navigatie"
|
164 |
+
|
165 |
+
#: meteor-slides-plugin.php:605
|
166 |
+
msgid "Add a slideshow widget to a sidebar"
|
167 |
+
msgstr "Voeg diavoorstelling-widget toe aan zijbalk"
|
168 |
+
|
169 |
+
#: meteor-slides-plugin.php:609
|
170 |
+
msgid "Meteor Slides Widget"
|
171 |
+
msgstr "Meteor Slides Widget"
|
172 |
+
|
173 |
+
#: meteor-slides-plugin.php:653
|
174 |
+
msgid "Title:"
|
175 |
+
msgstr "Titel:"
|
176 |
+
|
177 |
+
#: meteor-slides-plugin.php:656
|
178 |
+
msgid "Slideshow:"
|
179 |
+
msgstr "DIavoorstelling:"
|
180 |
+
|
181 |
+
#: meteor-slides-plugin.php:659
|
182 |
+
msgid "Metadata:"
|
183 |
+
msgstr "Metadata:"
|
184 |
+
|
185 |
+
#: meteor-slides-settings.php:7
|
186 |
+
msgid "Set up your slideshow using the options below."
|
187 |
+
msgstr "Stel de diavoorstelling in d.m.v. onderstaande opties."
|
188 |
+
|
189 |
+
#: meteor-slides-settings.php:21
|
190 |
+
#: meteor-slides-settings.php:31
|
191 |
+
msgid "px"
|
192 |
+
msgstr "pixels"
|
193 |
+
|
194 |
+
#: meteor-slides-settings.php:41
|
195 |
+
msgid "blindX"
|
196 |
+
msgstr "lamelX"
|
197 |
+
|
198 |
+
#: meteor-slides-settings.php:41
|
199 |
+
msgid "blindY"
|
200 |
+
msgstr "lamelY"
|
201 |
+
|
202 |
+
#: meteor-slides-settings.php:41
|
203 |
+
msgid "blindZ"
|
204 |
+
msgstr "lamelZ"
|
205 |
+
|
206 |
+
#: meteor-slides-settings.php:41
|
207 |
+
msgid "cover"
|
208 |
+
msgstr "bedekking"
|
209 |
+
|
210 |
+
#: meteor-slides-settings.php:41
|
211 |
+
msgid "curtainX"
|
212 |
+
msgstr "gordijnX"
|
213 |
+
|
214 |
+
#: meteor-slides-settings.php:41
|
215 |
+
msgid "curtainY"
|
216 |
+
msgstr "gordijnY"
|
217 |
+
|
218 |
+
#: meteor-slides-settings.php:41
|
219 |
+
msgid "fade"
|
220 |
+
msgstr "vervaging"
|
221 |
+
|
222 |
+
#: meteor-slides-settings.php:41
|
223 |
+
msgid "fadeZoom"
|
224 |
+
msgstr "vervagingZoom"
|
225 |
+
|
226 |
+
#: meteor-slides-settings.php:41
|
227 |
+
msgid "growX"
|
228 |
+
msgstr "groterX"
|
229 |
+
|
230 |
+
#: meteor-slides-settings.php:41
|
231 |
+
msgid "growY"
|
232 |
+
msgstr "groterY"
|
233 |
+
|
234 |
+
#: meteor-slides-settings.php:41
|
235 |
+
msgid "none"
|
236 |
+
msgstr "geen"
|
237 |
+
|
238 |
+
#: meteor-slides-settings.php:41
|
239 |
+
msgid "scrollUp"
|
240 |
+
msgstr "scrollBoven"
|
241 |
+
|
242 |
+
#: meteor-slides-settings.php:41
|
243 |
+
msgid "scrollDown"
|
244 |
+
msgstr "scrollBeneden"
|
245 |
+
|
246 |
+
#: meteor-slides-settings.php:41
|
247 |
+
msgid "scrollLeft"
|
248 |
+
msgstr "scrolllLinks"
|
249 |
+
|
250 |
+
#: meteor-slides-settings.php:41
|
251 |
+
msgid "scrollRight"
|
252 |
+
msgstr "scrollRechts"
|
253 |
+
|
254 |
+
#: meteor-slides-settings.php:41
|
255 |
+
msgid "scrollHorz"
|
256 |
+
msgstr "scrollHorz"
|
257 |
+
|
258 |
+
#: meteor-slides-settings.php:41
|
259 |
+
msgid "scrollVert"
|
260 |
+
msgstr "scrollVert"
|
261 |
+
|
262 |
+
#: meteor-slides-settings.php:41
|
263 |
+
msgid "slideX"
|
264 |
+
msgstr "glijdenX"
|
265 |
+
|
266 |
+
#: meteor-slides-settings.php:41
|
267 |
+
msgid "slideY"
|
268 |
+
msgstr "glijdenY"
|
269 |
+
|
270 |
+
#: meteor-slides-settings.php:41
|
271 |
+
msgid "shuffle"
|
272 |
+
msgstr "willekeurig"
|
273 |
+
|
274 |
+
#: meteor-slides-settings.php:41
|
275 |
+
msgid "turnUp"
|
276 |
+
msgstr "draaiBoven"
|
277 |
+
|
278 |
+
#: meteor-slides-settings.php:41
|
279 |
+
msgid "turnDown"
|
280 |
+
msgstr "draaiBeneden"
|
281 |
+
|
282 |
+
#: meteor-slides-settings.php:41
|
283 |
+
msgid "turnLeft"
|
284 |
+
msgstr "draaiLinks"
|
285 |
+
|
286 |
+
#: meteor-slides-settings.php:41
|
287 |
+
msgid "turnRight"
|
288 |
+
msgstr "draaiRechts"
|
289 |
+
|
290 |
+
#: meteor-slides-settings.php:41
|
291 |
+
msgid "uncover"
|
292 |
+
msgstr "blootleggen"
|
293 |
+
|
294 |
+
#: meteor-slides-settings.php:41
|
295 |
+
msgid "wipe"
|
296 |
+
msgstr "vegen"
|
297 |
+
|
298 |
+
#: meteor-slides-settings.php:41
|
299 |
+
msgid "zoom"
|
300 |
+
msgstr "zoom"
|
301 |
+
|
302 |
+
#: meteor-slides-settings.php:63
|
303 |
+
#: meteor-slides-settings.php:73
|
304 |
+
msgid "seconds"
|
305 |
+
msgstr "seconden"
|
306 |
+
|
307 |
+
#: meteor-slides-settings.php:83
|
308 |
+
msgid "None"
|
309 |
+
msgstr "Geen"
|
310 |
+
|
311 |
+
#: meteor-slides-settings.php:84
|
312 |
+
msgid "Previous/Next"
|
313 |
+
msgstr "Vorige/Volgende"
|
314 |
+
|
315 |
+
#: meteor-slides-settings.php:85
|
316 |
+
msgid "Paged"
|
317 |
+
msgstr "Gepagineerd"
|
318 |
+
|
319 |
+
#: meteor-slides-settings.php:86
|
320 |
+
msgid "Both"
|
321 |
+
msgstr "Beide"
|
322 |
+
|
323 |
+
#: meteor-slides-settings.php:112
|
324 |
+
msgid "Meteor Slides Settings"
|
325 |
+
msgstr "Meteor Slides instellingen"
|
326 |
+
|
327 |
+
#: meteor-slides-settings.php:126
|
328 |
+
msgid "Save Changes"
|
329 |
+
msgstr "Instellingen opslaan"
|
330 |
+
|
331 |
+
#: meteor-slides-settings.php:132
|
332 |
+
msgid "Install Slideshow"
|
333 |
+
msgstr "Slideshow installeren"
|
334 |
+
|
335 |
+
#: meteor-slides-settings.php:134
|
336 |
+
#, php-format
|
337 |
+
msgid "Use %1$s to add this slideshow to your theme, use %2$s to add it to your Post or Page content, or use the Meteor Slides Widget. %3$sMore information%4$s"
|
338 |
+
msgstr "Gebruik %1$s om deze diavoorstelling toe te voegen aan uw thema, gebruik %2$s om dit toe te voegen aan uw pagina of bericht, of gebruik de Meteor Slides widget. %3$sMeer informatie%4$s"
|
339 |
+
|
340 |
+
#: meteor-slides-settings.php:136
|
341 |
+
#, php-format
|
342 |
+
msgid "Please %1$spost any questions or problems%2$s in the WordPress.org support forums."
|
343 |
+
msgstr "Graag vragen of problemen %1$sposten%2$s in de WordPress.org support forums."
|
344 |
+
|
345 |
+
#: meteor-slideshow.php:17
|
346 |
+
#: meteor-slideshow.php:29
|
347 |
+
msgid "Previous"
|
348 |
+
msgstr "Vorige"
|
349 |
+
|
350 |
+
#: meteor-slideshow.php:19
|
351 |
+
#: meteor-slideshow.php:31
|
352 |
+
msgid "Next"
|
353 |
+
msgstr "Volgende"
|
354 |
+
|
meteor-slides-plugin.php
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Meteor Slides
|
4 |
-
Description:
|
5 |
Plugin URI: http://www.jleuze.com/plugins/meteor-slides
|
6 |
Author: Josh Leuze
|
7 |
Author URI: http://www.jleuze.com/
|
8 |
License: GPL2
|
9 |
-
Version: 1.
|
10 |
*/
|
11 |
|
12 |
-
/* Copyright
|
13 |
|
14 |
This program is free software; you can redistribute it and/or modify
|
15 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -31,7 +31,7 @@
|
|
31 |
|
32 |
function meteorslides_register_slides() {
|
33 |
|
34 |
-
$
|
35 |
|
36 |
'name' => __( 'Slides', 'meteor-slides' ),
|
37 |
'singular_name' => __( 'Slide', 'meteor-slides' ),
|
@@ -50,7 +50,7 @@
|
|
50 |
|
51 |
if ( function_exists( 'members_get_capabilities' ) ) {
|
52 |
|
53 |
-
$
|
54 |
|
55 |
'edit_post' => 'meteorslides_edit_slide',
|
56 |
'edit_posts' => 'meteorslides_edit_slides',
|
@@ -62,13 +62,13 @@
|
|
62 |
|
63 |
);
|
64 |
|
65 |
-
$
|
66 |
|
67 |
-
$
|
68 |
|
69 |
} else {
|
70 |
|
71 |
-
$
|
72 |
|
73 |
'edit_post' => 'edit_post',
|
74 |
'edit_posts' => 'edit_posts',
|
@@ -80,24 +80,24 @@
|
|
80 |
|
81 |
);
|
82 |
|
83 |
-
$
|
84 |
|
85 |
-
$
|
86 |
|
87 |
}
|
88 |
|
89 |
-
$
|
90 |
|
91 |
-
'labels' => $
|
92 |
'public' => true,
|
93 |
'publicly_queryable' => false,
|
94 |
'exclude_from_search' => true,
|
95 |
'show_ui' => true,
|
96 |
'show_in_menu' => true,
|
97 |
'menu_icon' => ''. plugins_url( '/images/slides-icon-20x20.png', __FILE__ ),
|
98 |
-
'capability_type' => $
|
99 |
-
'capabilities' => $
|
100 |
-
'map_meta_cap' => $
|
101 |
'hierarchical' => false,
|
102 |
'supports' => array( 'title', 'thumbnail' ),
|
103 |
'taxonomies' => array( 'slideshow' ),
|
@@ -109,7 +109,7 @@
|
|
109 |
|
110 |
);
|
111 |
|
112 |
-
register_post_type( 'slide', $
|
113 |
|
114 |
}
|
115 |
|
@@ -119,7 +119,7 @@
|
|
119 |
|
120 |
function meteorslides_register_taxonomy() {
|
121 |
|
122 |
-
$
|
123 |
|
124 |
'name' => __( 'Slideshows', 'meteor-slides' ),
|
125 |
'singular_name' => __( 'Slideshow', 'meteor-slides' ),
|
@@ -138,7 +138,7 @@
|
|
138 |
|
139 |
if ( function_exists( 'members_get_capabilities' ) ) {
|
140 |
|
141 |
-
$
|
142 |
|
143 |
'manage_terms' => 'meteorslides_manage_slideshows',
|
144 |
'edit_terms' => 'meteorslides_manage_slideshows',
|
@@ -149,7 +149,7 @@
|
|
149 |
|
150 |
} else {
|
151 |
|
152 |
-
$
|
153 |
|
154 |
'manage_terms' => 'manage_categories',
|
155 |
'edit_terms' => 'manage_categories',
|
@@ -160,20 +160,20 @@
|
|
160 |
|
161 |
}
|
162 |
|
163 |
-
$
|
164 |
|
165 |
-
'labels' => $
|
166 |
'public' => true,
|
167 |
'show_in_nav_menus' => false,
|
168 |
'show_ui' => true,
|
169 |
'show_tagcloud' => false,
|
170 |
'hierarchical' => true,
|
171 |
'rewrite' => array( 'slug' => 'slideshow' ),
|
172 |
-
'capabilities' => $
|
173 |
|
174 |
);
|
175 |
|
176 |
-
register_taxonomy( 'slideshow', 'slide', $
|
177 |
|
178 |
}
|
179 |
|
@@ -205,9 +205,9 @@
|
|
205 |
|
206 |
function meteorslides_featured_image() {
|
207 |
|
208 |
-
$
|
209 |
|
210 |
-
add_image_size( 'featured-slide', $
|
211 |
|
212 |
add_image_size( 'featured-slide-thumb', 250, 9999 );
|
213 |
|
@@ -245,13 +245,14 @@
|
|
245 |
|
246 |
function meteorslides_javascript() {
|
247 |
|
248 |
-
$
|
249 |
|
250 |
if( !is_admin() ) {
|
251 |
|
252 |
wp_enqueue_script( 'jquery' );
|
253 |
-
wp_enqueue_script( 'jquery-cycle', plugins_url( '/js/jquery.cycle.all.
|
254 |
wp_enqueue_script( 'jquery-metadata', plugins_url( '/js/jquery.metadata.v2.js', __FILE__ ), array( 'jquery' ) );
|
|
|
255 |
|
256 |
if ( file_exists( get_stylesheet_directory()."/slideshow.js" ) ) {
|
257 |
|
@@ -275,11 +276,11 @@
|
|
275 |
|
276 |
array(
|
277 |
|
278 |
-
'meteorslideshowspeed' => $
|
279 |
-
'meteorslideshowduration' => $
|
280 |
-
'meteorslideshowheight' => $
|
281 |
-
'meteorslideshowwidth' => $
|
282 |
-
'meteorslideshowtransition' => $
|
283 |
|
284 |
)
|
285 |
|
@@ -303,11 +304,11 @@
|
|
303 |
|
304 |
function meteorslides_default_options() {
|
305 |
|
306 |
-
$
|
307 |
|
308 |
-
if ( ( $
|
309 |
|
310 |
-
$
|
311 |
|
312 |
'slideshow_quantity' => '5',
|
313 |
'slide_height' => '200',
|
@@ -319,7 +320,7 @@
|
|
319 |
|
320 |
);
|
321 |
|
322 |
-
update_option( 'meteorslides_options', $
|
323 |
|
324 |
}
|
325 |
|
@@ -357,14 +358,14 @@
|
|
357 |
|
358 |
// Adds shortcode to load slideshow in content
|
359 |
|
360 |
-
function meteor_slideshow_shortcode( $
|
361 |
|
362 |
extract( shortcode_atts( array (
|
363 |
|
364 |
'slideshow' => '',
|
365 |
'metadata' => '',
|
366 |
|
367 |
-
), $
|
368 |
|
369 |
$slideshow_att = $slideshow;
|
370 |
|
@@ -462,9 +463,38 @@
|
|
462 |
|
463 |
echo '<p><label for="' . $this->get_field_id( 'title' ) . '">' . __('Title:', 'meteor-slides') . '</label>
|
464 |
<input type="text" class="widefat" id="' . $this->get_field_id( 'title' ) . '" name="' . $this->get_field_name( 'title' ) . '" value="' . $instance['title'] . '" /></p>';
|
465 |
-
|
466 |
-
|
467 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
468 |
|
469 |
echo '<p><label for="' . $this->get_field_id( 'metadata' ) . '">' . __('Metadata:', 'meteor-slides') . '</label>
|
470 |
<input type="text" class="widefat" id="' . $this->get_field_id( 'metadata' ) . '" name="' . $this->get_field_name( 'metadata' ) . '" value="' . $instance['metadata'] . '" /></p>';
|
@@ -473,4 +503,9 @@
|
|
473 |
|
474 |
}
|
475 |
|
|
|
|
|
|
|
|
|
|
|
476 |
?>
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Meteor Slides
|
4 |
+
Description: Easily create responsive slideshows with WordPress that are mobile friendly and simple to customize.
|
5 |
Plugin URI: http://www.jleuze.com/plugins/meteor-slides
|
6 |
Author: Josh Leuze
|
7 |
Author URI: http://www.jleuze.com/
|
8 |
License: GPL2
|
9 |
+
Version: 1.5
|
10 |
*/
|
11 |
|
12 |
+
/* Copyright 2012 Josh Leuze (email : mail@jleuze.com)
|
13 |
|
14 |
This program is free software; you can redistribute it and/or modify
|
15 |
it under the terms of the GNU General Public License, version 2, as
|
31 |
|
32 |
function meteorslides_register_slides() {
|
33 |
|
34 |
+
$meteor_labels = array(
|
35 |
|
36 |
'name' => __( 'Slides', 'meteor-slides' ),
|
37 |
'singular_name' => __( 'Slide', 'meteor-slides' ),
|
50 |
|
51 |
if ( function_exists( 'members_get_capabilities' ) ) {
|
52 |
|
53 |
+
$meteor_capabilities = array(
|
54 |
|
55 |
'edit_post' => 'meteorslides_edit_slide',
|
56 |
'edit_posts' => 'meteorslides_edit_slides',
|
62 |
|
63 |
);
|
64 |
|
65 |
+
$meteor_capabilitytype = 'slide';
|
66 |
|
67 |
+
$meteor_mapmetacap = false;
|
68 |
|
69 |
} else {
|
70 |
|
71 |
+
$meteor_capabilities = array(
|
72 |
|
73 |
'edit_post' => 'edit_post',
|
74 |
'edit_posts' => 'edit_posts',
|
80 |
|
81 |
);
|
82 |
|
83 |
+
$meteor_capabilitytype = 'post';
|
84 |
|
85 |
+
$meteor_mapmetacap = true;
|
86 |
|
87 |
}
|
88 |
|
89 |
+
$meteor_args = array(
|
90 |
|
91 |
+
'labels' => $meteor_labels,
|
92 |
'public' => true,
|
93 |
'publicly_queryable' => false,
|
94 |
'exclude_from_search' => true,
|
95 |
'show_ui' => true,
|
96 |
'show_in_menu' => true,
|
97 |
'menu_icon' => ''. plugins_url( '/images/slides-icon-20x20.png', __FILE__ ),
|
98 |
+
'capability_type' => $meteor_capabilitytype,
|
99 |
+
'capabilities' => $meteor_capabilities,
|
100 |
+
'map_meta_cap' => $meteor_mapmetacap,
|
101 |
'hierarchical' => false,
|
102 |
'supports' => array( 'title', 'thumbnail' ),
|
103 |
'taxonomies' => array( 'slideshow' ),
|
109 |
|
110 |
);
|
111 |
|
112 |
+
register_post_type( 'slide', $meteor_args );
|
113 |
|
114 |
}
|
115 |
|
119 |
|
120 |
function meteorslides_register_taxonomy() {
|
121 |
|
122 |
+
$meteor_tax_labels = array(
|
123 |
|
124 |
'name' => __( 'Slideshows', 'meteor-slides' ),
|
125 |
'singular_name' => __( 'Slideshow', 'meteor-slides' ),
|
138 |
|
139 |
if ( function_exists( 'members_get_capabilities' ) ) {
|
140 |
|
141 |
+
$meteor_tax_capabilities = array(
|
142 |
|
143 |
'manage_terms' => 'meteorslides_manage_slideshows',
|
144 |
'edit_terms' => 'meteorslides_manage_slideshows',
|
149 |
|
150 |
} else {
|
151 |
|
152 |
+
$meteor_tax_capabilities = array(
|
153 |
|
154 |
'manage_terms' => 'manage_categories',
|
155 |
'edit_terms' => 'manage_categories',
|
160 |
|
161 |
}
|
162 |
|
163 |
+
$meteor_tax_args = array(
|
164 |
|
165 |
+
'labels' => $meteor_tax_labels,
|
166 |
'public' => true,
|
167 |
'show_in_nav_menus' => false,
|
168 |
'show_ui' => true,
|
169 |
'show_tagcloud' => false,
|
170 |
'hierarchical' => true,
|
171 |
'rewrite' => array( 'slug' => 'slideshow' ),
|
172 |
+
'capabilities' => $meteor_tax_capabilities
|
173 |
|
174 |
);
|
175 |
|
176 |
+
register_taxonomy( 'slideshow', 'slide', $meteor_tax_args );
|
177 |
|
178 |
}
|
179 |
|
205 |
|
206 |
function meteorslides_featured_image() {
|
207 |
|
208 |
+
$meteor_options = get_option( 'meteorslides_options' );
|
209 |
|
210 |
+
add_image_size( 'featured-slide', $meteor_options['slide_width'], $meteor_options['slide_height'], true );
|
211 |
|
212 |
add_image_size( 'featured-slide-thumb', 250, 9999 );
|
213 |
|
245 |
|
246 |
function meteorslides_javascript() {
|
247 |
|
248 |
+
$meteor_options = get_option( 'meteorslides_options' );
|
249 |
|
250 |
if( !is_admin() ) {
|
251 |
|
252 |
wp_enqueue_script( 'jquery' );
|
253 |
+
wp_enqueue_script( 'jquery-cycle', plugins_url( '/js/jquery.cycle.all.js', __FILE__ ), array( 'jquery' ) );
|
254 |
wp_enqueue_script( 'jquery-metadata', plugins_url( '/js/jquery.metadata.v2.js', __FILE__ ), array( 'jquery' ) );
|
255 |
+
wp_enqueue_script( 'jquery-touchwipe', plugins_url( '/js/jquery.touchwipe.1.1.1.js', __FILE__ ), array( 'jquery' ) );
|
256 |
|
257 |
if ( file_exists( get_stylesheet_directory()."/slideshow.js" ) ) {
|
258 |
|
276 |
|
277 |
array(
|
278 |
|
279 |
+
'meteorslideshowspeed' => $meteor_options['transition_speed'] * 1000,
|
280 |
+
'meteorslideshowduration' => $meteor_options['slide_duration'] * 1000,
|
281 |
+
'meteorslideshowheight' => $meteor_options['slide_height'],
|
282 |
+
'meteorslideshowwidth' => $meteor_options['slide_width'],
|
283 |
+
'meteorslideshowtransition' => $meteor_options['transition_style']
|
284 |
|
285 |
)
|
286 |
|
304 |
|
305 |
function meteorslides_default_options() {
|
306 |
|
307 |
+
$meteor_temp = get_option( 'meteorslides_options' );
|
308 |
|
309 |
+
if ( ( $meteor_temp['slideshow_quantity']=='' )||( !is_array( $meteor_temp ) ) ) {
|
310 |
|
311 |
+
$meteor_defaults_args = array(
|
312 |
|
313 |
'slideshow_quantity' => '5',
|
314 |
'slide_height' => '200',
|
320 |
|
321 |
);
|
322 |
|
323 |
+
update_option( 'meteorslides_options', $meteor_defaults_args );
|
324 |
|
325 |
}
|
326 |
|
358 |
|
359 |
// Adds shortcode to load slideshow in content
|
360 |
|
361 |
+
function meteor_slideshow_shortcode( $meteor_atts ) {
|
362 |
|
363 |
extract( shortcode_atts( array (
|
364 |
|
365 |
'slideshow' => '',
|
366 |
'metadata' => '',
|
367 |
|
368 |
+
), $meteor_atts ) );
|
369 |
|
370 |
$slideshow_att = $slideshow;
|
371 |
|
463 |
|
464 |
echo '<p><label for="' . $this->get_field_id( 'title' ) . '">' . __('Title:', 'meteor-slides') . '</label>
|
465 |
<input type="text" class="widefat" id="' . $this->get_field_id( 'title' ) . '" name="' . $this->get_field_name( 'title' ) . '" value="' . $instance['title'] . '" /></p>';
|
466 |
+
|
467 |
+
// If the slideshow taxonomy has terms, create a select list of those terms
|
468 |
+
|
469 |
+
$slideshow_terms = get_terms( 'slideshow' );
|
470 |
+
$slideshow_terms_count = count($slideshow_terms);
|
471 |
+
$slideshow_value = $instance['slideshow'];
|
472 |
+
|
473 |
+
if ( $slideshow_terms_count > 0 ) {
|
474 |
+
|
475 |
+
echo '<p><label for="' . $this->get_field_id( 'slideshow' ) . '">' . __('Slideshow:', 'meteor-slides') . '</label>';
|
476 |
+
|
477 |
+
echo '<select name="' . $this->get_field_name( 'slideshow' ) . '" id="' . $this->get_field_id( 'slideshow' ) . '" class="widefat">';
|
478 |
+
|
479 |
+
echo '<option value="">All Slides</option>';
|
480 |
+
|
481 |
+
foreach ( $slideshow_terms as $slideshow_terms ) {
|
482 |
+
|
483 |
+
if ( $slideshow_terms->slug == $slideshow_value ) {
|
484 |
+
|
485 |
+
echo '<option selected="selected" value="' . $slideshow_terms->slug . '">' . $slideshow_terms->name . '</option>';
|
486 |
+
|
487 |
+
} else {
|
488 |
+
|
489 |
+
echo '<option value="' . $slideshow_terms->slug . '">' . $slideshow_terms->name . '</option>';
|
490 |
+
|
491 |
+
}
|
492 |
+
|
493 |
+
}
|
494 |
+
|
495 |
+
echo '</select>';
|
496 |
+
|
497 |
+
}
|
498 |
|
499 |
echo '<p><label for="' . $this->get_field_id( 'metadata' ) . '">' . __('Metadata:', 'meteor-slides') . '</label>
|
500 |
<input type="text" class="widefat" id="' . $this->get_field_id( 'metadata' ) . '" name="' . $this->get_field_name( 'metadata' ) . '" value="' . $instance['metadata'] . '" /></p>';
|
503 |
|
504 |
}
|
505 |
|
506 |
+
/*
|
507 |
+
Now slides the silent meteor on, and leaves
|
508 |
+
A shining furrow, as thy thoughts in me.
|
509 |
+
*/
|
510 |
+
|
511 |
?>
|
readme.md
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Meteor Slides
|
2 |
+
==========================
|
3 |
+
|
4 |
+
Meteor Slides makes it simple to create slideshows and publish them with a shortcode, widget, or template tag. The slideshows scale with responsive and fluid themes to fit any device and have touch support. Powered by [jQuery Cycle](http://jquery.malsup.com/cycle/) with over twenty transition styles to choose from.
|
5 |
+
|
6 |
+
####Meteor Slides Homepage
|
7 |
+
|
8 |
+
[Visit this plugin's homepage](http://www.jleuze.com/plugins/meteor-slides/) for documentation, tutorials, and video screencasts.
|
9 |
+
|
10 |
+
####Features
|
11 |
+
|
12 |
+
* **Easy integration:** Add the slideshow to your site using a template tag, shortcode, or widget.
|
13 |
+
* **Mobile Friendly:** Scales to fit any device, supports touch navigation for mobiles and tablets.
|
14 |
+
* **Multiple Slideshows:** Organize your slides into multiple slideshows.
|
15 |
+
* **Slideshow settings page:** Control the slide height and width, the number of slides, the slideshow speed and transition style, and the type of navigation.
|
16 |
+
* **Slideshow metadata:** Customize individual slideshows or configure more [jQuery Cycle options](http://jquery.malsup.com/cycle/options.html) with the [MetaData jQuery Plugin](http://plugins.jquery.com/project/metadata).
|
17 |
+
* **Slideshow transition styles:** blindX, blindY, blindZ, cover, curtainX, curtainY, fade, fadeZoom, growX, growY, none, scrollUp, scrollDown, scrollLeft, scrollRight, scrollHorz, scrollVert, slideX, slideY, turnUp, turnDown, turnLeft, turnRight, uncover, wipe, zoom.
|
18 |
+
* **Slideshow navigation:** Optional previous/next and/or paged slide navigation.
|
19 |
+
* **Multiple languages:** Belarusian, Chinese, Czech, Danish, Dutch, English, French, German, Hebrew, Indonesian, Italian, Japanese, Persian, Polish, Portuguese, Portuguese (Brazilian), Romanian, Russian, Spanish, Swedish, Turkish.
|
20 |
+
|
21 |
+
####Installation
|
22 |
+
|
23 |
+
1. Upload the **meteor-slides** folder to your **/wp-content/plugins/** directory or go to Plugins -> Add New from your Dashboard in WordPress.
|
24 |
+
2. Activate the plugin through the Plugins menu in WordPress
|
25 |
+
3. Use the Settings link or go to Slides -> Settings to access the Meteor Slides settings.
|
26 |
+
|
27 |
+
####Configure Slideshow
|
28 |
+
|
29 |
+
_Before adding any slides, enter the slide height and width in the settings so the slides are the correct dimensions._
|
30 |
+
|
31 |
+
####Add Slideshow
|
32 |
+
|
33 |
+
Use ```<?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?>``` to add this slideshow to your theme, use ```[meteor_slideshow]``` to add it to your Post or Page content, or use the Meteor Slides Widget to add it to a sidebar.
|
34 |
+
|
35 |
+
####Meteor Slides Documentation
|
36 |
+
|
37 |
+
Check out the [Meteor Slides Documentation](http://www.jleuze.com/plugins/meteor-slides/installation/) for more information on using Meteor Slides, adding slideshows, using metadata, and advanced customization.
|
readme.txt
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
-
===
|
2 |
Contributors: jleuze
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mail%40jleuze%2ecom&item_name=Meteor%20Slides%20Donation&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
|
4 |
-
Tags:
|
5 |
-
Requires at least: 3.
|
6 |
-
Tested up to: 3.2
|
7 |
-
Stable tag: 1.
|
8 |
|
9 |
-
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
|
14 |
|
15 |
= Meteor Slides Homepage =
|
16 |
|
@@ -25,12 +25,13 @@ This screencast shows some of the plugin's features, such as different transitio
|
|
25 |
= Features =
|
26 |
|
27 |
* **Easy integration:** Add the slideshow to your site using a template tag, shortcode, or widget.
|
|
|
28 |
* **Multiple Slideshows:** Organize your slides into multiple slideshows.
|
29 |
* **Slideshow settings page:** Control the slide height and width, the number of slides, the slideshow speed and transition style, and the type of navigation.
|
30 |
* **Slideshow metadata:** Customize individual slideshows or configure more [jQuery Cycle options](http://jquery.malsup.com/cycle/options.html "jQuery Cycle Plugin") with the [MetaData jQuery Plugin](http://plugins.jquery.com/project/metadata "MetaData jQuery Plugin").
|
31 |
* **Slideshow transition styles:** blindX, blindY, blindZ, cover, curtainX, curtainY, fade, fadeZoom, growX, growY, none, scrollUp, scrollDown, scrollLeft, scrollRight, scrollHorz, scrollVert, slideX, slideY, turnUp, turnDown, turnLeft, turnRight, uncover, wipe, zoom.
|
32 |
* **Slideshow navigation:** Optional previous/next and/or paged slide navigation.
|
33 |
-
* **Multiple languages:** Chinese, English, French, Hebrew, Indonesian, Italian, Japanese, Polish, Portuguese, Portuguese (Brazilian), Romanian, Russian, Spanish, Swedish, Turkish.
|
34 |
|
35 |
*[Got a question about Meteor Slides?](http://wordpress.org/tags/meteor-slides?forum_id=10#postform "Post a question in the forums")*
|
36 |
|
@@ -55,6 +56,10 @@ Check out the [Meteor Slides Documentation](http://www.jleuze.com/plugins/meteor
|
|
55 |
|
56 |
== Frequently Asked Questions ==
|
57 |
|
|
|
|
|
|
|
|
|
58 |
= I add a slide, save or publish it, and then it's missing or not found, what gives? =
|
59 |
|
60 |
Every post needs a title, make sure to give your slide a title where is says "Enter title here". This title is mostly used just to label them in the backend, but it will also be used as the title of your link if you add a link.
|
@@ -83,9 +88,11 @@ Copy **meteor-slideshow.php** from **/meteor-slides/** to your theme's directory
|
|
83 |
|
84 |
Your theme or plugin is probably loading an extra copy of jQuery from the theme or plugin, or a third party server. This is unnecessary because WordPress already uses jQuery and it is included in the WordPress install. Meteor Slides loads the version that is within WordPress, to fix this, change your theme or plugin to use the copy of jQuery that comes with WordPress, like this `<?php wp_enqueue_script("jquery"); ?>`.
|
85 |
|
86 |
-
|
87 |
|
88 |
-
|
|
|
|
|
89 |
|
90 |
*Please [post any questions or problems](http://wordpress.org/tags/meteor-slides?forum_id=10#postform "Post a question or problem in the forums") in the WordPress.org support forums.*
|
91 |
|
@@ -97,8 +104,16 @@ You can help right on this page by rating the plugin or voting for its compatibi
|
|
97 |
4. Slides Column View
|
98 |
5. Manage Slideshows
|
99 |
6. Meteor Slides Settings
|
|
|
100 |
|
101 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
|
103 |
= 1.4 =
|
104 |
* Replaced slideshow skin with new navigation graphics and layout
|
@@ -170,6 +185,9 @@ You can help right on this page by rating the plugin or voting for its compatibi
|
|
170 |
|
171 |
== Upgrade Notice ==
|
172 |
|
|
|
|
|
|
|
173 |
= 1.4 =
|
174 |
Meteor Slides 1.4 replaces the navigation graphics, adds support for custom scripts and the Members plugin, updates jQuery Cycle and adds new and updated translations.
|
175 |
|
1 |
+
=== Meteor Slides ===
|
2 |
Contributors: jleuze
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mail%40jleuze%2ecom&item_name=Meteor%20Slides%20Donation&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
|
4 |
+
Tags: custom post types, image, jquery, responsive, slide, slider, slides, slideshow
|
5 |
+
Requires at least: 3.3
|
6 |
+
Tested up to: 3.3.2
|
7 |
+
Stable tag: 1.5
|
8 |
|
9 |
+
Easily create responsive slideshows with WordPress that are mobile friendly and simple to customize.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
+
Meteor Slides makes it simple to create slideshows and publish them with a shortcode, widget, or template tag. The slideshows scale with responsive and fluid themes to fit any device and have touch support. Powered by [jQuery Cycle](http://jquery.malsup.com/cycle/) with over twenty transition styles to choose from.
|
14 |
|
15 |
= Meteor Slides Homepage =
|
16 |
|
25 |
= Features =
|
26 |
|
27 |
* **Easy integration:** Add the slideshow to your site using a template tag, shortcode, or widget.
|
28 |
+
* **Mobile Friendly:** Scales to fit any device, supports touch navigation for mobiles and tablets.
|
29 |
* **Multiple Slideshows:** Organize your slides into multiple slideshows.
|
30 |
* **Slideshow settings page:** Control the slide height and width, the number of slides, the slideshow speed and transition style, and the type of navigation.
|
31 |
* **Slideshow metadata:** Customize individual slideshows or configure more [jQuery Cycle options](http://jquery.malsup.com/cycle/options.html "jQuery Cycle Plugin") with the [MetaData jQuery Plugin](http://plugins.jquery.com/project/metadata "MetaData jQuery Plugin").
|
32 |
* **Slideshow transition styles:** blindX, blindY, blindZ, cover, curtainX, curtainY, fade, fadeZoom, growX, growY, none, scrollUp, scrollDown, scrollLeft, scrollRight, scrollHorz, scrollVert, slideX, slideY, turnUp, turnDown, turnLeft, turnRight, uncover, wipe, zoom.
|
33 |
* **Slideshow navigation:** Optional previous/next and/or paged slide navigation.
|
34 |
+
* **Multiple languages:** Belarusian, Chinese, Czech, Danish, Dutch, English, French, German, Hebrew, Indonesian, Italian, Japanese, Persian, Polish, Portuguese, Portuguese (Brazilian), Romanian, Russian, Spanish, Swedish, Turkish.
|
35 |
|
36 |
*[Got a question about Meteor Slides?](http://wordpress.org/tags/meteor-slides?forum_id=10#postform "Post a question in the forums")*
|
37 |
|
56 |
|
57 |
== Frequently Asked Questions ==
|
58 |
|
59 |
+
= Meteor Slides is awesome, what can I do to help? =
|
60 |
+
|
61 |
+
You can help right on this page by rating the plugin or voting for its compatibility with the latest version of WordPress. Blog about Meteor Slides to get the word out, or [visit my blog](http://www.jleuze.com/ "JLeuze.com") to post feedback or just say hi. You could also [translate Meteor Slides](http://www.jleuze.com/plugins/meteor-slides/languages/ "Meteor Slides Languages") into another language or [make a donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mail%40jleuze%2ecom&item_name=Meteor%20Slides%20Donation&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8 "Donate").
|
62 |
+
|
63 |
= I add a slide, save or publish it, and then it's missing or not found, what gives? =
|
64 |
|
65 |
Every post needs a title, make sure to give your slide a title where is says "Enter title here". This title is mostly used just to label them in the backend, but it will also be used as the title of your link if you add a link.
|
88 |
|
89 |
Your theme or plugin is probably loading an extra copy of jQuery from the theme or plugin, or a third party server. This is unnecessary because WordPress already uses jQuery and it is included in the WordPress install. Meteor Slides loads the version that is within WordPress, to fix this, change your theme or plugin to use the copy of jQuery that comes with WordPress, like this `<?php wp_enqueue_script("jquery"); ?>`.
|
90 |
|
91 |
+
It's also possible that a script in your theme or another plugin is using the "$" shortcut instead of "jQuery", which will break because WordPress loads jQuery in ["no conflict" mode](http://codex.wordpress.org/Function_Reference/wp_enqueue_script#jQuery_noConflict_wrappers "no conflict mode"). Try inspecting the site with Firebug or another tool to look for JavaScript errors.
|
92 |
|
93 |
+
= I just installed Meteor Slides, but the Slides menu is missing, where do I go? =
|
94 |
+
|
95 |
+
If the Slides menu is missing, you probably have the [Members](http://wordpress.org/extend/plugins/members/ "Members plugin") plugin activated. Meteor Slides supports the Members plugin, so if you have them both running you can use Members to choose which roles can manage the slides or slideshow settings. Take a look at [this blog post](http://www.jleuze.com/using-the-members-plugin-with-meteor-slides/ "Using the Members plugin with Meteor Slides") for more info on using these plugins together.
|
96 |
|
97 |
*Please [post any questions or problems](http://wordpress.org/tags/meteor-slides?forum_id=10#postform "Post a question or problem in the forums") in the WordPress.org support forums.*
|
98 |
|
104 |
4. Slides Column View
|
105 |
5. Manage Slideshows
|
106 |
6. Meteor Slides Settings
|
107 |
+
7. Meteor Slides Widget
|
108 |
|
109 |
== Changelog ==
|
110 |
+
= 1.5 =
|
111 |
+
* Updated slideshow to scale for responsive and fluid width themes
|
112 |
+
* Added slideshow taxonomy selector to widget
|
113 |
+
* Added jQuery Touchwipe plugin to enable touch navigation
|
114 |
+
* Updated and expand contextual help
|
115 |
+
* Updated JQuery Cycle to 2.9999.5, switch to un-minimized version
|
116 |
+
* Added Belarusian, Czech, Danish, Dutch, and Persian translations
|
117 |
|
118 |
= 1.4 =
|
119 |
* Replaced slideshow skin with new navigation graphics and layout
|
185 |
|
186 |
== Upgrade Notice ==
|
187 |
|
188 |
+
= 1.5 =
|
189 |
+
Meteor Slides 1.5 adds responsive slideshow support, touch navigation, an improved slideshow widget, new translations, and updates jQuery Cycle.
|
190 |
+
|
191 |
= 1.4 =
|
192 |
Meteor Slides 1.4 replaces the navigation graphics, adds support for custom scripts and the Members plugin, updates jQuery Cycle and adds new and updated translations.
|
193 |
|
screenshot-2.jpg
CHANGED
Binary file
|
screenshot-3.jpg
CHANGED
Binary file
|
screenshot-4.jpg
CHANGED
Binary file
|
screenshot-5.jpg
CHANGED
Binary file
|
screenshot-6.jpg
CHANGED
Binary file
|
screenshot-7.jpg
ADDED
Binary file
|