Software: Apache. PHP/5.6.40 uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24 uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) Safe-mode: OFF (not secure) /home/cp949260/public_html/phbcoop.com/js/examples/ drwxr-xr-x |
Viewing file: Select action/file-type: /* Name: Elements - Image Gallery - Examples Written by: Okler Themes - (http://www.okler.net) Theme Version: 7.5.0 */ (function($) { 'use strict'; /* Thumb Gallery */ var $thumbGalleryDetail1 = $('#thumbGalleryDetail'), $thumbGalleryThumbs1 = $('#thumbGalleryThumbs'), flag = false, duration = 300; $thumbGalleryDetail1 .owlCarousel({ items: 1, margin: 10, nav: true, dots: false, loop: false, navText: [], rtl: ( $('html').attr('dir') == 'rtl' ) ? true : false }) .on('changed.owl.carousel', function(e) { if (!flag) { flag = true; $thumbGalleryThumbs1.trigger('to.owl.carousel', [e.item.index-1, duration, true]); flag = false; } }); $thumbGalleryThumbs1 .owlCarousel({ margin: 15, items: 4, nav: false, center: false, dots: false, rtl: ( $('html').attr('dir') == 'rtl' ) ? true : false }) .on('click', '.owl-item', function() { $thumbGalleryDetail1.trigger('to.owl.carousel', [$(this).index(), duration, true]); }) .on('changed.owl.carousel', function(e) { if (!flag) { flag = true; $thumbGalleryDetail1.trigger('to.owl.carousel', [e.item.index, duration, true]); flag = false; } }); /* Thumb Gallery 2 */ var $thumbGalleryDetail2 = $('#thumbGalleryDetail2'), $thumbGalleryThumbs2 = $('#thumbGalleryThumbs2'), flag = false, duration = 300; $thumbGalleryDetail2 .owlCarousel({ items: 1, margin: 10, nav: false, dots: false, rtl: ( $('html').attr('dir') == 'rtl' ) ? true : false }) .on('changed.owl.carousel', function(e) { if (!flag) { flag = true; $thumbGalleryThumbs2.trigger('to.owl.carousel', [e.item.index, duration, true]); flag = false; } }); $thumbGalleryThumbs2 .owlCarousel({ margin: 15, items: 4, nav: false, center: true, dots: false, rtl: ( $('html').attr('dir') == 'rtl' ) ? true : false }) .on('click', '.owl-item', function() { $thumbGalleryDetail2.trigger('to.owl.carousel', [$(this).index(), duration, true]); }) .on('changed.owl.carousel', function(e) { if (!flag) { flag = true; $thumbGalleryDetail2.trigger('to.owl.carousel', [e.item.index, duration, true]); flag = false; } }); }).apply(this, [jQuery]); |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0535 ]-- |