Crelly Slider - Version 0.6.7

Version Description

  • Fixed "Add image" not working on Firefox and Internet Explorer
  • Fixed "Duplicate element" on animations
Download this release

Release Info

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

Code changes from version 0.6.6 to 0.6.7

crellyslider.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Crelly Slider
5
  * Plugin URI: http://fabiorino1.altervista.org/projects/crellyslider
6
  * Description: The first free WordPress slider with elements animations.
7
- * Version: 0.6.6
8
  * Author: fabiorino
9
  * Author URI: http://fabiorino1.altervista.org
10
  * License: GPL2
@@ -14,7 +14,7 @@
14
  /** GLOBALS **/
15
  /*************/
16
 
17
- define('CS_VERSION', '0.6.6');
18
  define('CS_PATH', plugin_dir_path(__FILE__));
19
  define('CS_PLUGIN_URL', plugins_url() . '/crelly-slider');
20
 
4
  * Plugin Name: Crelly Slider
5
  * Plugin URI: http://fabiorino1.altervista.org/projects/crellyslider
6
  * Description: The first free WordPress slider with elements animations.
7
+ * Version: 0.6.7
8
  * Author: fabiorino
9
  * Author URI: http://fabiorino1.altervista.org
10
  * License: GPL2
14
  /** GLOBALS **/
15
  /*************/
16
 
17
+ define('CS_VERSION', '0.6.7');
18
  define('CS_PATH', plugin_dir_path(__FILE__));
19
  define('CS_PLUGIN_URL', plugins_url() . '/crelly-slider');
20
 
js/jquery.crellyslider.js CHANGED
@@ -2,7 +2,7 @@
2
  * Plugin Name: Crelly Slider
3
  * Plugin URI: http://fabiorino1.altervista.org/projects/crellyslider
4
  * Description: The first free WordPress slider with elements animations.
5
- * Version: 0.6.6
6
  * Author: fabiorino
7
  * Author URI: http://fabiorino1.altervista.org
8
  * License: GPL2
2
  * Plugin Name: Crelly Slider
3
  * Plugin URI: http://fabiorino1.altervista.org/projects/crellyslider
4
  * Description: The first free WordPress slider with elements animations.
5
+ * Version: 0.6.7
6
  * Author: fabiorino
7
  * Author URI: http://fabiorino1.altervista.org
8
  * License: GPL2
js/jquery.crellyslider.min.js CHANGED
@@ -2,7 +2,7 @@
2
  * Plugin Name: Crelly Slider
3
  * Plugin URI: http://fabiorino1.altervista.org/projects/crellyslider
4
  * Description: The first free WordPress slider with elements animations.
5
- * Version: 0.6.6
6
  * Author: fabiorino
7
  * Author URI: http://fabiorino1.altervista.org
8
  * License: GPL2
2
  * Plugin Name: Crelly Slider
3
  * Plugin URI: http://fabiorino1.altervista.org/projects/crellyslider
4
  * Description: The first free WordPress slider with elements animations.
5
+ * Version: 0.6.7
6
  * Author: fabiorino
7
  * Author URI: http://fabiorino1.altervista.org
8
  * License: GPL2
readme.txt CHANGED
@@ -8,7 +8,7 @@ Stable tag: 0.6.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- The first FREE WP Slider with elements animations
12
 
13
  == Description ==
14
 
@@ -19,24 +19,23 @@ Crelly Slider is a Free / Open Source WordPress slider with a powerful Drag & Dr
19
  <br />
20
  <a href="http://fabiorino1.altervista.org/projects/crellyslider/documentation">Documentation</a>
21
  <br />
22
- <br />
23
- =User Friendly Admin Panel=
24
- * Crelly Slider does not require any Coding Knowledge. With the simple admin panel you will be able to create the sliders in the easiest way. Upload images with the default WordPress interface or choose colors using the picker.
25
 
26
- =High Cross Browser Compatibility=
27
- * Most of the animations and the transitions are written in jQuery (using the animate function). In this way we can assure the compatibility with modern (even Android and iOs) and older browsers (like IE8).
28
 
29
- =Drag and Drop Builder=
30
- * How can you position all the elements in to the slider area? You just simply drag them in to the desired position. Like in Powerpoint, you just have to move the object around the Slide.
31
 
32
- =Transitions & Animations=
33
- * Foreach element and slide you can choose an in animation and an out animation using a simple selection menu. You can set the transition speeds and how long the element will take to get in and out.
34
 
35
- =Completly Responsive=
36
- * Responsive means that the Slider will be displayed correctly in every resolution that the user will use. If the display is small (like in a smartphone), the slides and the elements will be scaled to be adapted.
37
 
38
- =Full & Fixed Width Modes=
39
- * Using Crelly Slider you can select between a fixed or a full-width layout (both of them can be responsive). You are the designer, you own the WebSite, just choose the best for it.
40
 
41
  == Installation ==
42
 
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ The first FREE WP Slider with elements animations.
12
 
