1// JavaScript Document 2var owl = $('.owl-carousel'); 3owl.owlCarousel({ 4 loop: true, 5 items: 8, 6 margin: 10, 7 nav: false, 8 dots: false, 9 navText: ['<i class="fa fa-chevron-left fa-4x" aria-hidden="true "></i>', '<i class="fa fa-chevron-right fa-4x" aria-hidden="true "></i>'], 10 navClass: ['owl-prev', 'owl-next'], 11 responsiveClass: true, 12 responsive: { 13 0: { 14 items: 3 15 }, 16 575: { 17 items: 4 18 }, 19 768: { 20 items: 4 21 }, 22 992: { 23 items: 6 24 }, 25 1200: { 26 items: 8 27 } 28 }, 29 height: '50' 30}); 31 32// Custom Navigation Events 33$('.customNextBtn').click(function() { 34 owl.trigger('next.owl.carousel'); 35}); 36$('.customPrevBtn').click(function() { 37 owl.trigger('prev.owl.carousel'); 38}); 39 40$('.carousel192').carousel({ 41 interval: 3000 //changes the speed 42}); 43$('.carousel1').carousel({ 44 interval: 3000 //changes the speed 45}); 46 47$('#myCarousel, #myCarousel-6, #myCarousel-9921').carousel({ 48 interval: 8000 //changes the speed 49}); 50 51$('#myCarousel-11046').carousel({ 52 interval: 8000 //changes the speed 53}); 54 55$('#myCarousel-12').carousel({ 56 interval: 3000 //changes the speed 57}); 58 59// $('#myCarousel').carousel({ 60// interval: 6000 //changes the speed 61// }); 62 63$('#myCarousel-9921, #myCarousel-12, #myCarousel-6, #carousel-news, #myCarousel').swipe({ 64 swipe: function(event, direction, distance, duration, fingerCount, fingerData) { 65 if (direction == 'left') $(this).carousel('next'); 66 if (direction == 'right') $(this).carousel('prev'); 67 }, 68 //maxTimeThreshold:1000, 69 threshold: 0, 70 allowPageScroll: "vertical", 71 preventDefaultEvents: false 72}); 73 74$("div.carousel-inner div:first-child").addClass("active"); 75 76$("div.carousel-inner figure:first-child").addClass("active"); 77 78$("#flashmodal").on('hidden.bs.modal', function() { 79 $(this).data('bs.modal', null).remove(); 80}); 81 82function connect() { 83 document.connexion.submittedUser.value = "1"; 84} 85 86function envoiMdp() { 87 document.connexion.oubli_mdp.value = "1"; 88} 89 90if( $('iframe').length ) { // use this if you are using id to check 91 var source = $('iframe'); 92 if (source.attr('src').match("https://www.facebook.com/plugins/video.php")) { 93 var hey = source.parent().addClass("facebook-responsive"); 94 } 95 // it exists 96} 97 98$(".toggle-password").click(function() { 99 100 $(this).toggleClass("fa-eye fa-eye-slash"); 101 var input = $($(this).attr("toggle")); 102 if (input.attr("type") == "password") { 103 input.attr("type", "text"); 104 } else { 105 input.attr("type", "password"); 106 } 107 });
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.