| Server IP : 103.48.194.25 / Your IP : 216.73.216.74 Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33 System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 User : sieuthimay ( 1016) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/sieuthimayasia.com/public_html/wp-content/plugins/ml-slider/themes/bitono/v1.0.0/ |
Upload File : |
(function($) {
$(document).on('metaslider/initialized', function (e, identifier) {
if ($(identifier).closest('.metaslider.ms-theme-bitono').length) {
var slideshow = $(identifier);
// We look for Image slides only
slideshow.find('.slides > li.ms-image').each(function() {
var slide = $(this);
var caption = slide.find('.caption-wrap');
var link = slide.find('.metaslider_image_link');
if (caption.length > 0 && link.length > 0 && !link.hasClass('__link_ready')) {
link.addClass('__link_ready');
caption.css('cursor','pointer');
caption.find('a').on('click', function(e) {
// Prevent click event reaching caption
e.stopPropagation();
});
caption.on('click', function() {
window.open(link.attr('href'), link.attr('target') || '_self');
});
}
});
}
});
})(jQuery)