13
  == Description ==
14
 
19
  <br />
20
  <a href="http://fabiorino1.altervista.org/projects/crellyslider/documentation">Documentation</a>
21
  <br />
22
+ = User Friendly Admin Panel =
23
+ Crelly Slider does not require any Coding Knowledge. With the simple admin panel you will be able to create the sliders in the easiest way. Upload images with the default WordPress interface or choose colors using the picker.
 
24
 
25
+ = High Cross Browser Compatibility =
26
+ Most of the animations and the transitions are written in jQuery (using the "animate" function). In this way we can assure the compatibility with modern (even Android and iOs) and older browsers (like IE8).
27
 
28
+ = Drag and Drop Builder =
29
+ How can you position all the elements in to the slider area? You just simply drag them in to the desired position. Like in Powerpoint, you just have to move the object around the Slide.
30
 
31
+ = Transitions & Animations =
32
+ Foreach element and slide you can choose an in animation and an out animation using a simple selection menu. You can set the transition speeds and how long the element will take to get in and out.
33
 
34
+ = Completly Responsive =
35
+ Responsive means that the Slider will be displayed correctly in every resolution that the user will use. If the display is small (like in a smartphone), the slides and the elements will be scaled to be adapted.
36
 
37
+ = Full & Fixed Width Modes =
38
+ Using Crelly Slider you can select between a fixed or a full-width layout (both of them can be responsive). You are the designer, you own the WebSite, just choose the best for it.
39
 
40
  == Installation ==
41
 
wordpress/js/admin.js CHANGED
@@ -305,7 +305,6 @@ jQuery(document).ready(function($) {
305
 
306
  // Upload
307
  var file_frame;
308
- event.preventDefault();
309
 
310
  // If the media frame already exists, reopen it.
311
  if ( file_frame ) {
@@ -513,6 +512,13 @@ jQuery(document).ready(function($) {
513
  crellyslider_deselectElements();
514
  crellyslider_selectElement(element.parent().find('.cs-element').last());
515
 
 
 
 
 
 
 
 
516
  // Make draggable
517
  crellyslider_draggableElements();
518
  }
@@ -615,7 +621,7 @@ jQuery(document).ready(function($) {
615
 
616
  // Temporarily insert an element with no src and alt
617
  // Add the image into the editing area.
618
- area.append('<img class="cs-element cs-image-element" style="z-index: 1;" />');
619
 
620
  // Insert the options
621
  settings_div.before(settings);
@@ -636,7 +642,6 @@ jQuery(document).ready(function($) {
636
  var settings = '<div class="cs-element-settings cs-image-element-settings">' + $('.cs-admin .cs-slide .cs-elements .cs-void-image-element-settings').html() + '</div>';
637
 
638
  var file_frame;
639
- event.preventDefault();
640
 
641
  // If the media frame already exists, reopen it.
642
  if ( file_frame ) {
@@ -663,7 +668,7 @@ jQuery(document).ready(function($) {
663
  var image_alt = attachment.alt;
664
 
665
  // Set attributes
666
- var image = area.find('.cs-element').last();
667
  image.attr('src', image_src);
668
  image.attr('alt', image_alt);
669
 
305
 
306
  // Upload
307
  var file_frame;
 
308
 
309
  // If the media frame already exists, reopen it.
310
  if ( file_frame ) {
512
  crellyslider_deselectElements();
513
  crellyslider_selectElement(element.parent().find('.cs-element').last());
514
 
515
+ // Clone fixes (Google "jQuery clone() bug")
516
+ var cloned_options = element.parent().find('.cs-element').last().closest('.cs-slide').find('.cs-elements-list .cs-element-settings.active');
517
+
518
+ cloned_options.find('.cs-element-data_in').val(element_options.find('.cs-element-data_in').val());
519
+ cloned_options.find('.cs-element-data_out').val(element_options.find('.cs-element-data_out').val());
520
+ cloned_options.find('.cs-element-custom_css').val(element_options.find('.cs-element-custom_css').val());
521
+
522
  // Make draggable
523
  crellyslider_draggableElements();
524
  }
621
 
622
  // Temporarily insert an element with no src and alt
623
  // Add the image into the editing area.
624
+ area.append('<img class="cs-element cs-image-element" src="nothing_now.jpg" style="z-index: 1;" />');
625
 
626
  // Insert the options
627
  settings_div.before(settings);
642
  var settings = '<div class="cs-element-settings cs-image-element-settings">' + $('.cs-admin .cs-slide .cs-elements .cs-void-image-element-settings').html() + '</div>';
643
 
644
  var file_frame;
 
645
 
646
  // If the media frame already exists, reopen it.
647
  if ( file_frame ) {
668
  var image_alt = attachment.alt;
669
 
670
  // Set attributes
671
+ var image = area.find('.cs-image-element.active').last();
672
  image.attr('src', image_src);
673
  image.attr('alt', image_alt);
674