uawdijnntqw1x1x1
IP : 216.73.216.109
Hostname : premium160.web-hosting.com
Kernel : Linux premium160.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
batcwwjx
/
public_html
/
.
/
.
/
wp-content
/
plugins
/
ml-slider
/
.
/
themes
/
starter
/
.
/
v1.0.0
/
script.js
/
/
(function($) { /** * Extra JS for the Architekt theme * * 1. positions the different elements: * - arrows */ // metaslider has been initilalised $(document).on('metaslider/initialized', function(e, identifier) { // if .ms-theme-starter if ($(identifier).closest('.metaslider.ms-theme-starter').length) { var $slider = $(identifier); var $container = $(identifier).closest('.metaslider.ms-theme-starter'); $container.addClass('ms-loaded'); } $(window).trigger('resize'); }); $(window).on('resize', function(e) { // go through the sliders with this theme $('.metaslider.ms-theme-starter').each(function(index) { // slightly delay action after resize for a smoother transition setTimeout(function() { // gets the slideshow's height var height = get_max_height($(this).find('.ms-image > img')); // if has thumbnail nav if ($(this).is('.has-thumb-nav')) { // Arrows $(this).find('.flex-direction-nav a').css({'top': Math.round(height / 2), 'bottom': 'auto'}); } }.bind(this), 50); }); }); /** * Get maximum height of the elements collection * * @param {jQuery object} elms * @return {int} */ var get_max_height = function(elms) { var h = 0; $(elms).each(function(index) { if ($(this).height() > h) { h = $(this).height(); } }); return h; } })(jQuery)
/home/batcwwjx/public_html/././wp-content/plugins/ml-slider/./themes/starter/./v1.0.0/script.js