D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
ltfsolutionsco
/
www
/
wp-content
/
plugins
/
ml-slider
/
themes
/
highway
/
v1.0.0
/
Filename :
script.js
back
Copy
(function($) { // metaslider has been initilalised $(document).on('metaslider/initialized', function (e, identifier) { // if .ms-theme-highway if ($(identifier).closest('.metaslider.ms-theme-highway').length) { var $slider = $(identifier); var $container = $(identifier).closest('.metaslider.ms-theme-highway'); var captions = $slider.find('.caption'); if (captions.length) { $container.addClass('ms-has-caption'); } $container.addClass('ms-loaded'); } $(window).trigger('resize'); }); $(window).on('load resize', function(e) { // go through the sliders with this theme $('.metaslider').each(function(index) { var width = $(this).outerWidth(); // if the slider width < 600px if (width < 600) { $(this).addClass('ms-is-small'); } else { $(this).removeClass('ms-is-small'); } }); }); })(jQuery)
Name
Size
Last Modified
Owner
Permissions
Actions
images
Dir
February 03 2024 3:18:15
ltfsolutionsco
0755
script.js
0.842
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
style.min.css
11.739
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
style.postcss
5.937
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
theme.php
1.034
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
2017 © D7net | D704T team