PageSourceSearch

https://regional-uae.com/wp-content/plugins/devvn-image-hotspot/frontend/js/maps_points.js

js regional-uae.com collected 2026-09-30 22:18:41 UTC 996 bytes, 47 lines download raw bytes

1(function($){
2
3	function ihotspotInit(){
4		$('.ihotspot_hastooltop').each(function(){
5			$(this).data('powertip', function() {
6				var htmlThis = $(this).parents('.ihotspot_tooltop_html').attr('data-html');
7				return htmlThis;
8			});
9			var thisPlace = $(this).parents('.ihotspot_tooltop_html').data('placement');
10			$(this).powerTip({
11				placement: thisPlace,
12				smartPlacement: true,
13				mouseOnToPopup: true,
14			}).on({
15				powerTipClose: function() {
16					$('#powerTip').html('');
17				}
18			});
19		});
20	}
21
22	$('body').on('click','.close_ihp',function () {
23		$.powerTip.hide();
24	});
25
26	$(document).ready(function(){
27		ihotspotInit();
28    });
29
30	let firstLoad = true;
31	function scroll_element(){
32		let $top = $(window).scrollTop();
33		if( $top >= 100 && firstLoad){
34			ihotspotInit();
35			firstLoad = false;
36		}
37	}
38
39	$(window).scroll(function(){
40		scroll_element();
41	});
42
43	$(window).bind('touchmove', function(e) {
44		scroll_element();
45	});
46
47})(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.