PageSourceSearch

https://www.lemiapps.com/wp-content/plugins/applay-showcase/js/main.js?ver=1

js lemiapps.com collected 2026-10-01 16:31:17 UTC 3,420 bytes, 90 lines download raw bytes

1jQuery(document).ready(function() {
2    //carousel
3	jQuery(".is-ias-carousel").each(function(){
4		var carousel_id = jQuery(this).attr('id');
5		var auto_play = jQuery(this).data('autoplay');
6		var auto_height = jQuery(this).data('autoheight');
7		var items = jQuery(this).data('items');
8		var navigation = jQuery(this).data('navigation');
9		if(jQuery(this).hasClass('ias-features-carousel')){ //features carousel
10			var feature_id = jQuery(this).data('features-id');
11			jQuery(this).owlCarousel({
12				singleItem:true,
13				stopOnHover:true,
14				autoHeight: auto_height,
15				autoPlay: auto_play,
16				addClassActive : true,
17				afterInit: function(i){
18					jQuery('.iapp-showcase-'+feature_id+' .features-control-item-0').addClass('active');
19				},
20				afterMove: function(i){
21					var current = this.currentItem;
22					jQuery('.iapp-showcase-'+feature_id+' .features-control-item').removeClass('active');
23					jQuery('.iapp-showcase-'+feature_id+' .features-control-item-'+current).addClass('active');
24				},
25			});
26		}else if(jQuery(this).hasClass('single-carousel')){ //single style
27			jQuery(this).owlCarousel({
28				singleItem:true,
29				stopOnHover:true,
30				autoHeight: auto_height,
31				autoPlay: auto_play,
32				addClassActive : true
33			});
34		}else{
35			jQuery(this).owlCarousel({
36				autoPlay: auto_play,
37				stopOnHover:true,
38				items: items?items:3,
39				itemsDesktop: items?false:3,
40				itemsDesktopSmall: items?(items>3?3:false):3,
41				singleItem: items==1?true:false,
42				navigation: navigation?true:false,
43				navigationText:["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
44				slideSpeed: 500,
45				addClassActive : true
46			});
47		}
48	});
49	jQuery('.ias-devide').each(function(index, element) {
50        var parent_width = jQuery(this).parent('.ias-devide-wrap').width();
51		var devide_width = jQuery('.device',this).outerWidth();
52		var scale = parent_width/devide_width;
53		if(scale>1){ scale = 1;}
54		var css = '-webkit-transform: scale('+ scale + '); transform: scale('+ scale + ');';
55		jQuery('.device',this).attr('style', css);
56		jQuery(this).height(jQuery('.device',this).outerHeight()*scale);
57		
58    });
59	jQuery('.showcase-style-features').each(function(index, element) {
60		var $this_feature = jQuery(this);
61		var $this_feature_owl = jQuery(".ias-features-carousel",this).data('owlCarousel');
62        jQuery('.features-control-item',this).click(function(e) {
63            $this_feature_owl.goTo(jQuery(this).data('features-item'));
64        });
65    });
66});//document ready
67/*jQuery(window).resize(function(e) {
68    ias_devide_resize();
69	setTimeout(function(){
70		ias_devide_resize();
71	}, 300);
72});*/
73var resize_timeout;
74window.onresize = function(){
75  clearTimeout(resize_timeout);
76  resize_timeout = setTimeout(ias_devide_resize, 300);
77};
78
79function ias_devide_resize(){
80	jQuery('.ias-devide').each(function(index, element) {
81		var parent_width = jQuery(this).parent('.ias-devide-wrap').width();
82		var devide_width = jQuery('.device',this).outerWidth();
83		//var max_scale = jQuery(this).data('scale')?jQuery(this).data('scale'):1;
84		var scale = parent_width/devide_width;
85		if(scale>1){ scale = 1;}
86		var css = '-webkit-transform: scale('+ scale + '); transform: scale('+ scale + ');';
87		jQuery('.device',this).attr('style', css);
88		jQuery(this).height(jQuery('.device',this).outerHeight()*scale);
89	});
90}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.