PageSourceSearch

https://humacapiact.com/themes/custom/humacapiact/js/functions.js?v=9.4.10

js humacapiact.com collected 2026-10-06 11:19:52 UTC 2,978 bytes, 96 lines download raw bytes

1/*
2	Project Name : Knowledge
3
4	-- Google Map
5
6	## Document Scroll
7
8	## Document Ready
9		-- Scrolling Navigation
10		-- Find all anchors
11		-- Add Easing Effect
12		-- Responsive Caret
13		-- Remove p empty tag for Shortcode
14		-- Expanding Search
15		-- PhotoSlider Section:: Text Effect
16		-- Welcome Section
17		-- Parallax Carousel
18		-- Event Section
19		-- Event Block
20		-- SearchCourses
21		-- Video Testimonial Section
22		-- Latest Blog Section
23		-- Team Section
24		-- CallOut
25		-- Video Block
26		-- CourseDetail Section
27		-- WhyChooseUs Section
28		-- Blog
29		-- ContactUs Section
30		-- Testimonial 2 Section
31		-- Contact Map
32		-- Contact Form
33
34	## Window Load
35		-- Site Loader
36*/
37
38(function($) {
39
40	"use strict"
41	/* -- Google Map */
42	function initialize(obj) {
43		var lat = $('#'+obj).attr("data-lat");
44        var lng = $('#'+obj).attr("data-lng");
45		var contentString = $('#'+obj).attr("data-string");
46		var myLatlng = new google.maps.LatLng(lat,lng);
47		var map, marker, infowindow;
48		var image = "images/marker.png";
49		var zoomLevel = parseInt($('#'+obj).attr("data-zoom") ,10);
50		var styles = [{"featureType":"landscape","stylers":[{"saturation":-100},{"lightness":65},{"visibility":"on"}]},{"featureType":"poi","stylers":[{"saturation":-100},{"lightness":51},{"visibility":"simplified"}]},{"featureType":"road.highway","stylers":[{"saturation":-100},{"visibility":"simplified"}]},{"featureType":"road.arterial","stylers":[{"saturation":-100},{"lightness":30},{"visibility":"on"}]},{"featureType":"road.local","stylers":[{"saturation":-100},{"lightness":40},{"visibility":"on"}]},{"featureType":"transit","stylers":[{"saturation":-100},{"visibility":"simplified"}]},{"featureType":"administrative.province","stylers":[{"visibility":"off"}]},{"featureType":"water","elementType":"labels","stylers":[{"visibility":"on"},{"lightness":-25},{"saturation":-100}]},{"featureType":"water","elementType":"geometry","stylers":[{"hue":"#ffff00"},{"lightness":-25},{"saturation":-97}]}]
51		var styledMap = new google.maps.StyledMapType(styles,{name: "Styled Map"});
52
53		var mapOptions = {
54			zoom: zoomLevel,
55			disableDefaultUI: true,
56			center: myLatlng,
57            scrollwheel: false,
58			mapTypeControlOptions: {
59            mapTypeIds: [google.maps.MapTypeId.ROADMAP, "map_style"]
60			}
61		}
62		map = new google.maps.Map(document.getElementById(obj), mapOptions);
63		map.mapTypes.set("map_style", styledMap);
64		map.setMapTypeId("map_style");
65
66		infowindow = new google.maps.InfoWindow({
67			content: contentString
68		});
69
70        marker = new google.maps.Marker({
71			position: myLatlng,
72			map: map,
73			icon: image
74		});
75
76		google.maps.event.addListener(marker, "click", function() {
77			infowindow.open(map,marker);
78		});
79	}
80
81
82
83
84
85	/* ## Window Load - Handler for .load() called */
86	$(window).load(function() {
87		/* -- Site Loader */
88		if ( !$("html").is(".ie6, .ie7, .ie8") ) {
89			$("#site-loader").delay(1000).fadeOut("slow");
90		}
91		else {
92			$("#site-loader").css("display","none");
93		}
94	});
95
96})(jQuery);

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.