Version Description
- Added accordion CSS to fix WordPress 3.6 bugs.
- Fixed clearing and border edge case CSS issues
- Made preloading functionality more reliable.
- Added missing translations.
- Improved legacy functionality class.
Download this release
Release Info
Developer | MatthewRuddy |
Plugin | Easing Slider |
Version | 2.1.2 |
Comparing to | |
See all releases |
Code changes from version 2.1.1 to 2.1.2
- css/slideshow.css +3 -5
- css/slideshow.min.css +1 -1
- easingsliderlite.php +4 -4
- includes/Legacy.php +14 -13
- js/slideshow.js +2 -6
- js/slideshow.min.js +2 -2
- languages/easingsliderlite-ar.mo +0 -0
- languages/easingsliderlite.pot +18 -14
- readme.txt +9 -2
- templates/customizer.php +15 -15
- templates/editslideshow-slide.php +1 -1
- templates/slideshow.php +1 -1
css/slideshow.css
CHANGED
@@ -24,9 +24,10 @@
|
|
24 |
}
|
25 |
|
26 |
.easingsliderlite div,
|
27 |
-
.easingsliderlite a
|
28 |
.easingsliderlite img {
|
29 |
border: 0 !important;
|
|
|
30 |
}
|
31 |
|
32 |
.easingsliderlite {
|
@@ -113,10 +114,6 @@
|
|
113 |
left: 0 !important;
|
114 |
}
|
115 |
|
116 |
-
.easingsliderlite.use-fade .easingsliderlite-slide.active {
|
117 |
-
z-index: 10;
|
118 |
-
}
|
119 |
-
|
120 |
.easingsliderlite-slide {
|
121 |
width: 100%;
|
122 |
}
|
@@ -129,6 +126,7 @@
|
|
129 |
width: 100% !important;
|
130 |
max-width: 100% !important;
|
131 |
display: block !important;
|
|
|
132 |
}
|
133 |
|
134 |
.easingsliderlite-shadow,
|
24 |
}
|
25 |
|
26 |
.easingsliderlite div,
|
27 |
+
.easingsliderlite a,
|
28 |
.easingsliderlite img {
|
29 |
border: 0 !important;
|
30 |
+
clear: none !important;
|
31 |
}
|
32 |
|
33 |
.easingsliderlite {
|
114 |
left: 0 !important;
|
115 |
}
|
116 |
|
|
|
|
|
|
|
|
|
117 |
.easingsliderlite-slide {
|
118 |
width: 100%;
|
119 |
}
|
126 |
width: 100% !important;
|
127 |
max-width: 100% !important;
|
128 |
display: block !important;
|
129 |
+
border: none !important;
|
130 |
}
|
131 |
|
132 |
.easingsliderlite-shadow,
|
css/slideshow.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.easingsliderlite,.easingsliderlite div,.easingsliderlite a,.easingsliderlite img{margin:0!important;padding:0!important;line-height:0!important;outline:none!important}.easingsliderlite div,.easingsliderlite a
|
1 |
+
.easingsliderlite,.easingsliderlite div,.easingsliderlite a,.easingsliderlite img{margin:0!important;padding:0!important;line-height:0!important;outline:none!important}.easingsliderlite div,.easingsliderlite a,.easingsliderlite img{border:0!important;clear:none!important}.easingsliderlite{position:relative!important}.easingsliderlite-preload{background:url(../images/loading.gif) no-repeat center center #fff!important;width:100%!important;height:100%!important;position:absolute!important;top:0!important;left:0!important;z-index:50!important}.easingsliderlite-arrows.has-hover{opacity:0}.easingsliderlite:hover .easingsliderlite-arrows.has-hover{opacity:1}.easingsliderlite-pagination.has-hover{opacity:0}.easingsliderlite:hover .easingsliderlite-pagination.has-hover{opacity:1}.easingsliderlite-viewport{position:relative!important;overflow:hidden!important;width:100%!important}.easingsliderlite-slides-container{overflow:hidden!important;position:absolute!important;top:0;left:0;display:block!important}.easingsliderlite.use-css3 .easingsliderlite-slides-container{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.easingsliderlite.use-slide.use-css3 .easingsliderlite-slides-container{-webkit-transition:-webkit-transform .5s ease;-moz-transition:-moz-transform .5s ease;-ms-transition:-ms-transform .5s ease;-o-transition:-o-transform .5s ease;transition:transform .5s ease}.easingsliderlite.use-fade.use-css3 .easingsliderlite-slides-container{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.easingsliderlite.use-css3 .easingsliderlite-slide{-webkit-perspective:1000;-webkit-backface-visibility:hidden}.easingsliderlite.use-slide .easingsliderlite-slide{float:left!important;position:relative!important}.easingsliderlite.use-fade .easingsliderlite-slide{position:absolute!important;top:0!important;left:0!important}.easingsliderlite-slide{width:100%}.easingsliderlite-slide>a{display:block!important}.easingsliderlite-image{width:100%!important;max-width:100%!important;display:block!important;border:none!important}.easingsliderlite-shadow,.easingsliderlite-shadow img{padding:0!important;line-height:0!important;outline:none!important;-webkit-box-shadow:none!important;-moz-box-shadow:none!important;box-shadow:none!important}.easingsliderlite-shadow img{margin:0!important;width:100%}.easingsliderlite-arrows{position:absolute;top:46%;width:30px;height:30px;background-repeat:no-repeat;z-index:30;cursor:pointer;opacity:0;-webkit-transition:opacity .25s linear;-moz-transition:opacity .25s linear;-ms-transition:opacity .25s linear;-o-transition:opacity .25s linear;transition:opacity .25s linear}.easingsliderlite-arrows.easingsliderlite-next{background-image:url(../images/slideshow_arrow_next.png);background-position:top left}.easingsliderlite-arrows.easingsliderlite-prev{background-image:url(../images/slideshow_arrow_prev.png);background-position:top right}.easingsliderlite-next.inside{right:10px}.easingsliderlite-next.outside{right:-40px;padding-left:20px}.easingsliderlite-prev.inside{left:10px}.easingsliderlite-prev.outside{left:-40px;padding-right:20px}.easingsliderlite-pagination{position:absolute;z-index:30;opacity:0;-webkit-transition:opacity .25s linear;-moz-transition:opacity .25s linear;-ms-transition:opacity .25s linear;-o-transition:opacity .25s linear;transition:opacity .25s linear}.easingsliderlite-pagination.inside.bottom-left{bottom:10px;left:10px}.easingsliderlite-pagination.inside.bottom-right{bottom:10px;right:10px}.easingsliderlite-pagination.inside.bottom-center{bottom:10px;left:0;width:100%;text-align:center}.easingsliderlite-pagination.inside.top-left{top:10px;left:10px}.easingsliderlite-pagination.inside.top-right{top:10px;right:10px}.easingsliderlite-pagination.inside.top-center{top:10px;left:0;width:100%;text-align:center}.easingsliderlite-pagination.outside.bottom-left{bottom:-25px;left:0;padding-top:20px}.easingsliderlite-pagination.outside.bottom-right{bottom:-25px;right:0;padding-top:20px}.easingsliderlite-pagination.outside.bottom-center{bottom:-25px;left:0;width:100%;text-align:center;padding-top:20px}.easingsliderlite-pagination.outside.top-left{top:-25px;left:0;padding-bottom:20px}.easingsliderlite-pagination.outside.top-right{top:-25px;right:0;padding-bottom:20px}.easingsliderlite-pagination.outside.top-center{top:-25px;left:0;width:100%;text-align:center;padding-bottom:20px}.easingsliderlite-icon{width:15px;height:15px;margin:0;padding:0;background-image:url(../images/slideshow_icon_inactive.png);background-repeat:no-repeat;background-position:0 0;display:inline-block;*display:inline;zoom:1;z-index:30;cursor:pointer}.easingsliderlite-icon:last-child{margin-right:0}.easingsliderlite-icon.active{background-image:url(../images/slideshow_icon_active.png)}
|
easingsliderlite.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/*
|
4 |
Plugin Name: Easing Slider "Lite"
|
5 |
Plugin URI: http://easingslider.com/
|
6 |
-
Version: 2.1.
|
7 |
Author: Matthew Ruddy
|
8 |
Author URI: http://matthewruddy.com/
|
9 |
Description: Easing Slider "Lite" is an easy to use slideshow plugin for WordPress. Simple, lightweight & designed to get the job done, it allows you to get going without any fuss.
|
@@ -60,7 +60,7 @@ class EasingSliderLite {
|
|
60 |
*
|
61 |
* @since 2.0
|
62 |
*/
|
63 |
-
public static $version = '2.1.
|
64 |
|
65 |
/**
|
66 |
* Our array of Easing Slider "Lite" admin pages. These are used to conditionally load scripts.
|
@@ -141,8 +141,8 @@ class EasingSliderLite {
|
|
141 |
}
|
142 |
|
143 |
/** Legacy functionality */
|
144 |
-
if ( apply_filters( '
|
145 |
-
|
146 |
|
147 |
/** Plugin shortcodes */
|
148 |
add_shortcode( 'easingsliderlite', array( $this, 'do_shortcode' ) );
|
3 |
/*
|
4 |
Plugin Name: Easing Slider "Lite"
|
5 |
Plugin URI: http://easingslider.com/
|
6 |
+
Version: 2.1.2
|
7 |
Author: Matthew Ruddy
|
8 |
Author URI: http://matthewruddy.com/
|
9 |
Description: Easing Slider "Lite" is an easy to use slideshow plugin for WordPress. Simple, lightweight & designed to get the job done, it allows you to get going without any fuss.
|
60 |
*
|
61 |
* @since 2.0
|
62 |
*/
|
63 |
+
public static $version = '2.1.2';
|
64 |
|
65 |
/**
|
66 |
* Our array of Easing Slider "Lite" admin pages. These are used to conditionally load scripts.
|
141 |
}
|
142 |
|
143 |
/** Legacy functionality */
|
144 |
+
if ( apply_filters( 'easingsliderlite_legacy_functionality', __return_true() ) )
|
145 |
+
ESL_Legacy::init( $this );
|
146 |
|
147 |
/** Plugin shortcodes */
|
148 |
add_shortcode( 'easingsliderlite', array( $this, 'do_shortcode' ) );
|
includes/Legacy.php
CHANGED
@@ -32,20 +32,21 @@ class ESL_Legacy {
|
|
32 |
add_shortcode( 'rivasliderlite', array( $class, 'do_shortcode' ) );
|
33 |
add_shortcode( 'easingslider', array( $class, 'do_shortcode' ) );
|
34 |
|
35 |
-
/**
|
36 |
-
if (
|
37 |
-
return;
|
38 |
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
|
|
49 |
|
50 |
}
|
51 |
|
@@ -224,7 +225,7 @@ class ESL_Legacy {
|
|
224 |
wp_nonce_field( "easingsliderlite-legacy-import_{$_GET['page']}", "easingsliderlite-legacy-import_{$_GET['page']}", false );
|
225 |
wp_nonce_field( "easingsliderlite-legacy-remove_{$_GET['page']}", "easingsliderlite-legacy-remove_{$_GET['page']}", false );
|
226 |
?>
|
227 |
-
<th scope="row"><label
|
228 |
<td>
|
229 |
<input type="submit" name="legacy-import" class="button button-primary warn" value="<?php _e( 'Import v1.x Settings', 'easingsliderlite' ); ?>">
|
230 |
<input type="submit" name="legacy-remove" class="button button-secondary warn" value="<?php _e( 'Remove v1.x Settings', 'easingsliderlite' ); ?>">
|
32 |
add_shortcode( 'rivasliderlite', array( $class, 'do_shortcode' ) );
|
33 |
add_shortcode( 'easingslider', array( $class, 'do_shortcode' ) );
|
34 |
|
35 |
+
/** Continue only if there are legacy settings to act upon */
|
36 |
+
if ( get_option( 'easingslider_version' ) || get_option( 'activation' ) || get_option( 'sImg1' ) ) {
|
|
|
37 |
|
38 |
+
/** Import settings admin notice */
|
39 |
+
if ( $pagenow == 'plugins.php' && !get_option( 'easingsliderlite_major_upgrade' ) )
|
40 |
+
add_action( 'admin_notices', create_function( '', '_e( "<div class=\'message updated\'><p>Don\'t forget to import your old Easing Slider settings. <a href=\'admin.php?page=easingsliderlite_edit_slideshow\'>Click here.</a></p></div>", "easingsliderlite" );' ) );
|
41 |
|
42 |
+
/** Hook actions */
|
43 |
+
add_action( 'easingsliderlite_edit_slideshow_actions', array( __CLASS__, 'do_legacy_import' ) );
|
44 |
+
add_action( 'easingsliderlite_edit_settings_actions', array( __CLASS__, 'do_legacy_import' ) );
|
45 |
+
add_action( 'easingsliderlite_edit_settings_actions', array( __CLASS__, 'do_legacy_remove' ) );
|
46 |
+
add_action( 'easingsliderlite_welcome_panel_before', array( __CLASS__, 'print_legacy_message' ) );
|
47 |
+
add_action( 'easingsliderlite_settings_after', array( __CLASS__, 'print_legacy_settings_field' ), 10, 2 );
|
48 |
+
|
49 |
+
}
|
50 |
|
51 |
}
|
52 |
|
225 |
wp_nonce_field( "easingsliderlite-legacy-import_{$_GET['page']}", "easingsliderlite-legacy-import_{$_GET['page']}", false );
|
226 |
wp_nonce_field( "easingsliderlite-legacy-remove_{$_GET['page']}", "easingsliderlite-legacy-remove_{$_GET['page']}", false );
|
227 |
?>
|
228 |
+
<th scope="row"><label><?php _e( 'Legacy Settings', 'easingsliderlite' ); ?></label></th>
|
229 |
<td>
|
230 |
<input type="submit" name="legacy-import" class="button button-primary warn" value="<?php _e( 'Import v1.x Settings', 'easingsliderlite' ); ?>">
|
231 |
<input type="submit" name="legacy-remove" class="button button-secondary warn" value="<?php _e( 'Remove v1.x Settings', 'easingsliderlite' ); ?>">
|
js/slideshow.js
CHANGED
@@ -268,12 +268,8 @@
|
|
268 |
preloadImage = new Image();
|
269 |
|
270 |
/** Bind preload functions. Still continues if a preload fails */
|
271 |
-
|
272 |
-
|
273 |
-
preloadImage.onerror = loadComplete;
|
274 |
-
}
|
275 |
-
else
|
276 |
-
loadComplete();
|
277 |
|
278 |
/** Set image src attribute */
|
279 |
preloadImage.src = image.src;
|
268 |
preloadImage = new Image();
|
269 |
|
270 |
/** Bind preload functions. Still continues if a preload fails */
|
271 |
+
preloadImage.onload = loadComplete;
|
272 |
+
preloadImage.onerror = loadComplete;
|
|
|
|
|
|
|
|
|
273 |
|
274 |
/** Set image src attribute */
|
275 |
preloadImage.src = image.src;
|
js/slideshow.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
(function(a){a.EasingSliderLite=function(b){var c=this,d;c.el=b;c.$el=a(c.el);c.$viewport=c.$el.find(".easingsliderlite-viewport");c.$container=c.$viewport.find(".easingsliderlite-slides-container");c.$slides=c.$container.find(".easingsliderlite-slide");c.$images=c.$slides.find(".easingsliderlite-image");c.options=d=a.extend({},a.EasingSliderLite.defaults,a.parseJSON(c.$el.attr("data-options")));c.current=0;c.previous=0;c.count=c.$slides.length;c.width=d.dimensions.width;c.height=d.dimensions.height;c.$el.data("easingsliderlite",c);c.initialize=function(){c.$container.css({display:""});c.useCSS3=(d.general.enableCSS3)?c._supportsCSS3():false;if(c.useCSS3){c.$el.addClass("use-css3")}if(d.dimensions.responsive){c._setupResponsive()}c.supportsTouch=("ontouchstart" in document.documentElement&&d.general.enableTouch)?true:false;c.clickEvent=(c.supportsTouch)?"touchstart.easingsliderlite":"click.easingsliderlite";if(d.navigation.arrows){c._setupArrows()}if(d.navigation.pagination){c._setupPagination()}c.$slides.eq(c.current).addClass("active");c.$el.bind("beforetransition",function(){c.$slides.removeClass("active").eq(c.current).addClass("active")});if(d.playback.enabled){c.$el.one("onload",c.startPlayback)}c._preload();c.$el.trigger("initialize",c)};c._supportsCSS3=function(){var f=document.createElement("div"),g=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var e in g){if(typeof f.style[g[e]]!=="undefined"){c.vendorPrefix=g[e].replace("Perspective","").toLowerCase();return true}}return false};c._setupResponsive=function(){c.$el.addClass("is-responsive");a(window).bind("resize.easingsliderlite",function(h,i){clearTimeout(c.resizeEnd);c.resizeEnd=setTimeout(function(){a(window).trigger("resizeend");delete c.resizeEnd},50);var g=c.$viewport.outerWidth(),e=c.$viewport.outerHeight();if(g===c.width&&!i){return}c.width=g;c.height=e;if(d.transitions.effect=="slide"){var f={};if(c.useCSS3){f["-"+c.vendorPrefix+"-transition-duration"]="0ms";f["-"+c.vendorPrefix+"-transform"]="translate3d(-"+(c.current*c.width)+"px, 0, 0)"}else{f.left="-"+(c.current*c.width)+"px"}c.$container.css(f);a(window).one("resizeend",function(){f["-"+c.vendorPrefix+"-transition-duration"]=d.transitions.duration+"ms";c.$container.css(f)})}c.$slides.css({width:g+"px",height:e+"px"})});a(window).trigger("resize.easingsliderlite",true)};c._setupArrows=function(){var e=a(".easingsliderlite-next"),f=a(".easingsliderlite-prev"),g=a().add(e).add(f);e.bind(c.clickEvent,function(h){c.nextSlide();return false});f.bind(c.clickEvent,function(h){c.prevSlide();return false});if(d.navigation.arrows_hover){g.addClass("has-hover")}else{c.$el.one("onload",function(){g.css({opacity:1})})}c.$el.trigger("setuparrows",c)};c._setupPagination=function(){var e=a(".easingsliderlite-pagination"),f=e.children("div");f.bind(c.clickEvent,function(g){c.goToSlide(a(this).index());return false});f.eq(c.current).addClass("active").removeClass("inactive");c.$el.bind("beforetransition",function(){f.removeClass("active").addClass("inactive").eq(c.current).addClass("active").removeClass("inactive")});if(d.navigation.pagination_hover){e.addClass("has-hover")}else{c.$el.one("onload",function(){e.css({opacity:1})})}c.$el.trigger("setuppagination",c)};c._preload=function(){var f=0;var e=function(){f++;if(f>=c.count){c.$el.find(".easingsliderlite-preload").animate({opacity:0},{duration:400,complete:function(){a(this).remove();c.$el.trigger("onload")}})}};c.$images.each(function(g,h){preloadImage=new Image();
|
2 |
-
|
1 |
+
(function(a){a.EasingSliderLite=function(b){var c=this,d;c.el=b;c.$el=a(c.el);c.$viewport=c.$el.find(".easingsliderlite-viewport");c.$container=c.$viewport.find(".easingsliderlite-slides-container");c.$slides=c.$container.find(".easingsliderlite-slide");c.$images=c.$slides.find(".easingsliderlite-image");c.options=d=a.extend({},a.EasingSliderLite.defaults,a.parseJSON(c.$el.attr("data-options")));c.current=0;c.previous=0;c.count=c.$slides.length;c.width=d.dimensions.width;c.height=d.dimensions.height;c.$el.data("easingsliderlite",c);c.initialize=function(){c.$container.css({display:""});c.useCSS3=(d.general.enableCSS3)?c._supportsCSS3():false;if(c.useCSS3){c.$el.addClass("use-css3")}if(d.dimensions.responsive){c._setupResponsive()}c.supportsTouch=("ontouchstart" in document.documentElement&&d.general.enableTouch)?true:false;c.clickEvent=(c.supportsTouch)?"touchstart.easingsliderlite":"click.easingsliderlite";if(d.navigation.arrows){c._setupArrows()}if(d.navigation.pagination){c._setupPagination()}c.$slides.eq(c.current).addClass("active");c.$el.bind("beforetransition",function(){c.$slides.removeClass("active").eq(c.current).addClass("active")});if(d.playback.enabled){c.$el.one("onload",c.startPlayback)}c._preload();c.$el.trigger("initialize",c)};c._supportsCSS3=function(){var f=document.createElement("div"),g=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var e in g){if(typeof f.style[g[e]]!=="undefined"){c.vendorPrefix=g[e].replace("Perspective","").toLowerCase();return true}}return false};c._setupResponsive=function(){c.$el.addClass("is-responsive");a(window).bind("resize.easingsliderlite",function(h,i){clearTimeout(c.resizeEnd);c.resizeEnd=setTimeout(function(){a(window).trigger("resizeend");delete c.resizeEnd},50);var g=c.$viewport.outerWidth(),e=c.$viewport.outerHeight();if(g===c.width&&!i){return}c.width=g;c.height=e;if(d.transitions.effect=="slide"){var f={};if(c.useCSS3){f["-"+c.vendorPrefix+"-transition-duration"]="0ms";f["-"+c.vendorPrefix+"-transform"]="translate3d(-"+(c.current*c.width)+"px, 0, 0)"}else{f.left="-"+(c.current*c.width)+"px"}c.$container.css(f);a(window).one("resizeend",function(){f["-"+c.vendorPrefix+"-transition-duration"]=d.transitions.duration+"ms";c.$container.css(f)})}c.$slides.css({width:g+"px",height:e+"px"})});a(window).trigger("resize.easingsliderlite",true)};c._setupArrows=function(){var e=a(".easingsliderlite-next"),f=a(".easingsliderlite-prev"),g=a().add(e).add(f);e.bind(c.clickEvent,function(h){c.nextSlide();return false});f.bind(c.clickEvent,function(h){c.prevSlide();return false});if(d.navigation.arrows_hover){g.addClass("has-hover")}else{c.$el.one("onload",function(){g.css({opacity:1})})}c.$el.trigger("setuparrows",c)};c._setupPagination=function(){var e=a(".easingsliderlite-pagination"),f=e.children("div");f.bind(c.clickEvent,function(g){c.goToSlide(a(this).index());return false});f.eq(c.current).addClass("active").removeClass("inactive");c.$el.bind("beforetransition",function(){f.removeClass("active").addClass("inactive").eq(c.current).addClass("active").removeClass("inactive")});if(d.navigation.pagination_hover){e.addClass("has-hover")}else{c.$el.one("onload",function(){e.css({opacity:1})})}c.$el.trigger("setuppagination",c)};c._preload=function(){var f=0;var e=function(){f++;if(f>=c.count){c.$el.find(".easingsliderlite-preload").animate({opacity:0},{duration:400,complete:function(){a(this).remove();c.$el.trigger("onload")}})}};c.$images.each(function(g,h){preloadImage=new Image();preloadImage.onload=e;preloadImage.onerror=e;preloadImage.src=h.src})};c._transition=function(){c._beforeTransition();clearTimeout(c.afterTransition);c.afterTransition=setTimeout(function(){c._afterTransition();delete c.afterTransition},d.transitions.duration);if(d.transitions.effect=="slide"){if(c.useCSS3){var e={};e["-"+c.vendorPrefix+"-transition-duration"]=d.transitions.duration;e["-"+c.vendorPrefix+"-transform"]="translate3d(-"+(c.width*c.current)+"px, 0, 0)";c.$container.css(e)}else{c.$container.animate({left:"-"+(c.width*c.current)+"px"},d.transitions.duration)}}else{if(d.transitions.effect=="fade"){if(c.current===c.previous){return}c.order=(c.order)?c.order+1:1;c.$el.unbind("aftertransition._transition").one("aftertransition._transition",function(){c.$slides.each(function(f){var g=(f===c.current)?{"z-index":""}:{opacity:0,display:"none","z-index":""};a(this).css(g)});delete c.order;delete c.animationClear});c.$slides.eq(c.current).css({opacity:"0",display:"block","z-index":c.order}).animate({opacity:"1"},d.transitions.duration)}else{c.$el.trigger("transition",c,d.transitions.effect)}}};c._beforeTransition=function(){if(d.playback.enabled){clearTimeout(c.playbackTimer)}c.$el.trigger("beforetransition",c)};c._afterTransition=function(){if(d.playback.enabled){c.startPlayback({silent:true})}c.$el.trigger("aftertransition",c)};c.startPlayback=function(e){e=a.extend({},{silent:false},e);if(!d.playback.enabled){d.playback.enabled=true}c.runtime=new Date();
|
2 |
+
c.pauseTime=d.playback.pause;c.playbackTimer=setTimeout(function(){c.nextSlide()},c.pauseTime);if(!e.silent){c.$el.trigger("startplayback",c)}};c.endPlayback=function(e){e=a.extend({},{silent:false},e);if(d.playback.enabled){d.playback.enabled=false}clearTimeout(c.playbackTimer);if(!e.silent){c.$el.trigger("endplayback",c)}};c.pausePlayback=function(e){e=a.extend({},{silent:false},e);clearTimeout(c.playbackTimer);c.runtime=Math.ceil(new Date()-c.runtime);if(!e.silent){c.$el.trigger("pauseplayback",c)}};c.resumePlayback=function(e){e=a.extend({},{silent:false},e);c.pauseTime=Math.ceil(c.pauseTime-c.runtime);c.runtime=new Date();c.playbackTimer=setTimeout(function(){c.nextSlide()},c.pauseTime);if(!e.silent){c.$el.trigger("resumeplayback",c)}};c.nextSlide=function(e){e=a.extend({},{silent:false},e);c.previous=c.current;c.current=(c.current==(c.count-1))?0:(c.current+1);c._transition(c.current,c.previous);if(!e.silent){c.$el.trigger("nextslide",c)}};c.prevSlide=function(e){e=a.extend({},{silent:false},e);c.previous=c.current;c.current=(c.current==0)?(c.count-1):(c.current-1);c._transition(c.current,c.previous);if(!e.silent){c.$el.trigger("prevslide",c)}};c.goToSlide=function(e,f){f=a.extend({},{silent:false},f);if(c.$slides.eq(e).length==0){return}c.previous=c.current;c.current=e;c._transition(c.current,c.previous,true);if(!f.silent){c.$el.trigger("gotoslide",c,e)}};c=a.extend({},c,a.EasingSliderLite.extensions);c.initialize()};a.EasingSliderLite.defaults={general:{enableCSS3:true},navigation:{arrows:true,arrows_hover:true,arrows_position:"inside",pagination:true,pagination_hover:true,pagination_position:"inside",pagination_location:"bottom-left"},dimensions:{width:500,height:200,responsive:true},transitions:{effect:"slide",duration:500},playback:{enabled:false,pause:1000}};a.EasingSliderLite.extensions={};a.fn.EasingSliderLite=function(){return this.each(function(){new a.EasingSliderLite(this)})};a(document).ready(function(){a(".easingsliderlite").EasingSliderLite()})})(jQuery);
|
languages/easingsliderlite-ar.mo
ADDED
Binary file
|
languages/easingsliderlite.pot
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Easing Slider \"Lite\"\n"
|
4 |
-
"POT-Creation-Date: 2013-04-
|
5 |
-
"PO-Revision-Date: 2013-04-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
@@ -104,52 +104,52 @@ msgstr ""
|
|
104 |
msgid "Are you sure you wish to discard changes?"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: ../includes/Legacy.php:
|
108 |
msgid "Security check has failed. Import has been prevented. Please try again."
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: ../includes/Legacy.php:
|
112 |
msgid "Easing Slider settings have been imported."
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: ../includes/Legacy.php:
|
116 |
msgid ""
|
117 |
"Security check has failed. Removal has been prevented. Please try again."
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: ../includes/Legacy.php:
|
121 |
msgid "Easing Slider settings have been permanently deleted!"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: ../includes/Legacy.php:
|
125 |
msgid "Legacy Settings Detected"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: ../includes/Legacy.php:
|
129 |
msgid "Click the button below to import your settings from Easing Slider v1.x"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: ../includes/Legacy.php:
|
133 |
msgid "Import your old settings"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: ../includes/Legacy.php:
|
137 |
msgid "Import my v1.x Easing Slider settings."
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: ../includes/Legacy.php:
|
141 |
msgid "Legacy Settings"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: ../includes/Legacy.php:
|
145 |
msgid "Import v1.x Settings"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: ../includes/Legacy.php:
|
149 |
msgid "Remove v1.x Settings"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: ../includes/Legacy.php:
|
153 |
msgid ""
|
154 |
"These buttons allow you to import and remove your old Easing Slider v1.x "
|
155 |
"settings. Only remove them if you are sure you will not be downgrading the "
|
@@ -558,6 +558,10 @@ msgstr ""
|
|
558 |
msgid "Edit a Slide: #{{ data.id }}"
|
559 |
msgstr ""
|
560 |
|
|
|
|
|
|
|
|
|
561 |
#: ../templates/editslideshow-slide.php:23
|
562 |
msgid "Link URL"
|
563 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Easing Slider \"Lite\"\n"
|
4 |
+
"POT-Creation-Date: 2013-04-25 18:50-0000\n"
|
5 |
+
"PO-Revision-Date: 2013-04-25 18:51-0000\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
104 |
msgid "Are you sure you wish to discard changes?"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: ../includes/Legacy.php:129
|
108 |
msgid "Security check has failed. Import has been prevented. Please try again."
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: ../includes/Legacy.php:137
|
112 |
msgid "Easing Slider settings have been imported."
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: ../includes/Legacy.php:155
|
116 |
msgid ""
|
117 |
"Security check has failed. Removal has been prevented. Please try again."
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: ../includes/Legacy.php:173
|
121 |
msgid "Easing Slider settings have been permanently deleted!"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: ../includes/Legacy.php:193
|
125 |
msgid "Legacy Settings Detected"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: ../includes/Legacy.php:195
|
129 |
msgid "Click the button below to import your settings from Easing Slider v1.x"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: ../includes/Legacy.php:199
|
133 |
msgid "Import your old settings"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: ../includes/Legacy.php:200
|
137 |
msgid "Import my v1.x Easing Slider settings."
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: ../includes/Legacy.php:219 ../includes/Legacy.php:228
|
141 |
msgid "Legacy Settings"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: ../includes/Legacy.php:230
|
145 |
msgid "Import v1.x Settings"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: ../includes/Legacy.php:231
|
149 |
msgid "Remove v1.x Settings"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: ../includes/Legacy.php:232
|
153 |
msgid ""
|
154 |
"These buttons allow you to import and remove your old Easing Slider v1.x "
|
155 |
"settings. Only remove them if you are sure you will not be downgrading the "
|
558 |
msgid "Edit a Slide: #{{ data.id }}"
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: ../templates/editslideshow-slide.php:19
|
562 |
+
msgid "Change Image"
|
563 |
+
msgstr ""
|
564 |
+
|
565 |
#: ../templates/editslideshow-slide.php:23
|
566 |
msgid "Link URL"
|
567 |
msgstr ""
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Homepage: http://easingslider.com
|
|
3 |
Contributors: MatthewRuddy
|
4 |
Tags: slideshow, slider, slides, slide, gallery, images, image, responsive, mobile, jquery, javascript, featured, content
|
5 |
Requires at least: 3.5
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 2.1
|
8 |
|
9 |
Easing Slider "Lite" is an easy to use slideshow plugin. Simple and lightweight, built with native WordPress functionality.
|
10 |
|
@@ -77,6 +77,13 @@ This is easy. When viewing the <strong>"Edit Slideshow"</strong> Easing Slider "
|
|
77 |
|
78 |
== Changelog ==
|
79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
= 2.1.1 =
|
81 |
* Fixed all IE bugs. Now working perfectly in IE7+.
|
82 |
* Separated legacy code into its own separate file.
|
3 |
Contributors: MatthewRuddy
|
4 |
Tags: slideshow, slider, slides, slide, gallery, images, image, responsive, mobile, jquery, javascript, featured, content
|
5 |
Requires at least: 3.5
|
6 |
+
Tested up to: 3.6
|
7 |
+
Stable tag: 2.1.2
|
8 |
|
9 |
Easing Slider "Lite" is an easy to use slideshow plugin. Simple and lightweight, built with native WordPress functionality.
|
10 |
|
77 |
|
78 |
== Changelog ==
|
79 |
|
80 |
+
= 2.1.2 =
|
81 |
+
* Added accordion CSS to fix WordPress 3.6 bugs.
|
82 |
+
* Fixed clearing and border edge case CSS issues
|
83 |
+
* Made preloading functionality more reliable.
|
84 |
+
* Added missing translations.
|
85 |
+
* Improved legacy functionality class.
|
86 |
+
|
87 |
= 2.1.1 =
|
88 |
* Fixed all IE bugs. Now working perfectly in IE7+.
|
89 |
* Separated legacy code into its own separate file.
|
templates/customizer.php
CHANGED
@@ -35,16 +35,16 @@
|
|
35 |
</div>
|
36 |
|
37 |
<div class="wp-full-overlay-sidebar-content" tabindex="-1">
|
38 |
-
<div id="customize-info" class="customize-section">
|
39 |
-
<div class="customize-section-title" aria-label="Theme Customizer Options" tabindex="0">
|
40 |
<span class="preview-notice"><?php _e( 'You are customizing <strong class="theme-name">Easing Slider "Lite"</strong>', 'easingsliderlite' ); ?></span>
|
41 |
</div>
|
42 |
</div>
|
43 |
-
<div id="customize-theme-controls">
|
44 |
<ul>
|
45 |
-
<li class="control-section customize-section">
|
46 |
-
<h3 class="customize-section-title" tabindex="0" title=""><?php _e( 'Next & Previous Arrows', 'easingsliderlite' ); ?></h3>
|
47 |
-
<ul class="customize-section-content">
|
48 |
<li class="customize-control customize-control-text">
|
49 |
<label>
|
50 |
<span class="customize-control-title"><?php _e( '"Next" Arrow Image', 'easingsliderlite' ); ?></span>
|
@@ -72,9 +72,9 @@
|
|
72 |
</ul>
|
73 |
</li>
|
74 |
|
75 |
-
<li class="control-section customize-section">
|
76 |
-
<h3 class="customize-section-title" tabindex="0" title=""><?php _e( 'Pagination Icons', 'easingsliderlite' ); ?></h3>
|
77 |
-
<ul class="customize-section-content">
|
78 |
<li class="customize-control customize-control-text">
|
79 |
<label>
|
80 |
<span class="customize-control-title"><?php _e( '"Inactive" Image', 'easingsliderlite' ); ?></span>
|
@@ -102,9 +102,9 @@
|
|
102 |
</ul>
|
103 |
</li>
|
104 |
|
105 |
-
<li class="control-section customize-section">
|
106 |
-
<h3 class="customize-section-title" tabindex="0" title=""><?php _e( 'Border', 'easingsliderlite' ); ?></h3>
|
107 |
-
<ul class="customize-section-content">
|
108 |
<li class="customize-control customize-control-text">
|
109 |
<label>
|
110 |
<span class="customize-control-title"><?php _e( 'Color', 'easingsliderlite' ); ?></span>
|
@@ -127,9 +127,9 @@
|
|
127 |
</li>
|
128 |
|
129 |
<?php if ( !apply_filters( 'easingsliderlite_disable_shadow', __return_false() ) ) : ?>
|
130 |
-
<li class="control-section customize-section">
|
131 |
-
<h3 class="customize-section-title" tabindex="0" title=""><?php _e( 'Drop Shadow', 'easingsliderlite' ); ?></h3>
|
132 |
-
<ul class="customize-section-content">
|
133 |
<li class="customize-control customize-control-text">
|
134 |
<label>
|
135 |
<span class="customize-control-title"><?php _e( 'Display a Drop Shadow', 'easingsliderlite' ); ?></span>
|
35 |
</div>
|
36 |
|
37 |
<div class="wp-full-overlay-sidebar-content" tabindex="-1">
|
38 |
+
<div id="customize-info" class="accordion-section customize-section">
|
39 |
+
<div class="accordion-section-title customize-section-title" aria-label="Theme Customizer Options" tabindex="0">
|
40 |
<span class="preview-notice"><?php _e( 'You are customizing <strong class="theme-name">Easing Slider "Lite"</strong>', 'easingsliderlite' ); ?></span>
|
41 |
</div>
|
42 |
</div>
|
43 |
+
<div id="customize-theme-controls" class="accordion-container">
|
44 |
<ul>
|
45 |
+
<li class="control-section accordion-section customize-section">
|
46 |
+
<h3 class="accordion-section-title customize-section-title" tabindex="0" title=""><?php _e( 'Next & Previous Arrows', 'easingsliderlite' ); ?></h3>
|
47 |
+
<ul class="accordion-section-content customize-section-content">
|
48 |
<li class="customize-control customize-control-text">
|
49 |
<label>
|
50 |
<span class="customize-control-title"><?php _e( '"Next" Arrow Image', 'easingsliderlite' ); ?></span>
|
72 |
</ul>
|
73 |
</li>
|
74 |
|
75 |
+
<li class="control-section accordion-section customize-section">
|
76 |
+
<h3 class="accordion-section-title customize-section-title" tabindex="0" title=""><?php _e( 'Pagination Icons', 'easingsliderlite' ); ?></h3>
|
77 |
+
<ul class="accordion-section-content customize-section-content">
|
78 |
<li class="customize-control customize-control-text">
|
79 |
<label>
|
80 |
<span class="customize-control-title"><?php _e( '"Inactive" Image', 'easingsliderlite' ); ?></span>
|
102 |
</ul>
|
103 |
</li>
|
104 |
|
105 |
+
<li class="control-section accordion-section customize-section">
|
106 |
+
<h3 class="accordion-section-title customize-section-title" tabindex="0" title=""><?php _e( 'Border', 'easingsliderlite' ); ?></h3>
|
107 |
+
<ul class="accordion-section-content customize-section-content">
|
108 |
<li class="customize-control customize-control-text">
|
109 |
<label>
|
110 |
<span class="customize-control-title"><?php _e( 'Color', 'easingsliderlite' ); ?></span>
|
127 |
</li>
|
128 |
|
129 |
<?php if ( !apply_filters( 'easingsliderlite_disable_shadow', __return_false() ) ) : ?>
|
130 |
+
<li class="control-section accordion-section customize-section">
|
131 |
+
<h3 class="accordion-section-title customize-section-title" tabindex="0" title=""><?php _e( 'Drop Shadow', 'easingsliderlite' ); ?></h3>
|
132 |
+
<ul class="accordion-section-content customize-section-content">
|
133 |
<li class="customize-control customize-control-text">
|
134 |
<label>
|
135 |
<span class="customize-control-title"><?php _e( 'Display a Drop Shadow', 'easingsliderlite' ); ?></span>
|
templates/editslideshow-slide.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
<div class="thumbnail">
|
17 |
<# var thumbnail = data.sizes.large || data.sizes.medium || data.sizes.thumbnail || { url: data.url }; #>
|
18 |
<img src="{{ thumbnail.url }}" class="slide-thumbnail" alt="{{ data.alt }}" />
|
19 |
-
<a href="#" id="change-image" class="button button-primary button-large change-image" data-editor="content" title="Change Image"><span class="wp-media-buttons-icon"></span> Change Image
|
20 |
</div>
|
21 |
|
22 |
<label for="link" class="setting">
|
16 |
<div class="thumbnail">
|
17 |
<# var thumbnail = data.sizes.large || data.sizes.medium || data.sizes.thumbnail || { url: data.url }; #>
|
18 |
<img src="{{ thumbnail.url }}" class="slide-thumbnail" alt="{{ data.alt }}" />
|
19 |
+
<a href="#" id="change-image" class="button button-primary button-large change-image" data-editor="content" title="<?php _e( 'Change Image', 'easingsliderlite' ); ?>"><span class="wp-media-buttons-icon"></span> <?php _e( 'Change Image', 'easingsliderlite' ); ?></a>
|
20 |
</div>
|
21 |
|
22 |
<label for="link" class="setting">
|
templates/slideshow.php
CHANGED
@@ -75,7 +75,7 @@
|
|
75 |
/** Get slide styles */
|
76 |
$slide_styles = $slideshow_styles;
|
77 |
if ( $s->transitions->effect == 'fade' && $index > 0 )
|
78 |
-
$slide_styles .= "
|
79 |
|
80 |
/** Apply filter for custom styles */
|
81 |
$slide_styles = apply_filters( 'easingsliderlite_slide_styles', $slide_styles, $slide, $s );
|
75 |
/** Get slide styles */
|
76 |
$slide_styles = $slideshow_styles;
|
77 |
if ( $s->transitions->effect == 'fade' && $index > 0 )
|
78 |
+
$slide_styles .= " opacity: 0; display: none;";
|
79 |
|
80 |
/** Apply filter for custom styles */
|
81 |
$slide_styles = apply_filters( 'easingsliderlite_slide_styles', $slide_styles, $slide, $s );
|