PageSourceSearch

https://golf-eljadida.com/js/custom.js

js golf-eljadida.com collected 2026-10-02 23:53:04 UTC 4,808 bytes, 74 lines download raw bytes

1(function($){"use strict";$(window).load(function(){$('#loader').fadeOut();});$(".animate_bottom_top, .animate_top_bottom, .animate_left_right, .animate_right_left,.animate_fade").waypoint(function(){if(!$(this).hasClass("animate_go")){var e=$(this);setTimeout(function(){e.addClass("animate_go")},30)}},{offset:"80%"});$('.with-submenu a').mouseover(function(){var submenu=$(this).next();submenu.fadeIn();submenu.mouseleave(function(){setTimeout(function(){submenu.fadeOut();},100);});});$('#open-languages').click(function(){$("#languages").fadeToggle();})
2$("#mobile-menu").click(function(){$("#navigation").fadeToggle();});$('.fancybox').fancybox({openEffect:'elastic'});$("#background.big").revolution({delay:12000,startheight:550,startwidth:890,thumbWidth:100,thumbHeight:50,thumbAmount:5,onHoverStop:"on",hideThumbs:200,navigationType:"bullet",navigationStyle:"round",touchenabled:"on",navOffsetHorizontal:0,navOffsetVertical:80,shadow:undefined,fullWidth:"on"});$('.sample-flexslider').flexslider({animation:"slide",});$('.content-carousel').flexslider({animation:"slide",animationLoop:false,itemWidth:380,slideshow:false});$(window).load(function(){$('#gallery-slider').flexslider({animation:"slide",animationLoop:false,itemWidth:300,itemMargin:0,slideshow:false});});$(".alert").alert();var $container=$('#gallery-container');$container.isotope({itemSelector:'.item',layoutMode:'fitRows'});$('#filters').on('click','button',function(event){var filtr=$(this).attr('data-filter');$('#gallery-container').isotope({filter:filtr});});var $container=$('#events-container');$container.isotope({itemSelector:'.slide',layoutMode:'fitRows'});var $container=$('#members-container');$container.isotope({itemSelector:'.slide',layoutMode:'fitRows'});$('.dropdown-toggle').dropdown();$("#open-address, #close-address").click(function(){$("#address").fadeToggle();});$("#open-signin, #close-signin").click(function(){$("#signin-container").fadeToggle();});$("#search-toggle").click(function(){$(".search-container").fadeToggle();});})(jQuery);
vendor: 348 bytes, lines 2-8
2
3 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
4  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
5  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
6  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
7    
8  ga('create', '
8UA-89525106-1
vendor: 38 bytes, lines 8-9
8', 'auto');
9  ga('send', 'pageview');
10(function(d, s, id) {
11  var js, fjs = d.getElementsByTagName(s)[0];
12  if (d.getElementById(id)) return;
13  js = d.createElement(s); js.id = id;
14  js.src = "//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.8";
15  fjs.parentNode.insertBefore(js, fjs);
16}(document, 'script', 'facebook-jssdk'));
vendor: 343 bytes, lines 16-22
16
17(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
18  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
19  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
20  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
21
22  ga('create', '
22UA-89525106-1
vendor: 39 bytes, lines 22-24
22', 'auto');
23  ga('send', 'pageview');
24	
24function initialize() {
25		  var myLatlng = new google.maps.LatLng(33.259509,-8.422876999999971); //http://itouchmap.com/latlong.html
26		  var mapOptions = {
27		    zoom: 10,
28		    center: myLatlng
29		  };
30		  var map = new google.maps.Map(document.getElementById('mapEvent'), mapOptions);
31		
32		  var marker = new google.maps.Marker({
33		      position: myLatlng,
34		      map: map,
35		      title: 'Hello World!'
36		  });
37		}
38		
39		google.maps.event.addDomListener(window, 'load', initialize);
40		 var launch = new Date(2014, 09, 20, 00, 00);
41	    /**
42	    * The script
43	    **/
44	    var days = $('#days');
45	    var hours = $('#hours');
46	    var minutes = $('#minutes');
47	    var seconds = $('#seconds');
48	    setDate();
49	    function setDate(){
50	        var now = new Date();
51	        if( launch < now ){
52	            days.html('<h2>0</h2><p>Day</p>');
53	            hours.html('<h2>0</h2><p>Hour</p>');
54	            minutes.html('<h2>0</h2><p>Minute</p>');
55	            seconds.html('<h2>0</h2><p>Second</p>');
56	        }
57	        else{
58	            var s = -now.getTimezoneOffset()*60 + (launch.getTime() - now.getTime())/1000;
59	            var d = Math.floor(s/86400);
60	            days.html('<h1>'+d+'</h1><p>Day'+(d>1?'s':''),'</p>');
61	            s -= d*86400;
62	
63	            var h = Math.floor(s/3600);
64	            hours.html('<h1>'+h+'</h1><p>Hour'+(h>1?'s':''),'</p>');
65	            s -= h*3600;
66	
67	            var m = Math.floor(s/60);
68	            minutes.html('<h1>'+m+'</h1><p>Minute'+(m>1?'s':''),'</p>');
69	
70	            s = Math.floor(s-m*60);
71	            seconds.html('<h1>'+s+'</h1><p>Second'+(s>1?'s':''),'</p>');
72	            setTimeout(setDate, 1000);
73	        }
74	    }

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.