PageSourceSearch

https://polesmetropolitains.fr/wp-content/themes/mediapilote/js/script.js?ver=1.0.0

js polesmetropolitains.fr collected 2026-10-09 17:09:29 UTC 1,845 bytes, 65 lines download raw bytes

1jQuery(document).ready(function () {
2      menu();       
3      AOS.init();
4
5});
6jQuery( window ).resize(function() {
7   menu();
8});
9
10jQuery(" a.bouton-oeil").on('click', function(){
11    if(jQuery("#pojo-a11y-toolbar").hasClass("bar-open")){
12      jQuery("#pojo-a11y-toolbar").removeClass("bar-open");
13      jQuery("#pojo-a11y-toolbar").removeClass("pojo-a11y-toolbar-open");
14    }
15    else{
16      jQuery("#pojo-a11y-toolbar").addClass("bar-open");
17      jQuery("#pojo-a11y-toolbar").addClass("pojo-a11y-toolbar-open");
18    }
19});
20
21jQuery(" button.btn-rechercher").on('click', function(e){
22   e.preventDefault();
23   if(jQuery(".btn-search").hasClass('hidden')){
24    jQuery(".btn-search").removeClass('hidden');
25    jQuery(".champ-rechercher").removeClass('hidden');
26   }
27   else{
28     jQuery(".btn-search").addClass('hidden');
29    jQuery(".champ-rechercher").addClass('hidden');
30   }
31   
32});
33
34
35
36function menu(){
37  var largeur=jQuery(window).width();
38        jQuery('.mega-menu-1-niveau > .mega-sub-menu').css("width",largeur );
39         jQuery('.mega-menu-1-niveau > .mega-sub-menu').css("left",0 );
40         var position = jQuery('.mega-menu-1-niveau > .mega-sub-menu').offset();
41         jQuery('.mega-menu-1-niveau > .mega-sub-menu').css("left",-position.left );
42          jQuery('.mega-menu-1-niveau > .mega-sub-menu').css("top","85px" );
43}
44
45jQuery(".btn-mobile").on("click", function () {
46  jQuery(".menu").toggleClass("hidden");
47});
48  function chiffres() {
49    jQuery(".chiffres span").each(function () {
50      jQuery(this)
51        .prop("Counter", 0)
52        .animate(
53          {
54            Counter: jQuery(this).text(),
55          },
56          {
57            duration: 4000,
58            easing: "swing",
59            step: function (now) {
60              jQuery(this).text(Math.ceil(now));
61            },
62          }
63        );
64    });
65  }

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.