PageSourceSearch

https://carehomes-lac.vercel.app/_lib/owl.js

js carehomes-lac.vercel.app collected 2026-10-03 06:21:11 UTC 2,709 bytes, 101 lines download raw bytes

1function owl_lang_dir(){
2	r=window.location.href.match(/\/\.(.*?)\//);
3	if(r===null){
4		return '';
5	}
6	return '/.'+r[1];
7}
8
9var cick=0;
10function richtext_editor(elm){
11	var ckeid='ci_cke_' + (cick++);
12	$(elm).attr('id',ckeid);
13	CKEDITOR.replace(ckeid,{
14	});
15}
16
17function owl_jquery_plugin()
18{
19	$('.owl-datepicker').datepicker({dateFormat:'yy-mm-dd'});
20
21	$('.owl-image_slider').each(function(){
22		var images=$(this).find('.owl-image_slider-images ul');
23		var thumbnail=$(this).find('.owl-image_slider-thumbnail ul');
24		var op={
25			auto: true
26			,mode: images.attr('data-mode')
27			,captions: images.attr('data-captions')==1?true:false
28			,controls: images.attr('data-controls')==1?true:false
29			,speed: images.attr('data-speed')
30			,pause: images.attr('data-pause')
31			,infiniteLoop:true
32			,autoHover: true
33			,responsive: true
34			,onSliderLoad: function(){
35				$('.owl-image_slider-images ul').animate({opacity: 1},500);
36				$('.owl-image_slider-thumbnail ul').animate({opacity: 1},500);
37			}
38		};
39		if(thumbnail.length>0){
40			op.pagerCustom=thumbnail;
41		}
42		if(
43			$(this).hasClass('owl-image_slider-thumbnail_right')
44			||$(this).hasClass('owl-image_slider-thumbnail_left')
45		){
46			var thumbnail_wrapper_height=$(this).find('.owl-image_slider-thumbnail').height();
47			var thumbnail_count=thumbnail.children('li').length;
48			var thumbnail_height=thumbnail.height()/thumbnail_count;
49			var scroll_limit=thumbnail.height()-thumbnail_wrapper_height;
50			op.onSlideBefore=function($slideElement, oldIndex, newIndex){
51				var m=thumbnail_height*newIndex-thumbnail_wrapper_height/2+thumbnail_height/2;
52				if(m<0){
53					m=0;
54				}else if(m>scroll_limit){
55					m=scroll_limit;
56				}
57				thumbnail.animate({
58					marginTop:-m
59				},200);
60			};
61		}
62		images.bxSlider(op);
63	});
64
65	$('.owl-gallery_slider').each(function(){
66		var images=$(this).find('.owl-gallery_slider-images');
67		var op={
68			mode: images.attr('data-mode')
69			,captions: images.attr('data-captions')==1?true:false
70			,controls: images.attr('data-controls')==1?true:false
71			,speed: images.attr('data-speed')
72			,pause: images.attr('data-pause')
73			,ticker: true
74			,minSlides: 3
75			,maxSlides: 10
76			,slideWidth: 400
77		};
78		images.bxSlider(op);
79	});
80
81	$(".owl-tabs .owl-tabs-container").tabs();
82}
83
84$(document).ready(function(){
85	$(document).on({
86		mouseenter:function(){
87			$(this).attr('src',$(this).attr('src').replace('roll_off','roll_on'));
88		}
89		,mouseleave:function(){
90			$(this).attr('src',$(this).attr('src').replace('roll_on','roll_off'));
91		}
92	},'.owl-img-roll');
93
94    $('.owl-image_slider-images ul').css("opacity",0);
95    $('.owl-image_slider-thumbnail ul').css("opacity",0);
96
97    owl_jquery_plugin();
98});
99
100$(window).on("load",function(){
101});

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.