1jQuery(document).ready(function($) { 2 3 var clickEvent = false; 4 $('#myCarousel').carousel({ 5 interval: 4000 6 }).on('click', '.list-group li', function() { 7 clickEvent = true; 8 $('.list-group li').removeClass('active'); 9 $(this).addClass('active'); 10 // window.location.href = $(this).find('.featured_link').attr('href'); 11 }).on('slid.bs.carousel', function(e) { 12 if(!clickEvent) { 13 var count = $('.list-group').children().length -1; 14 var current = $('.list-group li.active'); 15 current.removeClass('active').next().addClass('active'); 16 var id = parseInt(current.data('slide-to')); 17 if(count == id) { 18 $('.list-group li').first().addClass('active'); 19 } 20 } 21 clickEvent = false; 22 }).on('click', '.list-group li a', function() { 23 window.location.href = $(this).attr('href'); 24 }); 25 26 $('#myCarouselanalysis').carousel({ 27 interval: 4000 28 }).on('click', '.list-group li', function() { 29 clickEvent = true; 30 $('.list-group li').removeClass('active'); 31 $(this).addClass('active'); 32 // window.location.href = $(this).find('.featured_link').attr('href'); 33 }).on('slid.bs.carousel', function(e) { 34 if(!clickEvent) { 35 var count = $('.list-group').children().length -1; 36 var current = $('.list-group li.active'); 37 current.removeClass('active').next().addClass('active'); 38 var id = parseInt(current.data('slide-to')); 39 if(count == id) { 40 $('.list-group li').first().addClass('active'); 41 } 42 } 43 clickEvent = false; 44 }).on('click', '.list-group li a', function() { 45 window.location.href = $(this).attr('href'); 46 }); 47$(document).on('click', '.accordion-wrapper header', function(){ 48 $(this).parent().find('section').slideToggle() 49 $(this).parent().toggleClass('__open') 50 }) 51 $(document).on('click', '.checklist-box', function(){ 52 $(this).toggleClass('__flip') 53 }) 54 // $('#mobile_mainmenu span').on('click', function(){ 55 // // $(this).html('<i class="fa fa-caret-down" aria-hidden="true"></i>'); 56 // $(this).toggleClass('opened'); 57 // $(this).parent().toggleClass('opened'); 58 // }); 59 60 // $('.clinical .lightblue').addClass('current-page-ancestor'); 61 // $('.commissioning .lightgreen').addClass('current-page-ancestor'); 62 // $('.pharmacist .lightred').addClass('current-page-ancestor'); 63 // $('#menu-top-menu').find('li.current-menu-item').addClass('current_page_parent'); 64 65 //Default options 66 // var options = { 67 // âââanimationDuration: 0.5, //in seconds 68 // âââfilter: 'all', //Initial filter 69 // âââcallbacks: { 70 // ââââââonFilteringStart: function() { }, 71 // ââââââonFilteringEnd: function() { }, 72 // ââââââonShufflingStart: function() { }, 73 // ââââââonShufflingEnd: function() { }, 74 // ââââââonSortingStart: function() { }, 75 // ââââââonSortingEnd: function() { } 76 // âââ}, 77 // âââdelay: 0, //Transition delay in ms 78 // âââdelayMode: 'progressive', //'progressive' or 'alternate' 79 // âââeasing: 'ease-out', 80 // âââfilterOutCss: { //Filtering out animation 81 // ââââââopacity: 0, 82 // ââââââtransform: 'scale(0.5)' 83 // âââ}, 84 // âââfilterInCss: { //Filtering in animation 85 // ââââââopacity: 0, 86 // ââââââtransform: 'scale(1)' 87 // âââ}, 88 // âââlayout: 'sameSize', //See layouts 89 // âââselector: '.filtr-container', 90 // âââsetupControls: true 91 // } 92 // //You can override any of these options and then call... 93 // var filterizd = $('.filtr-container').filterizr(options); 94 // //If you have already instantiated your Filterizr then call... 95 // filterizd.filterizr('setOptions', options); 96 97 // var filterizd = $('.filtr-container').filterizr({ 98 // âââ//options object 99 // }); 100 101 // $('.accordion').on('show hide', function() { 102 // $(this).css('height', 'auto'); 103 // }); 104 105 // $(".accordion").accordion({ 106 // active: false, 107 // collapsible: true, 108 // autoHeight: true 109 // }); 110 111 // $("#carousel-example-generic").swiperight(function() { 112 // $(this).carousel('prev'); 113 // }); 114 // $("#carousel-example-generic").swipeleft(function() { 115 // $(this).carousel('next'); 116 // }); 117 118 119});
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.