1$(function(){$("form").on("submit",function(e){var n=$(this);!0===n.data("submitted")?e.preventDefault():n.data("submitted",!0)}),$(".erreur").keydown(function(e){$(this).removeClass("erreur")}),$(".erreur").bind("change",function(){$(this).removeClass("erreur")}),$('.fileUpload input[type="file"]').change(function(){var e=$(this).val().replace("C:\\fakepath\\","");$(this).parent().parent().find(".uploadFile").val(e)}),$("img").one("error",function(){this.src="gx/00/defaut.jpg"}),$("a[href*=\\#]:not([href=\\#])").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")){var e=$(this.hash);if((e=e.length?e:$("[name="+this.hash.slice(1)+"]")).length)return $("html,body").animate({scrollTop:e.offset().top-130},750),!1}})}),$(window).resize(function(){}),$(function(){}),$(window).on("load scroll",function(){0!=$(window).scrollTop()?$("header").addClass("shadow"):$("header").removeClass("shadow")}),function(){for(var e,n=function(){},o=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeStamp","trace","warn"],t=o.length,r=window.console=window.console||{};t--;)r[e=o[t]]||(r[e]=n)}(); 2 3$(function(){ 4 /* ========================================= */ 5 /* - - - - Initialisation de scripts - - - - */ 6 /* ========================================= */ 7 function BurgerMove() { 8 if($menuBurger){ 9 $menuBurger.appendTo('body').css({"right":"-100%"}).animate({right: 0}, 300, "linear"); 10 $menuBurger = null; 11 } else { 12 $menuBurger = $("#menuBurger").animate({right: "-100%"}, 300); 13 } 14 15 $(this).toggleClass('js-menu-ouvert'); 16 $("html").toggleClass('js-menu-ouvert'); 17 return this; 18 }; 19 20 $menuBurger = $("#menuBurger").detach(); 21 $("#btn-menuBurger").on('click', function(){ console.log('hello');BurgerMove(); }); 22 $menuBurger.find(".btn-menuBurger").on('click', function(){ BurgerMove(); }); /* Bouton interne du menu */ 23 24 /*$menuBurger.find("#btn-menuBurgerClose").on('click', function(){ 25 BurgerMove(); 26 return false; 27 });*/ 28 29 $menuBurger.find(".btOuvreRech").on('click', function(){ 30 BurgerMove(); 31 $('.enteteRech').slideToggle(); 32 }); 33 34 /* Sous-menu */ 35 $menuBurger.find(".avecSousMenu > .menuBurger_lnk, .avecSousMenu > .sousMenu_lnk").on('click', function(){ 36 $(this).parent().parent().find(".avecSousMenu a").not($(this)).removeClass('js-sousMenu-ouvert'); 37 $(this).toggleClass('js-sousMenu-ouvert'); 38 $(this).parent().parent().find(".avecSousMenu a").not($(this)).next("ul").slideUp(300); 39 $(this).next(".menuBurger_sousMenu").slideToggle(600); 40 return false; 41 }); 42 /* Ferme le menu sur click extérieur */ 43 $(document).bind("mouseup touchend", function(e){ 44 if ($(e.target).closest($("#menuBurger")).length === 0 && $(e.target).closest($(".btn-menuBurger")).length === 0) { 45 if($(".conteneur").hasClass('js-menu-ouvert')) { 46 BurgerMove(); 47 e.preventDefault(); 48 } 49 } 50 }); 51 /* - - - - /FIN MENU BURGER - - - - */ 52 /* header qui change au scroll */ 53function verifierScrollPage() { 54 var scroll = $(window).scrollTop(); 55 /* var heightHeader = "60"; */ 56 57 if (scroll > 110) { 58 $('body').addClass('activeTop'); 59 } else { 60 $('body').removeClass('activeTop'); 61 } 62 /* if( $(this).scrollTop() > heightHeader ) { 63 $('body').addClass('searchSticky'); 64 } else { 65 $('body').removeClass('searchSticky'); 66 } */ 67 68 69} 70 71verifierScrollPage(); 72$(window).resize(function () { 73 74 verifierScrollPage(); 75}); 76$(window).scroll(function (event) { 77 verifierScrollPage(); 78}); 79}); 80/* $("#Fichier").change(function () { 81 var filename = document.getElementById("Fichier").files[0].name; 82 83 $(this).siblings("label").addClass("rempli"); 84 $(".labelFichier .nomFichier1").html(filename); 85 }); 86 87 $("#Fichier2").change(function () { 88 var filename = document.getElementById("Fichier2").files[0].name; 89 90 $(this).siblings("label").addClass("rempli"); 91 $(".labelFichier .nomFichier2").html(filename); 92 }); */ 93 94 /* $("input[type=file]").change(function (e) { 95 $(this).parents(".uploadFichier").find(".uploadFichier__nomFichier").text(e.target.files[0].name); 96 }); */ 97 98 $("input[type=file]").change(function (e) { 99 100 $(this).parent(".uploadFichier").find(".uploadFichier__nomFichier").text(e.target.files[0].name); 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.