Version Description
Fixed: Conflict with some themes.
Download this release
Release Info
Developer | webdorado |
Plugin | Slider by WD – Responsive Slider |
Version | 1.0.18 |
Comparing to | |
See all releases |
Code changes from version 1.0.17 to 1.0.18
- frontend/views/WDSViewSlider.php +185 -148
- readme.txt +6 -2
- slider-wd.php +2 -2
frontend/views/WDSViewSlider.php
CHANGED
@@ -863,7 +863,9 @@ class WDSViewSlider {
|
|
863 |
onclick="<?php echo $layer->link ? 'window.open(\'' . $layer->link . '\', \'' . ($layer->target_attr_layer ? '_blank' : '_self') . '\');' : ''; ?>event.stopPropagation();"
|
864 |
wds_scale="<?php echo $layer->image_scale; ?>"
|
865 |
wds_image_width="<?php echo $layer->image_width; ?>"
|
866 |
-
wds_image_height="<?php echo $layer->image_height; ?>"
|
|
|
|
|
867 |
<?php
|
868 |
break;
|
869 |
}
|
@@ -960,7 +962,12 @@ class WDSViewSlider {
|
|
960 |
|
961 |
<script>
|
962 |
var wds_trans_in_progress_<?php echo $wds; ?> = false;
|
963 |
-
var wds_transition_duration_<?php echo $wds; ?> = <?php echo
|
|
|
|
|
|
|
|
|
|
|
964 |
var wds_playInterval_<?php echo $wds; ?>;
|
965 |
var progress = 0;
|
966 |
var bottom_right_deggree_<?php echo $wds; ?>;
|
@@ -973,64 +980,72 @@ class WDSViewSlider {
|
|
973 |
duration: <?php echo $slideshow_interval * 1000; ?>,
|
974 |
step: function(now) {
|
975 |
curent_time_deggree_<?php echo $wds; ?> = now;
|
976 |
-
if (now >= 0
|
977 |
-
|
978 |
-
|
979 |
-
|
980 |
-
|
981 |
-
|
982 |
-
|
|
|
983 |
|
984 |
-
|
985 |
-
|
986 |
-
|
987 |
-
|
988 |
-
|
|
|
989 |
}
|
990 |
-
if (now >= 90
|
991 |
-
|
992 |
-
|
993 |
-
|
994 |
-
|
995 |
-
|
996 |
-
|
997 |
-
|
|
|
998 |
|
999 |
-
|
1000 |
-
|
1001 |
-
|
1002 |
-
|
1003 |
-
|
|
|
1004 |
}
|
1005 |
-
if (now >= 180
|
1006 |
-
|
1007 |
-
|
1008 |
-
|
1009 |
-
|
1010 |
-
|
1011 |
-
|
1012 |
-
|
|
|
1013 |
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
|
|
1019 |
}
|
1020 |
-
if (now >= 270
|
1021 |
-
|
1022 |
-
|
1023 |
-
|
1024 |
-
|
1025 |
-
|
1026 |
-
|
1027 |
-
|
|
|
1028 |
|
1029 |
-
|
1030 |
-
|
1031 |
-
|
1032 |
-
|
1033 |
-
|
|
|
1034 |
}
|
1035 |
}
|
1036 |
});
|
@@ -1392,75 +1407,77 @@ class WDSViewSlider {
|
|
1392 |
}
|
1393 |
jQuery(".wds_line_timer_<?php echo $wds; ?>").css({width: 0});
|
1394 |
wds_<?php echo $slideshow_effect; ?>_<?php echo $wds; ?>(current_image_class, next_image_class, direction);
|
1395 |
-
if (
|
1396 |
-
if(
|
1397 |
-
if (
|
1398 |
-
jQuery(".
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
|
1406 |
-
else if ('<?php echo $slider_row->timer_bar_type; ?>' != 'none') {
|
1407 |
-
if (typeof circle_timer_animate_<?php echo $wds; ?> !== 'undefined') {
|
1408 |
-
circle_timer_animate_<?php echo $wds; ?>.stop();
|
1409 |
}
|
1410 |
-
|
1411 |
-
'
|
1412 |
-
|
1413 |
-
|
1414 |
-
'
|
1415 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1416 |
|
1417 |
-
|
1418 |
-
|
1419 |
-
|
1420 |
-
|
1421 |
-
|
1422 |
-
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
|
1427 |
-
|
1428 |
-
|
1429 |
-
|
1430 |
-
|
1431 |
-
|
1432 |
-
|
1433 |
-
|
1434 |
-
|
1435 |
-
|
1436 |
-
|
1437 |
-
|
1438 |
-
|
1439 |
-
|
1440 |
-
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
|
1447 |
-
|
1448 |
-
|
1449 |
-
|
1450 |
-
|
1451 |
-
|
1452 |
-
|
1453 |
-
'-webkit-transform-origin': 'right bottom',
|
1454 |
-
'-ms-transform-origin': 'right bottom',
|
1455 |
-
'-moz-transform-origin': 'right bottom',
|
1456 |
-
'transform-origin': 'right bottom'
|
1457 |
-
});
|
1458 |
-
if (!jQuery(".wds_ctrl_btn_<?php echo $wds; ?>").hasClass("fa-play")) {
|
1459 |
-
/* Begin circle timer on next.*/
|
1460 |
-
circle_timer_<?php echo $wds; ?>(0);
|
1461 |
-
}
|
1462 |
-
else {
|
1463 |
-
curent_time_deggree_<?php echo $wds; ?> = 0;
|
1464 |
}
|
1465 |
}
|
1466 |
}
|
@@ -1484,7 +1501,7 @@ class WDSViewSlider {
|
|
1484 |
var slide_orig_width = <?php echo $image_width; ?>;
|
1485 |
var slide_orig_height = <?php echo $image_height; ?>;
|
1486 |
var slide_width = jQuery("#wds_container1_<?php echo $wds; ?>").parent().width();
|
1487 |
-
if (
|
1488 |
slide_width = slide_orig_width;
|
1489 |
}
|
1490 |
var ratio = slide_width / slide_orig_width;
|
@@ -1678,11 +1695,15 @@ class WDSViewSlider {
|
|
1678 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("class", "wds_ctrl_btn_<?php echo $wds; ?> wds_slideshow_play_pause_<?php echo $wds; ?> fa fa-pause");
|
1679 |
|
1680 |
/* Finish current animation and begin the other.*/
|
1681 |
-
if (<?php echo $enable_slideshow_autoplay; ?>
|
1682 |
-
if (
|
1683 |
-
|
|
|
|
|
|
|
|
|
|
|
1684 |
}
|
1685 |
-
circle_timer_<?php echo $wds; ?>(curent_time_deggree_<?php echo $wds; ?>);
|
1686 |
}
|
1687 |
play_<?php echo $wds; ?>();
|
1688 |
if (<?php echo $enable_slideshow_music ?>) {
|
@@ -1734,8 +1755,12 @@ class WDSViewSlider {
|
|
1734 |
if (<?php echo $enable_slideshow_music ?>) {
|
1735 |
document.getElementById("wds_audio_<?php echo $wds; ?>").play();
|
1736 |
}
|
1737 |
-
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'none'
|
1738 |
-
|
|
|
|
|
|
|
|
|
1739 |
}
|
1740 |
}
|
1741 |
<?php if ($slider_row->preload_images) { ?>
|
@@ -1788,11 +1813,15 @@ class WDSViewSlider {
|
|
1788 |
return;
|
1789 |
}
|
1790 |
play_<?php echo $wds; ?>();
|
1791 |
-
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'none'
|
1792 |
-
if (
|
1793 |
-
|
|
|
|
|
|
|
|
|
|
|
1794 |
}
|
1795 |
-
circle_timer_<?php echo $wds; ?>(curent_time_deggree_<?php echo $wds; ?>);
|
1796 |
}
|
1797 |
if (<?php echo $enable_slideshow_music ?>) {
|
1798 |
document.getElementById("wds_audio_<?php echo $wds; ?>").play();
|
@@ -1810,11 +1839,13 @@ class WDSViewSlider {
|
|
1810 |
jQuery('#wds_<?php echo $wds; ?>_slide' + wds_data_<?php echo $wds; ?>[key]["id"] + '_layer' + wds_data_<?php echo $wds; ?>[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_<?php echo $wds; ?>[key]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_<?php echo $wds; ?>[key]["layer_" + j + "_social_button"] + ' animated');
|
1811 |
}
|
1812 |
/* Play video on layer in.*/
|
1813 |
-
if (
|
1814 |
-
|
1815 |
-
jQuery(
|
1816 |
-
|
1817 |
-
|
|
|
|
|
1818 |
}
|
1819 |
}, wds_data_<?php echo $wds; ?>[key]["layer_" + j + "_start"]);
|
1820 |
}
|
@@ -1834,13 +1865,15 @@ class WDSViewSlider {
|
|
1834 |
}, wds_data_<?php echo $wds; ?>[key]["layer_" + i + "_end"]);
|
1835 |
}
|
1836 |
function play_<?php echo $wds; ?>() {
|
1837 |
-
if (
|
1838 |
-
jQuery(
|
1839 |
-
|
1840 |
-
|
1841 |
-
|
1842 |
-
|
1843 |
-
|
|
|
|
|
1844 |
}
|
1845 |
window.clearInterval(wds_playInterval_<?php echo $wds; ?>);
|
1846 |
/* Play.*/
|
@@ -1856,11 +1889,15 @@ class WDSViewSlider {
|
|
1856 |
if (!jQuery(".wds_ctrl_btn_<?php echo $wds; ?>").hasClass("fa-play")) {
|
1857 |
if (<?php echo $enable_slideshow_autoplay; ?>) {
|
1858 |
play_<?php echo $wds; ?>();
|
1859 |
-
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'none'
|
1860 |
-
if (
|
1861 |
-
|
|
|
|
|
|
|
|
|
|
|
1862 |
}
|
1863 |
-
circle_timer_<?php echo $wds; ?>(curent_time_deggree_<?php echo $wds; ?>);
|
1864 |
}
|
1865 |
}
|
1866 |
}
|
@@ -1895,7 +1932,7 @@ class WDSViewSlider {
|
|
1895 |
die();
|
1896 |
}
|
1897 |
}
|
1898 |
-
|
1899 |
////////////////////////////////////////////////////////////////////////////////////////
|
1900 |
// Getters & Setters //
|
1901 |
////////////////////////////////////////////////////////////////////////////////////////
|
863 |
onclick="<?php echo $layer->link ? 'window.open(\'' . $layer->link . '\', \'' . ($layer->target_attr_layer ? '_blank' : '_self') . '\');' : ''; ?>event.stopPropagation();"
|
864 |
wds_scale="<?php echo $layer->image_scale; ?>"
|
865 |
wds_image_width="<?php echo $layer->image_width; ?>"
|
866 |
+
wds_image_height="<?php echo $layer->image_height; ?>"
|
867 |
+
alt="<?php echo $layer->alt; ?>"
|
868 |
+
title="<?php echo $layer->alt; ?>" />
|
869 |
<?php
|
870 |
break;
|
871 |
}
|
962 |
|
963 |
<script>
|
964 |
var wds_trans_in_progress_<?php echo $wds; ?> = false;
|
965 |
+
var wds_transition_duration_<?php echo $wds; ?> = <?php echo $slider_row->effect_duration; ?>;
|
966 |
+
if (<?php echo $slideshow_interval; ?> < 4) {
|
967 |
+
if (<?php echo $slideshow_interval; ?> != 0) {
|
968 |
+
wds_transition_duration_<?php echo $wds; ?> = (<?php echo $slideshow_interval; ?> * 1000) / 4;
|
969 |
+
}
|
970 |
+
}
|
971 |
var wds_playInterval_<?php echo $wds; ?>;
|
972 |
var progress = 0;
|
973 |
var bottom_right_deggree_<?php echo $wds; ?>;
|
980 |
duration: <?php echo $slideshow_interval * 1000; ?>,
|
981 |
step: function(now) {
|
982 |
curent_time_deggree_<?php echo $wds; ?> = now;
|
983 |
+
if (now >= 0) {
|
984 |
+
if (now < 271) {
|
985 |
+
jQuery('#top_right_<?php echo $wds; ?>').css({
|
986 |
+
'-moz-transform':'rotate('+now+'deg)',
|
987 |
+
'-webkit-transform':'rotate('+now+'deg)',
|
988 |
+
'-o-transform':'rotate('+now+'deg)',
|
989 |
+
'-ms-transform':'rotate('+now+'deg)',
|
990 |
+
'transform':'rotate('+now+'deg)',
|
991 |
|
992 |
+
'-webkit-transform-origin': 'left bottom',
|
993 |
+
'-ms-transform-origin': 'left bottom',
|
994 |
+
'-moz-transform-origin': 'left bottom',
|
995 |
+
'transform-origin': 'left bottom'
|
996 |
+
});
|
997 |
+
}
|
998 |
}
|
999 |
+
if (now >= 90) {
|
1000 |
+
if (now < 271) {
|
1001 |
+
bottom_right_deggree_<?php echo $wds; ?> = now - 90;
|
1002 |
+
jQuery('#bottom_right_<?php echo $wds; ?>').css({
|
1003 |
+
'-moz-transform':'rotate('+bottom_right_deggree_<?php echo $wds; ?> +'deg)',
|
1004 |
+
'-webkit-transform':'rotate('+bottom_right_deggree_<?php echo $wds; ?> +'deg)',
|
1005 |
+
'-o-transform':'rotate('+bottom_right_deggree_<?php echo $wds; ?> +'deg)',
|
1006 |
+
'-ms-transform':'rotate('+bottom_right_deggree_<?php echo $wds; ?> +'deg)',
|
1007 |
+
'transform':'rotate('+bottom_right_deggree_<?php echo $wds; ?> +'deg)',
|
1008 |
|
1009 |
+
'-webkit-transform-origin': 'left top',
|
1010 |
+
'-ms-transform-origin': 'left top',
|
1011 |
+
'-moz-transform-origin': 'left top',
|
1012 |
+
'transform-origin': 'left top'
|
1013 |
+
});
|
1014 |
+
}
|
1015 |
}
|
1016 |
+
if (now >= 180) {
|
1017 |
+
if (now < 361) {
|
1018 |
+
bottom_left_deggree_<?php echo $wds; ?> = now - 180;
|
1019 |
+
jQuery('#bottom_left_<?php echo $wds; ?>').css({
|
1020 |
+
'-moz-transform':'rotate('+bottom_left_deggree_<?php echo $wds; ?> +'deg)',
|
1021 |
+
'-webkit-transform':'rotate('+bottom_left_deggree_<?php echo $wds; ?> +'deg)',
|
1022 |
+
'-o-transform':'rotate('+bottom_left_deggree_<?php echo $wds; ?> +'deg)',
|
1023 |
+
'-ms-transform':'rotate('+bottom_left_deggree_<?php echo $wds; ?> +'deg)',
|
1024 |
+
'transform':'rotate('+bottom_left_deggree_<?php echo $wds; ?> +'deg)',
|
1025 |
|
1026 |
+
'-webkit-transform-origin': 'right top',
|
1027 |
+
'-ms-transform-origin': 'right top',
|
1028 |
+
'-moz-transform-origin': 'right top',
|
1029 |
+
'transform-origin': 'right top'
|
1030 |
+
});
|
1031 |
+
}
|
1032 |
}
|
1033 |
+
if (now >= 270) {
|
1034 |
+
if (now < 361) {
|
1035 |
+
top_left_deggree_<?php echo $wds; ?> = now - 270;
|
1036 |
+
jQuery('#top_left_<?php echo $wds; ?>').css({
|
1037 |
+
'-moz-transform':'rotate('+top_left_deggree_<?php echo $wds; ?> +'deg)',
|
1038 |
+
'-webkit-transform':'rotate('+top_left_deggree_<?php echo $wds; ?> +'deg)',
|
1039 |
+
'-o-transform':'rotate('+top_left_deggree_<?php echo $wds; ?> +'deg)',
|
1040 |
+
'-ms-transform':'rotate('+top_left_deggree_<?php echo $wds; ?> +'deg)',
|
1041 |
+
'transform':'rotate('+top_left_deggree_<?php echo $wds; ?> +'deg)',
|
1042 |
|
1043 |
+
'-webkit-transform-origin': 'right bottom',
|
1044 |
+
'-ms-transform-origin': 'right bottom',
|
1045 |
+
'-moz-transform-origin': 'right bottom',
|
1046 |
+
'transform-origin': 'right bottom'
|
1047 |
+
});
|
1048 |
+
}
|
1049 |
}
|
1050 |
}
|
1051 |
});
|
1407 |
}
|
1408 |
jQuery(".wds_line_timer_<?php echo $wds; ?>").css({width: 0});
|
1409 |
wds_<?php echo $slideshow_effect; ?>_<?php echo $wds; ?>(current_image_class, next_image_class, direction);
|
1410 |
+
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'none') {
|
1411 |
+
if (<?php echo $enable_slideshow_autoplay; ?> || jQuery('.wds_ctrl_btn_<?php echo $wds; ?>').hasClass('fa-pause')) {
|
1412 |
+
if ('<?php echo $slider_row->timer_bar_type; ?>' == 'top' || '<?php echo $slider_row->timer_bar_type; ?>' == 'bottom') {
|
1413 |
+
if (!jQuery(".wds_ctrl_btn_<?php echo $wds; ?>").hasClass("fa-play")) {
|
1414 |
+
jQuery(".wds_line_timer_<?php echo $wds; ?>").animate({
|
1415 |
+
width: "100%"
|
1416 |
+
}, {
|
1417 |
+
duration: <?php echo $slideshow_interval * 1000; ?>,
|
1418 |
+
specialEasing: {width: "linear"}
|
1419 |
+
});
|
1420 |
+
}
|
|
|
|
|
|
|
1421 |
}
|
1422 |
+
else if ('<?php echo $slider_row->timer_bar_type; ?>' != 'none') {
|
1423 |
+
if (typeof circle_timer_animate_<?php echo $wds; ?> !== 'undefined') {
|
1424 |
+
circle_timer_animate_<?php echo $wds; ?>.stop();
|
1425 |
+
}
|
1426 |
+
jQuery('#top_right_<?php echo $wds; ?>').css({
|
1427 |
+
'-moz-transform':'rotate(0deg)',
|
1428 |
+
'-webkit-transform':'rotate(0deg)',
|
1429 |
+
'-o-transform':'rotate(0deg)',
|
1430 |
+
'-ms-transform':'rotate(0deg)',
|
1431 |
+
'transform':'rotate(0deg)',
|
1432 |
+
|
1433 |
+
'-webkit-transform-origin': 'left bottom',
|
1434 |
+
'-ms-transform-origin': 'left bottom',
|
1435 |
+
'-moz-transform-origin': 'left bottom',
|
1436 |
+
'transform-origin': 'left bottom'
|
1437 |
+
});
|
1438 |
+
jQuery('#bottom_right_<?php echo $wds; ?>').css({
|
1439 |
+
'-moz-transform':'rotate(0deg)',
|
1440 |
+
'-webkit-transform':'rotate(0deg)',
|
1441 |
+
'-o-transform':'rotate(0deg)',
|
1442 |
+
'-ms-transform':'rotate(0deg)',
|
1443 |
+
'transform':'rotate(0deg)',
|
1444 |
|
1445 |
+
'-webkit-transform-origin': 'left top',
|
1446 |
+
'-ms-transform-origin': 'left top',
|
1447 |
+
'-moz-transform-origin': 'left top',
|
1448 |
+
'transform-origin': 'left top'
|
1449 |
+
});
|
1450 |
+
jQuery('#bottom_left_<?php echo $wds; ?>').css({
|
1451 |
+
'-moz-transform':'rotate(0deg)',
|
1452 |
+
'-webkit-transform':'rotate(0deg)',
|
1453 |
+
'-o-transform':'rotate(0deg)',
|
1454 |
+
'-ms-transform':'rotate(0deg)',
|
1455 |
+
'transform':'rotate(0deg)',
|
1456 |
+
|
1457 |
+
'-webkit-transform-origin': 'right top',
|
1458 |
+
'-ms-transform-origin': 'right top',
|
1459 |
+
'-moz-transform-origin': 'right top',
|
1460 |
+
'transform-origin': 'right top'
|
1461 |
+
});
|
1462 |
+
jQuery('#top_left_<?php echo $wds; ?>').css({
|
1463 |
+
'-moz-transform':'rotate(0deg)',
|
1464 |
+
'-webkit-transform':'rotate(0deg)',
|
1465 |
+
'-o-transform':'rotate(0deg)',
|
1466 |
+
'-ms-transform':'rotate(0deg)',
|
1467 |
+
'transform':'rotate(0deg)',
|
1468 |
+
|
1469 |
+
'-webkit-transform-origin': 'right bottom',
|
1470 |
+
'-ms-transform-origin': 'right bottom',
|
1471 |
+
'-moz-transform-origin': 'right bottom',
|
1472 |
+
'transform-origin': 'right bottom'
|
1473 |
+
});
|
1474 |
+
if (!jQuery(".wds_ctrl_btn_<?php echo $wds; ?>").hasClass("fa-play")) {
|
1475 |
+
/* Begin circle timer on next.*/
|
1476 |
+
circle_timer_<?php echo $wds; ?>(0);
|
1477 |
+
}
|
1478 |
+
else {
|
1479 |
+
curent_time_deggree_<?php echo $wds; ?> = 0;
|
1480 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1481 |
}
|
1482 |
}
|
1483 |
}
|
1501 |
var slide_orig_width = <?php echo $image_width; ?>;
|
1502 |
var slide_orig_height = <?php echo $image_height; ?>;
|
1503 |
var slide_width = jQuery("#wds_container1_<?php echo $wds; ?>").parent().width();
|
1504 |
+
if (slide_width > slide_orig_width) {
|
1505 |
slide_width = slide_orig_width;
|
1506 |
}
|
1507 |
var ratio = slide_width / slide_orig_width;
|
1695 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("class", "wds_ctrl_btn_<?php echo $wds; ?> wds_slideshow_play_pause_<?php echo $wds; ?> fa fa-pause");
|
1696 |
|
1697 |
/* Finish current animation and begin the other.*/
|
1698 |
+
if (<?php echo $enable_slideshow_autoplay; ?>) {
|
1699 |
+
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'top') {
|
1700 |
+
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'bottom') {
|
1701 |
+
if (typeof circle_timer_animate_<?php echo $wds; ?> !== 'undefined') {
|
1702 |
+
circle_timer_animate_<?php echo $wds; ?>.stop();
|
1703 |
+
}
|
1704 |
+
circle_timer_<?php echo $wds; ?>(curent_time_deggree_<?php echo $wds; ?>);
|
1705 |
+
}
|
1706 |
}
|
|
|
1707 |
}
|
1708 |
play_<?php echo $wds; ?>();
|
1709 |
if (<?php echo $enable_slideshow_music ?>) {
|
1755 |
if (<?php echo $enable_slideshow_music ?>) {
|
1756 |
document.getElementById("wds_audio_<?php echo $wds; ?>").play();
|
1757 |
}
|
1758 |
+
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'none') {
|
1759 |
+
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'top') {
|
1760 |
+
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'bottom') {
|
1761 |
+
circle_timer_<?php echo $wds; ?>(0);
|
1762 |
+
}
|
1763 |
+
}
|
1764 |
}
|
1765 |
}
|
1766 |
<?php if ($slider_row->preload_images) { ?>
|
1813 |
return;
|
1814 |
}
|
1815 |
play_<?php echo $wds; ?>();
|
1816 |
+
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'none') {
|
1817 |
+
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'bottom') {
|
1818 |
+
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'top') {
|
1819 |
+
if (typeof circle_timer_animate_<?php echo $wds; ?> !== 'undefined') {
|
1820 |
+
circle_timer_animate_<?php echo $wds; ?>.stop();
|
1821 |
+
}
|
1822 |
+
circle_timer_<?php echo $wds; ?>(curent_time_deggree_<?php echo $wds; ?>);
|
1823 |
+
}
|
1824 |
}
|
|
|
1825 |
}
|
1826 |
if (<?php echo $enable_slideshow_music ?>) {
|
1827 |
document.getElementById("wds_audio_<?php echo $wds; ?>").play();
|
1839 |
jQuery('#wds_<?php echo $wds; ?>_slide' + wds_data_<?php echo $wds; ?>[key]["id"] + '_layer' + wds_data_<?php echo $wds; ?>[key]["layer_" + j + "_id"]).removeClass().addClass( wds_data_<?php echo $wds; ?>[key]["layer_" + j + "_layer_effect_in"] + ' fa fa-' + wds_data_<?php echo $wds; ?>[key]["layer_" + j + "_social_button"] + ' animated');
|
1840 |
}
|
1841 |
/* Play video on layer in.*/
|
1842 |
+
if (wds_data_<?php echo $wds; ?>[key]["layer_" + j + "_type"] == "video") {
|
1843 |
+
if (wds_data_<?php echo $wds; ?>[key]["layer_" + j + "_video_autoplay"] == "on") {
|
1844 |
+
jQuery('#wds_<?php echo $wds; ?>_slide' + wds_data_<?php echo $wds; ?>[key]["id"] + '_layer' + wds_data_<?php echo $wds; ?>[key]["layer_" + j + "_id"]).find("iframe").each(function () {
|
1845 |
+
jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}', '*');
|
1846 |
+
jQuery(this)[0].contentWindow.postMessage('{ "method": "play" }', "*");
|
1847 |
+
});
|
1848 |
+
}
|
1849 |
}
|
1850 |
}, wds_data_<?php echo $wds; ?>[key]["layer_" + j + "_start"]);
|
1851 |
}
|
1865 |
}, wds_data_<?php echo $wds; ?>[key]["layer_" + i + "_end"]);
|
1866 |
}
|
1867 |
function play_<?php echo $wds; ?>() {
|
1868 |
+
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'none') {
|
1869 |
+
if (<?php echo $enable_slideshow_autoplay; ?> || jQuery('.wds_ctrl_btn_<?php echo $wds; ?>').hasClass('fa-pause')) {
|
1870 |
+
jQuery(".wds_line_timer_<?php echo $wds; ?>").animate({
|
1871 |
+
width: "100%"
|
1872 |
+
}, {
|
1873 |
+
duration: <?php echo $slideshow_interval * 1000; ?>,
|
1874 |
+
specialEasing: {width: "linear"}
|
1875 |
+
});
|
1876 |
+
}
|
1877 |
}
|
1878 |
window.clearInterval(wds_playInterval_<?php echo $wds; ?>);
|
1879 |
/* Play.*/
|
1889 |
if (!jQuery(".wds_ctrl_btn_<?php echo $wds; ?>").hasClass("fa-play")) {
|
1890 |
if (<?php echo $enable_slideshow_autoplay; ?>) {
|
1891 |
play_<?php echo $wds; ?>();
|
1892 |
+
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'none') {
|
1893 |
+
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'top') {
|
1894 |
+
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'bottom') {
|
1895 |
+
if (typeof circle_timer_animate_<?php echo $wds; ?> !== 'undefined') {
|
1896 |
+
circle_timer_animate_<?php echo $wds; ?>.stop();
|
1897 |
+
}
|
1898 |
+
circle_timer_<?php echo $wds; ?>(curent_time_deggree_<?php echo $wds; ?>);
|
1899 |
+
}
|
1900 |
}
|
|
|
1901 |
}
|
1902 |
}
|
1903 |
}
|
1932 |
die();
|
1933 |
}
|
1934 |
}
|
1935 |
+
|
1936 |
////////////////////////////////////////////////////////////////////////////////////////
|
1937 |
// Getters & Setters //
|
1938 |
////////////////////////////////////////////////////////////////////////////////////////
|
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
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.2
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -18,6 +18,7 @@ https://www.youtube.com/watch?v=xebpM_-GwG0&index=1&list=PLnxWPiY5tLFWQf5XaEYYPZ
|
|
18 |
[WordPress Slider Plugin](http://web-dorado.com/products/wordpress-slider-plugin.html)
|
19 |
[User Manual](http://web-dorado.com/wordpress-slider-wd-guide-step-1.html)
|
20 |
[Support Forum](http://web-dorado.com/forum/slider-plugin.html)
|
|
|
21 |
|
22 |
Slider WD is an effective tool for adding responsive sliders to your website. The slider plugin can be added both as a widget and plugin, as well as be included in the theme for displaying the slider within the theme using PHP function. Slider WD allows adding both images and videos (currently supporting YouTube and Vimeo to be displayed as slider slides). The numerous transition effects and layer support enhance the functionality of the product.
|
23 |
|
@@ -51,7 +52,7 @@ The number of the slides for each slider is not limited. Various layers can be a
|
|
51 |
Upgrade to [WordPress Slider Pro](http://web-dorado.com/products/wordpress-slider-plugin.html) to add features:
|
52 |
* 26 transition effects for Slider
|
53 |
* 38 layer effects
|
54 |
-
* 3 types of Layers (text, image, social sharing)
|
55 |
* Share feature for sliders (Google+, Tumblr, Twitter, Pinterest and Facebook)
|
56 |
* Slider Filmstrip possibility
|
57 |
* Navigation button/bullet styles
|
@@ -138,6 +139,9 @@ After downloading the ZIP file of the slider plugin,
|
|
138 |
|
139 |
== Changelog ==
|
140 |
|
|
|
|
|
|
|
141 |
= 1.0.17 =
|
142 |
New: Slider Export/Import.
|
143 |
Fixed: Delete slides whitout layers on slider delete.
|
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
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.2
|
7 |
+
Stable tag: 1.0.18
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
18 |
[WordPress Slider Plugin](http://web-dorado.com/products/wordpress-slider-plugin.html)
|
19 |
[User Manual](http://web-dorado.com/wordpress-slider-wd-guide-step-1.html)
|
20 |
[Support Forum](http://web-dorado.com/forum/slider-plugin.html)
|
21 |
+
[How to change and modify Slider WD Settings](https://www.youtube.com/watch?v=Peny_dkHaMo&list=PLnxWPiY5tLFWQf5XaEYYPZj0gdggUrVxP&index=3)
|
22 |
|
23 |
Slider WD is an effective tool for adding responsive sliders to your website. The slider plugin can be added both as a widget and plugin, as well as be included in the theme for displaying the slider within the theme using PHP function. Slider WD allows adding both images and videos (currently supporting YouTube and Vimeo to be displayed as slider slides). The numerous transition effects and layer support enhance the functionality of the product.
|
24 |
|
52 |
Upgrade to [WordPress Slider Pro](http://web-dorado.com/products/wordpress-slider-plugin.html) to add features:
|
53 |
* 26 transition effects for Slider
|
54 |
* 38 layer effects
|
55 |
+
* 3 types of Layers (text, image, social sharing)- [Video Manual](https://www.youtube.com/watch?v=obnyK-Czf0k&list=PLnxWPiY5tLFWQf5XaEYYPZj0gdggUrVxP&index=2)
|
56 |
* Share feature for sliders (Google+, Tumblr, Twitter, Pinterest and Facebook)
|
57 |
* Slider Filmstrip possibility
|
58 |
* Navigation button/bullet styles
|
139 |
|
140 |
== Changelog ==
|
141 |
|
142 |
+
= 1.0.18 =
|
143 |
+
Fixed: Conflict with some themes.
|
144 |
+
|
145 |
= 1.0.17 =
|
146 |
New: Slider Export/Import.
|
147 |
Fixed: Delete slides whitout layers on slider delete.
|
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.0.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -339,7 +339,7 @@ register_activation_hook(__FILE__, 'wds_activate');
|
|
339 |
|
340 |
function wds_install() {
|
341 |
$version = get_option("wds_version");
|
342 |
-
$new_version = '1.0.
|
343 |
if ($version && version_compare($version, $new_version, '<')) {
|
344 |
require_once WD_S_DIR . "/sliders-update.php";
|
345 |
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.0.18
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
339 |
|
340 |
function wds_install() {
|
341 |
$version = get_option("wds_version");
|
342 |
+
$new_version = '1.0.18';
|
343 |
if ($version && version_compare($version, $new_version, '<')) {
|
344 |
require_once WD_S_DIR . "/sliders-update.php";
|
345 |
wds_update($version);
|