In the /tpls directory locate right.php and/or left.php and just add the following italic code in-between as shown below. It should work. Hope you enjoy. ?? Pls. don’t feel shy to thank me. :D.
<script>
var wpssclose_ = 0;
/* ————————————– */
jQuery(‘#wpbs_slider’).animate({
right: ‘+=<?php echo $width; ?>’
}, 400, function () {
// Animation complete.
});
/* ————————————– */
jQuery(‘#icon_label’).click(function () {
if (wpssclose_ == 0) {
jQuery(‘#wpbs_slider’).animate({
right: ‘-=<?php echo $width; ?>’
}, 400, function () {
// Animation complete.
});
wpssclose_ = 1;
} else {
jQuery(‘#wpbs_slider’).animate({
right: ‘+=<?php echo $width; ?>’
}, 400, function () {
// Animation complete.
});
wpssclose_ = 0;
}
});
/* Visit me at https://www.netup.in */