Version Description
- Added: Slider callback.
- Fixed: Styles for Wordpress 4.4.
- Fixed: Slider on Firefox.
Download this release
Release Info
Developer | webdorado |
Plugin | Slider by WD – Responsive Slider |
Version | 1.1.7 |
Comparing to | |
See all releases |
Code changes from version 1.1.6 to 1.1.7
- admin/controllers/WDSControllerSliders_wds.php +3 -0
- admin/models/WDSModelSliders_wds.php +1 -0
- admin/views/WDSViewSliders_wds.php +83 -20
- admin/views/WDSViewUninstall_wds.php +1 -1
- css/wds_tables.css +331 -312
- filemanager/UploadHandler.php +2 -2
- frontend/views/WDSViewSlider.php +21 -3
- js/wds.js +26 -0
- readme.txt +6 -1
- slider-wd.php +3 -2
- sliders-insert.php +1 -0
- sliders-update.php +3 -0
admin/controllers/WDSControllerSliders_wds.php
CHANGED
@@ -199,6 +199,8 @@ class WDSControllerSliders_wds {
|
|
199 |
$fixed_bg = ((isset($_POST['fixed_bg'])) ? (int) esc_html(stripslashes($_POST['fixed_bg'])) : 0);
|
200 |
$smart_crop = ((isset($_POST['smart_crop'])) ? (int) esc_html(stripslashes($_POST['smart_crop'])) : 0);
|
201 |
$crop_image_position = ((isset($_POST['crop_image_position'])) ? esc_html(stripslashes($_POST['crop_image_position'])) : 'middle-center');
|
|
|
|
|
202 |
$data = array(
|
203 |
'name' => $name,
|
204 |
'published' => $published,
|
@@ -301,6 +303,7 @@ class WDSControllerSliders_wds {
|
|
301 |
'fixed_bg' => $fixed_bg,
|
302 |
'smart_crop' => $smart_crop,
|
303 |
'crop_image_position' => $crop_image_position,
|
|
|
304 |
);
|
305 |
|
306 |
if (!$slider_id) {
|
199 |
$fixed_bg = ((isset($_POST['fixed_bg'])) ? (int) esc_html(stripslashes($_POST['fixed_bg'])) : 0);
|
200 |
$smart_crop = ((isset($_POST['smart_crop'])) ? (int) esc_html(stripslashes($_POST['smart_crop'])) : 0);
|
201 |
$crop_image_position = ((isset($_POST['crop_image_position'])) ? esc_html(stripslashes($_POST['crop_image_position'])) : 'middle-center');
|
202 |
+
$javascript = ((isset($_POST['javascript'])) ? esc_html(stripslashes($_POST['javascript'])) : '');
|
203 |
+
|
204 |
$data = array(
|
205 |
'name' => $name,
|
206 |
'published' => $published,
|
303 |
'fixed_bg' => $fixed_bg,
|
304 |
'smart_crop' => $smart_crop,
|
305 |
'crop_image_position' => $crop_image_position,
|
306 |
+
'javascript' => $javascript,
|
307 |
);
|
308 |
|
309 |
if (!$slider_id) {
|
admin/models/WDSModelSliders_wds.php
CHANGED
@@ -210,6 +210,7 @@ class WDSModelSliders_wds {
|
|
210 |
$row->fixed_bg = 0;
|
211 |
$row->smart_crop = 0;
|
212 |
$row->crop_image_position = 'center center';
|
|
|
213 |
}
|
214 |
return $row;
|
215 |
}
|
210 |
$row->fixed_bg = 0;
|
211 |
$row->smart_crop = 0;
|
212 |
$row->crop_image_position = 'center center';
|
213 |
+
$row->javascript = '';
|
214 |
}
|
215 |
return $row;
|
216 |
}
|
admin/views/WDSViewSliders_wds.php
CHANGED
@@ -73,7 +73,7 @@ class WDSViewSliders_wds {
|
|
73 |
</a>
|
74 |
</div>
|
75 |
</div>
|
76 |
-
<form class="wrap" id="sliders_form" method="post" action="admin.php?page=sliders_wds" style="
|
77 |
<?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
|
78 |
<span class="slider-icon"></span>
|
79 |
<h2>
|
@@ -407,6 +407,17 @@ class WDSViewSliders_wds {
|
|
407 |
'zoomOutRight' => 'ZoomOutRight',
|
408 |
'zoomOutUp' => 'ZoomOutUp',
|
409 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
410 |
$built_in_watermark_fonts = array();
|
411 |
foreach (scandir(path_join(WD_S_DIR, 'fonts')) as $filename) {
|
412 |
if (strpos($filename, '.') === 0) {
|
@@ -517,7 +528,7 @@ class WDSViewSliders_wds {
|
|
517 |
</a>
|
518 |
</div>
|
519 |
</div>
|
520 |
-
<form class="wrap" method="post" id="sliders_form" action="admin.php?page=sliders_wds" style="float: left; width: 99%;">
|
521 |
<?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
|
522 |
<span class="slider-icon"></span>
|
523 |
<h2><?php echo $page_title; ?></h2>
|
@@ -538,6 +549,12 @@ class WDSViewSliders_wds {
|
|
538 |
spider_ajax_save('sliders_form', event);" value="Apply" />
|
539 |
</div>
|
540 |
<div class="wds_button_wrap">
|
|
|
|
|
|
|
|
|
|
|
|
|
541 |
<input id="wds_preview" type="button" class="action_buttons" value="Preview"
|
542 |
onclick="if (wds_check_required('name', 'Name')) { return false;}; spider_set_input_value('task', 'preview'); spider_ajax_save('sliders_form', event); return false;" />
|
543 |
</div>
|
@@ -606,6 +623,9 @@ class WDSViewSliders_wds {
|
|
606 |
<li tab_type="css" onclick="wds_change_nav(this, 'wds_nav_css_box')" >
|
607 |
<a href="#">CSS</a>
|
608 |
</li>
|
|
|
|
|
|
|
609 |
</ul>
|
610 |
</div>
|
611 |
<div>
|
@@ -1206,7 +1226,7 @@ class WDSViewSliders_wds {
|
|
1206 |
<td>
|
1207 |
<input type="radio" name="play_paus_butt_img_or_not" id="play_pause_butt_img_or_not_our" value="our" <?php if ($row->play_paus_butt_img_or_not == 'our') echo 'checked="checked"'; ?> onClick="image_for_play_pause_butt('our')" /><label <?php if ($row->play_paus_butt_img_or_not == 'our') echo 'class="selected_color"'; ?> for="play_pause_butt_img_or_not_our">Default</label>
|
1208 |
<input type="radio" name="play_paus_butt_img_or_not" id="play_pause_butt_img_or_not_cust" value="custom" <?php if ($row->play_paus_butt_img_or_not == 'custom') echo 'checked="checked"'; ?> onClick="image_for_play_pause_butt('custom')" /><label <?php if ($row->play_paus_butt_img_or_not == 'custom') echo 'class="selected_color"'; ?> for="play_pause_butt_img_or_not_cust">Custom</label>
|
1209 |
-
<input type="radio" name="play_paus_butt_img_or_not" id="play_pause_butt_img_or_not_select" value="style" <?php if ($row->play_paus_butt_img_or_not == 'style') echo 'checked="checked"'; ?> onClick="image_for_play_pause_butt('style')" /><label <?php if ($row->play_paus_butt_img_or_not == '
|
1210 |
<input type="hidden" id="play_butt_url" name="play_butt_url" value="<?php echo $row->play_butt_url; ?>" />
|
1211 |
<input type="hidden" id="play_butt_hov_url" name="play_butt_hov_url" value="<?php echo $row->play_butt_hov_url; ?>" />
|
1212 |
<input type="hidden" id="paus_butt_url" name="paus_butt_url" value="<?php echo $row->paus_butt_url; ?>" />
|
@@ -1967,6 +1987,49 @@ class WDSViewSliders_wds {
|
|
1967 |
</tbody>
|
1968 |
</table>
|
1969 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1970 |
</div>
|
1971 |
</div>
|
1972 |
<!--------------Slides tab----------->
|
@@ -1975,19 +2038,19 @@ class WDSViewSliders_wds {
|
|
1975 |
<thead>
|
1976 |
<tr>
|
1977 |
<td colspan="4">
|
1978 |
-
|
1979 |
-
|
1980 |
-
|
1981 |
-
|
1982 |
-
|
1983 |
-
|
1984 |
-
|
1985 |
-
|
1986 |
-
|
1987 |
-
|
1988 |
-
|
1989 |
-
|
1990 |
-
|
1991 |
<div class="wds_buttons">
|
1992 |
<?php
|
1993 |
if ($row->spider_uploader) {
|
@@ -2074,10 +2137,10 @@ class WDSViewSliders_wds {
|
|
2074 |
<?php
|
2075 |
}
|
2076 |
?>
|
2077 |
-
|
2078 |
-
|
2079 |
-
|
2080 |
-
|
2081 |
</div>
|
2082 |
</div>
|
2083 |
</div>
|
73 |
</a>
|
74 |
</div>
|
75 |
</div>
|
76 |
+
<form class="wrap wds_form" id="sliders_form" method="post" action="admin.php?page=sliders_wds" style="float: left; width: 99%;">
|
77 |
<?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
|
78 |
<span class="slider-icon"></span>
|
79 |
<h2>
|
407 |
'zoomOutRight' => 'ZoomOutRight',
|
408 |
'zoomOutUp' => 'ZoomOutUp',
|
409 |
);
|
410 |
+
$slider_callbacks = array(
|
411 |
+
'onSliderI' => 'On slider Init',
|
412 |
+
'onSliderCS' => 'On slide change start',
|
413 |
+
'onSliderCE' => 'On slide change end',
|
414 |
+
'onSliderPlay' => 'On slide play',
|
415 |
+
'onSliderPause' => 'On slide pause',
|
416 |
+
'onSliderHover' => 'On slide hover',
|
417 |
+
'onSliderBlur' => 'On slide blur',
|
418 |
+
'onSliderR' => 'On slider resize',
|
419 |
+
'onSwipeS' => 'On swipe start',
|
420 |
+
);
|
421 |
$built_in_watermark_fonts = array();
|
422 |
foreach (scandir(path_join(WD_S_DIR, 'fonts')) as $filename) {
|
423 |
if (strpos($filename, '.') === 0) {
|
528 |
</a>
|
529 |
</div>
|
530 |
</div>
|
531 |
+
<form class="wrap wds_form" method="post" id="sliders_form" action="admin.php?page=sliders_wds" style="float: left; width: 99%;">
|
532 |
<?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
|
533 |
<span class="slider-icon"></span>
|
534 |
<h2><?php echo $page_title; ?></h2>
|
549 |
spider_ajax_save('sliders_form', event);" value="Apply" />
|
550 |
</div>
|
551 |
<div class="wds_button_wrap">
|
552 |
+
<input class="wds_button-secondary wds_dublicate_slide" type="button" onclick="if (wds_check_required('name', 'Name')) {return false;};
|
553 |
+
spider_set_input_value('task', 'duplicate');
|
554 |
+
spider_set_input_value('sub_tab', '');
|
555 |
+
spider_ajax_save('sliders_form', event);" value="Save as Copy" />
|
556 |
+
</div>
|
557 |
+
<div class="wds_button_wrap">
|
558 |
<input id="wds_preview" type="button" class="action_buttons" value="Preview"
|
559 |
onclick="if (wds_check_required('name', 'Name')) { return false;}; spider_set_input_value('task', 'preview'); spider_ajax_save('sliders_form', event); return false;" />
|
560 |
</div>
|
623 |
<li tab_type="css" onclick="wds_change_nav(this, 'wds_nav_css_box')" >
|
624 |
<a href="#">CSS</a>
|
625 |
</li>
|
626 |
+
<li tab_type="callbacks" onclick="wds_change_nav(this, 'wds_nav_callbacks_box')" >
|
627 |
+
<a href="#">Slider Callbacks</a>
|
628 |
+
</li>
|
629 |
</ul>
|
630 |
</div>
|
631 |
<div>
|
1226 |
<td>
|
1227 |
<input type="radio" name="play_paus_butt_img_or_not" id="play_pause_butt_img_or_not_our" value="our" <?php if ($row->play_paus_butt_img_or_not == 'our') echo 'checked="checked"'; ?> onClick="image_for_play_pause_butt('our')" /><label <?php if ($row->play_paus_butt_img_or_not == 'our') echo 'class="selected_color"'; ?> for="play_pause_butt_img_or_not_our">Default</label>
|
1228 |
<input type="radio" name="play_paus_butt_img_or_not" id="play_pause_butt_img_or_not_cust" value="custom" <?php if ($row->play_paus_butt_img_or_not == 'custom') echo 'checked="checked"'; ?> onClick="image_for_play_pause_butt('custom')" /><label <?php if ($row->play_paus_butt_img_or_not == 'custom') echo 'class="selected_color"'; ?> for="play_pause_butt_img_or_not_cust">Custom</label>
|
1229 |
+
<input type="radio" name="play_paus_butt_img_or_not" id="play_pause_butt_img_or_not_select" value="style" <?php if ($row->play_paus_butt_img_or_not == 'style') echo 'checked="checked"'; ?> onClick="image_for_play_pause_butt('style')" /><label <?php if ($row->play_paus_butt_img_or_not == 'style') echo 'class="selected_color"'; ?> for="play_pause_butt_img_or_not_select">Styled</label>
|
1230 |
<input type="hidden" id="play_butt_url" name="play_butt_url" value="<?php echo $row->play_butt_url; ?>" />
|
1231 |
<input type="hidden" id="play_butt_hov_url" name="play_butt_hov_url" value="<?php echo $row->play_butt_hov_url; ?>" />
|
1232 |
<input type="hidden" id="paus_butt_url" name="paus_butt_url" value="<?php echo $row->paus_butt_url; ?>" />
|
1987 |
</tbody>
|
1988 |
</table>
|
1989 |
</div>
|
1990 |
+
<div class="wds_nav_box wds_nav_callbacks_box">
|
1991 |
+
<?php $callback_items = json_decode(htmlspecialchars_decode($row->javascript), TRUE); ?>
|
1992 |
+
<table style="width: 50%;">
|
1993 |
+
<tr>
|
1994 |
+
<td class="spider_label_options">
|
1995 |
+
<label for="css">Add new callback: </label>
|
1996 |
+
</td>
|
1997 |
+
<td>
|
1998 |
+
<div style="vertical-align: middle;">
|
1999 |
+
<select class="select_icon select_icon_320" name="callback_list" id="callback_list" style="width: 200px; height: 34px;">
|
2000 |
+
<?php
|
2001 |
+
foreach ($slider_callbacks as $key => $slider_callback) {
|
2002 |
+
?>
|
2003 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->javascript == $key) ? 'selected="selected"' : ''); ?> <?php echo (isset($callback_items[$key]))? "style='display:none'" : ""; ?>><?php echo $slider_callback; ?></option>
|
2004 |
+
<?php
|
2005 |
+
}
|
2006 |
+
?>
|
2007 |
+
</select>
|
2008 |
+
|
2009 |
+
<button type="button" id="add_callback" class="action_buttons add_callback" onclick="add_new_callback(jQuery(this).closest('tr'),jQuery(this).closest('tr').find('select'));"></button>
|
2010 |
+
<div class="spider_description"></div>
|
2011 |
+
</div>
|
2012 |
+
</td>
|
2013 |
+
</tr>
|
2014 |
+
<tr>
|
2015 |
+
<td colspan="2">
|
2016 |
+
<?php
|
2017 |
+
if (is_array($callback_items) && count($callback_items)) {
|
2018 |
+
foreach ($callback_items as $key => $callback_item) {
|
2019 |
+
?>
|
2020 |
+
<div class="callbeck-item">
|
2021 |
+
<span class="spider_label_options"><?php echo $slider_callbacks[$key]; ?></span>
|
2022 |
+
<textarea class="callbeck-textarea" name="<?php echo $key; ?>"><?php echo $callback_item; ?></textarea>
|
2023 |
+
<button type="button" id="remove_callback" class="action_buttons remove_callback" onclick="remove_callback_item(this);">Remove</button>
|
2024 |
+
</div>
|
2025 |
+
<?php
|
2026 |
+
}
|
2027 |
+
}
|
2028 |
+
?>
|
2029 |
+
</td>
|
2030 |
+
</tr>
|
2031 |
+
</table>
|
2032 |
+
</div>
|
2033 |
</div>
|
2034 |
</div>
|
2035 |
<!--------------Slides tab----------->
|
2038 |
<thead>
|
2039 |
<tr>
|
2040 |
<td colspan="4">
|
2041 |
+
<div class="tab_conteiner">
|
2042 |
+
<div class="tab_button_wrap setting_tab_button_wrap" onclick="wds_change_tab(this, 'wds_settings_box')">
|
2043 |
+
<a class="wds_button-secondary wds_settings" href="#">
|
2044 |
+
<span tab_type="settings" class="wds_tab_label">Settings</span>
|
2045 |
+
</a>
|
2046 |
+
</div>
|
2047 |
+
<div class="tab_button_wrap slides_tab_button_wrap" onclick="wds_change_tab(this, 'wds_slides_box')" >
|
2048 |
+
<a class="wds_button-secondary wds_slides" href="#">
|
2049 |
+
<span tab_type="slides" class="wds_tab_label">Slides</span>
|
2050 |
+
</a>
|
2051 |
+
</div>
|
2052 |
+
<div class="clear"></div>
|
2053 |
+
</div>
|
2054 |
<div class="wds_buttons">
|
2055 |
<?php
|
2056 |
if ($row->spider_uploader) {
|
2137 |
<?php
|
2138 |
}
|
2139 |
?>
|
2140 |
+
<span class="wds_slide_dublicate" title="Duplicate Slide" onclick="wds_duplicate_slide('<?php echo $slide_row->id; ?>');"></span>
|
2141 |
+
<span class="wds_tab_remove" title="Remove Slide" onclick="wds_remove_slide('<?php echo $slide_row->id; ?>')"></span>
|
2142 |
+
<input type="hidden" name="order<?php echo $slide_row->id; ?>" id="order<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->order; ?>" />
|
2143 |
+
<span class="wds_clear"></span>
|
2144 |
</div>
|
2145 |
</div>
|
2146 |
</div>
|
admin/views/WDSViewUninstall_wds.php
CHANGED
@@ -26,7 +26,7 @@ class WDSViewUninstall_wds {
|
|
26 |
global $wpdb;
|
27 |
$prefix = $wpdb->prefix;
|
28 |
?>
|
29 |
-
<form method="post" action="admin.php?page=uninstall_wds" style="width:99%;">
|
30 |
<?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
|
31 |
<div class="wrap">
|
32 |
<span class="uninstall_icon"></span>
|
26 |
global $wpdb;
|
27 |
$prefix = $wpdb->prefix;
|
28 |
?>
|
29 |
+
<form class="wds_form" method="post" action="admin.php?page=uninstall_wds" style="width:99%;">
|
30 |
<?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
|
31 |
<div class="wrap">
|
32 |
<span class="uninstall_icon"></span>
|
css/wds_tables.css
CHANGED
@@ -1,3 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
#bullets_images_type,
|
2 |
#bullets_images_color,
|
3 |
#bull_style,
|
@@ -264,7 +271,7 @@
|
|
264 |
border: none;
|
265 |
float: left;
|
266 |
height: 30px;
|
267 |
-
margin:
|
268 |
width: 30px;
|
269 |
}
|
270 |
|
@@ -1048,11 +1055,11 @@ span[data-type="wds_text_parent"] * {
|
|
1048 |
box-sizing: border-box;
|
1049 |
}
|
1050 |
|
1051 |
-
.wds_alternate{
|
1052 |
background-color:#F1F1F1;
|
1053 |
}
|
1054 |
|
1055 |
-
.action_buttons{
|
1056 |
padding: 0 7px 1px 32px;
|
1057 |
margin: 0 ;
|
1058 |
display: inline-block;
|
@@ -1233,7 +1240,7 @@ tbody .action_buttons{
|
|
1233 |
padding: 0 2px 2px 2px !important;
|
1234 |
width: 10%;
|
1235 |
}
|
1236 |
-
.overlay{
|
1237 |
display:none;
|
1238 |
width:100%;
|
1239 |
height:100%;
|
@@ -1245,7 +1252,7 @@ tbody .action_buttons{
|
|
1245 |
display: block;
|
1246 |
}
|
1247 |
|
1248 |
-
#hover_buttons{
|
1249 |
position:absolute;
|
1250 |
top:0;
|
1251 |
bottom:0;
|
@@ -1284,344 +1291,358 @@ tbody .action_buttons{
|
|
1284 |
margin-bottom:2px;
|
1285 |
}
|
1286 |
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
.tab_button_wrap {
|
1295 |
-
float: left;
|
1296 |
-
width: 120px;
|
1297 |
-
margin-right: 5px;
|
1298 |
-
}
|
1299 |
-
|
1300 |
-
.tab_button_wrap .wds_button-secondary {
|
1301 |
-
margin-right: 5px;
|
1302 |
-
}
|
1303 |
-
|
1304 |
-
.wds_menu_icon{
|
1305 |
-
display:none;
|
1306 |
-
}
|
1307 |
-
|
1308 |
-
.add_video{
|
1309 |
-
color: white !important;
|
1310 |
-
background-image:url('../images/sliderwdpng/add_video.png');
|
1311 |
-
background-position: 5% 50%;
|
1312 |
-
}
|
1313 |
-
|
1314 |
-
.add_images{
|
1315 |
-
background-image:url('../images/sliderwdpng/add.png');
|
1316 |
-
background-position: 5% 50%;
|
1317 |
-
color:white !important;
|
1318 |
-
background-repeat:no-repeat;
|
1319 |
-
background-color:#00A0D2;
|
1320 |
-
border-bottom: 3px solid #258AA6;
|
1321 |
-
}
|
1322 |
-
|
1323 |
-
.edit_thumb {
|
1324 |
-
background-image:url('../images/sliderwdpng/edit_thumbnail.png');
|
1325 |
-
background-position: 5% 50%;
|
1326 |
-
color:white !important;
|
1327 |
-
background-repeat:no-repeat;
|
1328 |
-
background-color:#00A0D2;
|
1329 |
-
border-bottom: 3px solid #258AA6;
|
1330 |
-
}
|
1331 |
-
|
1332 |
-
.add_posts{
|
1333 |
-
background-image:url('../images/sliderwdpng/add_text_layer.png');
|
1334 |
-
background-position: 10% 50%;
|
1335 |
-
color:white !important;
|
1336 |
-
}
|
1337 |
-
|
1338 |
-
.add_video_layer{
|
1339 |
-
color: white !important;
|
1340 |
-
background-image:url('../images/sliderwdpng/add_video_layer.png');
|
1341 |
-
background-position: 5% 50%;
|
1342 |
-
}
|
1343 |
-
|
1344 |
-
.set_watermark{
|
1345 |
-
background-image:url('../images/sliderwdpng/watermark.png');
|
1346 |
-
background-position: 5% 50%;
|
1347 |
-
color:white !important;
|
1348 |
-
}
|
1349 |
-
|
1350 |
-
.reset_watermark{
|
1351 |
-
background-image:url('../images/sliderwdpng/reset_watermark.png');
|
1352 |
-
background-position: 5% 50%;
|
1353 |
-
color:white !important;
|
1354 |
-
}
|
1355 |
-
|
1356 |
-
.wds_button_wrap .action_buttons, .layer_add_buttons_wrap .action_buttons, .slide_add_buttons_wrap .action_buttons {
|
1357 |
-
background-repeat:no-repeat;
|
1358 |
-
background-color: #00A0D2;
|
1359 |
-
border-bottom: 3px solid #258AA6;
|
1360 |
-
}
|
1361 |
-
|
1362 |
-
.wds_publish_all {
|
1363 |
-
background-image:url('../images/sliderwdpng/publish.png');
|
1364 |
-
background-repeat:no-repeat;
|
1365 |
-
background-position: 15% 50%
|
1366 |
-
}
|
1367 |
-
|
1368 |
-
.wds_unpublish_all {
|
1369 |
-
background-image:url('../images/sliderwdpng/unpublish.png');
|
1370 |
-
background-repeat:no-repeat;
|
1371 |
-
background-position: 15% 50%
|
1372 |
-
}
|
1373 |
-
|
1374 |
-
.wds_duplicate_all {
|
1375 |
-
background-image:url('../images/sliderwdpng/duplicate.png');
|
1376 |
-
background-repeat:no-repeat;
|
1377 |
-
background-position: 15% 50%
|
1378 |
-
}
|
1379 |
-
|
1380 |
-
.wds_export {
|
1381 |
-
background-image:url('../images/sliderwdpng/export.png');
|
1382 |
-
background-repeat:no-repeat;
|
1383 |
-
background-position: 15% 50%
|
1384 |
-
}
|
1385 |
-
|
1386 |
-
.wds_import {
|
1387 |
-
background-image:url('../images/sliderwdpng/import.png');
|
1388 |
-
background-repeat:no-repeat;
|
1389 |
-
background-position: 15% 50%
|
1390 |
-
}
|
1391 |
-
|
1392 |
-
.wds_delete_all {
|
1393 |
-
background-image:url('../images/sliderwdpng/delete_red.png');
|
1394 |
-
background-repeat:no-repeat;
|
1395 |
-
background-position: 15% 50%
|
1396 |
-
}
|
1397 |
-
|
1398 |
-
.wds_table_big_col_action {
|
1399 |
-
width:25%;
|
1400 |
-
text-align:left!important;
|
1401 |
-
padding-left: 21px;
|
1402 |
-
}
|
1403 |
-
|
1404 |
-
#check_all_items {
|
1405 |
-
margin: 0px 5px 5px 0;
|
1406 |
-
vertical-align: middle;
|
1407 |
-
}
|
1408 |
-
|
1409 |
-
.edit_slider {
|
1410 |
-
background-image:url('../images/sliderwdpng/edit.png');
|
1411 |
-
background-repeat:no-repeat;
|
1412 |
-
background-color:#00A0D2;
|
1413 |
-
border-bottom: 3px solid #00546B !important;
|
1414 |
-
background-position: 10% 50%;
|
1415 |
-
}
|
1416 |
-
|
1417 |
-
.wds_duplicate_slider {
|
1418 |
-
background-image:url('../images/sliderwdpng/duplicate_blue.png');
|
1419 |
-
background-repeat:no-repeat;
|
1420 |
-
background-color:#00A0D2;
|
1421 |
-
border-bottom: 3px solid #00546B !important;
|
1422 |
-
background-position: 10% 50%;
|
1423 |
-
}
|
1424 |
-
|
1425 |
-
.wds_delete_slider {
|
1426 |
-
background-image:url('../images/sliderwdpng/delete_slider.png');
|
1427 |
-
background-repeat:no-repeat;
|
1428 |
-
background-color:#D14130;
|
1429 |
-
border-bottom: 3px solid #AD2626 !important;
|
1430 |
-
background-position: 10% 50%;
|
1431 |
-
}
|
1432 |
-
|
1433 |
-
.wds_settings {
|
1434 |
-
background-image:url('../images/sliderwdpng/settings_grey.png');
|
1435 |
-
background-repeat:no-repeat;
|
1436 |
-
background-position: 15% 50%;
|
1437 |
-
background-repeat: no-repeat;
|
1438 |
-
height: 36px;
|
1439 |
-
padding-top: 2px;
|
1440 |
-
font-size: 13px;
|
1441 |
-
width: 100%
|
1442 |
-
}
|
1443 |
-
|
1444 |
-
.wds_slides {
|
1445 |
-
background-image:url('../images/sliderwdpng/slider_grey.png');
|
1446 |
-
background-repeat:no-repeat;
|
1447 |
-
background-position: 15% 50%;
|
1448 |
-
background-repeat: no-repeat;
|
1449 |
-
height: 36px;
|
1450 |
-
padding-top: 2px;
|
1451 |
-
font-size: 13px;
|
1452 |
-
width: 100%
|
1453 |
-
}
|
1454 |
-
|
1455 |
-
.wds_save_slider {
|
1456 |
-
background-image:url('../images/sliderwdpng/save.png');
|
1457 |
-
background-repeat:no-repeat;
|
1458 |
-
background-position: 15% 50%
|
1459 |
-
}
|
1460 |
-
|
1461 |
-
.wds_aplly_slider {
|
1462 |
-
background-image:url('../images/sliderwdpng/apply.png');
|
1463 |
-
background-repeat:no-repeat;
|
1464 |
-
background-position: 15% 50%
|
1465 |
-
}
|
1466 |
-
|
1467 |
-
.wds_dublicate_slide {
|
1468 |
-
background-image:url('../images/sliderwdpng/save_copy.png');
|
1469 |
-
background-repeat:no-repeat;
|
1470 |
-
background-position: 15% 50%
|
1471 |
-
}
|
1472 |
-
|
1473 |
-
#wds_preview{
|
1474 |
-
background-color:#00A2D0;
|
1475 |
-
line-height: 30px;
|
1476 |
-
height: 30px;
|
1477 |
-
border-bottom: 3px solid #258AA6;
|
1478 |
-
background-image:url('../images/sliderwdpng/preview1.png');
|
1479 |
-
background-repeat:no-repeat;
|
1480 |
-
background-position: 15% 50%
|
1481 |
-
}
|
1482 |
-
|
1483 |
-
.wds_export_one {
|
1484 |
-
background-image:url('../images/sliderwdpng/export.png');
|
1485 |
-
background-repeat:no-repeat;
|
1486 |
-
background-position: 15% 50%
|
1487 |
-
}
|
1488 |
-
|
1489 |
-
.wds_cancel {
|
1490 |
-
background-image:url('../images/sliderwdpng/cancel.png');
|
1491 |
-
background-repeat:no-repeat;
|
1492 |
-
background-position: 15% 50%
|
1493 |
-
}
|
1494 |
-
|
1495 |
-
.wds_external_link {
|
1496 |
-
border:0;
|
1497 |
-
box-shadow:none;
|
1498 |
-
margin-right:12px
|
1499 |
-
}
|
1500 |
-
|
1501 |
-
.layer_table_left {
|
1502 |
-
width: 60% !important;
|
1503 |
-
}
|
1504 |
-
|
1505 |
-
.layer_table_right {
|
1506 |
-
width: 39% !important;
|
1507 |
-
}
|
1508 |
-
|
1509 |
-
.selected_color {
|
1510 |
-
color:#00A2D0 !important;
|
1511 |
-
}
|
1512 |
-
|
1513 |
-
.slider_delete {
|
1514 |
-
float:left
|
1515 |
-
}
|
1516 |
-
|
1517 |
-
.slider_duplicate {
|
1518 |
-
float:left
|
1519 |
-
}
|
1520 |
-
|
1521 |
-
.slider_edit {
|
1522 |
-
float:left
|
1523 |
-
}
|
1524 |
|
1525 |
-
|
1526 |
-
|
1527 |
-
|
1528 |
-
|
1529 |
-
|
1530 |
-
background-color: #00A0D2;
|
1531 |
-
padding: 0 7px 1px 38px;
|
1532 |
-
margin: 0;
|
1533 |
-
display: inline-block;
|
1534 |
-
text-decoration: none;
|
1535 |
-
font-size: 13px;
|
1536 |
-
line-height: 30px;
|
1537 |
-
height: 30px;
|
1538 |
-
cursor: pointer;
|
1539 |
-
border: 0;
|
1540 |
-
border-bottom: 3px solid #258AA6;
|
1541 |
-
-webkit-appearance: none;
|
1542 |
-
white-space: nowrap;
|
1543 |
-
-webkit-box-sizing: border-box;
|
1544 |
-
-moz-box-sizing: border-box;
|
1545 |
-
box-sizing: border-box;
|
1546 |
-
background-position: 5% 50%;
|
1547 |
-
}
|
1548 |
|
1549 |
-
|
1550 |
-
|
1551 |
-
|
1552 |
-
}
|
1553 |
|
1554 |
-
|
1555 |
-
|
1556 |
-
|
1557 |
-
}
|
1558 |
|
1559 |
-
|
1560 |
-
|
1561 |
-
|
1562 |
-
|
|
|
1563 |
|
1564 |
-
|
1565 |
-
|
1566 |
-
|
1567 |
-
|
1568 |
-
|
1569 |
-
|
1570 |
-
|
1571 |
-
|
1572 |
-
padding-top:0 !important;
|
1573 |
-
}
|
1574 |
|
1575 |
-
|
1576 |
-
|
1577 |
-
|
|
|
|
|
|
|
|
|
|
|
1578 |
|
1579 |
-
|
1580 |
-
|
1581 |
-
|
1582 |
-
|
1583 |
-
|
1584 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1585 |
|
1586 |
@media screen and (max-width: 782px){
|
1587 |
body {
|
1588 |
overflow-x: initial !important;
|
1589 |
-
|
1590 |
}
|
1591 |
-
#wpwrap{
|
1592 |
overflow-x: hidden !important;
|
1593 |
}
|
1594 |
}
|
1595 |
|
1596 |
-
@media screen and (max-width: 475px) and (min-width: 320px){
|
1597 |
-
.wds_subtab_wrap{
|
1598 |
width: 47.2% !important;
|
1599 |
height: 155px !important;
|
1600 |
}
|
1601 |
-
|
1602 |
.wds_textarea {
|
1603 |
width: 107px !important;
|
1604 |
}
|
1605 |
-
|
1606 |
.wds_link {
|
1607 |
width: 145px !important;
|
1608 |
}
|
1609 |
-
|
1610 |
.select_icon_320 {
|
1611 |
width: 90% !important;
|
1612 |
}
|
1613 |
.action_buttons{
|
1614 |
-
font-size:11px !important
|
1615 |
}
|
1616 |
-
|
1617 |
-
.
|
1618 |
-
|
|
|
1619 |
}
|
1620 |
-
|
1621 |
-
|
1622 |
}
|
1623 |
|
1624 |
-
|
1625 |
@media screen and (max-width: 400px) {
|
1626 |
.wds_button_wrap,
|
1627 |
.slide_add_buttons_wrap,
|
@@ -1631,9 +1652,7 @@ tbody .action_buttons{
|
|
1631 |
.layer_table_left span, .layer_table_right span, .layer_table_left .wds_editor_btn {
|
1632 |
display:block !important;
|
1633 |
}
|
1634 |
-
|
1635 |
.layer_table_left textarea, .layer_table_left .select_icon, .layer_table_right .select_icon{
|
1636 |
width:auto !important;
|
1637 |
}
|
1638 |
}
|
1639 |
-
|
1 |
+
.wds_form h2 {
|
2 |
+
font-size: 23px;
|
3 |
+
font-weight: normal;
|
4 |
+
padding: 5px 15px 4px 0;
|
5 |
+
margin: 0;
|
6 |
+
}
|
7 |
+
|
8 |
#bullets_images_type,
|
9 |
#bullets_images_color,
|
10 |
#bull_style,
|
271 |
border: none;
|
272 |
float: left;
|
273 |
height: 30px;
|
274 |
+
margin: 0 8px 0 0;
|
275 |
width: 30px;
|
276 |
}
|
277 |
|
1055 |
box-sizing: border-box;
|
1056 |
}
|
1057 |
|
1058 |
+
.wds_alternate {
|
1059 |
background-color:#F1F1F1;
|
1060 |
}
|
1061 |
|
1062 |
+
.action_buttons {
|
1063 |
padding: 0 7px 1px 32px;
|
1064 |
margin: 0 ;
|
1065 |
display: inline-block;
|
1240 |
padding: 0 2px 2px 2px !important;
|
1241 |
width: 10%;
|
1242 |
}
|
1243 |
+
.overlay {
|
1244 |
display:none;
|
1245 |
width:100%;
|
1246 |
height:100%;
|
1252 |
display: block;
|
1253 |
}
|
1254 |
|
1255 |
+
#hover_buttons {
|
1256 |
position:absolute;
|
1257 |
top:0;
|
1258 |
bottom:0;
|
1291 |
margin-bottom:2px;
|
1292 |
}
|
1293 |
|
1294 |
+
.wds_subtab_wrap{
|
1295 |
+
width:12%;
|
1296 |
+
height:130px;
|
1297 |
+
float:left;
|
1298 |
+
margin:12px
|
1299 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1300 |
|
1301 |
+
.tab_button_wrap {
|
1302 |
+
float: left;
|
1303 |
+
width: 120px;
|
1304 |
+
margin-right: 5px;
|
1305 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1306 |
|
1307 |
+
.tab_button_wrap .wds_button-secondary {
|
1308 |
+
margin-right: 5px;
|
1309 |
+
}
|
|
|
1310 |
|
1311 |
+
.wds_menu_icon{
|
1312 |
+
display:none;
|
1313 |
+
}
|
|
|
1314 |
|
1315 |
+
.add_video{
|
1316 |
+
color: white !important;
|
1317 |
+
background-image:url('../images/sliderwdpng/add_video.png');
|
1318 |
+
background-position: 5% 50%;
|
1319 |
+
}
|
1320 |
|
1321 |
+
.add_images{
|
1322 |
+
background-image:url('../images/sliderwdpng/add.png');
|
1323 |
+
background-position: 5% 50%;
|
1324 |
+
color:white !important;
|
1325 |
+
background-repeat:no-repeat;
|
1326 |
+
background-color:#00A0D2;
|
1327 |
+
border-bottom: 3px solid #258AA6;
|
1328 |
+
}
|
|
|
|
|
1329 |
|
1330 |
+
.edit_thumb {
|
1331 |
+
background-image:url('../images/sliderwdpng/edit_thumbnail.png');
|
1332 |
+
background-position: 5% 50%;
|
1333 |
+
color:white !important;
|
1334 |
+
background-repeat:no-repeat;
|
1335 |
+
background-color:#00A0D2;
|
1336 |
+
border-bottom: 3px solid #258AA6;
|
1337 |
+
}
|
1338 |
|
1339 |
+
.add_posts{
|
1340 |
+
background-image:url('../images/sliderwdpng/add_text_layer.png');
|
1341 |
+
background-position: 10% 50%;
|
1342 |
+
color:white !important;
|
1343 |
+
}
|
1344 |
+
|
1345 |
+
.add_video_layer{
|
1346 |
+
color: white !important;
|
1347 |
+
background-image:url('../images/sliderwdpng/add_video_layer.png');
|
1348 |
+
background-position: 5% 50%;
|
1349 |
+
}
|
1350 |
+
|
1351 |
+
.set_watermark{
|
1352 |
+
background-image:url('../images/sliderwdpng/watermark.png');
|
1353 |
+
background-position: 5% 50%;
|
1354 |
+
color:white !important;
|
1355 |
+
}
|
1356 |
+
|
1357 |
+
.reset_watermark{
|
1358 |
+
background-image:url('../images/sliderwdpng/reset_watermark.png');
|
1359 |
+
background-position: 5% 50%;
|
1360 |
+
color:white !important;
|
1361 |
+
}
|
1362 |
+
|
1363 |
+
.wds_button_wrap .action_buttons, .layer_add_buttons_wrap .action_buttons, .slide_add_buttons_wrap .action_buttons {
|
1364 |
+
background-repeat:no-repeat;
|
1365 |
+
background-color: #00A0D2;
|
1366 |
+
border-bottom: 3px solid #258AA6;
|
1367 |
+
}
|
1368 |
+
|
1369 |
+
.wds_publish_all {
|
1370 |
+
background-image:url('../images/sliderwdpng/publish.png');
|
1371 |
+
background-repeat:no-repeat;
|
1372 |
+
background-position: 15% 50%
|
1373 |
+
}
|
1374 |
+
|
1375 |
+
.wds_unpublish_all {
|
1376 |
+
background-image:url('../images/sliderwdpng/unpublish.png');
|
1377 |
+
background-repeat:no-repeat;
|
1378 |
+
background-position: 15% 50%
|
1379 |
+
}
|
1380 |
+
|
1381 |
+
.wds_duplicate_all {
|
1382 |
+
background-image:url('../images/sliderwdpng/duplicate.png');
|
1383 |
+
background-repeat:no-repeat;
|
1384 |
+
background-position: 15% 50%
|
1385 |
+
}
|
1386 |
+
|
1387 |
+
.wds_export {
|
1388 |
+
background-image:url('../images/sliderwdpng/export.png');
|
1389 |
+
background-repeat:no-repeat;
|
1390 |
+
background-position: 15% 50%
|
1391 |
+
}
|
1392 |
+
|
1393 |
+
.wds_import {
|
1394 |
+
background-image:url('../images/sliderwdpng/import.png');
|
1395 |
+
background-repeat:no-repeat;
|
1396 |
+
background-position: 15% 50%
|
1397 |
+
}
|
1398 |
+
|
1399 |
+
.wds_delete_all {
|
1400 |
+
background-image:url('../images/sliderwdpng/delete_red.png');
|
1401 |
+
background-repeat:no-repeat;
|
1402 |
+
background-position: 15% 50%
|
1403 |
+
}
|
1404 |
+
|
1405 |
+
.wds_table_big_col_action {
|
1406 |
+
width:25%;
|
1407 |
+
text-align:left!important;
|
1408 |
+
padding-left: 21px;
|
1409 |
+
}
|
1410 |
+
|
1411 |
+
#check_all_items {
|
1412 |
+
margin: 0px 5px 5px 0;
|
1413 |
+
vertical-align: middle;
|
1414 |
+
}
|
1415 |
+
|
1416 |
+
.edit_slider {
|
1417 |
+
background-image:url('../images/sliderwdpng/edit.png');
|
1418 |
+
background-repeat:no-repeat;
|
1419 |
+
background-color:#00A0D2;
|
1420 |
+
border-bottom: 3px solid #00546B !important;
|
1421 |
+
background-position: 10% 50%;
|
1422 |
+
}
|
1423 |
+
|
1424 |
+
.wds_duplicate_slider {
|
1425 |
+
background-image:url('../images/sliderwdpng/duplicate_blue.png');
|
1426 |
+
background-repeat:no-repeat;
|
1427 |
+
background-color:#00A0D2;
|
1428 |
+
border-bottom: 3px solid #00546B !important;
|
1429 |
+
background-position: 10% 50%;
|
1430 |
+
}
|
1431 |
+
|
1432 |
+
.wds_delete_slider {
|
1433 |
+
background-image:url('../images/sliderwdpng/delete_slider.png');
|
1434 |
+
background-repeat:no-repeat;
|
1435 |
+
background-color:#D14130;
|
1436 |
+
border-bottom: 3px solid #AD2626 !important;
|
1437 |
+
background-position: 10% 50%;
|
1438 |
+
}
|
1439 |
+
.remove_callback {
|
1440 |
+
background-image: url('../images/sliderwdpng/delete.png');
|
1441 |
+
background-repeat: no-repeat;
|
1442 |
+
background-color: #D14130;
|
1443 |
+
border-bottom: 3px solid #AD2626 !important;
|
1444 |
+
background-position: 10% 50%;
|
1445 |
+
}
|
1446 |
+
.add_callback {
|
1447 |
+
background-image: url('../images/sliderwdpng/add.png');
|
1448 |
+
background-position: 50% 50%;
|
1449 |
+
color: white !important;
|
1450 |
+
background-repeat: no-repeat;
|
1451 |
+
background-color:#00A0D2;
|
1452 |
+
border-bottom: 3px solid #258AA6;
|
1453 |
+
vertical-align: top;
|
1454 |
+
}
|
1455 |
+
.wds_settings {
|
1456 |
+
background-image:url('../images/sliderwdpng/settings_grey.png');
|
1457 |
+
background-repeat:no-repeat;
|
1458 |
+
background-position: 15% 50%;
|
1459 |
+
background-repeat: no-repeat;
|
1460 |
+
height: 36px;
|
1461 |
+
padding-top: 2px;
|
1462 |
+
font-size: 13px;
|
1463 |
+
width: 100%
|
1464 |
+
}
|
1465 |
+
|
1466 |
+
.wds_slides {
|
1467 |
+
background-image:url('../images/sliderwdpng/slider_grey.png');
|
1468 |
+
background-repeat:no-repeat;
|
1469 |
+
background-position: 15% 50%;
|
1470 |
+
background-repeat: no-repeat;
|
1471 |
+
height: 36px;
|
1472 |
+
padding-top: 2px;
|
1473 |
+
font-size: 13px;
|
1474 |
+
width: 100%
|
1475 |
+
}
|
1476 |
+
|
1477 |
+
.wds_save_slider {
|
1478 |
+
background-image:url('../images/sliderwdpng/save.png');
|
1479 |
+
background-repeat:no-repeat;
|
1480 |
+
background-position: 15% 50%
|
1481 |
+
}
|
1482 |
+
|
1483 |
+
.wds_aplly_slider {
|
1484 |
+
background-image:url('../images/sliderwdpng/apply.png');
|
1485 |
+
background-repeat:no-repeat;
|
1486 |
+
background-position: 15% 50%
|
1487 |
+
}
|
1488 |
+
|
1489 |
+
.wds_dublicate_slide {
|
1490 |
+
background-image:url('../images/sliderwdpng/save_copy.png');
|
1491 |
+
background-repeat:no-repeat;
|
1492 |
+
background-position: 15% 50%
|
1493 |
+
}
|
1494 |
+
|
1495 |
+
#wds_preview{
|
1496 |
+
background-color:#00A2D0;
|
1497 |
+
line-height: 30px;
|
1498 |
+
height: 30px;
|
1499 |
+
border-bottom: 3px solid #258AA6;
|
1500 |
+
background-image:url('../images/sliderwdpng/preview1.png');
|
1501 |
+
background-repeat:no-repeat;
|
1502 |
+
background-position: 15% 50%
|
1503 |
+
}
|
1504 |
+
|
1505 |
+
.wds_export_one {
|
1506 |
+
background-image:url('../images/sliderwdpng/export.png');
|
1507 |
+
background-repeat:no-repeat;
|
1508 |
+
background-position: 15% 50%
|
1509 |
+
}
|
1510 |
+
|
1511 |
+
.wds_cancel {
|
1512 |
+
background-image:url('../images/sliderwdpng/cancel.png');
|
1513 |
+
background-repeat:no-repeat;
|
1514 |
+
background-position: 15% 50%
|
1515 |
+
}
|
1516 |
+
|
1517 |
+
.wds_external_link {
|
1518 |
+
border:0;
|
1519 |
+
box-shadow:none;
|
1520 |
+
margin-right:12px
|
1521 |
+
}
|
1522 |
+
|
1523 |
+
.layer_table_left {
|
1524 |
+
width: 60% !important;
|
1525 |
+
}
|
1526 |
+
|
1527 |
+
.layer_table_right {
|
1528 |
+
width: 39% !important;
|
1529 |
+
}
|
1530 |
+
|
1531 |
+
.selected_color {
|
1532 |
+
color:#00A2D0 !important;
|
1533 |
+
}
|
1534 |
+
|
1535 |
+
.slider_delete {
|
1536 |
+
float:left
|
1537 |
+
}
|
1538 |
+
|
1539 |
+
.slider_duplicate {
|
1540 |
+
float:left
|
1541 |
+
}
|
1542 |
+
|
1543 |
+
.slider_edit {
|
1544 |
+
float:left
|
1545 |
+
}
|
1546 |
+
|
1547 |
+
.reset_settings {
|
1548 |
+
background-image: url('../images/sliderwdpng/reset.png');
|
1549 |
+
background-position-y: 22%;
|
1550 |
+
color: #FFFFFF !important;
|
1551 |
+
background-repeat: no-repeat;
|
1552 |
+
background-color: #00A0D2;
|
1553 |
+
padding: 0 7px 1px 38px;
|
1554 |
+
margin: 0;
|
1555 |
+
display: inline-block;
|
1556 |
+
text-decoration: none;
|
1557 |
+
font-size: 13px;
|
1558 |
+
line-height: 30px;
|
1559 |
+
height: 30px;
|
1560 |
+
cursor: pointer;
|
1561 |
+
border: 0;
|
1562 |
+
border-bottom: 3px solid #258AA6;
|
1563 |
+
-webkit-appearance: none;
|
1564 |
+
white-space: nowrap;
|
1565 |
+
-webkit-box-sizing: border-box;
|
1566 |
+
-moz-box-sizing: border-box;
|
1567 |
+
box-sizing: border-box;
|
1568 |
+
background-position: 5% 50%;
|
1569 |
+
}
|
1570 |
+
|
1571 |
+
.wds_slide_radio_left {
|
1572 |
+
width: 34% !important;
|
1573 |
+
float: left;
|
1574 |
+
}
|
1575 |
+
|
1576 |
+
.wds_slide_radio_right {
|
1577 |
+
width: 66% !important;
|
1578 |
+
float: right;
|
1579 |
+
}
|
1580 |
+
|
1581 |
+
.wds_layer_head_tr {
|
1582 |
+
background-color: #e1e1e1;
|
1583 |
+
border: 1px solid #cccccc;
|
1584 |
+
}
|
1585 |
+
|
1586 |
+
.ui-tooltip {
|
1587 |
+
background-color: rgba(255,255,255,1);
|
1588 |
+
border-radius: 3px;
|
1589 |
+
box-shadow: 0 0 7px black;
|
1590 |
+
line-height: 15px;
|
1591 |
+
}
|
1592 |
+
|
1593 |
+
.titles {
|
1594 |
+
padding-top:0 !important;
|
1595 |
+
}
|
1596 |
+
|
1597 |
+
.wds_tab_label {
|
1598 |
+
text-align:center
|
1599 |
+
}
|
1600 |
+
|
1601 |
+
.callbeck-textarea {
|
1602 |
+
width: 400px;
|
1603 |
+
margin: 10px 0;
|
1604 |
+
resize: vertical;
|
1605 |
+
}
|
1606 |
+
|
1607 |
+
.callbeck-item {
|
1608 |
+
margin: 20px 0;
|
1609 |
+
max-width: 400px;
|
1610 |
+
}
|
1611 |
|
1612 |
@media screen and (max-width: 782px){
|
1613 |
body {
|
1614 |
overflow-x: initial !important;
|
1615 |
+
min-width: inherit;
|
1616 |
}
|
1617 |
+
#wpwrap {
|
1618 |
overflow-x: hidden !important;
|
1619 |
}
|
1620 |
}
|
1621 |
|
1622 |
+
@media screen and (max-width: 475px) and (min-width: 320px) {
|
1623 |
+
.wds_subtab_wrap {
|
1624 |
width: 47.2% !important;
|
1625 |
height: 155px !important;
|
1626 |
}
|
|
|
1627 |
.wds_textarea {
|
1628 |
width: 107px !important;
|
1629 |
}
|
|
|
1630 |
.wds_link {
|
1631 |
width: 145px !important;
|
1632 |
}
|
|
|
1633 |
.select_icon_320 {
|
1634 |
width: 90% !important;
|
1635 |
}
|
1636 |
.action_buttons{
|
1637 |
+
font-size: 11px !important
|
1638 |
}
|
1639 |
+
.wds_button_wrap,
|
1640 |
+
.slide_add_buttons_wrap,
|
1641 |
+
.layer_add_buttons_wrap {
|
1642 |
+
width: 48.1% !important;
|
1643 |
}
|
|
|
|
|
1644 |
}
|
1645 |
|
|
|
1646 |
@media screen and (max-width: 400px) {
|
1647 |
.wds_button_wrap,
|
1648 |
.slide_add_buttons_wrap,
|
1652 |
.layer_table_left span, .layer_table_right span, .layer_table_left .wds_editor_btn {
|
1653 |
display:block !important;
|
1654 |
}
|
|
|
1655 |
.layer_table_left textarea, .layer_table_left .select_icon, .layer_table_right .select_icon{
|
1656 |
width:auto !important;
|
1657 |
}
|
1658 |
}
|
|
filemanager/UploadHandler.php
CHANGED
@@ -385,7 +385,7 @@ class UploadHandler {
|
|
385 |
// Free up memory (imagedestroy does not delete files):
|
386 |
@imagedestroy($src_img);
|
387 |
@imagedestroy($new_img);
|
388 |
-
ini_restore('memory_limit');
|
389 |
return $success;
|
390 |
}
|
391 |
|
@@ -559,7 +559,7 @@ class UploadHandler {
|
|
559 |
$success = imagejpeg($image, $file_path);
|
560 |
// Free up memory (imagedestroy does not delete files):
|
561 |
@imagedestroy($image);
|
562 |
-
ini_restore('memory_limit');
|
563 |
return $success;
|
564 |
}
|
565 |
|
385 |
// Free up memory (imagedestroy does not delete files):
|
386 |
@imagedestroy($src_img);
|
387 |
@imagedestroy($new_img);
|
388 |
+
@ini_restore('memory_limit');
|
389 |
return $success;
|
390 |
}
|
391 |
|
559 |
$success = imagejpeg($image, $file_path);
|
560 |
// Free up memory (imagedestroy does not delete files):
|
561 |
@imagedestroy($image);
|
562 |
+
@ini_restore('memory_limit');
|
563 |
return $success;
|
564 |
}
|
565 |
|
frontend/views/WDSViewSlider.php
CHANGED
@@ -34,7 +34,7 @@ class WDSViewSlider {
|
|
34 |
}
|
35 |
$resolutions = array(320, 480, 640, 768, 800, 1024, 1366, 1824, 3000);
|
36 |
$image_right_click = $slider_row->image_right_click;
|
37 |
-
|
38 |
$bull_hover = isset($slider_row->bull_hover) ? $slider_row->bull_hover : 1;
|
39 |
$bull_position = $slider_row->bull_position;
|
40 |
$bull_style_active = str_replace('-o', '', $slider_row->bull_style);
|
@@ -143,7 +143,7 @@ class WDSViewSlider {
|
|
143 |
|
144 |
$current_image_url = '';
|
145 |
?>
|
146 |
-
<style
|
147 |
.wds_bigplay_<?php echo $wds; ?>,
|
148 |
.wds_slideshow_image_<?php echo $wds; ?>,
|
149 |
.wds_slideshow_video_<?php echo $wds; ?> {
|
@@ -708,7 +708,7 @@ class WDSViewSlider {
|
|
708 |
wds_data_<?php echo $wds; ?>["<?php echo $key; ?>"]["id"] = "<?php echo $slide_row->id; ?>";
|
709 |
wds_data_<?php echo $wds; ?>["<?php echo $key; ?>"]["image_url"] = "<?php echo addslashes(htmlspecialchars_decode($slide_row->image_url, ENT_QUOTES)); ?>";
|
710 |
wds_data_<?php echo $wds; ?>["<?php echo $key; ?>"]["thumb_url"] = "<?php echo addslashes(htmlspecialchars_decode($slide_row->thumb_url, ENT_QUOTES)); ?>";
|
711 |
-
wds_data_<?php echo $wds; ?>["<?php echo $key; ?>"]["is_video"] = "<?php echo $slide_row->type ?>";
|
712 |
wds_data_<?php echo $wds; ?>["<?php echo $key; ?>"]["slide_layers_count"] = 0;
|
713 |
wds_data_<?php echo $wds; ?>["<?php echo $key; ?>"]["bg_fit"] = "<?php echo $slider_row->bg_fit; ?>";
|
714 |
wds_data_<?php echo $wds; ?>["<?php echo $key; ?>"]["bull_position"] = "<?php echo $bull_position; ?>";
|
@@ -1279,6 +1279,7 @@ class WDSViewSlider {
|
|
1279 |
wds_change_image_<?php echo $wds; ?>(key[0], key[1], wds_data_<?php echo $wds; ?>, true);
|
1280 |
}
|
1281 |
}
|
|
|
1282 |
}
|
1283 |
}
|
1284 |
function wds_none_<?php echo $wds; ?>(current_image_class, next_image_class, direction) {
|
@@ -1308,6 +1309,7 @@ class WDSViewSlider {
|
|
1308 |
jQuery(current_image_class).fadeTo(wds_transition_duration_<?php echo $wds; ?>, 0);
|
1309 |
jQuery(next_image_class).fadeTo(wds_transition_duration_<?php echo $wds; ?>, 1);
|
1310 |
}
|
|
|
1311 |
}
|
1312 |
function wds_sliceH_<?php echo $wds; ?>(current_image_class, next_image_class, direction) {
|
1313 |
if (direction == 'right') {
|
@@ -1556,6 +1558,7 @@ class WDSViewSlider {
|
|
1556 |
}
|
1557 |
}, wds_duration_for_change_<?php echo $wds; ?>);
|
1558 |
}
|
|
|
1559 |
}
|
1560 |
function wds_resize_slider_<?php echo $wds; ?>() {
|
1561 |
var slide_orig_width = <?php echo $image_width; ?>;
|
@@ -1656,6 +1659,7 @@ class WDSViewSlider {
|
|
1656 |
}
|
1657 |
jQuery(window).resize(function () {
|
1658 |
wds_resize_slider_<?php echo $wds; ?>();
|
|
|
1659 |
});
|
1660 |
function wds_full_width_<?php echo $wds; ?>() {
|
1661 |
var left = jQuery("#wds_container1_<?php echo $wds; ?>").offset().left;
|
@@ -1678,6 +1682,7 @@ class WDSViewSlider {
|
|
1678 |
}
|
1679 |
function wds_ready_<?php echo $wds; ?>() {
|
1680 |
<?php
|
|
|
1681 |
if ($enable_slideshow_autoplay && $slider_row->stop_animation) {
|
1682 |
?>
|
1683 |
jQuery("#wds_container1_<?php echo $wds; ?>").mouseover(function(e) {
|
@@ -1766,6 +1771,7 @@ class WDSViewSlider {
|
|
1766 |
if (jQuery.isFunction(jQuery().swiperight)) {
|
1767 |
jQuery('#wds_container1_<?php echo $wds; ?>').swiperight(function () {
|
1768 |
wds_change_image_<?php echo $wds; ?>(parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()), (parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()) - iterator_<?php echo $wds; ?>()) >= 0 ? (parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()) - iterator_<?php echo $wds; ?>()) % wds_data_<?php echo $wds; ?>.length : wds_data_<?php echo $wds; ?>.length - 1, wds_data_<?php echo $wds; ?>);
|
|
|
1769 |
return false;
|
1770 |
});
|
1771 |
}
|
@@ -1774,6 +1780,7 @@ class WDSViewSlider {
|
|
1774 |
if (jQuery.isFunction(jQuery().swipeleft)) {
|
1775 |
jQuery('#wds_container1_<?php echo $wds; ?>').swipeleft(function () {
|
1776 |
wds_change_image_<?php echo $wds; ?>(parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()), (parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()) + iterator_<?php echo $wds; ?>()) % wds_data_<?php echo $wds; ?>.length, wds_data_<?php echo $wds; ?>);
|
|
|
1777 |
return false;
|
1778 |
});
|
1779 |
}
|
@@ -1940,6 +1947,17 @@ class WDSViewSlider {
|
|
1940 |
}, function () {
|
1941 |
jQuery(".wds_slideshow_filmstrip_left_<?php echo $wds; ?> i, .wds_slideshow_filmstrip_right_<?php echo $wds; ?> i").animate({opacity: 0, filter: "Alpha(opacity=0)"}, 700, "swing");
|
1942 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1943 |
}
|
1944 |
function wds_stop_animation_<?php echo $wds; ?>() {
|
1945 |
window.clearInterval(wds_playInterval_<?php echo $wds; ?>);
|
34 |
}
|
35 |
$resolutions = array(320, 480, 640, 768, 800, 1024, 1366, 1824, 3000);
|
36 |
$image_right_click = $slider_row->image_right_click;
|
37 |
+
$callback_items = isset($slider_row->javascript) ? json_decode(htmlspecialchars_decode($slider_row->javascript, ENT_COMPAT | ENT_QUOTES), TRUE) : array();
|
38 |
$bull_hover = isset($slider_row->bull_hover) ? $slider_row->bull_hover : 1;
|
39 |
$bull_position = $slider_row->bull_position;
|
40 |
$bull_style_active = str_replace('-o', '', $slider_row->bull_style);
|
143 |
|
144 |
$current_image_url = '';
|
145 |
?>
|
146 |
+
<style>
|
147 |
.wds_bigplay_<?php echo $wds; ?>,
|
148 |
.wds_slideshow_image_<?php echo $wds; ?>,
|
149 |
.wds_slideshow_video_<?php echo $wds; ?> {
|
708 |
wds_data_<?php echo $wds; ?>["<?php echo $key; ?>"]["id"] = "<?php echo $slide_row->id; ?>";
|
709 |
wds_data_<?php echo $wds; ?>["<?php echo $key; ?>"]["image_url"] = "<?php echo addslashes(htmlspecialchars_decode($slide_row->image_url, ENT_QUOTES)); ?>";
|
710 |
wds_data_<?php echo $wds; ?>["<?php echo $key; ?>"]["thumb_url"] = "<?php echo addslashes(htmlspecialchars_decode($slide_row->thumb_url, ENT_QUOTES)); ?>";
|
711 |
+
wds_data_<?php echo $wds; ?>["<?php echo $key; ?>"]["is_video"] = "<?php echo $slide_row->type; ?>";
|
712 |
wds_data_<?php echo $wds; ?>["<?php echo $key; ?>"]["slide_layers_count"] = 0;
|
713 |
wds_data_<?php echo $wds; ?>["<?php echo $key; ?>"]["bg_fit"] = "<?php echo $slider_row->bg_fit; ?>";
|
714 |
wds_data_<?php echo $wds; ?>["<?php echo $key; ?>"]["bull_position"] = "<?php echo $bull_position; ?>";
|
1279 |
wds_change_image_<?php echo $wds; ?>(key[0], key[1], wds_data_<?php echo $wds; ?>, true);
|
1280 |
}
|
1281 |
}
|
1282 |
+
<?php if(isset($callback_items["onSliderCE"])) echo $callback_items["onSliderCE"]; ?>
|
1283 |
}
|
1284 |
}
|
1285 |
function wds_none_<?php echo $wds; ?>(current_image_class, next_image_class, direction) {
|
1309 |
jQuery(current_image_class).fadeTo(wds_transition_duration_<?php echo $wds; ?>, 0);
|
1310 |
jQuery(next_image_class).fadeTo(wds_transition_duration_<?php echo $wds; ?>, 1);
|
1311 |
}
|
1312 |
+
<?php if(isset($callback_items["onSliderCE"])) echo $callback_items["onSliderCE"]; ?>
|
1313 |
}
|
1314 |
function wds_sliceH_<?php echo $wds; ?>(current_image_class, next_image_class, direction) {
|
1315 |
if (direction == 'right') {
|
1558 |
}
|
1559 |
}, wds_duration_for_change_<?php echo $wds; ?>);
|
1560 |
}
|
1561 |
+
<?php if(isset($callback_items["onSliderCS"])) echo $callback_items["onSliderCS"]; ?>
|
1562 |
}
|
1563 |
function wds_resize_slider_<?php echo $wds; ?>() {
|
1564 |
var slide_orig_width = <?php echo $image_width; ?>;
|
1659 |
}
|
1660 |
jQuery(window).resize(function () {
|
1661 |
wds_resize_slider_<?php echo $wds; ?>();
|
1662 |
+
<?php if(isset($callback_items["onSliderR"])) echo $callback_items["onSliderR"]; ?>
|
1663 |
});
|
1664 |
function wds_full_width_<?php echo $wds; ?>() {
|
1665 |
var left = jQuery("#wds_container1_<?php echo $wds; ?>").offset().left;
|
1682 |
}
|
1683 |
function wds_ready_<?php echo $wds; ?>() {
|
1684 |
<?php
|
1685 |
+
if(isset($callback_items["onSliderI"])) echo $callback_items["onSliderI"];
|
1686 |
if ($enable_slideshow_autoplay && $slider_row->stop_animation) {
|
1687 |
?>
|
1688 |
jQuery("#wds_container1_<?php echo $wds; ?>").mouseover(function(e) {
|
1771 |
if (jQuery.isFunction(jQuery().swiperight)) {
|
1772 |
jQuery('#wds_container1_<?php echo $wds; ?>').swiperight(function () {
|
1773 |
wds_change_image_<?php echo $wds; ?>(parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()), (parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()) - iterator_<?php echo $wds; ?>()) >= 0 ? (parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()) - iterator_<?php echo $wds; ?>()) % wds_data_<?php echo $wds; ?>.length : wds_data_<?php echo $wds; ?>.length - 1, wds_data_<?php echo $wds; ?>);
|
1774 |
+
<?php if(isset($callback_items["onSwipeS"])) echo $callback_items["onSwipeS"]; ?>
|
1775 |
return false;
|
1776 |
});
|
1777 |
}
|
1780 |
if (jQuery.isFunction(jQuery().swipeleft)) {
|
1781 |
jQuery('#wds_container1_<?php echo $wds; ?>').swipeleft(function () {
|
1782 |
wds_change_image_<?php echo $wds; ?>(parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()), (parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()) + iterator_<?php echo $wds; ?>()) % wds_data_<?php echo $wds; ?>.length, wds_data_<?php echo $wds; ?>);
|
1783 |
+
<?php if(isset($callback_items["onSwipeS"])) echo $callback_items["onSwipeS"]; ?>
|
1784 |
return false;
|
1785 |
});
|
1786 |
}
|
1947 |
}, function () {
|
1948 |
jQuery(".wds_slideshow_filmstrip_left_<?php echo $wds; ?> i, .wds_slideshow_filmstrip_right_<?php echo $wds; ?> i").animate({opacity: 0, filter: "Alpha(opacity=0)"}, 700, "swing");
|
1949 |
});
|
1950 |
+
jQuery("#wds_container1_<?php echo $wds; ?>").hover(function() {
|
1951 |
+
<?php if(isset($callback_items["onSliderHover"])) echo $callback_items["onSliderHover"]; ?>
|
1952 |
+
}, function () {
|
1953 |
+
<?php if(isset($callback_items["onSliderBlur"])) echo $callback_items["onSliderBlur"]; ?>
|
1954 |
+
});
|
1955 |
+
jQuery("#wds_slideshow_play_pause_<?php echo $wds; ?>").on("click", ".fa-play", function() {
|
1956 |
+
<?php if(isset($callback_items["onSliderPlay"])) echo $callback_items["onSliderPlay"]; ?>
|
1957 |
+
});
|
1958 |
+
jQuery("#wds_slideshow_play_pause_<?php echo $wds; ?>").on("click", ".fa-pause", function() {
|
1959 |
+
<?php if(isset($callback_items["onSliderPause"])) echo $callback_items["onSliderPause"]; ?>
|
1960 |
+
});
|
1961 |
}
|
1962 |
function wds_stop_animation_<?php echo $wds; ?>() {
|
1963 |
window.clearInterval(wds_playInterval_<?php echo $wds; ?>);
|
js/wds.js
CHANGED
@@ -128,6 +128,12 @@ function spider_ajax_save(form_id, event) {
|
|
128 |
post_data["crop_image_position"] = jQuery("input[name=crop_image_position]:checked").val();
|
129 |
/* Css.*/
|
130 |
post_data["css"] = jQuery("#css").val();
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
|
132 |
var wds_slide_ids = jQuery("#slide_ids_string").val();
|
133 |
var slide_ids_array = wds_slide_ids.split(",");
|
@@ -2803,4 +2809,24 @@ function wds_check_number() {
|
|
2803 |
alert('The thumbnail size must be between 0 to 1.');
|
2804 |
jQuery('#wds_thumb_size').val("");
|
2805 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2806 |
}
|
128 |
post_data["crop_image_position"] = jQuery("input[name=crop_image_position]:checked").val();
|
129 |
/* Css.*/
|
130 |
post_data["css"] = jQuery("#css").val();
|
131 |
+
/* Javascript */
|
132 |
+
var js_textarea_val = {};
|
133 |
+
jQuery(".callbeck-textarea").each(function(index,element){
|
134 |
+
js_textarea_val[jQuery(element).attr("name")] = jQuery(element).val();
|
135 |
+
});
|
136 |
+
post_data["javascript"] = JSON.stringify(js_textarea_val);
|
137 |
|
138 |
var wds_slide_ids = jQuery("#slide_ids_string").val();
|
139 |
var slide_ids_array = wds_slide_ids.split(",");
|
2809 |
alert('The thumbnail size must be between 0 to 1.');
|
2810 |
jQuery('#wds_thumb_size').val("");
|
2811 |
}
|
2812 |
+
}
|
2813 |
+
|
2814 |
+
function add_new_callback(par_tr, select) {
|
2815 |
+
var select_val = select.val(),
|
2816 |
+
selected = select.find("option[value=" + select_val + "]"),
|
2817 |
+
textarea_html = "";
|
2818 |
+
par_tr.next().find("td").append("<div class='callbeck-item'><span class='spider_label_options'>" + selected.text() + "</span><textarea class='callbeck-textarea' name='" + select_val + "'>" + textarea_html + "</textarea><button type='button' id='remove_callback' class='action_buttons remove_callback' onclick=\"remove_callback_item(this);\">Remove</button></div>");
|
2819 |
+
selected.hide().removeAttr("selected");
|
2820 |
+
|
2821 |
+
select.find("option").each(function() {
|
2822 |
+
if (jQuery(this).css("display") == "block") {
|
2823 |
+
jQuery(this).attr("selected", "selected");
|
2824 |
+
return false;
|
2825 |
+
}
|
2826 |
+
});
|
2827 |
+
}
|
2828 |
+
|
2829 |
+
function remove_callback_item(that) {
|
2830 |
+
jQuery(that).parent().remove();
|
2831 |
+
jQuery("#callback_list").find("option[value=" + jQuery(that).prev().attr("name") + "]").show();
|
2832 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-slider-plugin.html
|
|
4 |
Tags: best slider plugin, carousel, carousel slider, coin slider, content slider, content slideshow, custom video slider, flex slider, free video slider, free video slideshow, Horizontal slider, Image Rotator, image slider, image slideshow, javascript slider, javascript slideshow, jquery slider, jquery slideshow, Photo Slider, posts slider, responsive slider, responsive slideshow, sidebar, slide, slide show, slider, slider plugin, slider widget, slides, slideshow,slideshow manager, slideshow plugin, vertical slider, video slider, video slideshow,vimeo slideshow, vimeo slider, widget slider, widget slideshow, wordpress slider, wordpress slideshow, wp slider, youtube slider, youtube slideshow, post slider, fullscreen Slider, css3 slider, responsive image slider, banner slider, social slider, cycle slider, text slider, revolution slider, thumbnail slider, touch slider, sliders, parallax slider, 3D slider, coinslider, featured-content-slider, image, images, picture, pictures, picture slider, responsive, shortcode, widget, vertical slides, autoplay, auto, jquery, rotate, flexslider, gallery, photo gallery, javascript, rotator, wordpress picture slider, wordpress responsive slider, animation, best slider, fullwidth slider, mobile slider, swipe, layer, layer slider, product slider, mp3, video, embed media
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.4
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -159,6 +159,11 @@ After downloading the ZIP file of the slider plugin,
|
|
159 |
|
160 |
== Changelog ==
|
161 |
|
|
|
|
|
|
|
|
|
|
|
162 |
= 1.1.6 =
|
163 |
* Fixed: HTML validation.
|
164 |
|
4 |
Tags: best slider plugin, carousel, carousel slider, coin slider, content slider, content slideshow, custom video slider, flex slider, free video slider, free video slideshow, Horizontal slider, Image Rotator, image slider, image slideshow, javascript slider, javascript slideshow, jquery slider, jquery slideshow, Photo Slider, posts slider, responsive slider, responsive slideshow, sidebar, slide, slide show, slider, slider plugin, slider widget, slides, slideshow,slideshow manager, slideshow plugin, vertical slider, video slider, video slideshow,vimeo slideshow, vimeo slider, widget slider, widget slideshow, wordpress slider, wordpress slideshow, wp slider, youtube slider, youtube slideshow, post slider, fullscreen Slider, css3 slider, responsive image slider, banner slider, social slider, cycle slider, text slider, revolution slider, thumbnail slider, touch slider, sliders, parallax slider, 3D slider, coinslider, featured-content-slider, image, images, picture, pictures, picture slider, responsive, shortcode, widget, vertical slides, autoplay, auto, jquery, rotate, flexslider, gallery, photo gallery, javascript, rotator, wordpress picture slider, wordpress responsive slider, animation, best slider, fullwidth slider, mobile slider, swipe, layer, layer slider, product slider, mp3, video, embed media
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.4
|
7 |
+
Stable tag: 1.1.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
159 |
|
160 |
== Changelog ==
|
161 |
|
162 |
+
= 1.1.7 =
|
163 |
+
* Added: Slider callback.
|
164 |
+
* Fixed: Styles for Wordpress 4.4.
|
165 |
+
* Fixed: Slider on Firefox.
|
166 |
+
|
167 |
= 1.1.6 =
|
168 |
* Fixed: HTML validation.
|
169 |
|
slider-wd.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Slider WD
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-slider-plugin.html
|
6 |
* Description: This is a responsive plugin, which allows adding sliders to your posts/pages and to custom location. It uses large number of transition effects and supports various types of layers.
|
7 |
-
* Version: 1.1.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -410,6 +410,7 @@ function wds_activate() {
|
|
410 |
'fixed_bg' => 0,
|
411 |
'smart_crop' => 0,
|
412 |
'crop_image_position' => 'center center',
|
|
|
413 |
)
|
414 |
);
|
415 |
}
|
@@ -423,7 +424,7 @@ register_activation_hook(__FILE__, 'wds_activate');
|
|
423 |
|
424 |
function wds_install() {
|
425 |
$version = get_option("wds_version");
|
426 |
-
$new_version = '1.1.
|
427 |
if ($version && version_compare($version, $new_version, '<')) {
|
428 |
require_once WD_S_DIR . "/sliders-update.php";
|
429 |
wds_update($version);
|
4 |
* Plugin Name: Slider WD
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-slider-plugin.html
|
6 |
* Description: This is a responsive plugin, which allows adding sliders to your posts/pages and to custom location. It uses large number of transition effects and supports various types of layers.
|
7 |
+
* Version: 1.1.7
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
410 |
'fixed_bg' => 0,
|
411 |
'smart_crop' => 0,
|
412 |
'crop_image_position' => 'center center',
|
413 |
+
'javascript' => '',
|
414 |
)
|
415 |
);
|
416 |
}
|
424 |
|
425 |
function wds_install() {
|
426 |
$version = get_option("wds_version");
|
427 |
+
$new_version = '1.1.7';
|
428 |
if ($version && version_compare($version, $new_version, '<')) {
|
429 |
require_once WD_S_DIR . "/sliders-update.php";
|
430 |
wds_update($version);
|
sliders-insert.php
CHANGED
@@ -105,6 +105,7 @@ function wds_insert() {
|
|
105 |
`fixed_bg` tinyint(1) NOT NULL,
|
106 |
`smart_crop` tinyint(1) NOT NULL,
|
107 |
`crop_image_position` varchar(16) NOT NULL,
|
|
|
108 |
PRIMARY KEY (`id`)
|
109 |
) DEFAULT CHARSET=utf8;";
|
110 |
$wpdb->query($wdsslider);
|
105 |
`fixed_bg` tinyint(1) NOT NULL,
|
106 |
`smart_crop` tinyint(1) NOT NULL,
|
107 |
`crop_image_position` varchar(16) NOT NULL,
|
108 |
+
`javascript` text NOT NULL,
|
109 |
PRIMARY KEY (`id`)
|
110 |
) DEFAULT CHARSET=utf8;";
|
111 |
$wpdb->query($wdsslider);
|
sliders-update.php
CHANGED
@@ -101,6 +101,9 @@ function wds_update($version) {
|
|
101 |
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdsslider` ADD `smart_crop` tinyint(1) NOT NULL DEFAULT 0");
|
102 |
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdsslider` ADD `crop_image_position` varchar(16) NOT NULL DEFAULT 'center center'");
|
103 |
}
|
|
|
|
|
|
|
104 |
return;
|
105 |
}
|
106 |
|
101 |
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdsslider` ADD `smart_crop` tinyint(1) NOT NULL DEFAULT 0");
|
102 |
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdsslider` ADD `crop_image_position` varchar(16) NOT NULL DEFAULT 'center center'");
|
103 |
}
|
104 |
+
if (version_compare($version, '1.1.7') == -1) {
|
105 |
+
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdsslider` ADD `javascript` text NOT NULL DEFAULT ''");
|
106 |
+
}
|
107 |
return;
|
108 |
}
|
109 |
|