Version Description
- 2013-07-25
Download this release
Release Info
Developer | kosinix |
Plugin | Cyclone Slider |
Version | 2.5.5 |
Comparing to | |
See all releases |
Code changes from version 2.5.4 to 2.5.5
- README.txt +24 -9
- classes/class-cyclone-slider-data.php +23 -0
- classes/class-cyclone-slider.php +51 -63
- cyclone-slider.php +2 -2
- inc/admin-parts/template-selection.php +1 -0
- js/jquery.cycle2.tile.min.js +1 -1
- js/jquery.cycle2.video.min.js +1 -1
- templates/black/config.txt +0 -4
- templates/black/images/bg-caption.png +0 -0
- templates/black/images/sprite-arrows.png +0 -0
- templates/black/images/sprite-nav.png +0 -0
- templates/black/screenshot.jpg +0 -0
- templates/black/script.js +0 -30
- templates/black/script.min.js +0 -1
- templates/black/slider.php +0 -31
- templates/black/style.css +0 -73
- templates/black/style.min.css +0 -2
- templates/blue/config.txt +0 -4
- templates/blue/images/bg-caption.png +0 -0
- templates/blue/images/sprite-arrows.png +0 -0
- templates/blue/images/sprite-nav.png +0 -0
- templates/blue/screenshot.jpg +0 -0
- templates/blue/script.js +0 -30
- templates/blue/script.min.js +0 -1
- templates/blue/slider.php +0 -31
- templates/blue/style.css +0 -73
- templates/blue/style.min.css +0 -2
- templates/default/screenshot.jpg +0 -0
- templates/default/slider.php +2 -0
- templates/myrtle/config.txt +0 -4
- templates/myrtle/images/bg-caption.png +0 -0
- templates/myrtle/images/sprite-arrows.png +0 -0
- templates/myrtle/images/sprite-nav.png +0 -0
- templates/myrtle/screenshot.jpg +0 -0
- templates/myrtle/script.js +0 -16
- templates/myrtle/script.min.js +0 -1
- templates/myrtle/slider.php +0 -31
- templates/myrtle/style.css +0 -86
- templates/myrtle/style.min.css +0 -2
- templates/thumbnails/slider.php +2 -0
README.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Cyclone Slider 2 ===
|
2 |
Contributors: kosinix
|
3 |
Donate link: http://www.codefleet.net/donate/
|
4 |
-
Tags: slider, slideshow,
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 3.5.1
|
7 |
-
Stable tag: 2.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -12,13 +12,13 @@ Create responsive slideshows with ease. Built for both developers and non-develo
|
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
Cyclone Slider 2
|
16 |
|
17 |
= Features: =
|
18 |
* Very easy to use interface! Blends seamlessly with your WordPress workflow.
|
19 |
* Supports image, video, and custom HTML slides.
|
20 |
* Powered by [Cycle 2](http://jquery.malsup.com/cycle2/), the most flexible jQuery slideshow plugin.
|
21 |
-
* A template system that
|
22 |
* Customizable tile transition effects.
|
23 |
* Ability to add per-slide transition effects.
|
24 |
* Unlimited slideshows.
|
@@ -34,6 +34,13 @@ Cyclone Slider 2 follows the keep it simple mantra. It leverages WordPress' buil
|
|
34 |
= Homepage =
|
35 |
Learn more about [Cyclone Slider 2](http://www.codefleet.net/cyclone-slider-2/)
|
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
== Installation ==
|
38 |
|
39 |
= Install via WordPress Admin =
|
@@ -66,19 +73,19 @@ Most probably its wordpress adding paragpraphs on line breaks next to the slides
|
|
66 |
`remove_filter('the_content', 'wpautop');`
|
67 |
|
68 |
= How to display it in post/page? =
|
69 |
-
Use the shortcode `[cycloneslider id
|
70 |
|
71 |
= How to display it inside template files (header.php, index.php, page.php, etc.)? =
|
72 |
-
Use `<?php echo do_shortcode('[cycloneslider id ="my-slideshow"]');
|
73 |
|
74 |
= What are the shortcode options? =
|
75 |
-
`[cycloneslider id
|
76 |
|
77 |
= How can I use templates? =
|
78 |
-
`[cycloneslider id
|
79 |
|
80 |
= Where do I add my own templates? =
|
81 |
-
Inside your theme create a folder named "cycloneslider". Add your templates inside.
|
82 |
|
83 |
== Screenshots ==
|
84 |
|
@@ -89,6 +96,10 @@ Inside your theme create a folder named "cycloneslider". Add your templates insi
|
|
89 |
|
90 |
== Changelog ==
|
91 |
|
|
|
|
|
|
|
|
|
92 |
= 2.5.4 - 2013-07-20 =
|
93 |
* Added Youtube template that pauses the video when slider is transitioning.
|
94 |
|
@@ -178,6 +189,10 @@ Inside your theme create a folder named "cycloneslider". Add your templates insi
|
|
178 |
|
179 |
== Upgrade Notice ==
|
180 |
|
|
|
|
|
|
|
|
|
181 |
= 2.5.4 - 2013-07-20 =
|
182 |
* Added Youtube template that pauses the video when slider is transitioning.
|
183 |
|
1 |
=== Cyclone Slider 2 ===
|
2 |
Contributors: kosinix
|
3 |
Donate link: http://www.codefleet.net/donate/
|
4 |
+
Tags: slider, slideshow, wordpress-slider, wordpress-slideshow, cycle 2, jquery, responsive, translation-ready, custom-post, cyclone-slider
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 3.5.1
|
7 |
+
Stable tag: 2.5.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
Cyclone Slider 2 is an easy to use slider plugin for WordPress. It leverages WordPress' built-in features. It uses custom post for the slideshow, custom fields to store settings, and media uploader for the images. It also uses a template system that allows developers to easily customize the slideshow to their needs. Its simple yet flexible.
|
16 |
|
17 |
= Features: =
|
18 |
* Very easy to use interface! Blends seamlessly with your WordPress workflow.
|
19 |
* Supports image, video, and custom HTML slides.
|
20 |
* Powered by [Cycle 2](http://jquery.malsup.com/cycle2/), the most flexible jQuery slideshow plugin.
|
21 |
+
* A template system that allow developers to easily customize the slideshow appearance and behavior.
|
22 |
* Customizable tile transition effects.
|
23 |
* Ability to add per-slide transition effects.
|
24 |
* Unlimited slideshows.
|
34 |
= Homepage =
|
35 |
Learn more about [Cyclone Slider 2](http://www.codefleet.net/cyclone-slider-2/)
|
36 |
|
37 |
+
= Credits =
|
38 |
+
Cyclone Slider 2 was based on [Cycle 2](http://jquery.malsup.com/cycle2/) by [Mike Alsup](http://jquery.malsup.com/).
|
39 |
+
Special thanks to [Cea Bacolor](http://blog.ceabacolor.com/) for the wonderful photos.
|
40 |
+
|
41 |
+
= License =
|
42 |
+
GPLv2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
43 |
+
|
44 |
== Installation ==
|
45 |
|
46 |
= Install via WordPress Admin =
|
73 |
`remove_filter('the_content', 'wpautop');`
|
74 |
|
75 |
= How to display it in post/page? =
|
76 |
+
Use the shortcode `[cycloneslider id="my-slideshow"]`. Change my-slideshow to the ID of your slideshow.
|
77 |
|
78 |
= How to display it inside template files (header.php, index.php, page.php, etc.)? =
|
79 |
+
Use `<?php echo do_shortcode('[cycloneslider id ="my-slideshow"]'); ?>`. Change my-slideshow to the ID of your slideshow.
|
80 |
|
81 |
= What are the shortcode options? =
|
82 |
+
`[cycloneslider id="my-slideshow" fx="fade" timeout="5000" speed="1000" width="500" height="300" show_prev_next="true" show_nav="true"]`
|
83 |
|
84 |
= How can I use templates? =
|
85 |
+
`[cycloneslider id="my-slideshow" template="custom-name"]`
|
86 |
|
87 |
= Where do I add my own templates? =
|
88 |
+
Inside your current active theme create a folder named "cycloneslider". Add your templates inside.
|
89 |
|
90 |
== Screenshots ==
|
91 |
|
96 |
|
97 |
== Changelog ==
|
98 |
|
99 |
+
= 2.5.5 - 2013-07-25 =
|
100 |
+
* Removed templates Black, Blue, and Myrtle from plugin's folder for better performance.
|
101 |
+
* Used get_posts instead of WP_Query when getting a slideshow to avoid filters that might cause conflict.
|
102 |
+
|
103 |
= 2.5.4 - 2013-07-20 =
|
104 |
* Added Youtube template that pauses the video when slider is transitioning.
|
105 |
|
189 |
|
190 |
== Upgrade Notice ==
|
191 |
|
192 |
+
= 2.5.5 - 2013-07-25 =
|
193 |
+
* Removed templates Black, Blue, and Myrtle from plugin's folder for better performance.
|
194 |
+
* Used get_posts instead of WP_Query when getting a slideshow to avoid filters that might cause conflict.
|
195 |
+
|
196 |
= 2.5.4 - 2013-07-20 =
|
197 |
* Added Youtube template that pauses the video when slider is transitioning.
|
198 |
|
classes/class-cyclone-slider-data.php
CHANGED
@@ -138,6 +138,29 @@ if(!class_exists('Cyclone_Slider_Data')):
|
|
138 |
* GLOBAL STATIC FUNCTIONS
|
139 |
*/
|
140 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
/**
|
142 |
* Get All Slideshows
|
143 |
*
|
138 |
* GLOBAL STATIC FUNCTIONS
|
139 |
*/
|
140 |
|
141 |
+
/**
|
142 |
+
* Get a slider
|
143 |
+
*
|
144 |
+
* @param string $name Post slug of the slider custom post.
|
145 |
+
* @return array The array of slider
|
146 |
+
*/
|
147 |
+
public static function get_slider_by_name( $name ) {
|
148 |
+
// Get slider by id
|
149 |
+
$args = array(
|
150 |
+
'post_type' => 'cycloneslider',
|
151 |
+
'numberposts' => 1,
|
152 |
+
'name'=> $name
|
153 |
+
);
|
154 |
+
|
155 |
+
$slider_posts = get_posts( $args ); // Use get_posts to avoid filters
|
156 |
+
|
157 |
+
if( !empty($slider_posts) and isset($slider_posts[0]) ){
|
158 |
+
return $slider_posts[0];
|
159 |
+
} else {
|
160 |
+
return false;
|
161 |
+
}
|
162 |
+
}
|
163 |
+
|
164 |
/**
|
165 |
* Get All Slideshows
|
166 |
*
|
classes/class-cyclone-slider.php
CHANGED
@@ -82,70 +82,54 @@ if(!class_exists('Cyclone_Slider')):
|
|
82 |
|
83 |
$cycle_options = array();
|
84 |
$this->slider_count++;//make each call to shortcode unique
|
85 |
-
// Get slideshow by id
|
86 |
-
$args = array(
|
87 |
-
'post_type' => 'cycloneslider',
|
88 |
-
'order'=>'ASC',
|
89 |
-
'posts_per_page' => 1,
|
90 |
-
'name'=> $slider_id
|
91 |
-
);
|
92 |
-
|
93 |
-
$args = apply_filters('cycloneslider_wp_query_args', $args);
|
94 |
-
|
95 |
-
$my_query = new WP_Query($args);
|
96 |
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
$custom_count++;
|
116 |
-
}
|
117 |
-
}
|
118 |
-
$slides = $this->get_slides_from_meta($slider_metas);
|
119 |
-
|
120 |
-
$template = $this->get_comp_slider_setting($admin_settings['template'], $shortcode_settings['template']);
|
121 |
-
$template = esc_attr($template===null ? 'default' : $template);//fallback to default
|
122 |
-
$slider_settings['fx'] = esc_attr($this->get_comp_slider_setting($admin_settings['fx'], $shortcode_settings['fx']));
|
123 |
-
$slider_settings['speed'] = (int) $this->get_comp_slider_setting($admin_settings['speed'], $shortcode_settings['speed']);
|
124 |
-
$slider_settings['timeout'] = (int) $this->get_comp_slider_setting($admin_settings['timeout'], $shortcode_settings['timeout']);
|
125 |
-
$slider_settings['width'] = (int) $this->get_comp_slider_setting($admin_settings['width'], $shortcode_settings['width']);
|
126 |
-
$slider_settings['height'] = (int) $this->get_comp_slider_setting($admin_settings['height'], $shortcode_settings['height']);
|
127 |
-
$slider_settings['hover_pause'] = $this->get_comp_slider_setting($admin_settings['hover_pause'], $shortcode_settings['hover_pause']);
|
128 |
-
$slider_settings['show_prev_next'] = (int) $this->get_comp_slider_setting($admin_settings['show_prev_next'], $shortcode_settings['show_prev_next']);
|
129 |
-
$slider_settings['show_nav'] = (int) $this->get_comp_slider_setting($admin_settings['show_nav'], $shortcode_settings['show_nav']);
|
130 |
-
|
131 |
-
$slider_settings['tile_count'] = $this->get_comp_slider_setting($admin_settings['tile_count'], $shortcode_settings['tile_count']);
|
132 |
-
$slider_settings['tile_delay'] = $this->get_comp_slider_setting($admin_settings['tile_delay'], $shortcode_settings['tile_delay']);
|
133 |
-
$slider_settings['tile_vertical'] = $this->get_comp_slider_setting($admin_settings['tile_vertical'], $shortcode_settings['tile_vertical']);
|
134 |
-
|
135 |
-
$slider_settings['random'] = $this->get_comp_slider_setting($admin_settings['random'], $shortcode_settings['random']);
|
136 |
-
$slider_settings['resize'] = $this->get_comp_slider_setting($admin_settings['resize'], $shortcode_settings['resize']);
|
137 |
-
|
138 |
-
$slider_settings['template'] = $template;
|
139 |
-
|
140 |
-
if($slider_settings['random']){
|
141 |
-
shuffle($slider_metas);
|
142 |
}
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
|
148 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
|
150 |
else:
|
151 |
$slider = sprintf(__('[Slideshow "%s" not found]', 'cycloneslider'), $slider_id);
|
@@ -156,7 +140,8 @@ if(!class_exists('Cyclone_Slider')):
|
|
156 |
|
157 |
// Get slideshow template
|
158 |
public function get_slider_template($slider_id, $template_name, $slides, $slider_metas, $slider_settings, $slider_count, $image_count, $video_count, $custom_count){
|
159 |
-
|
|
|
160 |
$template = get_stylesheet_directory()."/cycloneslider/{$template_name}/slider.php";
|
161 |
if(@is_file($template)){
|
162 |
ob_start();
|
@@ -176,7 +161,10 @@ if(!class_exists('Cyclone_Slider')):
|
|
176 |
return sprintf(__('[Template "%s" not found]', 'cycloneslider'), $template_name);
|
177 |
}
|
178 |
|
179 |
-
public function trim_white_spaces($buffer){
|
|
|
|
|
|
|
180 |
$search = array(
|
181 |
'/\>[^\S ]+/s', //strip whitespaces after tags, except space
|
182 |
'/[^\S ]+\</s', //strip whitespaces before tags, except space
|
82 |
|
83 |
$cycle_options = array();
|
84 |
$this->slider_count++;//make each call to shortcode unique
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
+
// Get slider
|
87 |
+
if( $slider = Cyclone_Slider_Data::get_slider_by_name( $slider_id ) ):
|
88 |
+
|
89 |
+
$admin_settings = Cyclone_Slider_Data::get_slideshow_settings( $slider->ID );
|
90 |
+
$slides = $slider_metas = Cyclone_Slider_Data::get_slides( $slider->ID );
|
91 |
+
|
92 |
+
$image_count = 0; // Number of image slides
|
93 |
+
$video_count = 0; // Number of video slides
|
94 |
+
$custom_count = 0; // Number of custom slides
|
95 |
+
foreach($slider_metas as $i=>$slider_meta){
|
96 |
+
$slider_metas[$i]['title'] = __($slider_meta['title']);
|
97 |
+
$slider_metas[$i]['description'] = __($slider_meta['description']);
|
98 |
+
if($slider_metas[$i]['type']=='image'){
|
99 |
+
$image_count++;
|
100 |
+
} else if($slider_metas[$i]['type']=='video'){
|
101 |
+
$video_count++;
|
102 |
+
} else if($slider_metas[$i]['type']=='custom'){
|
103 |
+
$custom_count++;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
}
|
105 |
+
}
|
106 |
+
|
107 |
+
|
108 |
+
$template = $this->get_comp_slider_setting($admin_settings['template'], $shortcode_settings['template']);
|
109 |
+
$template = esc_attr($template===null ? 'default' : $template);//fallback to default
|
110 |
+
$slider_settings['fx'] = esc_attr($this->get_comp_slider_setting($admin_settings['fx'], $shortcode_settings['fx']));
|
111 |
+
$slider_settings['speed'] = (int) $this->get_comp_slider_setting($admin_settings['speed'], $shortcode_settings['speed']);
|
112 |
+
$slider_settings['timeout'] = (int) $this->get_comp_slider_setting($admin_settings['timeout'], $shortcode_settings['timeout']);
|
113 |
+
$slider_settings['width'] = (int) $this->get_comp_slider_setting($admin_settings['width'], $shortcode_settings['width']);
|
114 |
+
$slider_settings['height'] = (int) $this->get_comp_slider_setting($admin_settings['height'], $shortcode_settings['height']);
|
115 |
+
$slider_settings['hover_pause'] = $this->get_comp_slider_setting($admin_settings['hover_pause'], $shortcode_settings['hover_pause']);
|
116 |
+
$slider_settings['show_prev_next'] = (int) $this->get_comp_slider_setting($admin_settings['show_prev_next'], $shortcode_settings['show_prev_next']);
|
117 |
+
$slider_settings['show_nav'] = (int) $this->get_comp_slider_setting($admin_settings['show_nav'], $shortcode_settings['show_nav']);
|
118 |
|
119 |
+
$slider_settings['tile_count'] = $this->get_comp_slider_setting($admin_settings['tile_count'], $shortcode_settings['tile_count']);
|
120 |
+
$slider_settings['tile_delay'] = $this->get_comp_slider_setting($admin_settings['tile_delay'], $shortcode_settings['tile_delay']);
|
121 |
+
$slider_settings['tile_vertical'] = $this->get_comp_slider_setting($admin_settings['tile_vertical'], $shortcode_settings['tile_vertical']);
|
122 |
+
|
123 |
+
$slider_settings['random'] = $this->get_comp_slider_setting($admin_settings['random'], $shortcode_settings['random']);
|
124 |
+
$slider_settings['resize'] = $this->get_comp_slider_setting($admin_settings['resize'], $shortcode_settings['resize']);
|
125 |
+
|
126 |
+
$slider_settings['template'] = $template;
|
127 |
+
|
128 |
+
if($slider_settings['random']){
|
129 |
+
shuffle($slider_metas);
|
130 |
+
}
|
131 |
+
|
132 |
+
$slider = $this->get_slider_template($slider_id, $template, $slides, $slider_metas, $slider_settings, $this->slider_count, $image_count, $video_count, $custom_count);
|
133 |
|
134 |
else:
|
135 |
$slider = sprintf(__('[Slideshow "%s" not found]', 'cycloneslider'), $slider_id);
|
140 |
|
141 |
// Get slideshow template
|
142 |
public function get_slider_template($slider_id, $template_name, $slides, $slider_metas, $slider_settings, $slider_count, $image_count, $video_count, $custom_count){
|
143 |
+
$slider_html_id = 'cycloneslider-'.$slider_id.'-'.$slider_count; // The unique HTML ID for slider
|
144 |
+
|
145 |
$template = get_stylesheet_directory()."/cycloneslider/{$template_name}/slider.php";
|
146 |
if(@is_file($template)){
|
147 |
ob_start();
|
161 |
return sprintf(__('[Template "%s" not found]', 'cycloneslider'), $template_name);
|
162 |
}
|
163 |
|
164 |
+
public function trim_white_spaces($buffer, $off=false){
|
165 |
+
if($off){
|
166 |
+
return $buffer;
|
167 |
+
}
|
168 |
$search = array(
|
169 |
'/\>[^\S ]+/s', //strip whitespaces after tags, except space
|
170 |
'/[^\S ]+\</s', //strip whitespaces before tags, except space
|
cyclone-slider.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Cyclone Slider 2
|
4 |
Plugin URI: http://www.codefleet.net/cyclone-slider-2/
|
5 |
Description: Create responsive slideshows with ease. Built for both developers and non-developers.
|
6 |
-
Version: 2.5.
|
7 |
Author: Nico Amarilla
|
8 |
Author URI: http://www.codefleet.net/
|
9 |
License:
|
@@ -25,7 +25,7 @@ License:
|
|
25 |
|
26 |
*/
|
27 |
if(!defined('CYCLONE_VERSION')){
|
28 |
-
define('CYCLONE_VERSION', '2.5.
|
29 |
}
|
30 |
if(!defined('CYCLONE_PATH')){
|
31 |
define('CYCLONE_PATH', realpath(plugin_dir_path(__FILE__)) . DIRECTORY_SEPARATOR );
|
3 |
Plugin Name: Cyclone Slider 2
|
4 |
Plugin URI: http://www.codefleet.net/cyclone-slider-2/
|
5 |
Description: Create responsive slideshows with ease. Built for both developers and non-developers.
|
6 |
+
Version: 2.5.5
|
7 |
Author: Nico Amarilla
|
8 |
Author URI: http://www.codefleet.net/
|
9 |
License:
|
25 |
|
26 |
*/
|
27 |
if(!defined('CYCLONE_VERSION')){
|
28 |
+
define('CYCLONE_VERSION', '2.5.5' );
|
29 |
}
|
30 |
if(!defined('CYCLONE_PATH')){
|
31 |
define('CYCLONE_PATH', realpath(plugin_dir_path(__FILE__)) . DIRECTORY_SEPARATOR );
|
inc/admin-parts/template-selection.php
CHANGED
@@ -36,6 +36,7 @@
|
|
36 |
<div class="clear"></div>
|
37 |
</div>
|
38 |
<span class="note"><?php _e("Select a template to use. Check the template icons to see what slide type it supports.", 'cycloneslider'); ?></span>
|
|
|
39 |
<div class="cycloneslider-get-more">
|
40 |
<a target="_blank" class="button-primary" href="http://www.codefleet.net/cyclone-slider-2/templates/"><?php _e("Get more templates..", 'cycloneslider'); ?></a>
|
41 |
</div>
|
36 |
<div class="clear"></div>
|
37 |
</div>
|
38 |
<span class="note"><?php _e("Select a template to use. Check the template icons to see what slide type it supports.", 'cycloneslider'); ?></span>
|
39 |
+
<br><span class="note">Note: If you are looking for the Black, Blue or Myrtle, checkout this <a href="http://www.codefleet.net/moving-templates-away/">post</a>.</span>
|
40 |
<div class="cycloneslider-get-more">
|
41 |
<a target="_blank" class="button-primary" href="http://www.codefleet.net/cyclone-slider-2/templates/"><?php _e("Get more templates..", 'cycloneslider'); ?></a>
|
42 |
</div>
|
js/jquery.cycle2.tile.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! Plugin for Cycle2; Copyright (c) 2012 M. Alsup; ver: 20121120 */
|
2 |
(function(a){"use strict",a.fn.cycle.transitions.tileSlide=a.fn.cycle.transitions.tileBlind={before:function(b,c,d,e){b.API.stackSlides(c,d,e),a(c).show(),b.container.css("overflow","hidden"),b.tileDelay=b.tileDelay||b.fx=="tileSlide"?100:125,b.tileCount=b.tileCount||7,b.tileVertical=b.tileVertical!==!1,b.container.data("cycleTileInitialized")||(b.container.on("cycle-destroyed",a.proxy(this.onDestroy,b.API)),b.container.data("cycleTileInitialized",!0))},transition:function(b,c,d,e,f){function w(a){g.eq(a).animate(s,{duration:b.speed,easing:b.easing,complete:function(){(e?o-1===a:0===a)&&b._tileAniCallback()}}),setTimeout(function(){(e?o-1!==a:0!==a)&&w(e?a+1:a-1)},b.tileDelay)}b.slides.not(c).not(d).hide();var g=a(),h=a(c),i=a(d),j,k,l,m,n,o=b.tileCount,p=b.tileVertical,q=b.container.height(),r=b.container.width();p?(k=Math.floor(r/o),m=r-k*(o-1),l=n=q):(k=m=r,l=Math.floor(q/o),n=q-l*(o-1)),b.container.find(".cycle-tiles-container").remove();var s,t={left:0,top:0,overflow:"hidden",position:"absolute",margin:0,padding:0};p?s=b.fx=="tileSlide"?{top:q}:{width:0}:s=b.fx=="tileSlide"?{left:r}:{height:0};var u=a('<div class="cycle-tiles-container"></div>');u.css({zIndex:h.css("z-index"),overflow:"visible",position:"absolute",top:0}),u.insertBefore(d);for(var v=0;v<o;v++)j=a("<div></div>").css(t).css({width:o-1===v?m:k,height:o-1===v?n:l,marginLeft:p?v*k:0,marginTop:p?0:v*l}).append(h.clone().css({position:"relative",maxWidth:"none",width:h.width(),margin:0,padding:0,marginLeft:p?-(v*k):0,marginTop:p?0:-(v*l)})),g=g.add(j);u.append(g),h.hide(),i.show().css("opacity",1),w(e?0:o-1),b._tileAniCallback=function(){i.show(),h.hide(),u.remove(),f()}},stopTransition:function(a){a.container.find("*").stop(!0,!0),a._tileAniCallback&&a._tileAniCallback()},onDestroy:function(a){var b=this.opts();b.container.find(".cycle-tiles-container").remove()}}})(jQuery);
|
1 |
+
/*! Plugin for Cycle2; Copyright (c) 2012 M. Alsup; ver: 20121120 */
|
2 |
(function(a){"use strict",a.fn.cycle.transitions.tileSlide=a.fn.cycle.transitions.tileBlind={before:function(b,c,d,e){b.API.stackSlides(c,d,e),a(c).show(),b.container.css("overflow","hidden"),b.tileDelay=b.tileDelay||b.fx=="tileSlide"?100:125,b.tileCount=b.tileCount||7,b.tileVertical=b.tileVertical!==!1,b.container.data("cycleTileInitialized")||(b.container.on("cycle-destroyed",a.proxy(this.onDestroy,b.API)),b.container.data("cycleTileInitialized",!0))},transition:function(b,c,d,e,f){function w(a){g.eq(a).animate(s,{duration:b.speed,easing:b.easing,complete:function(){(e?o-1===a:0===a)&&b._tileAniCallback()}}),setTimeout(function(){(e?o-1!==a:0!==a)&&w(e?a+1:a-1)},b.tileDelay)}b.slides.not(c).not(d).hide();var g=a(),h=a(c),i=a(d),j,k,l,m,n,o=b.tileCount,p=b.tileVertical,q=b.container.height(),r=b.container.width();p?(k=Math.floor(r/o),m=r-k*(o-1),l=n=q):(k=m=r,l=Math.floor(q/o),n=q-l*(o-1)),b.container.find(".cycle-tiles-container").remove();var s,t={left:0,top:0,overflow:"hidden",position:"absolute",margin:0,padding:0};p?s=b.fx=="tileSlide"?{top:q}:{width:0}:s=b.fx=="tileSlide"?{left:r}:{height:0};var u=a('<div class="cycle-tiles-container"></div>');u.css({zIndex:h.css("z-index"),overflow:"visible",position:"absolute",top:0}),u.insertBefore(d);for(var v=0;v<o;v++)j=a("<div></div>").css(t).css({width:o-1===v?m:k,height:o-1===v?n:l,marginLeft:p?v*k:0,marginTop:p?0:v*l}).append(h.clone().css({position:"relative",maxWidth:"none",width:h.width(),margin:0,padding:0,marginLeft:p?-(v*k):0,marginTop:p?0:-(v*l)})),g=g.add(j);u.append(g),h.hide(),i.show().css("opacity",1),w(e?0:o-1),b._tileAniCallback=function(){i.show(),h.hide(),u.remove(),f()}},stopTransition:function(a){a.container.find("*").stop(!0,!0),a._tileAniCallback&&a._tileAniCallback()},onDestroy:function(a){var b=this.opts();b.container.find(".cycle-tiles-container").remove()}}})(jQuery);
|
js/jquery.cycle2.video.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20130708 */
|
2 |
(function(e){"use strict";function t(){try{this.playVideo()}catch(e){}}function i(){try{this.pauseVideo()}catch(e){}}var n='<div class=cycle-youtube><object width="640" height="360"><param name="movie" value="{{url}}"></param><param name="allowFullScreen" value="{{allowFullScreen}}"></param><param name="allowscriptaccess" value="always"></param><embed src="{{url}}" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="{{allowFullScreen}}"></embed></object></div>';e.extend(e.fn.cycle.defaults,{youtubeAllowFullScreen:!0,youtubeAutostart:!1,youtubeAutostop:!0}),e(document).on("cycle-bootstrap",function(s,o){o.youtube&&(o.hideNonActive=!1,o.container.find(o.slides).each(function(t){if(this.href){var i,s=e(this),l=s.attr("href"),c=o.youtubeAllowFullScreen?"true":"false";l+=(/\?/.test(l)?"&":"?")+"enablejsapi=1",o.youtubeAutostart&&o.startingSlide===t&&(l+="&autoplay=1"),i=o.API.tmpl(n,{url:l,allowFullScreen:c}),s.replaceWith(i)}}),o.slides=o.slides.replace(/(\b>?a\b)/,"div.cycle-youtube"),o.youtubeAutostart&&o.container.on("cycle-initialized cycle-after",function(i,n){var s="cycle-initialized"==i.type?n.currSlide:n.nextSlide;e(n.slides[s]).find("object,embed").each(t)}),o.youtubeAutostop&&o.container.on("cycle-before",function(t,n){e(n.slides[n.currSlide]).find("object,embed").each(i)}))})})(jQuery);
|
1 |
+
/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20130708 */
|
2 |
(function(e){"use strict";function t(){try{this.playVideo()}catch(e){}}function i(){try{this.pauseVideo()}catch(e){}}var n='<div class=cycle-youtube><object width="640" height="360"><param name="movie" value="{{url}}"></param><param name="allowFullScreen" value="{{allowFullScreen}}"></param><param name="allowscriptaccess" value="always"></param><embed src="{{url}}" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="{{allowFullScreen}}"></embed></object></div>';e.extend(e.fn.cycle.defaults,{youtubeAllowFullScreen:!0,youtubeAutostart:!1,youtubeAutostop:!0}),e(document).on("cycle-bootstrap",function(s,o){o.youtube&&(o.hideNonActive=!1,o.container.find(o.slides).each(function(t){if(this.href){var i,s=e(this),l=s.attr("href"),c=o.youtubeAllowFullScreen?"true":"false";l+=(/\?/.test(l)?"&":"?")+"enablejsapi=1",o.youtubeAutostart&&o.startingSlide===t&&(l+="&autoplay=1"),i=o.API.tmpl(n,{url:l,allowFullScreen:c}),s.replaceWith(i)}}),o.slides=o.slides.replace(/(\b>?a\b)/,"div.cycle-youtube"),o.youtubeAutostart&&o.container.on("cycle-initialized cycle-after",function(i,n){var s="cycle-initialized"==i.type?n.currSlide:n.nextSlide;e(n.slides[s]).find("object,embed").each(t)}),o.youtubeAutostop&&o.container.on("cycle-before",function(t,n){e(n.slides[n.currSlide]).find("object,embed").each(i)}))})})(jQuery);
|
templates/black/config.txt
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
; Slide Types Supported
|
2 |
-
slide_type[] = "image"
|
3 |
-
slide_type[] = "video"
|
4 |
-
slide_type[] = "custom"
|
|
|
|
|
|
|
|
templates/black/images/bg-caption.png
DELETED
Binary file
|
templates/black/images/sprite-arrows.png
DELETED
Binary file
|
templates/black/images/sprite-nav.png
DELETED
Binary file
|
templates/black/screenshot.jpg
DELETED
Binary file
|
templates/black/script.js
DELETED
@@ -1,30 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(){
|
2 |
-
jQuery('.cycloneslider-template-black').each(function(i,el){
|
3 |
-
|
4 |
-
var main = jQuery(el),
|
5 |
-
prev = main.find('.cycloneslider-prev'),
|
6 |
-
next = main.find('.cycloneslider-next');
|
7 |
-
|
8 |
-
prev.fadeTo(0,0);
|
9 |
-
next.fadeTo(0,0);
|
10 |
-
main.on('mouseenter', function(){
|
11 |
-
prev.fadeTo('fast',0.4);
|
12 |
-
next.fadeTo('fast',0.4);
|
13 |
-
}).on('mouseleave', function(){
|
14 |
-
prev.fadeTo(0,0);
|
15 |
-
next.fadeTo(0,0);
|
16 |
-
});
|
17 |
-
|
18 |
-
prev.on('mouseenter', function(){
|
19 |
-
prev.fadeTo('fast',1);
|
20 |
-
}).on('mouseleave', function(){
|
21 |
-
prev.fadeTo('fast',0.4);
|
22 |
-
});
|
23 |
-
|
24 |
-
next.on('mouseenter', function(){
|
25 |
-
next.fadeTo('fast',1);
|
26 |
-
}).on('mouseleave', function(){
|
27 |
-
next.fadeTo('fast',0.4);
|
28 |
-
});
|
29 |
-
});
|
30 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/black/script.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(){jQuery(".cycloneslider-template-black").each(function(b,d){var a=jQuery(d),e=a.find(".cycloneslider-prev"),c=a.find(".cycloneslider-next");e.fadeTo(0,0);c.fadeTo(0,0);a.on("mouseenter",function(){e.fadeTo("fast",0.4);c.fadeTo("fast",0.4)}).on("mouseleave",function(){e.fadeTo(0,0);c.fadeTo(0,0)});e.on("mouseenter",function(){e.fadeTo("fast",1)}).on("mouseleave",function(){e.fadeTo("fast",0.4)});c.on("mouseenter",function(){c.fadeTo("fast",1)}).on("mouseleave",function(){c.fadeTo("fast",0.4)})})});
|
|
templates/black/slider.php
DELETED
@@ -1,31 +0,0 @@
|
|
1 |
-
<?php if($slider_count>0) $slider_id = $slider_id.'-'.$slider_count; ?>
|
2 |
-
<div class="cycloneslider cycloneslider-template-black" id="cycloneslider-<?php echo $slider_id; ?>" style="max-width:<?php echo $slider_settings['width']; ?>px">
|
3 |
-
<div class="cycloneslider-slides cycle-slideshow" <?php echo cyclone_settings($slider_settings, $slider_id); ?>>
|
4 |
-
<?php foreach($slider_metas as $i=>$slider_meta): ?>
|
5 |
-
<div class="cycloneslider-slide" <?php echo cyclone_slide_settings($slider_meta, $slider_settings); ?>>
|
6 |
-
<?php if ($slider_meta['type']=='image') : ?>
|
7 |
-
<?php if ($slider_meta['link']!='') : ?><a target="<?php echo ('_blank'==$slider_meta['link_target']) ? '_blank' : '_self'; ?>" href="<?php echo $slider_meta['link'];?>"><?php endif; ?>
|
8 |
-
<img src="<?php echo cyclone_slide_image_url($slider_meta['id'], $slider_settings['width'], $slider_settings['height'], array('current_slide_settings'=>$slider_meta, 'slideshow_settings'=>$slider_settings) ); ?>" alt="<?php echo $slider_meta['img_alt'];?>" title="<?php echo $slider_meta['img_title'];?>" />
|
9 |
-
<?php if ($slider_meta['link']!='') : ?></a><?php endif; ?>
|
10 |
-
<?php if(!empty($slider_meta['title']) or !empty($slider_meta['description'])) : ?>
|
11 |
-
<div class="cycloneslider-caption">
|
12 |
-
<div class="cycloneslider-caption-title"><?php echo $slider_meta['title'];?></div>
|
13 |
-
<div class="cycloneslider-caption-description"><?php echo $slider_meta['description'];?></div>
|
14 |
-
</div>
|
15 |
-
<?php endif; ?>
|
16 |
-
<?php elseif ($slider_meta['type']=='video') : ?>
|
17 |
-
<?php echo $slider_meta['video']; ?>
|
18 |
-
<?php elseif ($slider_meta['type']=='custom') : ?>
|
19 |
-
<?php echo $slider_meta['custom']; ?>
|
20 |
-
<?php endif; ?>
|
21 |
-
</div>
|
22 |
-
<?php endforeach; ?>
|
23 |
-
</div>
|
24 |
-
<?php if ($slider_settings['show_nav']) : ?>
|
25 |
-
<div class="cycloneslider-pager"></div>
|
26 |
-
<?php endif; ?>
|
27 |
-
<?php if ($slider_settings['show_prev_next']) : ?>
|
28 |
-
<div class="cycloneslider-prev">Prev</div>
|
29 |
-
<div class="cycloneslider-next">Next</div>
|
30 |
-
<?php endif; ?>
|
31 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/black/style.css
DELETED
@@ -1,73 +0,0 @@
|
|
1 |
-
/*** Template Black ***/
|
2 |
-
.cycloneslider-template-black img{
|
3 |
-
display:block;
|
4 |
-
}
|
5 |
-
.cycloneslider-template-black .cycloneslider-prev,
|
6 |
-
.cycloneslider-template-black .cycloneslider-next{
|
7 |
-
display:none;
|
8 |
-
position:absolute;
|
9 |
-
top:50%;
|
10 |
-
margin-top:-22px;
|
11 |
-
z-index:102;
|
12 |
-
width:26px;
|
13 |
-
height:44px;
|
14 |
-
text-indent:-99999px;
|
15 |
-
background: url($tpl/images/sprite-arrows.png) no-repeat;
|
16 |
-
}
|
17 |
-
.cycloneslider-template-black .cycloneslider-prev{
|
18 |
-
left:10px;
|
19 |
-
background-position:0 0;
|
20 |
-
}
|
21 |
-
.cycloneslider-template-black .cycloneslider-next{
|
22 |
-
right:10px;
|
23 |
-
background-position:-29px 0;
|
24 |
-
}
|
25 |
-
.cycloneslider-template-black .cycloneslider-pager{
|
26 |
-
position:absolute;
|
27 |
-
z-index:200;
|
28 |
-
top:20px;
|
29 |
-
right:20px;
|
30 |
-
}
|
31 |
-
.cycloneslider-template-black .cycloneslider-pager span {
|
32 |
-
background: url($tpl/images/sprite-nav.png) no-repeat scroll 0 0 transparent;
|
33 |
-
display: block;
|
34 |
-
float: left;
|
35 |
-
font-size: 0;
|
36 |
-
width: 10px;
|
37 |
-
height: 10px;
|
38 |
-
line-height: 0;
|
39 |
-
margin-right: 6px;
|
40 |
-
text-indent: -99999px;
|
41 |
-
}
|
42 |
-
.cycloneslider-template-black .cycloneslider-pager span.cycle-pager-active {
|
43 |
-
background-position: left bottom;
|
44 |
-
}
|
45 |
-
.cycloneslider-template-black .cycloneslider-caption{
|
46 |
-
position:absolute;
|
47 |
-
left:0;
|
48 |
-
bottom:0;
|
49 |
-
width:100%;
|
50 |
-
z-index:99;
|
51 |
-
background: url($tpl/images/bg-caption.png);
|
52 |
-
color:#fff;
|
53 |
-
}
|
54 |
-
.cycloneslider-template-black .cycloneslider-caption-title{
|
55 |
-
padding:10px 20px 5px 20px;
|
56 |
-
font-size:22px;
|
57 |
-
line-height:1;
|
58 |
-
margin-bottom:0;
|
59 |
-
}
|
60 |
-
.cycloneslider-template-black .cycloneslider-caption-description{
|
61 |
-
padding:0 20px 15px 20px;
|
62 |
-
line-height:1.5;
|
63 |
-
font-size:12px;
|
64 |
-
}
|
65 |
-
.cycloneslider-template-black .cycloneslider-slide iframe,
|
66 |
-
.cycloneslider-template-black .cycloneslider-slide object,
|
67 |
-
.cycloneslider-template-black .cycloneslider-slide embed {
|
68 |
-
position: absolute;
|
69 |
-
top: 0;
|
70 |
-
left: 0;
|
71 |
-
width: 100% !important;
|
72 |
-
height: 100% !important;
|
73 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/black/style.min.css
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
/*** Template Black ***/
|
2 |
-
.cycloneslider-template-black img{display:block}.cycloneslider-template-black .cycloneslider-prev,.cycloneslider-template-black .cycloneslider-next{display:none;position:absolute;top:50%;margin-top:-22px;z-index:102;width:26px;height:44px;text-indent:-99999px;background:url($tpl/images/sprite-arrows.png) no-repeat}.cycloneslider-template-black .cycloneslider-prev{left:10px;background-position:0 0}.cycloneslider-template-black .cycloneslider-next{right:10px;background-position:-29px 0}.cycloneslider-template-black .cycloneslider-pager{position:absolute;z-index:200;top:20px;right:20px}.cycloneslider-template-black .cycloneslider-pager span{background:url($tpl/images/sprite-nav.png) no-repeat scroll 0 0 transparent;display:block;float:left;font-size:0;width:10px;height:10px;line-height:0;margin-right:6px;text-indent:-99999px}.cycloneslider-template-black .cycloneslider-pager span.cycle-pager-active{background-position:left bottom}.cycloneslider-template-black .cycloneslider-caption{position:absolute;left:0;bottom:0;width:100%;z-index:99;background:url($tpl/images/bg-caption.png);color:#fff}.cycloneslider-template-black .cycloneslider-caption-title{padding:10px 20px 5px 20px;font-size:22px;line-height:1;margin-bottom:0}.cycloneslider-template-black .cycloneslider-caption-description{padding:0 20px 15px 20px;line-height:1.5;font-size:12px}.cycloneslider-template-black .cycloneslider-slide iframe,.cycloneslider-template-black .cycloneslider-slide object,.cycloneslider-template-black .cycloneslider-slide embed{position:absolute;top:0;left:0;width:100%!important;height:100%!important}
|
|
|
|
templates/blue/config.txt
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
; Slide Types Supported
|
2 |
-
slide_type[] = "image"
|
3 |
-
slide_type[] = "video"
|
4 |
-
slide_type[] = "custom"
|
|
|
|
|
|
|
|
templates/blue/images/bg-caption.png
DELETED
Binary file
|
templates/blue/images/sprite-arrows.png
DELETED
Binary file
|
templates/blue/images/sprite-nav.png
DELETED
Binary file
|
templates/blue/screenshot.jpg
DELETED
Binary file
|
templates/blue/script.js
DELETED
@@ -1,30 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(){
|
2 |
-
jQuery('.cycloneslider-template-blue').each(function(i,el){
|
3 |
-
|
4 |
-
var main = jQuery(el),
|
5 |
-
prev = main.find('.cycloneslider-prev'),
|
6 |
-
next = main.find('.cycloneslider-next');
|
7 |
-
|
8 |
-
prev.fadeTo(0,0);
|
9 |
-
next.fadeTo(0,0);
|
10 |
-
main.on('mouseenter', function(){
|
11 |
-
prev.fadeTo('fast',0.4);
|
12 |
-
next.fadeTo('fast',0.4);
|
13 |
-
}).on('mouseleave', function(){
|
14 |
-
prev.fadeTo(0,0);
|
15 |
-
next.fadeTo(0,0);
|
16 |
-
});
|
17 |
-
|
18 |
-
prev.on('mouseenter', function(){
|
19 |
-
prev.fadeTo('fast',1);
|
20 |
-
}).on('mouseleave', function(){
|
21 |
-
prev.fadeTo('fast',0.4);
|
22 |
-
});
|
23 |
-
|
24 |
-
next.on('mouseenter', function(){
|
25 |
-
next.fadeTo('fast',1);
|
26 |
-
}).on('mouseleave', function(){
|
27 |
-
next.fadeTo('fast',0.4);
|
28 |
-
});
|
29 |
-
});
|
30 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/blue/script.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(){jQuery(".cycloneslider-template-blue").each(function(b,d){var a=jQuery(d),e=a.find(".cycloneslider-prev"),c=a.find(".cycloneslider-next");e.fadeTo(0,0);c.fadeTo(0,0);a.on("mouseenter",function(){e.fadeTo("fast",0.4);c.fadeTo("fast",0.4)}).on("mouseleave",function(){e.fadeTo(0,0);c.fadeTo(0,0)});e.on("mouseenter",function(){e.fadeTo("fast",1)}).on("mouseleave",function(){e.fadeTo("fast",0.4)});c.on("mouseenter",function(){c.fadeTo("fast",1)}).on("mouseleave",function(){c.fadeTo("fast",0.4)})})});
|
|
templates/blue/slider.php
DELETED
@@ -1,31 +0,0 @@
|
|
1 |
-
<?php if($slider_count>0) $slider_id = $slider_id.'-'.$slider_count; ?>
|
2 |
-
<div class="cycloneslider cycloneslider-template-blue" id="cycloneslider-<?php echo $slider_id; ?>" style="max-width:<?php echo $slider_settings['width']; ?>px">
|
3 |
-
<div class="cycloneslider-slides cycle-slideshow" <?php echo cyclone_settings($slider_settings, $slider_id); ?>>
|
4 |
-
<?php foreach($slider_metas as $i=>$slider_meta): ?>
|
5 |
-
<div class="cycloneslider-slide" <?php echo cyclone_slide_settings($slider_meta, $slider_settings); ?>>
|
6 |
-
<?php if ($slider_meta['type']=='image') : ?>
|
7 |
-
<?php if ($slider_meta['link']!='') : ?><a target="<?php echo ('_blank'==$slider_meta['link_target']) ? '_blank' : '_self'; ?>" href="<?php echo $slider_meta['link'];?>"><?php endif; ?>
|
8 |
-
<img src="<?php echo cyclone_slide_image_url($slider_meta['id'], $slider_settings['width'], $slider_settings['height'], array('current_slide_settings'=>$slider_meta, 'slideshow_settings'=>$slider_settings) ); ?>" alt="<?php echo $slider_meta['img_alt'];?>" title="<?php echo $slider_meta['img_title'];?>" />
|
9 |
-
<?php if ($slider_meta['link']!='') : ?></a><?php endif; ?>
|
10 |
-
<?php if(!empty($slider_meta['title']) or !empty($slider_meta['description'])) : ?>
|
11 |
-
<div class="cycloneslider-caption">
|
12 |
-
<div class="cycloneslider-caption-title"><?php echo $slider_meta['title'];?></div>
|
13 |
-
<div class="cycloneslider-caption-description"><?php echo $slider_meta['description'];?></div>
|
14 |
-
</div>
|
15 |
-
<?php endif; ?>
|
16 |
-
<?php elseif ($slider_meta['type']=='video') : ?>
|
17 |
-
<?php echo $slider_meta['video']; ?>
|
18 |
-
<?php elseif ($slider_meta['type']=='custom') : ?>
|
19 |
-
<?php echo $slider_meta['custom']; ?>
|
20 |
-
<?php endif; ?>
|
21 |
-
</div>
|
22 |
-
<?php endforeach; ?>
|
23 |
-
</div>
|
24 |
-
<?php if ($slider_settings['show_nav']) : ?>
|
25 |
-
<div class="cycloneslider-pager"></div>
|
26 |
-
<?php endif; ?>
|
27 |
-
<?php if ($slider_settings['show_prev_next']) : ?>
|
28 |
-
<div class="cycloneslider-prev">Prev</div>
|
29 |
-
<div class="cycloneslider-next">Next</div>
|
30 |
-
<?php endif; ?>
|
31 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/blue/style.css
DELETED
@@ -1,73 +0,0 @@
|
|
1 |
-
/*** Template Blue ***/
|
2 |
-
.cycloneslider-template-blue img{
|
3 |
-
display:block;
|
4 |
-
}
|
5 |
-
.cycloneslider-template-blue .cycloneslider-prev,
|
6 |
-
.cycloneslider-template-blue .cycloneslider-next{
|
7 |
-
display:none;
|
8 |
-
position:absolute;
|
9 |
-
top:50%;
|
10 |
-
margin-top:-22px;
|
11 |
-
z-index:102;
|
12 |
-
width:26px;
|
13 |
-
height:44px;
|
14 |
-
text-indent:-99999px;
|
15 |
-
background: url($tpl/images/sprite-arrows.png) no-repeat;
|
16 |
-
}
|
17 |
-
.cycloneslider-template-blue .cycloneslider-prev{
|
18 |
-
left:10px;
|
19 |
-
background-position:0 0;
|
20 |
-
}
|
21 |
-
.cycloneslider-template-blue .cycloneslider-next{
|
22 |
-
right:10px;
|
23 |
-
background-position:-29px 0;
|
24 |
-
}
|
25 |
-
.cycloneslider-template-blue .cycloneslider-pager{
|
26 |
-
position:absolute;
|
27 |
-
z-index:200;
|
28 |
-
top:20px;
|
29 |
-
right:20px;
|
30 |
-
}
|
31 |
-
.cycloneslider-template-blue .cycloneslider-pager span {
|
32 |
-
background: url($tpl/images/sprite-nav.png) no-repeat scroll 0 0 transparent;
|
33 |
-
display: block;
|
34 |
-
float: left;
|
35 |
-
font-size: 0;
|
36 |
-
width: 10px;
|
37 |
-
height: 10px;
|
38 |
-
line-height: 0;
|
39 |
-
margin-right: 6px;
|
40 |
-
text-indent: -99999px;
|
41 |
-
}
|
42 |
-
.cycloneslider-template-blue .cycloneslider-pager span.cycle-pager-active {
|
43 |
-
background-position: left bottom;
|
44 |
-
}
|
45 |
-
.cycloneslider-template-blue .cycloneslider-caption{
|
46 |
-
position:absolute;
|
47 |
-
left:0;
|
48 |
-
bottom:0;
|
49 |
-
width:100%;
|
50 |
-
z-index:99;
|
51 |
-
background: url($tpl/images/bg-caption.png);
|
52 |
-
color:#fff;
|
53 |
-
}
|
54 |
-
.cycloneslider-template-blue .cycloneslider-caption-title{
|
55 |
-
padding:10px 20px 5px 20px;
|
56 |
-
font-size:22px;
|
57 |
-
line-height:1;
|
58 |
-
margin-bottom:0;
|
59 |
-
}
|
60 |
-
.cycloneslider-template-blue .cycloneslider-caption-description{
|
61 |
-
padding:0 20px 15px 20px;
|
62 |
-
line-height:1.5;
|
63 |
-
font-size:12px;
|
64 |
-
}
|
65 |
-
.cycloneslider-template-blue .cycloneslider-slide iframe,
|
66 |
-
.cycloneslider-template-blue .cycloneslider-slide object,
|
67 |
-
.cycloneslider-template-blue .cycloneslider-slide embed {
|
68 |
-
position: absolute;
|
69 |
-
top: 0;
|
70 |
-
left: 0;
|
71 |
-
width: 100% !important;
|
72 |
-
height: 100% !important;
|
73 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/blue/style.min.css
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
/*** Template Blue ***/
|
2 |
-
.cycloneslider-template-blue img{display:block}.cycloneslider-template-blue .cycloneslider-prev,.cycloneslider-template-blue .cycloneslider-next{display:none;position:absolute;top:50%;margin-top:-22px;z-index:102;width:26px;height:44px;text-indent:-99999px;background:url($tpl/images/sprite-arrows.png) no-repeat}.cycloneslider-template-blue .cycloneslider-prev{left:10px;background-position:0 0}.cycloneslider-template-blue .cycloneslider-next{right:10px;background-position:-29px 0}.cycloneslider-template-blue .cycloneslider-pager{position:absolute;z-index:200;top:20px;right:20px}.cycloneslider-template-blue .cycloneslider-pager span{background:url($tpl/images/sprite-nav.png) no-repeat scroll 0 0 transparent;display:block;float:left;font-size:0;width:10px;height:10px;line-height:0;margin-right:6px;text-indent:-99999px}.cycloneslider-template-blue .cycloneslider-pager span.cycle-pager-active{background-position:left bottom}.cycloneslider-template-blue .cycloneslider-caption{position:absolute;left:0;bottom:0;width:100%;z-index:99;background:url($tpl/images/bg-caption.png);color:#fff}.cycloneslider-template-blue .cycloneslider-caption-title{padding:10px 20px 5px 20px;font-size:22px;line-height:1;margin-bottom:0}.cycloneslider-template-blue .cycloneslider-caption-description{padding:0 20px 15px 20px;line-height:1.5;font-size:12px}.cycloneslider-template-blue .cycloneslider-slide iframe,.cycloneslider-template-blue .cycloneslider-slide object,.cycloneslider-template-blue .cycloneslider-slide embed{position:absolute;top:0;left:0;width:100%!important;height:100%!important}
|
|
|
|
templates/default/screenshot.jpg
CHANGED
Binary file
|
templates/default/slider.php
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
<?php if($slider_count>0) $slider_id = $slider_id.'-'.$slider_count; ?>
|
2 |
<div class="cycloneslider cycloneslider-template-default" id="cycloneslider-<?php echo $slider_id; ?>" style="max-width:<?php echo $slider_settings['width']; ?>px">
|
3 |
<div class="cycloneslider-slides cycle-slideshow" <?php echo cyclone_settings($slider_settings, $slider_id); ?>>
|
1 |
+
<?php if(!defined('CYCLONE_PATH')) die('Direct access denied.'); ?>
|
2 |
+
|
3 |
<?php if($slider_count>0) $slider_id = $slider_id.'-'.$slider_count; ?>
|
4 |
<div class="cycloneslider cycloneslider-template-default" id="cycloneslider-<?php echo $slider_id; ?>" style="max-width:<?php echo $slider_settings['width']; ?>px">
|
5 |
<div class="cycloneslider-slides cycle-slideshow" <?php echo cyclone_settings($slider_settings, $slider_id); ?>>
|
templates/myrtle/config.txt
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
; Slide Types Supported
|
2 |
-
slide_type[] = "image"
|
3 |
-
slide_type[] = "video"
|
4 |
-
slide_type[] = "custom"
|
|
|
|
|
|
|
|
templates/myrtle/images/bg-caption.png
DELETED
Binary file
|
templates/myrtle/images/sprite-arrows.png
DELETED
Binary file
|
templates/myrtle/images/sprite-nav.png
DELETED
Binary file
|
templates/myrtle/screenshot.jpg
DELETED
Binary file
|
templates/myrtle/script.js
DELETED
@@ -1,16 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(){
|
2 |
-
jQuery('.cycloneslider-template-myrtle').each(function(i,el){
|
3 |
-
|
4 |
-
var main = jQuery(el),
|
5 |
-
prev = main.find('.cycloneslider-prev'),
|
6 |
-
next = main.find('.cycloneslider-next');
|
7 |
-
|
8 |
-
main.on('mouseenter', function(){
|
9 |
-
prev.show();
|
10 |
-
next.show();
|
11 |
-
}).on('mouseleave', function(){
|
12 |
-
prev.hide();
|
13 |
-
next.hide();
|
14 |
-
});
|
15 |
-
});
|
16 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/myrtle/script.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(){jQuery(".cycloneslider-template-myrtle").each(function(b,d){var a=jQuery(d),e=a.find(".cycloneslider-prev"),c=a.find(".cycloneslider-next");a.on("mouseenter",function(){e.show();c.show()}).on("mouseleave",function(){e.hide();c.hide()})})});
|
|
templates/myrtle/slider.php
DELETED
@@ -1,31 +0,0 @@
|
|
1 |
-
<?php if($slider_count>0) $slider_id = $slider_id.'-'.$slider_count; ?>
|
2 |
-
<div class="cycloneslider cycloneslider-template-myrtle" id="cycloneslider-<?php echo $slider_id; ?>" style="max-width:<?php echo $slider_settings['width']; ?>px">
|
3 |
-
<div class="cycloneslider-slides cycle-slideshow" <?php echo cyclone_settings($slider_settings, $slider_id); ?>>
|
4 |
-
<?php foreach($slider_metas as $i=>$slider_meta): ?>
|
5 |
-
<div class="cycloneslider-slide" <?php echo cyclone_slide_settings($slider_meta, $slider_settings); ?>>
|
6 |
-
<?php if ($slider_meta['type']=='image') : ?>
|
7 |
-
<?php if ($slider_meta['link']!='') : ?><a target="<?php echo ('_blank'==$slider_meta['link_target']) ? '_blank' : '_self'; ?>" href="<?php echo $slider_meta['link'];?>"><?php endif; ?>
|
8 |
-
<img src="<?php echo cyclone_slide_image_url($slider_meta['id'], $slider_settings['width'], $slider_settings['height'], array('current_slide_settings'=>$slider_meta, 'slideshow_settings'=>$slider_settings) ); ?>" alt="<?php echo $slider_meta['img_alt'];?>" title="<?php echo $slider_meta['img_title'];?>" />
|
9 |
-
<?php if ($slider_meta['link']!='') : ?></a><?php endif; ?>
|
10 |
-
<?php if(!empty($slider_meta['title']) or !empty($slider_meta['description'])) : ?>
|
11 |
-
<div class="cycloneslider-caption">
|
12 |
-
<div class="cycloneslider-caption-title"><?php echo $slider_meta['title'];?></div>
|
13 |
-
<div class="cycloneslider-caption-description"><?php echo $slider_meta['description'];?></div>
|
14 |
-
</div>
|
15 |
-
<?php endif; ?>
|
16 |
-
<?php elseif ($slider_meta['type']=='video') : ?>
|
17 |
-
<?php echo $slider_meta['video']; ?>
|
18 |
-
<?php elseif ($slider_meta['type']=='custom') : ?>
|
19 |
-
<?php echo $slider_meta['custom']; ?>
|
20 |
-
<?php endif; ?>
|
21 |
-
</div>
|
22 |
-
<?php endforeach; ?>
|
23 |
-
</div>
|
24 |
-
<?php if ($slider_settings['show_nav']) : ?>
|
25 |
-
<div class="cycloneslider-pager"></div>
|
26 |
-
<?php endif; ?>
|
27 |
-
<?php if ($slider_settings['show_prev_next']) : ?>
|
28 |
-
<div class="cycloneslider-prev">Prev</div>
|
29 |
-
<div class="cycloneslider-next">Next</div>
|
30 |
-
<?php endif; ?>
|
31 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/myrtle/style.css
DELETED
@@ -1,86 +0,0 @@
|
|
1 |
-
/*** Template Myrtle ***/
|
2 |
-
.cycloneslider-template-myrtle{
|
3 |
-
overflow:hidden;
|
4 |
-
}
|
5 |
-
|
6 |
-
.cycloneslider-template-myrtle .cycloneslider-prev,
|
7 |
-
.cycloneslider-template-myrtle .cycloneslider-next{
|
8 |
-
display:none;
|
9 |
-
position:absolute;
|
10 |
-
top:50%;
|
11 |
-
margin-top:-19px;
|
12 |
-
z-index:102;
|
13 |
-
text-indent:-99999px;
|
14 |
-
width:45px;
|
15 |
-
height:45px;
|
16 |
-
background: url($tpl/images/sprite-arrows.png) no-repeat;
|
17 |
-
}
|
18 |
-
.cycloneslider-template-myrtle:hover .cycloneslider-prev,
|
19 |
-
.cycloneslider-template-myrtle:hover .cycloneslider-next{
|
20 |
-
display:block;
|
21 |
-
}
|
22 |
-
.cycloneslider-template-myrtle .cycloneslider-prev{
|
23 |
-
left:10px;
|
24 |
-
background-position:-45px 0;
|
25 |
-
}
|
26 |
-
.cycloneslider-template-myrtle .cycloneslider-next{
|
27 |
-
right:10px;
|
28 |
-
background-position:0 0;
|
29 |
-
}
|
30 |
-
.cycloneslider-template-myrtle .cycloneslider-prev:hover{
|
31 |
-
background-position:-45px -45px;
|
32 |
-
}
|
33 |
-
.cycloneslider-template-myrtle .cycloneslider-next:hover{
|
34 |
-
background-position:0 -45px;
|
35 |
-
}
|
36 |
-
.cycloneslider-template-myrtle .cycloneslider-pager{
|
37 |
-
position:absolute;
|
38 |
-
z-index:200;
|
39 |
-
top:20px;
|
40 |
-
right:20px;
|
41 |
-
}
|
42 |
-
.cycloneslider-template-myrtle .cycloneslider-pager span {
|
43 |
-
background: url($tpl/images/sprite-nav.png) no-repeat scroll 0 0 transparent;
|
44 |
-
display: block;
|
45 |
-
float: left;
|
46 |
-
font-size: 0;
|
47 |
-
width: 12px;
|
48 |
-
height: 12px;
|
49 |
-
line-height: 0;
|
50 |
-
margin-right: 6px;
|
51 |
-
text-indent: -99999px;
|
52 |
-
}
|
53 |
-
.cycloneslider-template-myrtle .cycloneslider-pager span.cycle-pager-active {
|
54 |
-
background-position: left bottom;
|
55 |
-
}
|
56 |
-
.cycloneslider-template-myrtle .cycloneslider-caption{
|
57 |
-
position:absolute;
|
58 |
-
left:0;
|
59 |
-
bottom:0;
|
60 |
-
width:100%;
|
61 |
-
z-index:99;
|
62 |
-
background: url($tpl/images/bg-caption.png) right;
|
63 |
-
color:#fff;
|
64 |
-
}
|
65 |
-
.cycloneslider-template-myrtle .cycloneslider-caption-title{
|
66 |
-
padding:10px 20px 5px 20px;
|
67 |
-
font-size:24px;
|
68 |
-
line-height:1;
|
69 |
-
margin-bottom:0;
|
70 |
-
color:#E62B4E;
|
71 |
-
}
|
72 |
-
.cycloneslider-template-myrtle .cycloneslider-caption-description{
|
73 |
-
padding:0 20px 15px 20px;
|
74 |
-
line-height:1.5;
|
75 |
-
font-size:12px;
|
76 |
-
color:#676761;
|
77 |
-
}
|
78 |
-
.cycloneslider-template-myrtle .cycloneslider-slide iframe,
|
79 |
-
.cycloneslider-template-myrtle .cycloneslider-slide object,
|
80 |
-
.cycloneslider-template-myrtle .cycloneslider-slide embed {
|
81 |
-
position: absolute;
|
82 |
-
top: 0;
|
83 |
-
left: 0;
|
84 |
-
width: 100% !important;
|
85 |
-
height: 100% !important;
|
86 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/myrtle/style.min.css
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
/*** Template Myrtle ***/
|
2 |
-
.cycloneslider-template-myrtle{overflow:hidden}.cycloneslider-template-myrtle .cycloneslider-prev,.cycloneslider-template-myrtle .cycloneslider-next{display:none;position:absolute;top:50%;margin-top:-19px;z-index:102;text-indent:-99999px;width:45px;height:45px;background:url($tpl/images/sprite-arrows.png) no-repeat}.cycloneslider-template-myrtle:hover .cycloneslider-prev,.cycloneslider-template-myrtle:hover .cycloneslider-next{display:block}.cycloneslider-template-myrtle .cycloneslider-prev{left:10px;background-position:-45px 0}.cycloneslider-template-myrtle .cycloneslider-next{right:10px;background-position:0 0}.cycloneslider-template-myrtle .cycloneslider-prev:hover{background-position:-45px -45px}.cycloneslider-template-myrtle .cycloneslider-next:hover{background-position:0 -45px}.cycloneslider-template-myrtle .cycloneslider-pager{position:absolute;z-index:200;top:20px;right:20px}.cycloneslider-template-myrtle .cycloneslider-pager span{background:url($tpl/images/sprite-nav.png) no-repeat scroll 0 0 transparent;display:block;float:left;font-size:0;width:12px;height:12px;line-height:0;margin-right:6px;text-indent:-99999px}.cycloneslider-template-myrtle .cycloneslider-pager span.cycle-pager-active{background-position:left bottom}.cycloneslider-template-myrtle .cycloneslider-caption{position:absolute;left:0;bottom:0;width:100%;z-index:99;background:url($tpl/images/bg-caption.png) right;color:#fff}.cycloneslider-template-myrtle .cycloneslider-caption-title{padding:10px 20px 5px 20px;font-size:24px;line-height:1;margin-bottom:0;color:#e62b4e}.cycloneslider-template-myrtle .cycloneslider-caption-description{padding:0 20px 15px 20px;line-height:1.5;font-size:12px;color:#676761}.cycloneslider-template-myrtle .cycloneslider-slide iframe,.cycloneslider-template-myrtle .cycloneslider-slide object,.cycloneslider-template-myrtle .cycloneslider-slide embed{position:absolute;top:0;left:0;width:100%!important;height:100%!important}
|
|
|
|
templates/thumbnails/slider.php
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
<?php if($slider_count>0) $slider_id = $slider_id.'-'.$slider_count; ?>
|
2 |
<div class="cycloneslider cycloneslider-template-thumbnails" id="cycloneslider-<?php echo $slider_id; ?>" style="max-width:<?php echo $slider_settings['width']; ?>px">
|
3 |
<div class="cycloneslider-slides cycle-slideshow" <?php echo cyclone_settings($slider_settings, $slider_id); ?>>
|
1 |
+
<?php if(!defined('CYCLONE_PATH')) die('Direct access denied.'); ?>
|
2 |
+
|
3 |
<?php if($slider_count>0) $slider_id = $slider_id.'-'.$slider_count; ?>
|
4 |
<div class="cycloneslider cycloneslider-template-thumbnails" id="cycloneslider-<?php echo $slider_id; ?>" style="max-width:<?php echo $slider_settings['width']; ?>px">
|
5 |
<div class="cycloneslider-slides cycle-slideshow" <?php echo cyclone_settings($slider_settings, $slider_id); ?>>
|