1$(document).ready(function () { 2 page_load(); 3 page_click(); 4}); 5function page_load() { 6 $('#WModalMsg').show(); 7 $('#marquee').marquee().mouseover(function () { 8 $(this).trigger('stop'); 9 }).mouseout(function () { 10 $(this).trigger('start'); 11 }); 12 var owl = $('#clients-slider'); 13 owl.owlCarousel({ 14 items: 3, //10 items above 1000px browser width 15 itemsDesktop: [1000, 5], //5 items between 1000px and 901px 16 itemsDesktopSmall: [900, 3], // betweem 900px and 601px 17 itemsTablet: [600, 2], //2 items between 600 and 0 18 itemsMobile: false, // itemsMobile disabled - inherit from itemsTablet option 19 autoPlay: true 20 }); 21 owl.magnificPopup({ delegate: 'img', type: 'image', gallery: { enabled: true } }); 22 var owl1 = $('#clients-slider-tpc'); 23 owl1.owlCarousel({ 24 items: 3, //10 items above 1000px browser width 25 itemsDesktop: [1000, 5], //5 items between 1000px and 901px 26 itemsDesktopSmall: [900, 3], // betweem 900px and 601px 27 itemsTablet: [600, 2], //2 items between 600 and 0 28 itemsMobile: false, // itemsMobile disabled - inherit from itemsTablet option 29 autoPlay: true 30 }); 31 owl1.magnificPopup({ delegate: 'img', type: 'image', gallery: { enabled: true } }); 32 var owl2 = $('#clients-slider-cd'); 33 owl2.owlCarousel({ 34 items: 3, //10 items above 1000px browser width 35 itemsDesktop: [1000, 5], //5 items between 1000px and 901px 36 itemsDesktopSmall: [900, 3], // betweem 900px and 601px 37 itemsTablet: [600, 2], //2 items between 600 and 0 38 itemsMobile: false, // itemsMobile disabled - inherit from itemsTablet option 39 autoPlay: true 40 }); 41 owl2.magnificPopup({ delegate: 'img', type: 'image', gallery: { enabled: true } }); 42 (function () { 43 // setup your carousels as you normally would using JS 44 // or via data attributes according to the documentation 45 // https://getbootstrap.com/javascript/#carousel 46 $('#carousel123').carousel({ 47 interval: 2000 48 }); 49 $('#carouselABC').carousel({ 50 interval: 3600 51 }); 52 }()); 53 54 (function () { 55 $('.carousel-showmanymoveone .item').each(function () { 56 var itemToClone = $(this); 57 for (var i = 1; i < 6; i++) { 58 itemToClone = itemToClone.next(); 59 60 // wrap around if at end of item collection 61 if (!itemToClone.length) { 62 itemToClone = $(this).siblings(':first'); 63 } 64 65 // grab item, clone, add marker class, add to collection 66 itemToClone.children(':first-child').clone() 67 .addClass("cloneditem-" + (i)) 68 .appendTo($(this)); 69 } 70 }); 71 }()); 72 73 //Home Upcoming Iconic Event Slider 74 if ($(".footerLogoSlider").length) { 75 var footerLogoSlider = new Swiper('.footerLogoSlider .swiper-container', { 76 speed: 1100, 77 spaceBetween: 0, 78 slidesPerView: 4, 79 lazy: true, 80 loop: true, 81 simulateTouch: false, 82 autoplay: true, 83 navigation: { 84 nextEl: '.footerLogoSlider-next', 85 prevEl: '.footerLogoSlider-prev', 86 }, 87 breakpoints: { 88 639: { 89 slidesPerView: 1, 90 simulateTouch: true, 91 centerSlide: true, 92 }, 93 992: { 94 slidesPerView: 2, 95 simulateTouch: true, 96 centerSlide: true, 97 }, 98 1024: { 99 slidesPerView: 3, 100 simulateTouch: true, 101 centerSlide: true, 102 }, 103 1169: { 104 slidesPerView: 4, 105 simulateTouch: true, 106 centerSlide: true, 107 } 108 } 109 110 }); 111 } 112 113} 114function page_click() { 115 $(document).on('click', '#btnclose', function (e) { 116 e.preventDefault(); 117 $('#WModalMsg').hide(); 118 });
119 $(document).on('click', '.Calendar', function (e) { 120 e.preventDefault(); 121 var btn = $(this); 122 var oldText = btn.html(); 123 btn.text('Processing.....'); 124 btn.attr('disabled', true); 125 btn.addClass('disabled'); 126 $.ajax({ 127 url: $('#hdfBaseUrl').val() + 'Home/_Calendar', 128 type: 'GET', 129 cache: false, 130 dataType: 'html' 131 }).done(function (result) { 132 $.confirm({ 133 icon: 'fa fa-spinner fa-spin', 134 title: '<u>Examinations Calendar</u>', 135 //boxWidth: '80%', 136 backgroundDismiss: true, 137 columnClass: 'col-lg-12 col-md-06 col-sm-06 col-xs-03', 138 useBootstrap: true, 139 animationBounce: 1.5, 140 content: result, 141 buttons: { 142 close: function () { 143 //close 144 }, 145 } 146 }); 147 btn.html(oldText); 148 btn.removeAttr('disabled'); 149 btn.removeClass('disabled'); 150 //$('.jconfirm-content').find('#tblstatus').DataTable({ paging: true }); 151 }); 152 }); 153} 154 155 156setInterval(function () { 157 // Get todays date and time 158 var now = new Date(); 159 var month = new Array(); 160 month[0] = "January"; 161 month[1] = "February"; 162 month[2] = "March"; 163 month[3] = "April"; 164 month[4] = "May"; 165 month[5] = "June"; 166 month[6] = "July"; 167 month[7] = "August"; 168 month[8] = "September"; 169 month[9] = "October"; 170 month[10] = "November"; 171 month[11] = "December"; 172 173 var h = addZero(now.getHours()); 174 var m = addZero(now.getMinutes()); 175 var s = addZero(now.getSeconds()); 176 var time = h + ":" + m + ":" + s; 177 178 var weekday = new Array(7); 179 weekday[0] = "Sunday"; 180 weekday[1] = "Monday"; 181 weekday[2] = "Tuesday"; 182 weekday[3] = "Wednesday"; 183 weekday[4] = "Thursday"; 184 weekday[5] = "Friday"; 185 weekday[6] = "Saturday"; 186 var day = weekday[now.getDay()]; 187 document.getElementById("PPCount").innerHTML = day + ", " + month[now.getMonth()] + " " + now.getDate() + ", " + now.getFullYear() + " - " + time + " IST"; 188}, 1000); 189function addZero(i) { 190 if (i < 10) { 191 i = "0" + i; 192 } 193 return i; 194}
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.