PageSourceSearch

https://territoires-emplois.org/wp-content/plugins/fluxi-content-tete/assets/js/fluxicontent.js

js territoires-emplois.org collected 2026-10-08 02:55:55 UTC 4,295 bytes, 127 lines download raw bytes

1/*
2
3  Fluxi content JS - 16.06.16
4 -------------------------
5  Galerie
6  Lightbox
7  Accordéon
8  Isotope de docs
9
10 */
11
12
13/*                                       
14\\   FLUXI CONTENT
15*/              
16
17// -- Galeries
18    if(jQuery('.js-gallery-damier').length){
19        jQuery('.js-gallery-damier').lightGallery({
20            thumbnail:false
21            , thumbMargin:0
22            , thumbContHeight:90
23            /*, animateThumb: false
24            , showThumbByDefault: false*/
25        }); 
26    }
27    if(jQuery('.js-gallery-vignettes').length){
28        jQuery('.js-gallery-vignettes').lightSlider({
29            gallery:true,
30            item:1,
31            loop:false,
32            thumbItem:9,
33            slideMargin:0,
34            enableDrag: false,
35            adaptiveHeight:true,
36            currentPagerPosition:'middle',                
37            onSliderLoad: function(el) {
38                el.lightGallery({
39                    selector: '.galerie__vignettes .lslide'
40                });
41            }   
42        }); 
43    }
44    if(jQuery('.js-gallery-slider').length){
45        jQuery('.js-gallery-slider').lightSlider({
46            gallery:false,
47            pager:true,
48            loop:false,
49            item:1,
50            adaptiveHeight:true,            
51            slideMargin:0,
52            loop:true
53        }); 
54    }
55    // -- Accordéons
56    if(jQuery('.js-accordeon').length){
57
58        jQuery('.js-accordeon').click( function(e) {   
59
60            jQuery('.js-accordeon.is-clicked').removeClass('is-clicked');
61            jQuery(this).addClass('is-clicked');
62
63            jQuery('.js-accordeon').each(function() {
64
65              var target = jQuery(this);
66
67              if ( !target.hasClass('is-clicked') && target.hasClass('is-open') ) {
68                target.removeClass('is-open').find('.js-accordeon-content').slideToggle();
69              }
70
71              if ( target.hasClass('is-clicked') && target.hasClass('is-open') ) {
72                target.removeClass('is-open').find('.js-accordeon-content').slideToggle();
73              } else if ( target.hasClass('is-clicked') && !target.hasClass('is-open') ) {
74                target.addClass('is-open').find('.js-accordeon-content').slideToggle();
75              }
76
77            });
78        });
79
80        jQuery('.js-accordeon-content').slideToggle();
81    }
82
83    if(jQuery('.js-is-lightbox').length){
84        // -- Lightbox Img
85        jQuery('.js-is-lightbox').lightGallery({
86            selector: 'this'
87        });
88    }
89    // Mozaic Isotope
90    // regarder :: http://isotope.metafizzy.co/filtering.html
91      if(jQuery('.main-isogrid').length){
92          
93          jQuery('.main-isogrid').each(function( i ) {   
94              //var jQuerycontainer = jQuery(this);
95              var $container = jQuery('.main-isogrid');                
96              /*var random_id = $container.attr('class').split('_');
97              random_id = random_id[1];*/           
98              var $the_iso_grid = $container.isotope({
99                itemSelector: '.item',
100                layoutMode: 'masonry',          
101                transitionDuration: '0.5s',     
102                hiddenStyle: {
103                  opacity: 0
104                },
105                visibleStyle: {
106                  opacity: 1
107                }
108              });
109              
110              jQuery('.button-group-sort').on( 'click', 'button', function() {   
111                var filterValue = jQuery( this ).attr('data-filter');    
112                $the_iso_grid.isotope({ filter: filterValue });
113                
114              });               
115            
116          });
117          
118          // file type icon
119           /* 
120           $('.main-isogrid a[href$='.pdf'] .icon-doc').addClass('js-icon-pdf');
121            $('.main-isogrid a[href$='.zip'] .icon-doc, .docs a[href$='.rar'] .icon-doc').addClass('js-icon-zip');
122            $('.main-isogrid a[href$='.odt'] .icon-doc').addClass('js-icon-odt');
123            $('.main-isogrid a[href$='.doc'] .icon-doc, .docs a[href$='.docx'] .icon-doc').addClass('js-icon-word');  
124            $('.main-isogrid a[href$='.xls'] .icon-doc, .docs a[href$='.xlsx'] .icon-doc, .main-isogrid a[href$='.xlt'] .icon-doc, .main-isogrid a[href$='.xltx'] .icon-doc').addClass('js-icon-exel'); 
125            */
126      }
127

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.