PageSourceSearch

https://www.amperealloys.com/wp/wp-content/themes/tm-bootstrap/js/script.js

js amperealloys.com collected 2026-10-08 11:36:52 UTC 1,568 bytes, 67 lines download raw bytes

1jQuery(document).ready(function() {
2
3 jQuery("#slide .owl-carousel").owlCarousel({
4  items : 1
5 });
6
7 jQuery('._blank').tblank();
8 jQuery('.hidejs').css('display', 'none');
9
10 var $sync1 = $(".entry-gallery"),
11  $sync2 = $(".entry-vignette"),
12  flag = false,
13  duration = 300;
14
15 $sync1
16  .owlCarousel({
17   items      : 1,
18   autoHeight : true,
19   margin     : 0,
20   nav        : false,
21   dots       : false
22  })
23  .on('changed.owl.carousel', function (e) {
24   if (!flag) {
25    flag = true;
26    $sync2.trigger('to.owl.carousel', [e.item.index, duration, true]);
27    flag = false;
28   }
29  });
30
31 $sync2
32  .owlCarousel({
33   margin     : 16,
34   items      : 3,
35   nav        : true,
36   center     : false,
37   dots       : false,
38   navText    : ['précédent','suivant']
39  })
40  .on('hover', '.owl-item', function () {
41   $sync1.trigger('to.owl.carousel', [$(this).index(), duration, true]);
42  })
43  .on('changed.owl.carousel', function (e) {
44   if (!flag) {
45    flag = true;  
46    $sync1.trigger('to.owl.carousel', [e.item.index, duration, true]);
47    flag = false;
48   }
49  });
50
51	jQuery(".single-product .owl-item a").fancybox();
52
53  jQuery('.matchheight').matchHeight();
54
55 // Couche Bootstrap
56 jQuery('#respond .comment-form').addClass('form-horizontal');
57 jQuery('#respond .form-submit #submit').addClass('btn btn-primary');
58});
59
60function toggle(x) {
61 var tog = document.getElementById('toggle-'+x);
62 if (tog.style.display == 'none') {
63  tog.style.display = 'block'
64 } else {
65  tog.style.display = 'none'
66 }
67}

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.