1/** 2 * @file 3 * A JavaScript file for the theme. 4 */ 5 6(function (Drupal, $) { 7 "use strict"; 8 Drupal.behaviors.basic = { 9 attach: function (context, settings) { 10 // var player = videojs("player", {}, function onPlayerReady() { 11 // videojs.log("Your player is ready!"); 12 13 // // In this context, `this` is the player that was created by 14 // Video.js. //this.play(); 15 16 // // How about an event listener? 17 // this.on("ended", function () { 18 // videojs.log("Awww...over so soon?!"); 19 // }); 20 // }); 21 // $("#block-financialaid-webform-9 h2.block-title").prepand('<h2 22 // class="block-title">Ask Financial Aid</h2>'); // ( financial-aidd8 ) 23 // $('.how-can-we-help-web-form-admission-site .block-title').text('Ask 24 // Financial Aid'); 25 26 // var options = $('.how-can-we-help-web-form-admission-site 27 // .form-item-select-programmes option'); var arr = 28 // options.map(function(_, o) { return { t: $(o).text(), v: o.value }; 29 // }).get(); arr.sort(function(o1, o2) { return o1.t > o2.t ? 1 : o1.t < 30 // o2.t ? -1 : 0; }); options.each(function(i, o) { o.value = arr[i].v; 31 // $(o).text(arr[i].t); }); 32 33 // $(document) 34 // .once("#views-exposed-form-programmes-block-8 .js-form-item") 35 // .ajaxComplete(function (e, xhr, settings) { 36 // $( 37 // '#views-exposed-form-programmes-block-8 .js-form-item 38 // input[name="field_select_school_target_id"]:checked' ) 39 // .parents("label.control-label") .addClass("active-school"); }); 40 41 // // ( financial-aidd8 cls) 42 43 44 $('#views-exposed-form-news-block-28 .form-actions .form-submit.btn-primary').on("click", function (e) { 45 e.preventDefault(); 46 location.reload(); 47 return false; 48 }); 49 50 $('#views-exposed-form-lums-events-block-12 .form-actions .form-submit.btn-primary').on("click", function (e) { 51 e.preventDefault(); 52 location.reload(); 53 return false; 54 }); 55 56 if ($(window).width() < 992) { 57 58 $('.generic-submenu-for-all-sites .we-megamenu-nolink').on("click", function () { 59 60 $(this).siblings(".we-mega-menu-submenu").toggle(slow); 61 62 }); 63 } 64 65 66 if ($(window).width() < 992) { 67 68 $('.daycare-main-menu-block .we-megamenu-nolink').on("click", function () { 69 70 $(this).siblings(".we-mega-menu-submenu").slideToggle(1000); 71 72 }); 73 } 74 if ($(window).width() < 992) { 75 76 $('.oai-main-menu-block .we-megamenu-nolink').on("click", function () { 77 78 $(this).siblings(".we-mega-menu-submenu").slideToggle(1000); 79 80 }); 81 } 82 83 84 if ($(window).width() < 992) { 85 86 $('.sbasse-main-menu-block .we-megamenu-nolink').on("click", function () { 87 88 $(this).siblings(".we-mega-menu-submenu").toggle(); 89 90 }); 91 } 92 93 // for radio start 94 95 if ($(window).width() < 992) { 96 97 $('.submenu-radio .we-megamenu-nolink').on("click", function () { 98 99 // console.log("testing for radio"); 100 101 $(this).siblings(".we-mega-menu-submenu").toggle(); 102 103 }); 104 } 105 106 // for radio end 107 108 if ($(window).width() < 992) { 109 110 $('.admission-main-submenu-section .we-megamenu-nolink').click(function () { 111 112 $(this).siblings(".we-mega-menu-submenu").toggle(); 113 114 }); 115 } 116 if ($(window).width() < 992) { 117 118 $('.cbs-main-menu-block .we-megamenu-nolink').click(function () { 119 120 $(this).siblings(".we-mega-menu-submenu").toggle(); 121 122 }); 123 } 124 if ($(window).width() > 992) { 125 $($('.for-tabview').hide()); 126 } 127 if ($(window).width() < 992) { 128 $('.main-container-programmes-for-desktop').hide(); 129 $('.main-container-programmes-for-desktop-tabs').hide(); 130 } 131 132 133 // $('.page-node-type-static-pages-all-sites .static-user-details 134 // .field--type-entity-reference-revisions 135 // .paragraph--type--user-information').text().trim(); 136 var textget = $('.page-node-type-static-pages-all-sites .static-user-details .field--type-entity-reference-revisions .paragraph--type--user-information').text().trim(); 137 138 if (!textget.length) {
139 $('.page-node-type-static-pages-all-sites .static-user-details .field--type-entity-reference-revisions .paragraph--type--user-information').hide(); 140 141 } 142 143 // if ($(window).width() < 992) { 144 145 // $('.admission-main-submenu-section .we-mega-menu-submenu').hide(); 146 147 // $('.admission-main-submenu-section 148 // .we-megamenu-nolink').click(function(e){ 149 150 // e.preventDefault(); 151 // // hide all span 152 // var $this = $(this).parent().find('.we-mega-menu-submenu'); 153 // $(".admission-main-submenu-section 154 // .we-mega-menu-submenu").not($this).hide(); 155 156 // // here is what I want to do 157 // $this.toggle(); 158 159 // }); 160 161 // } 162 163 $(document).ready(function () { 164 165 // SDSB Spotlight Section START 166 $('.alumni-spt-tags').addClass('active'); 167 $('.alumni-spt-sdsb .view-content').hide(); 168 169 $('.alumni-spt-tags').click(function () { 170 $(this).addClass('active'); 171 $('.student-spt-tags').removeClass('active'); 172 $('.alumni-spt-sdsb .view-content').show(); 173 $('.student-spt-sdsb .view-content').hide(); 174 }); 175 176 $('.student-spt-tags').click(function () { 177 $(this).addClass('active'); 178 $('.alumni-spt-tags').removeClass('active'); 179 $('.alumni-spt-sdsb .view-content').hide(); 180 $('.student-spt-sdsb .view-content').show(); 181 }); 182 // SDSB Spotlight Section END 183 184 185 $('.page-node-type-static-pages-all-sites .paragraph--type--accordions- #ui-id-1').addClass('ui-accordion-header-active ui-state-active'); 186 $('.page-node-type-static-pages-all-sites .paragraph--type--accordions- #ui-id-2').addClass('ui-accordion-content-active'); 187 $('.page-node-type-static-pages-all-sites .paragraph--type--accordions- #ui-id-2').css('display', 'block'); 188 $('.page-node-type-static-pages-all-sites.paragraph--type--accordions- #ui-id-1 span.ui-accordion-header-icon').addClass('ui-icon-triangle-1-e').removeClass('ui-icon-triangle-1-s'); 189 190 $('.page-node-type-static-pages-all-sites .paragraph--type--accordions- #ui-id-1').click(function () { 191 $('.page-node-type-static-pages-all-sites .paragraph--type--accordions- #ui-id-2').slideToggle("slow", function () { 192 // Animation complete. 193 // $('.page-node-type-static-pages-sbasse 194 // .paragraph--type--accordions- #ui-id-1 195 // span.ui-accordion-header-icon').removeClass('ui-icon-triangle-1-s').addClass('ui-icon-triangle-1-e'); 196 }); 197 // if( $('.detail-block-popup').hasClass('sbasse-popup-show-me')){ 198 // // console.log("has class"); 199 // $('.detail-block-popup').removeClass('sbasse-popup-show-me').addClass('sbasse-popup-hide-me'); 200 // $(this).parents('.listing-block-popup').siblings('.detail-block-popup').removeClass('sbasse-popup-hide-me').addClass('sbasse-popup-show-me'); 201 // } 202 }); 203 204 205 const queryString = window.location.search; 206 const urlParams = new URLSearchParams(queryString); 207 const product = urlParams.get('ref'); 208 if (product == 'financial-aid') { 209 console.log('Here is control for financial'); 210 $('.page-node-type-programmes .card-header li').removeClass('active'); 211 $('.page-node-type-programmes .main-container .card-header li:nth-child(5)').addClass('active'); 212 $('.page-node-type-programmes .tab-content .tab-pane').removeClass('active'); 213 $('.page-node-type-programmes .tab-content #h').addClass('active'); 214 $('.page-node-type-programmes .region-node-content .custom-prog-landing').addClass('disabl-right-info'); 215 $('.financial-aid-desc').siblings('.views-element-container').addClass('active'); 216 $('.financial-righttabs').addClass('financial-righttabs-enable'); 217 } 218 219 220 $('.financial-righttabs .financial-aid-tb a').click(function () { 221 $(this).parents('.financial-aid-tb').addClass('active'); 222 $(this).parents('.views-field-nothing').siblings().find('.financial-aid-tb').removeClass('active'); 223 $('.financial-aid-desc').siblings('.views-element-container').addClass('hide-me'); 224 $('.financial-aid-desc').siblings('.views-element-container').removeClass('active'); 225 $('.financial-aid-desc').addClass('active'); 226 $('.financial-aid-desc').addClass('financial-righttabs-enable'); 227 228 }); 229 230 231 $('.sbasse-undergraduate-program-block .form-wrapper .form-radios .form-item .control-label input:checked').parent().addClass("active"); 232 233 234 $('.sbasse-undergraduate-program-block .control-label input').click(function () { 235 236 $('.sbasse-undergraduate-program-block .form-wrapper .control-label').parent().removeClass("active"); 237 $('input:checked').parent().addClass("active"); 238 239 $('.sbasse-undergraduate-program-block .view-content').animate({ 240 scrollButtons: $(".view-content").offset().bottom 241 }, 242 'slow'); 243 }); 244 245 // $(".fee-link-p").click(function () { 246 247 248 // $(".select-reqir-filepdf").addClass("actives"); 249 250 // }); 251 252 $('.news-event-menu ul li:first a').addClass('active'); 253 $('.news-event-menu ul li a').on("click", function () { 254 $(this).parent().siblings().removeClass('active'); 255 $(this).addClass('active'); 256 }); 257 // $('.page-node-9298 .news-event-menu ul li a').addClass('active'); 258 259 260 $(".page-node-type-programmes .main-container .card-header li a").click(function () { 261 262 263 if ($(this).hasClass("financial-aid-pro")) { 264 265 $('.custom-prog-landing').addClass('disabl-right-info'); 266 $('.financial-righttabs').addClass('financial-righttabs-enable'); 267 $('.financial-aid-desc').addClass('financial-righttabs-enable'); 268 $('.views-element-container').addClass('active'); 269 $('.financial-aid-desc').siblings('.views-element-container').removeClass('hide-me'); 270 $('.financial-body-container').removeClass('active'); 271 $('.financial-aid-tb').removeClass('active'); 272 var newtext = $('#h .financial-aid-desc').siblings('.views-element-container').find('.views-row').text(); 273 //console.log(newtext); 274 if (newtext == '<empty string>') { 275 $('.financial-righttabs .views-field-nothing:nth-child(1) .financial-aid-tb').addClass('active'); 276 $('.financial-aid-desc .views-field-nothing:nth-child(1) .financial-body-container').addClass('active'); 277 278 } 279 else { 280 //console.log($('#h .view-content .views-row').length); 281 } 282 283 } 284 else { 285 286 $('.custom-prog-landing').removeClass('disabl-right-info'); 287 $('.financial-righttabs').removeClass('financial-righttabs-enable'); 288 $('.financial-aid-desc').removeClass('financial-righttabs-enable'); 289 $('.financial-body-container').removeClass('active'); 290 $('.views-element-container').removeClass('active'); 291 292 293 } 294 if ($(this).hasClass("admission-criteria-pro")) { 295 296 $(".admission-criteria-accordiansz").addClass("enable-accord"); 297 298 299 } 300 else { 301 302 $(".admission-criteria-accordiansz").removeClass("enable-accord"); 303 304 305 } 306 307 }); 308 309 $(".admission-criteria-accordiansz .card-header li a").click(function () { 310 311 312 if ($(".admission-criteria-pro")) { 313 314 $('.admission-criteria-accordiansz').addClass('enable-accord'); 315 316 } 317 else { 318 319 $('.admission-criteria-accordiansz').removeClass('enable-accord'); 320 321 322 } 323 324 325 }); 326 327 $(".financial-aid-tb a").click(function () { 328 329 330 if ($("financial-aid-desc")) { 331 $('.financial-aid-desc .views-field-nothing .tab-pane').removeClass('active'); 332 333 334 } 335 else { 336 337 $('.financial-aid-desc .views-field-nothing .tab-pane').addClass('active'); 338 339 340 } 341 342 343 }); 344 // $( "fee-link-p" ).click( function() { 345 // $("#pdffls").removeClass( "actives" ); 346 // }); 347 348 // $(document).ready(function() { 349 // $(".tab").click(function () { 350 // $(".tab").removeClass("active"); 351 // $("#pdffls").addClass("active"); 352 // }); 353 // }); 354 355 }); 356 $(document).ready(function () { 357 // $( ".faq-accordion" ).accordion({ 358 // collapsible: true 359 // }); 360 361 // $('.static-faqs-info .views-row').first().addClass('active'); 362 $('.static-faqs-info .views-row:not(.active)').find('.views-field-field-descriptions').hide(); 363 364 $('.static-faqs-info .views-field-field-title').click(function (e) { 365 // console.log('alert'); 366 e.preventDefault(); // prevent the default action 367 e.stopPropagation(); // stop the click from bubbling 368 if (!$(this).parent().hasClass('active')) { 369 $('.static-faqs-info .views-row').removeClass('active'); 370 $(this).parent().addClass('active'); 371 $('.views-row').find('.views-field-field-descriptions').slide
371Up(); 372 $(this).next().slideDown(); 373 } 374 else { 375 $('.static-faqs-info .views-row').removeClass('active'); 376 $('.views-row').find('.views-field-field-descriptions').slideUp(); 377 } 378 }); 379 }); 380 381 382 // $('.static-faqs-admin-site-demo .view-faqs-questions-by-topic 383 // .tab-content 384 // div[id^="tab-"]:not(.active)').find('.field--name-field-descriptions').hide(); 385 386 // $('.static-faqs-admin-site-demo .view-faqs-questions-by-topic 387 // .field--name-field-title').click(function(e) { e.preventDefault(); // 388 // prevent the default action e.stopPropagation(); // stop the click from 389 // bubbling console.log($(this).parent()) 390 // if(!$(this).parent().hasClass('active')) { 391 // $('.static-faqs-admin-site-demo .view-faqs-questions-by-topic 392 // .tab-content div[id^="tab-"] 393 // .field--name-field-descriptions').removeClass('active'); 394 // $(this).parent().addClass('active'); $('.view-faqs-questions-by-topic 395 // .tab-content 396 // div[id^="tab-"]').find('.field--name-field-descriptions').slideToggle(); $(this).next().slideDown(); } else{ $('.static-faqs-admin-site-demo .view-faqs-questions-by-topic .tab-content div[id^="tab-"] .field--name-field-descriptions').removeClass('active'); $('.view-faqs-questions-by-topic .tab-content div[id^="tab-"]').find('.field--name-field-descriptions').slideUp(); } }); 397 398 399 /*$(document).once('#views-exposed-form-news-block-6 .js-form-submit').ajaxComplete(function (e, xhr, settings) { //need to work on this line 400 let rnew = $('#block-views-block-news-block-6 .view-content').html(); 401 $('#block-views-block-news-block-5').addClass('hidden'); 402 $('#block-views-block-news-block-3').html(rnew); 403 });*/ 404 405 406 /*$(document).once('#views-exposed-form-news-block-28 .js-form-submit').ajaxComplete(function (e, xhr, settings) { //need to work on this line 407 let rnew = $('.sbasse-news-search-page .view-display-id-block_28 .view-content').html(); 408 // $('.sbasse-popular-news-second').addClass('hidden'); 409 $('.sbasse-news-feature .view-display-id-block_22').html(rnew); 410 });*/ 411 412 413 // Faculty Resources Filter data 414 function filter_faculty_listing() { 415 416 $('.path-faculty-resources .views-element-container .item-list ul li').each(function () { 417 var str_name = $(this).find('.real-name').text().toLowerCase(); 418 var str_school = $(this).find('.profile-faculty-users-schools').text().toLowerCase(); 419 var str_departments = $(this).find('.profile-faculty-users-departments').text().toLowerCase(); 420 421 var search_input = $('.path-faculty-resources .views-element-container .form-item-field-full-name-value input').val().toLowerCase(); 422 var search_school = $('.path-faculty-resources .views-element-container .form-item-field-schools-target-id select option:selected').text().toLowerCase(); 423 var search_departments = $('.path-faculty-resources .views-element-container .form-item-field-departments-target-id select option:selected').text().toLowerCase(); 424 if ( 425 (str_name.indexOf(search_input) >= 0 || search_input == '') && 426 (str_school.indexOf(search_school) >= 0 || search_school == '- any -') && 427 (str_departments.indexOf(search_departments) >= 0 || search_departments == '- any -') 428 ) { 429 $(this).css("display", "block"); 430 } 431 else { 432 $(this).css("display", "none"); 433 } 434 }); 435 } 436 437 $('.path-faculty-resources .views-element-container header ul a').click(function (e) { 438 e.preventDefault(); 439 var search_input = $(this).text().toLowerCase(); 440 $('.path-faculty-resources .views-element-container .item-list ul li').each(function (index, element) { 441 var str = $(this).find('.real-name').text().toLowerCase(); 442 if (str.indexOf(search_input) == 0 || search_input == 'all') { 443 $(this).css("display", "block"); 444 } 445 else { 446 $(this).css("display", "none"); 447 } 448 }); 449 }); 450 451 452 $('.path-faculty-resources .views-element-container .form-item-field-full-name-value input').keyup(function (e) { 453 filter_faculty_listing(); 454 }); 455 $('.path-faculty-resources .views-element-container .form-item-field-schools-target-id select').change(function (e) { 456 filter_faculty_listing(); 457 }); 458 $('.path-faculty-resources .views-element-container .form-item-field-departments-target-id select').change(function (e) { 459 filter_faculty_listing(); 460 }); 461 462 // faculity emp-api-saerch START 463 function filter_faculty_listing() { 464 465 $('.path-amp-api-search .views-element-container .item-list ul li').each(function () { 466 var str_name = $(this).find('.real-name').text().toLowerCase(); 467 var str_school = $(this).find('.profile-faculty-users-schools').text().toLowerCase(); 468 var str_departments = $(this).find('.profile-faculty-users-departments').text().toLowerCase(); 469 470 var search_input = $('.path-amp-api-search .views-element-container .form-item-field-full-name-value input').val().toLowerCase(); 471 var search_school = $('.path-amp-api-search .views-element-container .form-item-field-schools-target-id select option:selected').text().toLowerCase(); 472 var search_departments = $('.path-amp-api-search .views-element-container .form-item-field-departments-target-id select option:selected').text().toLowerCase(); 473 if ( 474 (str_name.indexOf(search_input) >= 0 || search_input == '') && 475 (str_school.indexOf(search_school) >= 0 || search_school == '- any -') && 476 (str_departments.indexOf(search_departments) >= 0 || search_departments == '- any -') 477 ) { 478 $(this).css("display", "block"); 479 } 480 else { 481 $(this).css("display", "none"); 482 } 483 }); 484 } 485 486 $('.path-amp-api-search .views-element-container header ul a').click(function (e) { 487 e.preventDefault(); 488 var search_input = $(this).text().toLowerCase(); 489 $('.path-amp-api-search .views-element-container .item-list ul li').each(function (index, element) { 490 var str = $(this).find('.real-name').text().toLowerCase();
491 if (str.indexOf(search_input) == 0 || search_input == 'all') { 492 $(this).css("display", "block"); 493 } 494 else { 495 $(this).css("display", "none"); 496 } 497 }); 498 }); 499 500 501 $('.path-amp-api-search .views-element-container .form-item-field-full-name-value input').keyup(function (e) { 502 filter_faculty_listing(); 503 }); 504 $('.path-amp-api-search .views-element-container .form-item-field-schools-target-id select').change(function (e) { 505 filter_faculty_listing(); 506 }); 507 $('.path-amp-api-search .views-element-container .form-item-field-departments-target-id select').change(function (e) { 508 filter_faculty_listing(); 509 }); 510 // faculity emp-api-saerch END 511 512 513 // SOE Faculty filters Start 514 function soe_filter_faculty_listing() { 515 516 $('.path-soe-faculty-resources .views-element-container .item-list ul li').each(function () { 517 var str_name = $(this).find('.real-name').text().toLowerCase(); 518 519 var search_input = $('.path-soe-faculty-resources .views-element-container .form-item-field-full-name-value input').val().toLowerCase(); 520 if (str_name.indexOf(search_input) >= 0 || search_input == '') { 521 $(this).css("display", "block"); 522 } 523 else { 524 $(this).css("display", "none"); 525 } 526 }); 527 } 528 529 $('.path-soe-faculty-resources .views-element-container header ul a').click(function (e) { 530 e.preventDefault(); 531 //console.log("yes working"); 532 var search_input = $(this).text().toLowerCase(); 533 $('.path-soe-faculty-resources .views-element-container .item-list ul li').each(function (index, element) { 534 var str = $(this).find('.real-name').text().toLowerCase(); 535 if (str.indexOf(search_input) == 0 || search_input == 'all') { 536 $(this).css("display", "block"); 537 } 538 else { 539 $(this).css("display", "none"); 540 } 541 }); 542 }); 543 544 $('.path-soe-faculty-resources .views-element-container .form-item-field-full-name-value input').keyup(function (e) { 545 // console.log("yes working"); 546 soe_filter_faculty_listing(); 547 }); 548 549 // SOE Faculty filters End 550 551 // SDSB Faculty filters Start 552 function sdsb_filter_faculty_listing() { 553 554 $('.path-sdsb-faculty-resources .views-element-container .item-list ul li').each(function () { 555 var str_name = $(this).find('.real-name').text().toLowerCase(); 556 557 var search_input = $('.path-sdsb-faculty-resources .views-element-container .form-item-field-full-name-value input').val().toLowerCase(); 558 if (str_name.indexOf(search_input) >= 0 || search_input == '') { 559 $(this).css("display", "block"); 560 } 561 else { 562 $(this).css("display", "none"); 563 } 564 }); 565 } 566 567 $('.path-sdsb-faculty-resources .views-element-container .view-header ul a').click(function (e) { 568 e.preventDefault(); 569 //console.log("yes working"); 570 var search_input = $(this).text().toLowerCase(); 571 $('.path-sdsb-faculty-resources .views-element-container .item-list ul li').each(function (index, element) { 572 var str = $(this).find('.real-name').text().toLowerCase(); 573 if (str.indexOf(search_input) == 0 || search_input == 'all') { 574 $(this).css("display", "block"); 575 } 576 else { 577 $(this).css("display", "none"); 578 } 579 }); 580 }); 581 582 $('.path-sdsb-faculty-resources .views-element-container .form-item-field-full-name-value input').keyup(function (e) { 583 //console.log("yes working"); 584 sdsb_filter_faculty_listing(); 585 }); 586 587 // SDSB Faculty filters End 588 589 590 $(document).ready(function () { 591 var url = window.location.search; 592 var params_array = url.split("&"); 593 594 var name = ''; 595 var schools = ''; 596 var departments = ''; 597 if (!!params_array[0]) { 598 var name = params_array[0].replace('?name=', '').toLowerCase(); 599 console.log("Name Changed:", name.replace(/\+/g, ' ')); 600 $('.path-faculty-resources .views-element-container .form-item-field-full-name-value input').val(name.replace(/\+/g, ' ')); 601 } 602 if (!!params_array[1]) { 603 var departments = params_array[1].replace('department=', '').toLowerCase(); 604 console.log("departments :", departments); 605 $('.path-faculty-resources .views-element-container .form-item-field-departments-target-id select').val(departments); 606 } 607 if (!!params_array[2]) { 608 var schools = params_array[2].replace('school=', '').toLowerCase(); 609 console.log("schools :", schools); 610 $('.path-faculty-resources .views-element-container .form-item-field-schools-target-id select').val(schools); 611 } 612 filter_faculty_listing(); 613 }) 614 615 // Faculty Resources Filter data End 616 617 618 // SBASSE Faculty Resources Filter data 619 // function filter_faculty_listing(){ 620 621 // $('.path-sbasse-faculty .views-element-container .item-list ul 622 // li').each(function(){ var str_name = 623 // $(this).find('.real-name').text().toLowerCase(); var str_school = 624 // $(this).find('.profile-faculty-users-schools').text().toLowerCase(); 625 // var str_departments = 626 // $(this).find('.profile-faculty-users-departments').text().toLowerCase(); 627 628 // var search_input = $('.path-sbasse-faculty 629 // .views-element-container .form-item-field-full-name-value 630 // input').val().toLowerCase(); var search_school = 631 // $('.path-sbasse-faculty .views-element-container 632 // .form-item-field-schools-target-id select 633 // option:selected').text().toLowerCase(); var search_departments = 634 // $('.path-sbasse-faculty .views-element-container 635 // .form-item-field-departments-target-id select 636 // option:selected').text().toLowerCase(); if( 637 // (str_name.indexOf(search_input) >= 0 || search_input == '') && 638 // (str_school.indexOf(search_school) >= 0 || search_school == '- any -') && (str_departments.indexOf(search_departments) >= 0 || search_departments == '- any -') ){ $(this).css("display", "block"); }else{ $(this).css("display", "none"); } }); } $('.path-sbasse-faculty .views-element-container header ul a').click(function(e) { e.preventDefault(); var search_input = $(this).text().toLowerCase(); $('.path-sbasse-faculty .views-element-container .item-list ul li').each(function( index, element ){ var str = $(this).find('.real-name').text().toLowerCase();
638 if(str.indexOf(search_input) == 0 || search_input == 'all'){ $(this).css("display", "block"); }else{ $(this).css("display", "none"); } }); }); $('.path-sbasse-faculty .views-element-container .form-item-field-full-name-value input').keyup(function(e) { filter_faculty_listing(); }); $('.path-sbasse-faculty .views-element-container .form-item-field-schools-target-id select').change(function(e) { filter_faculty_listing(); }); $('.path-sbasse-faculty .views-element-container .form-item-field-departments-target-id select').change(function(e) { filter_faculty_listing(); }); $(document).ready(function(){ var url = window.location.search; var params_array = url.split("&"); 639 640 // var name = ''; 641 // var schools = ''; 642 // var departments = ''; 643 // if(!!params_array[0]){ 644 // var name = params_array[0].replace('?name=', '').toLowerCase(); 645 // console.log("Name Changed:", name.replace(/\+/g, ' ')); 646 // $('.path-sbasse-faculty .views-element-container 647 // .form-item-field-full-name-value input').val(name.replace(/\+/g, ' 648 // ')); } if(!!params_array[1]){ var departments = 649 // params_array[1].replace('department=', '').toLowerCase(); 650 // console.log("departments :", departments); $('.path-sbasse-faculty 651 // .views-element-container .form-item-field-departments-target-id 652 // select').val(departments); } if(!!params_array[2]){ var schools = 653 // params_array[2].replace('school=', '').toLowerCase(); 654 // console.log("schools :", schools); $('.path-sbasse-faculty 655 // .views-element-container .form-item-field-schools-target-id 656 // select').val(schools); } filter_faculty_listing(); }) 657 658 // SBASSE Faculty Resources Filter data End 659 660 661 $(document).click(function (e) { 662 var container = $(".main-menu .container-fluid,.navbar-toggler"); 663 664 // if the target of the click isn't the container nor a descendant of 665 // the container 666 if (!container.is(e.target) && container.has(e.target).length === 0) { 667 $('.menu-button-container .navbar-dark.bg-dark, .main-menu .collapse-main-menu').removeClass('active'); 668 $('.main-menu .collapse-main-menu').removeClass('in'); 669 $('.menu-button-container .navbar-dark.bg-dark .navbar-toggler').addClass('collapsed'); 670 $(".menu-button-container .navbar-dark.bg-dark .navbar-toggler, .main-menu .collapse-main-menu").attr("aria-expanded", "false"); 671 } 672 }); 673 $(document).ready(function () { 674 675 $('.srch-icon, .upm-search-form .close-search').on('click', function () { 676 $(".upm-search-form").toggleClass("hidden"); 677 }); 678 $('.tl-slide .tl-slide-content-container .tl-slide-content .tl-text p').each(function () { 679 if ($(this).text().trim() == '') { 680 $(this).remove(); 681 } 682 }); 683 $('#quicktabs-container-featured-content-lums li a:contains("Visit the Campus")').on('click', function (e) { 684 e.preventDefault(); 685 $.colorbox({ 686 html: $('.webform-submission-arrange-visit-add-form') 687 }); 688 }); 689 690 $('#block-quickmenufrontlums li a:contains("Visit the Campus")').on('click', function (e) { 691 e.preventDefault(); 692 $.colorbox({ 693 html: $('.webform-submission-arrange-visit-add-form') 694 }); 695 }); 696 697 $('#quicktabs-container-featured-content-lums li a').each(function () { 698 if ($(this).attr('href').indexOf("sites/default/files") >= 0) { 699 var n = $(this).attr('href').lastIndexOf('/'); 700 var result = $(this).attr('href').substring(n + 1); 701 $(this).attr('download', result); 702 } 703 }); 704 705 var tag = document.createElement('script'); 706 tag.id = 'iframe-demo'; 707 tag.src = 'https://www.youtube.com/iframe_api'; 708 var firstScriptTag = document.getElementsByTagName('script')[0]; 709 firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); 710 711 var player; 712 713 function onYouTubeIframeAPIReady() { 714 var elems1 = document.getElementsByClassName('yt-player'); 715 for (var i = 0; i < elems1.length; i++) { 716 717 player = new YT.Player(elems1[i], { 718 events: { 719 //'onReady': onPlayerReady, 720 'onStateChange': onPlayerStateChange 721 } 722 }); 723 } 724 } 725 726 727 function handleVideo(playerStatus) { 728 if (playerStatus == -1) { 729 // unstarted 730 $('.home-slider-del').slick('slickPause'); 731 } 732 else if (playerStatus == 0) { 733 // ended 734 $('.home-slider-del').slick('slickPlay'); 735 736 } 737 else if (playerStatus == 1) { 738 // playing = green 739 $('.home-slider-del').slick('slickPause'); 740 } 741 else if (playerStatus == 2) { 742 // paused = red 743 $('.home-slider-del').slick('slickPlay'); 744 } 745 else if (playerStatus == 3) { 746 // buffering = purple 747 } 748 else if (playerStatus == 5) { 749 // video cued 750 } 751 } 752 753 function onPlayerStateChange(event) { 754 handleVideo(event.data); 755 } 756 757 // $(".how-can-we-help-admission-site h3").click(function(){ 758 // $(".how-can-we-help-web-form-admission-site").slideToggle(); 759 // }); 760 $(".how-can-we-help-web-form-admission-site .block-title").click(function () { 761 $(".how-can-we-help-web-form-admission-site .block-title").toggleClass("ask-active-icon"); 762 $(".webform-submission-how-can-we-help--form, .webform-submission-financial-how-can-we-help--form, .webform-submission-ask-nop-form, .webform-submission-ask-nop-urdu-form").slideToggle(); 763 }); 764 765 // $(".how-can-we-help-web-form-admission-site 766 // .block-title").click(function () { 767 // $(".how-can-we-help-web-form-admission-site 768 // .block-title").toggleClass("ask-active-icon"); 769 // $(".webform-submission-how-can-we-help--form, 770 // .webform-submission-financial-how-can-we-help--form").slideToggle(); 771 // }); 772 773 jQuery('.home-slider-del').slick({ 774 slidesToShow: 1, 775 slidesToScroll: 1, 776 autoplay: true, 777 autoplaySpeed: 2000,
778 pauseOnFocus: false, 779 pauseOnHover: false, 780 dots: true, 781 infinite: true, 782 adaptiveHeight: true, 783 arrows: false 784 }); 785 786 $('.home-slider-del').on('beforeChange', function (event, slick, currentSlide, nextSlide) { 787 $('.yt-player').each(function () { 788 this.contentWindow.postMessage('{"event":"command","func":"' + 'pauseVideo' + '","args":""}', '*') 789 }); 790 }); 791 792 793 // $('.take-tour a.cboxElement').click(function() { 794 // $('.view-id-gallery .views-row').eq(0).find('a').click(); 795 // }); 796 $(".we-mega-menu-ul").before('<div class="home-icon"><a href="https://lums.edu.pk">Home</a>'); 797 798 $("#block-subscribecustomform form a").click(function () { 799 $( 800 ".webform-submission-subscribed-users-list-add-form .form-type-email input" 801 ).val($("#block-subscribecustomform form input").val()); 802 }); 803 804 $(".now-open-webform form a, .joinus-daycare form a").click(function () { 805 $( 806 ".webform-submission-now-open-daycare-webform-daycare-form .form-type-email input" 807 ).val($(".now-open-webform form input, .joinus-daycare form input").val()); 808 }); 809 810 $(".joinus-daycare form a").click(function () { 811 $( 812 ".webform-submission-now-open-daycare-webform-daycare-form .form-type-email input" 813 ).val($(".joinus-daycare form input").val()); 814 }); 815 816 817 $("#block-contactsocialmedia form a").click(function () { 818 $( 819 ".webform-submission-subscribed-users-list-add-form .form-type-email input" 820 ).val($("#block-contactsocialmedia form input").val()); 821 }); 822 $(".main-menu-button .navbar").click(function () { 823 $(this).toggleClass("active"); 824 $(".main-menu .collapse-main-menu").toggleClass("active"); 825 }); 826 827 $(".emergency-helpline-box .block-title").click(function () { 828 // $(this).toggleClass("active"); 829 $(".emergency-helpline-box .field--name-body").toggle("'slide', {direction: 'right' }, 1000"); 830 }); 831 $(".eng-cros-btn").on("click", function () { 832 $(".emergency-helpline-box .field--name-body").toggle("'slide', {direction: 'right' }, 1000"); 833 }); 834 835 $(".academic-calendar-box .se-trigger").on("click", function () { 836 $(".academic-calendar-box .se-links-container").hide(); 837 $(this).siblings(".academic-calendar-box .se-links-container").toggle(); 838 }); 839 840 // $(".admission-site-schools-block .view-footer 841 // .admission-filters-for-degree").on("click", function(){ 842 843 // $this = $(this).find(".admission-site-schools-block 844 // .view-content"); $this.toggle(); }); 845 846 // $(".academic-calendar-box .se-trigger").click(function() { 847 // $(this).toggleClass("active"); 848 // $(".academic-calendar-box .se-links-container").toggle("'slide', 849 // {direction: 'right' }, 1000"); }); 850 851 852 $(".event-calendar-sbasse-block .block-title").after('<div class="subscribe-event-sse"><a data-colorbox-inline=".webform-submission-lets-talk-form" class="cboxElement">Subscribe</a></div>'); 853 854 855 // admission site block id block-1 856 $(".admission-filters-for-degree-under").click(function (sevent) { 857 $(this).parents('.admission-site-schools-block').toggleClass('active'); 858 $(this).parents('.view-footer').siblings('.view-content').find('.dropdown-content').toggle(); 859 $(this).parents('.admission-site-schools-block').siblings().find('.dropdown-content').css('display', 'none'); 860 // console.log("alert"); 861 // $('#block-views-block-admission-site-schools-filter-block-16 862 // .dropdown-content').css('display','none'); 863 }); 864 $(document).mouseup(function (e) { 865 var container = $(".dropdown-content"); 866 867 // if the target of the click isn't the container nor a descendant of 868 // the container 869 if (!container.is(e.target) && container.has(e.target).length === 0) { 870 container.hide(); 871 // console.log("alert") 872 } 873 }); 874 875 // $(".school-of-low-admission 876 // .admission-filters-for-degree-under").on("click", function(){ 877 // $(".dropdown-content").not( "#school-lowun-myDropdown" 878 // ).removeClass('show'); 879 // $("#school-lowun-myDropdown").toggleClass('show'); }); 880 881 // // admission site block id 2 882 // $(".school-of-law-graduate 883 // .admission-filters-for-degree-under").on("click", function(){ 884 // $(".dropdown-content").not( "#chool-lowg-myDropdown" 885 // ).removeClass('show'); 886 // $("#chool-lowg-myDropdown").toggleClass('show'); }); 887 888 // // admission site block id 3 889 890 // $(".school-of-humanity-admission 891 // .admission-filters-for-degree-under").on("click", function(){ 892 // $(".dropdown-content").not( "#school-eduction-myDropdown" 893 // ).removeClass('show'); 894 // $("#school-eduction-myDropdown").toggleClass('show'); }); 895 896 // // admission site block id 4 897 898 // $(".humanities-and-social-sciences-graduate 899 // .admission-filters-for-degree-under").on("click", function(){ 900 // $(".dropdown-content").not( "#school-eductions-myDropdown" 901 // ).removeClass('show'); 902 // $("#school-eductions-myDropdown").toggleClass('show'); }); 903 904 905 // // admission site block id 5 906 // $(".school-of-education-admission 907 // .admission-filters-for-degree-under").on("click", function(){ 908 // $(".dropdown-content").not( "#school-educationsg-myDropdown" 909 // ).removeClass('show'); 910 // $("#school-educationsg-myDropdown").toggleClass('show'); }); 911 912 913 // // admission site block id 6 914 // $(".school-of-education-graduate 915 // .admission-filters-for-degree-under").on("click", function(){ 916 // $(".dropdown-content").not( "#school-educationss-myDropdown" 917 // ).removeClass('show'); 918 // $("#school-educationss-myDropdown").toggleClass('show'); }); 919 920 921 // // admission site block id 7 922 // $(".school-of-business-admission 923 // .admission-filters-for-degree-under").on("click", function(){ 924 // $(".dropdown-content").not( "#school-business-myDropdown" 925 // ).removeClass('show'); 926 // $("#school-business-myDropdown").toggleClass('show'); }); 927 928 929 // // admission site block id 8 930 // $(".school-of-business-graduate 931 // .admission-filters-for-degree-under").on("click", function(){ 932 // $(".dropdown-content").not( "#school-businessg-myDropdown" 933 // ).removeClass('show'); 934 // $("#school-businessg-myDropdown").toggleClass('show'); }); 935 936 // // admission site block id 9 937 // $(".school-of-science-engineering-admission 938 // .admission-filters-for-degree-under").on("click", function(){ 939 // $(".dropdown-content").not( "#school-engineering-myDropdown" 940 // ).removeClass('show'); 941 // $("#school-engineering-myDropdown").toggleClass('show'); }); 942 943 944 // // admission site block id 10 945 // $(".school-of-science-and-engineering-graduate 946 // .admission-filters-for-degree-under").on("click", function(){ 947 // $(".dropdown-content").not( "#school-engineeringg-myDropdowng" 948 // ).removeClass('show'); 949 // $("#school-engineeringg-myDropdowng").toggleClass('show'); }); 950 // ---------------------------------------------------------------------------------------------------------------------- 951 952 953 // ----------------------------------------------------------------------------------------------------------------------- 954 955 956 // home why soe bock slider 957 $(".why-soe-slider").slick({ 958 infinite: true, 959 draggable: true, 960 swipe: true, 961 slidesToShow: 3, 962 autoplay: false, 963 speed: 1000, 964 autoplaySpeed: 15000, 965 slidesToScroll: 1, 966 rows: 1, 967 pauseOnHover: false, 968 dots: false, 969 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 970 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 971 972 responsive: [{ 973 breakpoint: 1024, 974 settings: { 975 slidesToShow: 2, 976 slidesToScroll: 1, 977 autoplay: true, 978 979 } 980 }, 981 { 982 breakpoint: 769, 983 settings: { 984 slidesToShow: 2, 985 slidesToScroll: 1, 986 // autoplay: false,
987 arrows: false, 988 } 989 }, 990 { 991 breakpoint: 767, 992 settings: { 993 slidesToShow: 1, 994 slidesToScroll: 1, 995 // autoplay: false, 996 arrows: false, 997 } 998 }, 999 { 1000 breakpoint: 480, 1001 settings: { 1002 slidesToShow: 1, 1003 slidesToScroll: 1, 1004 arrows: false, 1005 } 1006 } 1007 // You can unslick at a given breakpoint now by adding: 1008 // settings: "unslick" 1009 // instead of a settings object 1010 ] 1011 }); 1012 1013 1014 // Academic Ranking SDSB bock slider START 1015 $(".academic-ranking-slider-sdsb").slick({ 1016 infinite: true, 1017 draggable: true, 1018 swipe: true, 1019 slidesToShow: 2, 1020 autoplay: true, 1021 speed: 1000, 1022 autoplaySpeed: 15000, 1023 slidesToScroll: 1, 1024 rows: 1, 1025 pauseOnHover: false, 1026 dots: true, 1027 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 1028 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 1029 1030 responsive: [{ 1031 breakpoint: 1024, 1032 settings: { 1033 slidesToShow: 1, 1034 slidesToScroll: 1, 1035 autoplay: true, 1036 1037 } 1038 }, 1039 { 1040 breakpoint: 769, 1041 settings: { 1042 slidesToShow: 1, 1043 slidesToScroll: 1, 1044 // autoplay: false, 1045 arrows: false, 1046 } 1047 }, 1048 { 1049 breakpoint: 767, 1050 settings: { 1051 slidesToShow: 1, 1052 slidesToScroll: 1, 1053 // autoplay: false, 1054 arrows: false, 1055 } 1056 }, 1057 { 1058 breakpoint: 480, 1059 settings: { 1060 slidesToShow: 1, 1061 slidesToScroll: 1, 1062 arrows: false, 1063 } 1064 } 1065 // You can unslick at a given breakpoint now by adding: 1066 // settings: "unslick" 1067 // instead of a settings object 1068 ] 1069 }); 1070 // Academic Ranking SDSB bock slider END 1071 1072 1073 // SDSB Slider START 1074 $(".home-slider-sdsb").slick({ 1075 infinite: true, 1076 draggable: true, 1077 swipe: true, 1078 slidesToShow: 1, 1079 autoplay: true, 1080 speed: 1000, 1081 autoplaySpeed: 15000, 1082 slidesToScroll: 1, 1083 rows: 1, 1084 pauseOnHover: true, 1085 dots: true, 1086 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 1087 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 1088 1089 responsive: [{ 1090 breakpoint: 1024, 1091 settings: { 1092 slidesToShow: 1, 1093 slidesToScroll: 1, 1094 autoplay: true, 1095 1096 } 1097 }, 1098 { 1099 breakpoint: 769, 1100 settings: { 1101 slidesToShow: 1, 1102 slidesToScroll: 1, 1103 // autoplay: false, 1104 arrows: false, 1105 } 1106 }, 1107 { 1108 breakpoint: 480, 1109 settings: { 1110 slidesToShow: 1, 1111 slidesToScroll: 1, 1112 arrows: false, 1113 } 1114 } 1115 // You can unslick at a given breakpoint now by adding: 1116 // settings: "unslick" 1117 // instead of a settings object 1118 ] 1119 }); 1120 // SDSB Slider END 1121 1122 //Life at SDSB Slider START 1123 $('.life-at-sdsb-slider').slick({ 1124 centerMode: true, 1125 centerPadding: '265px', 1126 slidesToShow: 1, 1127 responsive: [ 1128 { 1129 breakpoint: 1024, 1130 settings: {
1131 arrows: false, 1132 centerMode: true, 1133 centerPadding: '77px', 1134 slidesToShow: 1, 1135 // cssEase: 'linear', 1136 // variableWidth: true, 1137 // variableHeight: true 1138 } 1139 }, 1140 { 1141 breakpoint: 768, 1142 settings: { 1143 arrows: false, 1144 centerMode: true, 1145 centerPadding: '77px', 1146 slidesToShow: 1 1147 // cssEase: 'linear', 1148 // variableWidth: true, 1149 // variableHeight: true 1150 } 1151 }, 1152 { 1153 breakpoint: 480, 1154 settings: { 1155 arrows: false, 1156 centerMode: true, 1157 centerPadding: '40px', 1158 slidesToShow: 1 1159 // cssEase: 'linear', 1160 // variableWidth: true, 1161 // variableHeight: true 1162 }, 1163 }, 1164 { 1165 breakpoint: 414, 1166 settings: { 1167 arrows: false, 1168 centerMode: true, 1169 centerPadding: '40px', 1170 slidesToShow: 1 1171 // cssEase: 'linear', 1172 // variableWidth: true, 1173 // variableHeight: true 1174 }, 1175 }, 1176 { 1177 breakpoint: 375, 1178 settings: { 1179 arrows: false, 1180 centerMode: true, 1181 centerPadding: '40px', 1182 slidesToShow: 1 1183 // cssEase: 'linear', 1184 // variableWidth: true, 1185 // variableHeight: true 1186 }, 1187 }, 1188 { 1189 breakpoint: 320, 1190 settings: { 1191 arrows: false, 1192 centerMode: true, 1193 centerPadding: '40px', 1194 slidesToShow: 1, 1195 // cssEase: 'linear', 1196 // variableWidth: true, 1197 // variableHeight: true 1198 }, 1199 } 1200 ] 1201 }); 1202 //Life at SDSB Slider END 1203 1204 1205 // SDSB Slider START 1206 $(".meet-our-students-slider-sdsb").slick({ 1207 infinite: true, 1208 draggable: true, 1209 swipe: true, 1210 slidesToShow: 1, 1211 autoplay: true, 1212 speed: 1000, 1213 autoplaySpeed: 15000, 1214 slidesToScroll: 1, 1215 rows: 1, 1216 pauseOnHover: true, 1217 dots: true, 1218 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 1219 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 1220 1221 responsive: [{ 1222 breakpoint: 1024, 1223 settings: { 1224 slidesToShow: 1, 1225 slidesToScroll: 1, 1226 autoplay: true, 1227 1228 } 1229 }, 1230 { 1231 breakpoint: 769, 1232 settings: { 1233 slidesToShow: 1, 1234 slidesToScroll: 1, 1235 // autoplay: false, 1236 arrows: false, 1237 } 1238 }, 1239 { 1240 breakpoint: 480, 1241 settings: { 1242 slidesToShow: 1, 1243 slidesToScroll: 1, 1244 arrows: false, 1245 } 1246 } 1247 // You can unslick at a given breakpoint now by adding: 1248 // settings: "unslick" 1249 // instead of a settings object 1250 ] 1251 }); 1252 // SDSB Slider END 1253 1254 // LUMS Home Page Slider 1255 $(".home-slider-main ul").slick({ 1256 infinite: true, 1257 draggable: true, 1258 swipe: true, 1259 slidesToShow: 1, 1260 autoplay: true, 1261 speed: 1000, 1262 autoplaySpeed: 15000, 1263 slidesToScroll: 1, 1264 rows: 1, 1265 pauseOnHover: true, 1266 dots: true, 1267 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 1268 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 1269 1270 responsive: [{ 1271 breakpoint: 1024, 1272 settings: { 1273 slidesToShow: 1, 1274 slidesToScroll: 1, 1275 autoplay: true, 1276 1277 } 1278 }, 1279 { 1280 breakpoint: 769, 1281 settings: { 1282 slidesToShow: 1, 1283 slidesToScroll: 1, 1284 // autoplay: false,
1285 arrows: false, 1286 } 1287 }, 1288 { 1289 breakpoint: 480, 1290 settings: { 1291 slidesToShow: 1, 1292 slidesToScroll: 1, 1293 arrows: false, 1294 } 1295 } 1296 // You can unslick at a given breakpoint now by adding: 1297 // settings: "unslick" 1298 // instead of a settings object 1299 ] 1300 }); 1301 1302 1303 /*RADIO Slider Home START*/ 1304 $(".home-slider-radio").slick({ 1305 infinite: true, 1306 draggable: true, 1307 swipe: true, 1308 slidesToShow: 1, 1309 autoplay: true, 1310 speed: 1000, 1311 autoplaySpeed: 15000, 1312 slidesToScroll: 1, 1313 rows: 1, 1314 pauseOnHover: true, 1315 dots: true, 1316 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 1317 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 1318 1319 responsive: [{ 1320 breakpoint: 1024, 1321 settings: { 1322 slidesToShow: 1, 1323 slidesToScroll: 1, 1324 autoplay: true, 1325 1326 } 1327 }, 1328 { 1329 breakpoint: 769, 1330 settings: { 1331 slidesToShow: 1, 1332 slidesToScroll: 1, 1333 // autoplay: false, 1334 arrows: false, 1335 } 1336 }, 1337 { 1338 breakpoint: 480, 1339 settings: { 1340 slidesToShow: 1, 1341 slidesToScroll: 1, 1342 arrows: false, 1343 } 1344 } 1345 // You can unslick at a given breakpoint now by adding: 1346 // settings: "unslick" 1347 // instead of a settings object 1348 ] 1349 }); 1350 /*RADIO Slider Home END*/ 1351 1352 1353 // landing page slider sdsb 1354 $(".landing-page-slider").slick({ 1355 infinite: true, 1356 draggable: true, 1357 swipe: true, 1358 slidesToShow: 1, 1359 autoplay: true, 1360 speed: 1000, 1361 autoplaySpeed: 5000, 1362 slidesToScroll: 1, 1363 rows: 1, 1364 pauseOnHover: false, 1365 dots: true, 1366 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 1367 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 1368 1369 responsive: [{ 1370 breakpoint: 1024, 1371 settings: { 1372 slidesToShow: 1, 1373 slidesToScroll: 1, 1374 autoplay: true, 1375 1376 } 1377 }, 1378 { 1379 breakpoint: 769, 1380 settings: { 1381 slidesToShow: 1, 1382 slidesToScroll: 1, 1383 // autoplay: false, 1384 arrows: false, 1385 } 1386 }, 1387 { 1388 breakpoint: 480, 1389 settings: { 1390 slidesToShow: 1, 1391 slidesToScroll: 1, 1392 arrows: false, 1393 } 1394 } 1395 // You can unslick at a given breakpoint now by adding: 1396 // settings: "unslick" 1397 // instead of a settings object 1398 ] 1399 }); 1400 1401 1402 // slider number-of-cards-slider 1403 $(".number-of-cards-slider").slick({ 1404 infinite: true, 1405 draggable: true, 1406 swipe: true, 1407 slidesToShow: 3, 1408 autoplay: true, 1409 speed: 1000, 1410 autoplaySpeed: 5000, 1411 slidesToScroll: 1, 1412 rows: 1, 1413 pauseOnHover: false, 1414 dots: true, 1415 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 1416 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 1417 1418 responsive: [{ 1419 breakpoint: 1024, 1420 settings: { 1421 slidesToShow: 1, 1422 slidesToScroll: 1, 1423 autoplay: true, 1424 1425 } 1426 }, 1427 { 1428 breakpoint: 769, 1429 settings: { 1430 slidesToShow: 1, 1431 slidesToScroll: 1, 1432 // autoplay: false,
1433 arrows: false, 1434 } 1435 }, 1436 { 1437 breakpoint: 480, 1438 settings: { 1439 slidesToShow: 1, 1440 slidesToScroll: 1, 1441 arrows: false, 1442 } 1443 } 1444 // You can unslick at a given breakpoint now by adding: 1445 // settings: "unslick" 1446 // instead of a settings object 1447 ] 1448 }); 1449 1450 1451 // home slider 1452 $(".home-sbasse-slider-main").slick({ 1453 infinite: true, 1454 draggable: true, 1455 swipe: true, 1456 slidesToShow: 1, 1457 autoplay: true, 1458 speed: 1000, 1459 autoplaySpeed: 5000, 1460 slidesToScroll: 1, 1461 rows: 1, 1462 pauseOnHover: false, 1463 dots: true, 1464 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 1465 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 1466 1467 responsive: [{ 1468 breakpoint: 1024, 1469 settings: { 1470 slidesToShow: 1, 1471 slidesToScroll: 1, 1472 autoplay: true, 1473 1474 } 1475 }, 1476 { 1477 breakpoint: 769, 1478 settings: { 1479 slidesToShow: 1, 1480 slidesToScroll: 1, 1481 // autoplay: false, 1482 arrows: false, 1483 } 1484 }, 1485 { 1486 breakpoint: 480, 1487 settings: { 1488 slidesToShow: 1, 1489 slidesToScroll: 1, 1490 arrows: false, 1491 } 1492 } 1493 // You can unslick at a given breakpoint now by adding: 1494 // settings: "unslick" 1495 // instead of a settings object 1496 ] 1497 }); 1498 1499 1500 // home slider 1501 $(".home-slider-admission").slick({ 1502 infinite: true, 1503 draggable: true, 1504 swipe: true, 1505 slidesToShow: 1, 1506 autoplay: true, 1507 speed: 1000, 1508 autoplaySpeed: 15000, 1509 slidesToScroll: 1, 1510 rows: 1, 1511 pauseOnHover: false, 1512 dots: true, 1513 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 1514 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 1515 1516 responsive: [{ 1517 breakpoint: 1024, 1518 settings: { 1519 slidesToShow: 1, 1520 slidesToScroll: 1, 1521 autoplay: true, 1522 1523 } 1524 }, 1525 { 1526 breakpoint: 769, 1527 settings: { 1528 slidesToShow: 1, 1529 slidesToScroll: 1, 1530 // autoplay: false, 1531 arrows: false, 1532 } 1533 }, 1534 { 1535 breakpoint: 480, 1536 settings: { 1537 slidesToShow: 1, 1538 slidesToScroll: 1, 1539 arrows: false, 1540 } 1541 } 1542 1543 ] 1544 }); 1545 1546 1547 // home slider OIA START 1548 $(".slider-oia").slick({ 1549 infinite: true, 1550 draggable: true, 1551 swipe: true, 1552 slidesToShow: 1, 1553 autoplay: true, 1554 speed: 1000, 1555 autoplaySpeed: 15000, 1556 slidesToScroll: 1, 1557 rows: 1, 1558 pauseOnHover: false, 1559 dots: true, 1560 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 1561 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 1562 1563 responsive: [{ 1564 breakpoint: 1024, 1565 settings: { 1566 slidesToShow: 1, 1567 slidesToScroll: 1, 1568 autoplay: true, 1569 1570 } 1571 }, 1572 { 1573 breakpoint: 769, 1574 settings: { 1575 slidesToShow: 1, 1576 slidesToScroll: 1, 1577 // autoplay: false,
1578 arrows: false, 1579 } 1580 }, 1581 { 1582 breakpoint: 480, 1583 settings: { 1584 slidesToShow: 1, 1585 slidesToScroll: 1, 1586 arrows: false, 1587 } 1588 } 1589 // You can unslick at a given breakpoint now by adding: 1590 // settings: "unslick" 1591 // instead of a settings object 1592 ] 1593 }); 1594 // home slider OIA CLOSE 1595 1596 1597 // slider SOE About START 1598 $(".soe-about-slider").slick({ 1599 infinite: true, 1600 draggable: true, 1601 swipe: true, 1602 slidesToShow: 1, 1603 autoplay: false, 1604 speed: 1000, 1605 autoplaySpeed: 15000, 1606 slidesToScroll: 1, 1607 rows: 1, 1608 pauseOnHover: false, 1609 dots: true, 1610 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 1611 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 1612 1613 responsive: [{ 1614 breakpoint: 1024, 1615 settings: { 1616 slidesToShow: 1, 1617 slidesToScroll: 1, 1618 autoplay: true, 1619 1620 } 1621 }, 1622 { 1623 breakpoint: 769, 1624 settings: { 1625 slidesToShow: 1, 1626 slidesToScroll: 1, 1627 // autoplay: false, 1628 arrows: false, 1629 } 1630 }, 1631 { 1632 breakpoint: 480, 1633 settings: { 1634 slidesToShow: 1, 1635 slidesToScroll: 1, 1636 arrows: false, 1637 } 1638 } 1639 // You can unslick at a given breakpoint now by adding: 1640 // settings: "unslick" 1641 // instead of a settings object 1642 ] 1643 }); 1644 // slider SOE About CLOSE 1645 1646 1647 // Science Stories slider 1648 $(".science-stories-slider").slick({ 1649 infinite: true, 1650 draggable: true, 1651 swipe: true, 1652 slidesToShow: 1, 1653 autoplay: true, 1654 speed: 1000, 1655 autoplaySpeed: 15000, 1656 slidesToScroll: 1, 1657 rows: 1, 1658 pauseOnHover: false, 1659 dots: true, 1660 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 1661 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 1662 1663 responsive: [{ 1664 breakpoint: 1024, 1665 settings: { 1666 slidesToShow: 1, 1667 slidesToScroll: 1, 1668 autoplay: true, 1669 1670 } 1671 }, 1672 { 1673 breakpoint: 769, 1674 settings: { 1675 slidesToShow: 1, 1676 slidesToScroll: 1, 1677 // autoplay: false, 1678 arrows: false, 1679 } 1680 }, 1681 { 1682 breakpoint: 480, 1683 settings: { 1684 slidesToShow: 1, 1685 slidesToScroll: 1, 1686 arrows: false, 1687 } 1688 } 1689 // You can unslick at a given breakpoint now by adding: 1690 // settings: "unslick" 1691 // instead of a settings object 1692 ] 1693 }); 1694 // SBASSE Discoverd slider 1695 $(".discover-sbasse-slideshow").slick({ 1696 infinite: true, 1697 draggable: true, 1698 swipe: true, 1699 fade: true, 1700 slidesToShow: 1, 1701 autoplay: true, 1702 speed: 1000, 1703 autoplaySpeed: 1500, 1704 slidesToScroll: 1, 1705 rows: 1, 1706 pauseOnHover: false, 1707 dots: false, 1708 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 1709 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 1710 1711 responsive: [{ 1712 breakpoint: 1024, 1713 settings: { 1714 slidesToShow: 1, 1715 slidesToScroll: 1, 1716 autoplay: true, 1717 1718 } 1719 }, 1720 { 1721 breakpoint: 769, 1722 settings: { 1723 slidesToShow: 1, 1724 slidesToScroll: 1, 1725 // autoplay: false,
1726 arrows: false, 1727 } 1728 }, 1729 { 1730 breakpoint: 480, 1731 settings: { 1732 slidesToShow: 1, 1733 slidesToScroll: 1, 1734 arrows: false, 1735 } 1736 } 1737 // You can unslick at a given breakpoint now by adding: 1738 // settings: "unslick" 1739 // instead of a settings object 1740 ] 1741 }); 1742 1743 1744 // Alumni Relations 1745 $(".alumni-slider").slick({ 1746 infinite: true, 1747 draggable: true, 1748 swipe: true, 1749 slidesToShow: 1, 1750 autoplay: true, 1751 speed: 1000, 1752 autoplaySpeed: 10000, 1753 slidesToScroll: 1, 1754 rows: 1, 1755 pauseOnHover: false, 1756 dots: true, 1757 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 1758 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 1759 1760 responsive: [{ 1761 breakpoint: 1024, 1762 settings: { 1763 slidesToShow: 1, 1764 slidesToScroll: 1, 1765 1766 1767 } 1768 }, 1769 { 1770 breakpoint: 769, 1771 settings: { 1772 slidesToShow: 1, 1773 slidesToScroll: 1, 1774 // autoplay: false, 1775 arrows: false, 1776 } 1777 }, 1778 { 1779 breakpoint: 480, 1780 settings: { 1781 slidesToShow: 1, 1782 slidesToScroll: 1, 1783 arrows: false, 1784 } 1785 } 1786 // You can unslick at a given breakpoint now by adding: 1787 // settings: "unslick" 1788 // instead of a settings object 1789 ] 1790 }); 1791 1792 // Donate Slider 1793 $(".donate-slider").slick({ 1794 infinite: true, 1795 draggable: true, 1796 swipe: true, 1797 slidesToShow: 1, 1798 autoplay: true, 1799 speed: 1000, 1800 autoplaySpeed: 10000, 1801 slidesToScroll: 1, 1802 rows: 1, 1803 pauseOnHover: false, 1804 dots: true, 1805 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 1806 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 1807 1808 responsive: [{ 1809 breakpoint: 1024, 1810 settings: { 1811 slidesToShow: 1, 1812 slidesToScroll: 1, 1813 1814 1815 } 1816 }, 1817 { 1818 breakpoint: 769, 1819 settings: { 1820 slidesToShow: 1, 1821 slidesToScroll: 1, 1822 // autoplay: false, 1823 arrows: false, 1824 } 1825 }, 1826 { 1827 breakpoint: 480, 1828 settings: { 1829 slidesToShow: 1, 1830 slidesToScroll: 1, 1831 arrows: false, 1832 } 1833 } 1834 // You can unslick at a given breakpoint now by adding: 1835 // settings: "unslick" 1836 // instead of a settings object 1837 ] 1838 }); 1839 1840 1841 // History Slider 1842 $(".history-slider").slick({ 1843 infinite: false, 1844 draggable: true, 1845 swipe: true, 1846 slidesToShow: 1, 1847 autoplay: false, 1848 speed: 1000, 1849 autoplaySpeed: 10000, 1850 slidesToScroll: 1, 1851 rows: 1, 1852 pauseOnHover: false, 1853 dots: true, 1854 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 1855 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 1856 1857 responsive: [{ 1858 breakpoint: 1024, 1859 settings: { 1860 slidesToShow: 1, 1861 slidesToScroll: 1, 1862 1863 1864 } 1865 }, 1866 { 1867 breakpoint: 769, 1868 settings: { 1869 slidesToShow: 1, 1870 slidesToScroll: 1, 1871 // autoplay: false,
1872 arrows: false, 1873 } 1874 }, 1875 { 1876 breakpoint: 480, 1877 settings: { 1878 slidesToShow: 1, 1879 slidesToScroll: 1, 1880 arrows: false, 1881 } 1882 } 1883 // You can unslick at a given breakpoint now by adding: 1884 // settings: "unslick" 1885 // instead of a settings object 1886 ] 1887 }); 1888 1889 1890 // News & Events Updated Slider 1891 $(".news-slideshow").slick({ 1892 infinite: false, 1893 draggable: true, 1894 swipe: true, 1895 slidesToShow: 1, 1896 autoplay: true, 1897 speed: 1000, 1898 autoplaySpeed: 10000, 1899 slidesToScroll: 1, 1900 rows: 1, 1901 pauseOnHover: false, 1902 dots: true, 1903 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 1904 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 1905 1906 responsive: [{ 1907 breakpoint: 1024, 1908 settings: { 1909 slidesToShow: 1, 1910 slidesToScroll: 1, 1911 1912 1913 } 1914 }, 1915 { 1916 breakpoint: 769, 1917 settings: { 1918 slidesToShow: 1, 1919 slidesToScroll: 1, 1920 // autoplay: false, 1921 arrows: false, 1922 } 1923 }, 1924 { 1925 breakpoint: 480, 1926 settings: { 1927 slidesToShow: 1, 1928 slidesToScroll: 1, 1929 arrows: false, 1930 } 1931 } 1932 // You can unslick at a given breakpoint now by adding: 1933 // settings: "unslick" 1934 // instead of a settings object 1935 ] 1936 }); 1937 1938 1939 // News & Events Updated Slider SDSB START 1940 $(".news-slideshow-sdsb").slick({ 1941 infinite: false, 1942 draggable: true, 1943 swipe: true, 1944 slidesToShow: 1, 1945 autoplay: true, 1946 speed: 1000, 1947 autoplaySpeed: 10000, 1948 slidesToScroll: 1, 1949 rows: 1, 1950 pauseOnHover: false, 1951 dots: true, 1952 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 1953 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 1954 1955 responsive: [{ 1956 breakpoint: 1024, 1957 settings: { 1958 slidesToShow: 1, 1959 slidesToScroll: 1, 1960 1961 1962 } 1963 }, 1964 { 1965 breakpoint: 769, 1966 settings: { 1967 slidesToShow: 1, 1968 slidesToScroll: 1, 1969 // autoplay: false, 1970 arrows: false, 1971 } 1972 }, 1973 { 1974 breakpoint: 480, 1975 settings: { 1976 slidesToShow: 1, 1977 slidesToScroll: 1, 1978 arrows: false, 1979 } 1980 } 1981 // You can unslick at a given breakpoint now by adding: 1982 // settings: "unslick" 1983 // instead of a settings object 1984 ] 1985 }); 1986 // News & Events Updated Slider SDSB END 1987 1988 1989 // Covid-19 Slider 1990 $(".covid-19-slider").slick({ 1991 infinite: true, 1992 draggable: true, 1993 swipe: true, 1994 slidesToShow: 1, 1995 autoplay: false, 1996 speed: 1000, 1997 autoplaySpeed: 10000, 1998 slidesToScroll: 1, 1999 rows: 1, 2000 pauseOnHover: false, 2001 dots: true, 2002 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 2003 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 2004 2005 responsive: [{ 2006 breakpoint: 1024, 2007 settings: { 2008 slidesToShow: 1, 2009 slidesToScroll: 1, 2010 } 2011 }, 2012 { 2013 breakpoint: 769, 2014 settings: { 2015 slidesToShow: 1, 2016 slidesToScroll: 1, 2017 // autoplay: false,
2018 arrows: false, 2019 } 2020 }, 2021 { 2022 breakpoint: 480, 2023 settings: { 2024 slidesToShow: 1, 2025 slidesToScroll: 1, 2026 arrows: false, 2027 } 2028 } 2029 // You can unslick at a given breakpoint now by adding: 2030 // settings: "unslick" 2031 // instead of a settings object 2032 ] 2033 }); 2034 2035 2036 /////// SOE Student Life slider Start 2037 2038 $('.soe-stdlife-slider').slick({ 2039 centerMode: true, 2040 centerPadding: '60px', 2041 slidesToShow: 3, 2042 responsive: [{ 2043 breakpoint: 768, 2044 settings: { 2045 arrows: false, 2046 centerMode: true, 2047 centerPadding: '40px', 2048 slidesToShow: 3 2049 } 2050 }, 2051 { 2052 breakpoint: 480, 2053 settings: { 2054 arrows: false, 2055 centerMode: true, 2056 centerPadding: '40px', 2057 slidesToShow: 1 2058 } 2059 } 2060 ] 2061 }); 2062
2063 /////// SOE Student Life slider End 2064 2065 2066 2067 // Multi Slider with Thumbnails Start 2068 $('.research-highlights-slider').slick({ 2069 slidesToShow: 1, 2070 slidesToScroll: 1, 2071 arrows: true, 2072 fade: false, 2073 autoplay: true, 2074 speed: 1000, 2075 autoplaySpeed: 5000, 2076 dots: true, 2077 asNavFor: '.slider-nav-thumbnails', 2078 }); 2079 2080 $('.slider-nav-thumbnails').slick({ 2081 slidesToShow: 4, 2082 slidesToScroll: 1, 2083 arrows: false, 2084 asNavFor: '.research-highlights-slider', 2085 dots: false, 2086 focusOnSelect: true, 2087 2088 responsive: [{ 2089 breakpoint: 1024, 2090 settings: { 2091 slidesToShow: 3, 2092 slidesToScroll: 1, 2093 autoplay: true, 2094 arrows: false, 2095 dots: false, 2096 focusOnSelect: true, 2097 } 2098 }, 2099 { 2100 breakpoint: 993, 2101 settings: { 2102 slidesToShow: 3, 2103 slidesToScroll: 1, 2104 autoplay: true, 2105 arrows: true, 2106 dots: false, 2107 focusOnSelect: true, 2108 } 2109 }, 2110 { 2111 breakpoint: 768, 2112 settings: { 2113 slidesToShow: 2, 2114 slidesToScroll: 1, 2115 autoplay: true, 2116 arrows: false, 2117 dots: false, 2118 focusOnSelect: true, 2119 draggable: true, 2120 } 2121 }, 2122 { 2123 breakpoint: 481, 2124 settings: { 2125 slidesToShow: 4, 2126 slidesToScroll: 1, 2127 autoplay: true, 2128 arrows: false, 2129 dots: true, 2130 focusOnSelect: true, 2131 draggable: true, 2132 } 2133 }, 2134 { 2135 breakpoint: 414, 2136 settings: { 2137 slidesToShow: 1, 2138 slidesToScroll: 1, 2139 autoplay: true, 2140 arrows: false, 2141 dots: true, 2142 focusOnSelect: true, 2143 draggable: true, 2144 } 2145 }, 2146 2147 { 2148 breakpoint: 375, 2149 settings: { 2150 slidesToShow: 4, 2151 slidesToScroll: 1, 2152 autoplay: true, 2153 arrows: false, 2154 dots: false, 2155 focusOnSelect: true, 2156 draggable: true, 2157 } 2158 }, 2159 2160 { 2161 breakpoint: 360, 2162 settings: { 2163 slidesToShow: 4, 2164 slidesToScroll: 1, 2165 autoplay: true, 2166 arrows: false, 2167 dots: false, 2168 focusOnSelect: true, 2169 draggable: true, 2170 } 2171 } 2172 ] 2173 2174 }); 2175 2176 //remove active class from all thumbnail slides 2177 $('.slider-nav-thumbnails .slick-slide').removeClass('slick-active'); 2178 2179 //set active class to first thumbnail slides 2180 $('.slider-nav-thumbnails .slick-slide').eq(0).addClass('slick-active'); 2181 2182 // On before slide change match active thumbnail to current slide 2183 $('.research-highlights-slider').on('beforeChange', function (event, slick, currentSlide, nextSlide) { 2184 var mySlideNumber = nextSlide; 2185 $('.slider-nav-thumbnails .slick-slide').removeClass('slick-active'); 2186 $('.slider-nav-thumbnails .slick-slide').eq(mySlideNumber).addClass('slick-active'); 2187 }); 2188 2189 //UPDATED 2190 2191 $('.research-highlights-slider').on('afterChange', function (event, slick, currentSlide) { 2192 $('.content').hide(); 2193 $('.content[data-id=' + (currentSlide + 1) + ']').show(); 2194 }); 2195 2196 // Multi Slider with Thumbnails End 2197 2198 2199 // international student 2200 $('.international-students-slider').slick({ 2201 slidesToShow: 1, 2202 slidesToScroll: 1, 2203 arrows: false, 2204 fade: false, 2205 asNavFor: '.slider-nav-thumbnail', 2206 }); 2207 2208 $('.slider-nav-thumbnail').slick({ 2209 slidesToShow: 4, 2210 slidesToScroll: 1, 2211 asNavFor: '.international-students-slider', 2212 dots: true, 2213 focusOnSelect: true 2214 }); 2215 2216 //remove active class from all thumbnail slides 2217 $('.slider-nav-thumbnail .slick-slide').removeClass('slick-active'); 2218 2219 //set active class to first thumbnail slides 2220 $('.slider-nav-thumbnail .slick-slide').eq(0).addClass('slick-active'); 2221 2222 // On before slide change match active thumbnail to current slide 2223 $('.international-students-slider').on('beforeChange', function (event, slick, currentSlide, nextSlide) { 2224 var mySlideNumber = nextSlide; 2225 $('.slider-nav-thumbnail .slick-slide').removeClass('slick-active');
2226 $('.slider-nav-thumbnail .slick-slide').eq(mySlideNumber).addClass('slick-active'); 2227 }); 2228 2229 //UPDATED 2230 2231 $('.international-students-slider').on('afterChange', function (event, slick, currentSlide) { 2232 $('.content').hide(); 2233 $('.content[data-id=' + (currentSlide + 1) + ']').show(); 2234 }); 2235 2236 2237 // ==================================== 2238 2239 2240 // ==========================================Why Study Abroad OIA START 2241 $('.why-study-abroad-oia-nav-thumbnail').slick({ 2242 slidesToShow: 4, 2243 // slidesToScroll: false, 2244 asNavFor: '.why-study-abroad-oia-slider', 2245 dots: false, 2246 focusOnSelect: true, 2247 arrows: false, 2248 }); 2249 2250 $('.why-study-abroad-oia-slider').slick({ 2251 dots: false, 2252 infinite: true, 2253 speed: 300, 2254 slidesToShow: 1, 2255 centerMode: true, 2256 variableWidth: true, 2257 asNavFor: '.why-study-abroad-oia-nav-thumbnail', 2258 arrows: false, 2259 }); 2260 2261 //remove active class from all thumbnail slides 2262 $('.why-study-abroad-oia-nav-thumbnail .slick-slide').removeClass('slick-active'); 2263 2264 //set active class to first thumbnail slides 2265 $('.why-study-abroad-oia-nav-thumbnail .slick-slide').eq(0).addClass('slick-active'); 2266 2267 // On before slide change match active thumbnail to current slide 2268 $('.why-study-abroad-oia-slider').on('beforeChange', function (event, slick, currentSlide, nextSlide) { 2269 var mySlideNumber = nextSlide; 2270 $('.why-study-abroad-oia-nav-thumbnail .slick-slide').removeClass('slick-active'); 2271 $('.why-study-abroad-oia-nav-thumbnail .slick-slide').eq(mySlideNumber).addClass('slick-active'); 2272 }); 2273 2274 //UPDATED 2275 2276 $('.why-study-abroad-oia-slider').on('afterChange', function (event, slick, currentSlide) { 2277 $('.content').hide(); 2278 $('.content[data-id=' + (currentSlide + 1) + ']').show(); 2279 }); 2280 // ==========================================Why Study Abroad OIA END 2281 2282 2283 // ==========================================Shows Crousal RADIO START 2284 2285 // Covid-19 Slider 2286 2287 $(".radio-shows-sliders").slick({ 2288 infinite: true, 2289 draggable: true, 2290 swipe: true, 2291 slidesToShow: 4, 2292 autoplay: false, 2293 speed: 1000, 2294 autoplaySpeed: 10000, 2295 slidesToScroll: 1, 2296 rows: 1, 2297 pauseOnHover: false, 2298 dots: true, 2299 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 2300 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 2301 2302 responsive: [{ 2303 breakpoint: 1024, 2304 settings: { 2305 slidesToShow: 3, 2306 slidesToScroll: 3, 2307 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 2308 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 2309 } 2310 }, 2311 { 2312 breakpoint: 769, 2313 settings: { 2314 slidesToShow: 2, 2315 slidesToScroll: 2, 2316 // autoplay: false, 2317 arrows: false, 2318 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 2319 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 2320 } 2321 }, 2322 { 2323 breakpoint: 480, 2324 settings: { 2325 slidesToShow: 1, 2326 slidesToScroll: 1, 2327 arrows: false, 2328 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 2329 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 2330 } 2331 } 2332 // You can unslick at a given breakpoint now by adding: 2333 // settings: "unslick" 2334 // instead of a settings object 2335 ] 2336 }); 2337 2338 // ==========================================Shows Crousal RADIO END 2339 2340 // Numbers Crousal SDSB START 2341 $(".facts-figure-crousal-sdsb").slick({ 2342 infinite: true, 2343 draggable: true, 2344 swipe: true, 2345 slidesToShow: 3, 2346 autoplay: false, 2347 speed: 1000, 2348 slidesToScroll: 1, 2349 rows: 1, 2350 pauseOnHover: false, 2351 dots: true, 2352 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 2353 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 2354 2355 responsive: [{ 2356 breakpoint: 1024, 2357 settings: { 2358 slidesToShow: 1, 2359 slidesToScroll: 1, 2360 } 2361 }, 2362 { 2363 breakpoint: 769, 2364 settings: { 2365 slidesToShow: 1, 2366 slidesToScroll: 1, 2367 // autoplay: false,
2368 arrows: false, 2369 } 2370 }, 2371 { 2372 breakpoint: 480, 2373 settings: { 2374 slidesToShow: 1, 2375 slidesToScroll: 1, 2376 arrows: false, 2377 } 2378 } 2379 // You can unslick at a given breakpoint now by adding: 2380 // settings: "unslick" 2381 // instead of a settings object 2382 ] 2383 }); 2384 // Numbers Crousal SDSB END 2385 2386 2387 // Alumni Relations 2388 $(".international-student-slider").slick({ 2389 infinite: true, 2390 draggable: true, 2391 swipe: true, 2392 slidesToShow: 1, 2393 autoplay: true, 2394 speed: 1000, 2395 slidesToScroll: 1, 2396 rows: 1, 2397 pauseOnHover: false, 2398 dots: true, 2399 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 2400 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 2401 2402 responsive: [{ 2403 breakpoint: 1024, 2404 settings: { 2405 slidesToShow: 1, 2406 slidesToScroll: 1, 2407 2408 2409 } 2410 }, 2411 { 2412 breakpoint: 769, 2413 settings: { 2414 slidesToShow: 1, 2415 slidesToScroll: 1, 2416 // autoplay: false, 2417 arrows: false, 2418 } 2419 }, 2420 { 2421 breakpoint: 480, 2422 settings: { 2423 slidesToShow: 1, 2424 slidesToScroll: 1, 2425 arrows: false, 2426 } 2427 } 2428 // You can unslick at a given breakpoint now by adding: 2429 // settings: "unslick" 2430 // instead of a settings object 2431 ] 2432 }); 2433 2434 2435 // History Slider 2436 $(".alumni-slideshow").slick({ 2437 infinite: true, 2438 draggable: true, 2439 swipe: true, 2440 slidesToShow: 1, 2441 autoplay: false, 2442 speed: 1000, 2443 slidesToScroll: 1, 2444 rows: 1, 2445 pauseOnHover: false, 2446 dots: true, 2447 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 2448 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 2449 2450 responsive: [{ 2451 breakpoint: 1024, 2452 settings: { 2453 slidesToShow: 1, 2454 slidesToScroll: 1, 2455 2456 2457 } 2458 }, 2459 { 2460 breakpoint: 769, 2461 settings: { 2462 slidesToShow: 1, 2463 slidesToScroll: 1, 2464 // autoplay: false, 2465 arrows: false, 2466 } 2467 }, 2468 { 2469 breakpoint: 480, 2470 settings: { 2471 slidesToShow: 1, 2472 slidesToScroll: 1, 2473 arrows: false, 2474 } 2475 } 2476 // You can unslick at a given breakpoint now by adding: 2477 // settings: "unslick" 2478 // instead of a settings object 2479 ] 2480 }); 2481 2482 2483 /* $(document).ready(function() { 2484 $(".home-slider-main ul video").prop('muted', true); 2485 $(".home-slider-main ul video").prop('loop','loop'); 2486 $('.home-slider-main ul video').prop('autoplay','1'); 2487 $('.home-slider-main ul video').get(0).play(); 2488 }); */ 2489 2490 2491 // quick facts SOE crousal START 2492 $(".alumni-slideshow").slick({ 2493 infinite: true, 2494 draggable: true, 2495 swipe: true, 2496 slidesToShow: 4, 2497 autoplay: false, 2498 speed: 1000, 2499 slidesToScroll: 1, 2500 rows: 1, 2501 pauseOnHover: false, 2502 dots: true, 2503 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 2504 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 2505 2506 responsive: [{ 2507 breakpoint: 1024, 2508 settings: { 2509 slidesToShow: 1, 2510 slidesToScroll: 1, 2511 2512 2513 } 2514 }, 2515 { 2516 breakpoint: 769, 2517 settings: { 2518 slidesToShow: 1, 2519 slidesToScroll: 1, 2520 // autoplay: false,
2521 arrows: false, 2522 } 2523 }, 2524 { 2525 breakpoint: 480, 2526 settings: { 2527 slidesToShow: 1, 2528 slidesToScroll: 1, 2529 arrows: false, 2530 } 2531 } 2532 // You can unslick at a given breakpoint now by adding: 2533 // settings: "unslick" 2534 // instead of a settings object 2535 ] 2536 }); 2537 // quick facts SOE crousal CLOSE 2538 2539 2540 // sbasse departments page crousal START 2541 $(".departments-page-crousal").slick({ 2542 infinite: true, 2543 draggable: true, 2544 swipe: true, 2545 slidesToShow: 5, 2546 autoplay: true, 2547 speed: 1000, 2548 slidesToScroll: 1, 2549 rows: 1, 2550 pauseOnHover: false, 2551 dots: false, 2552 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 2553 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 2554 2555 responsive: [{ 2556 breakpoint: 1024, 2557 settings: { 2558 slidesToShow: 4, 2559 slidesToScroll: 1, 2560 } 2561 }, 2562 { 2563 breakpoint: 769, 2564 settings: { 2565 slidesToShow: 3, 2566 slidesToScroll: 1, 2567 // autoplay: false, 2568 arrows: false, 2569 } 2570 }, 2571 { 2572 breakpoint: 480, 2573 settings: { 2574 slidesToShow: 1, 2575 slidesToScroll: 1, 2576 arrows: false, 2577 } 2578 } 2579 // You can unslick at a given breakpoint now by adding: 2580 // settings: "unslick" 2581 // instead of a settings object 2582 ] 2583 }); 2584 // sbasse departments page crousal CLOSE 2585 2586 2587 // sbasse departments faculty user crousal START 2588 $(".departments-sbasse-crousal").slick({ 2589 infinite: true, 2590 draggable: true, 2591 swipe: true, 2592 slidesToShow: 4, 2593 autoplay: true, 2594 speed: 1000, 2595 slidesToScroll: 1, 2596 rows: 1, 2597 pauseOnHover: false, 2598 dots: false, 2599 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 2600 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 2601 2602 responsive: [{ 2603 breakpoint: 1024, 2604 settings: { 2605 slidesToShow: 3, 2606 slidesToScroll: 1, 2607 } 2608 }, 2609 { 2610 breakpoint: 769, 2611 settings: { 2612 slidesToShow: 3, 2613 slidesToScroll: 1, 2614 // autoplay: false, 2615 arrows: false, 2616 } 2617 }, 2618 { 2619 breakpoint: 480, 2620 settings: { 2621 slidesToShow: 1, 2622 slidesToScroll: 1, 2623 arrows: false, 2624 } 2625 } 2626 // You can unslick at a given breakpoint now by adding: 2627 // settings: "unslick" 2628 // instead of a settings object 2629 ] 2630 }); 2631 2632 2633 2634 /* Ticker */ 2635 $(".ticker").not('.slick-initialized').slick({ 2636 infinite: true, 2637 draggable: true, 2638 swipe: true, 2639 slidesToShow: 1, 2640 autoplay: true, 2641 speed: 1000, 2642 autoplaySpeed: 7000, 2643 slidesToScroll: 1, 2644 rows: 1, 2645 pauseOnHover: false, 2646 dots: false, 2647 arrows: false, 2648 // prevArrow: 2649 // "<button type='button' class='slick-prev pull-left'><i class='fa 2650 // fa-arrow-left' aria-hidden='true'></i></button>", nextArrow: 2651 // "<button type='button' class='slick-next pull-right'><i class='fa 2652 // fa-arrow-right' aria-hidden='true'></i></button>", 2653 2654 responsive: [{ 2655 breakpoint: 1024, 2656 settings: { 2657 slidesToShow: 1, 2658 slidesToScroll: 1, 2659 autoplay: true, 2660 2661 } 2662 }, 2663 { 2664 breakpoint: 769, 2665 settings: { 2666 slidesToShow: 1, 2667 slidesToScroll: 1, 2668 autoplay: true,
2669 arrows: false, 2670 } 2671 }, 2672 { 2673 breakpoint: 480, 2674 settings: { 2675 slidesToShow: 1, 2676 slidesToScroll: 1, 2677 autoplay: true, 2678 arrows: false, 2679 } 2680 }, 2681 { 2682 breakpoint: 414, 2683 settings: { 2684 slidesToShow: 1, 2685 slidesToScroll: 1, 2686 autoplay: true, 2687 arrows: false, 2688 } 2689 } 2690 // You can unslick at a given breakpoint now by adding: 2691 // settings: "unslick" 2692 // instead of a settings object 2693 ] 2694 }); 2695 /* Ticker */ 2696 2697 2698 // Quick Facts Crousal Start 2699 $(".alumni-quick-facts-carousal").slick({ 2700 infinite: true, 2701 draggable: true, 2702 swipe: true, 2703 slidesToShow: 4, 2704 autoplay: true, 2705 speed: 1500, 2706 slidesToScroll: 3, 2707 rows: 1, 2708 pauseOnHover: false, 2709 dots: false, 2710 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 2711 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 2712 2713 responsive: [{ 2714 breakpoint: 1024, 2715 settings: { 2716 slidesToShow: 3, 2717 slidesToScroll: 1, 2718 autoplay: true, 2719 } 2720 }, 2721 { 2722 breakpoint: 769, 2723 settings: { 2724 slidesToShow: 2, 2725 slidesToScroll: 1, 2726 arrows: false, 2727 autoplay: true, 2728 } 2729 }, 2730 { 2731 breakpoint: 480, 2732 settings: { 2733 slidesToShow: 1, 2734 slidesToScroll: 1, 2735 arrows: false, 2736 autoplay: true, 2737 } 2738 } 2739 // You can unslick at a given breakpoint now by adding: 2740 // settings: "unslick" 2741 // instead of a settings object 2742 ] 2743 }); 2744 // Quick Facts Crousal Ends 2745 2746 2747 // Sponsors Slider 2748 $(".sponsors-slider").not('.slick-initialized').slick({ 2749 infinite: true, 2750 slidesToShow: 4, 2751 autoplay: true, 2752 speed: 1000, 2753 autoplaySpeed: 3000, 2754 slidesToScroll: 1, 2755 rows: 1, 2756 pauseOnHover: false, 2757 arrows: true, 2758 dots: false, 2759 /*prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 2760 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>",*/ 2761 2762 responsive: [{ 2763 breakpoint: 1024, 2764 settings: { 2765 slidesToShow: 2, 2766 slidesToScroll: 2, 2767 2768 } 2769 }, 2770 { 2771 breakpoint: 769, 2772 settings: { 2773 slidesToShow: 2, 2774 slidesToScroll: 2, 2775 arrows: false, 2776 } 2777 }, 2778 { 2779 breakpoint: 750, 2780 settings: { 2781 slidesToShow: 1, 2782 slidesToScroll: 1, 2783 arrows: false, 2784 } 2785 }, 2786 { 2787 breakpoint: 480, 2788 settings: { 2789 slidesToShow: 1, 2790 slidesToScroll: 1, 2791 arrows: false, 2792 } 2793 } 2794 // You can unslick at a given breakpoint now by adding: 2795 // settings: "unslick" 2796 // instead of a settings object 2797 ] 2798 }); 2799 2800 2801 2802 /* Announcements Slider*/ 2803 $(".announcements-slider").not('.slick-initialized').slick({ 2804 infinite: true, 2805 draggable: true, 2806 swipe: true, 2807 slidesToShow: 1, 2808 autoplay: true, 2809 speed: 1000, 2810 autoplaySpeed: 7000, 2811 slidesToScroll: 1, 2812 rows: 1, 2813 pauseOnHover: false, 2814 dots: true,
2815 arrows: false, 2816 // prevArrow: 2817 // "<button type='button' class='slick-prev pull-left'><i class='fa 2818 // fa-arrow-left' aria-hidden='true'></i></button>", nextArrow: 2819 // "<button type='button' class='slick-next pull-right'><i class='fa 2820 // fa-arrow-right' aria-hidden='true'></i></button>", 2821 2822 responsive: [{ 2823 breakpoint: 1024, 2824 settings: { 2825 slidesToShow: 1, 2826 slidesToScroll: 1, 2827 autoplay: true, 2828 2829 } 2830 }, 2831 { 2832 breakpoint: 769, 2833 settings: { 2834 slidesToShow: 1, 2835 slidesToScroll: 1, 2836 autoplay: true, 2837 arrows: false, 2838 } 2839 }, 2840 { 2841 breakpoint: 480, 2842 settings: { 2843 slidesToShow: 1, 2844 slidesToScroll: 1, 2845 autoplay: true, 2846 arrows: false, 2847 } 2848 }, 2849 { 2850 breakpoint: 414, 2851 settings: { 2852 slidesToShow: 1, 2853 slidesToScroll: 1, 2854 autoplay: true, 2855 arrows: false, 2856 } 2857 } 2858 // You can unslick at a given breakpoint now by adding: 2859 // settings: "unslick" 2860 // instead of a settings object 2861 ] 2862 }); 2863 /*Announcements slider*/ 2864 2865 2866 2867 /* Resources Slider*/ 2868 $(".resources-slider").not('.slick-initialized').slick({ 2869 infinite: true, 2870 draggable: true, 2871 swipe: true, 2872 slidesToShow: 3, 2873 autoplay: true, 2874 speed: 1000, 2875 autoplaySpeed: 7000, 2876 slidesToScroll: 1, 2877 rows: 1, 2878 pauseOnHover: false, 2879 dots: false, 2880 arrows: true, 2881 // prevArrow: 2882 // "<button type='button' class='slick-prev pull-left'><i class='fa 2883 // fa-arrow-left' aria-hidden='true'></i></button>", nextArrow: 2884 // "<button type='button' class='slick-next pull-right'><i class='fa 2885 // fa-arrow-right' aria-hidden='true'></i></button>", 2886 2887 responsive: [{ 2888 breakpoint: 1024, 2889 settings: { 2890 slidesToShow: 1, 2891 slidesToScroll: 1, 2892 autoplay: true, 2893 2894 } 2895 }, 2896 { 2897 breakpoint: 769, 2898 settings: { 2899 slidesToShow: 1, 2900 slidesToScroll: 1, 2901 autoplay: true, 2902 arrows: false, 2903 } 2904 }, 2905 { 2906 breakpoint: 480, 2907 settings: { 2908 slidesToShow: 1, 2909 slidesToScroll: 1, 2910 autoplay: true, 2911 arrows: false, 2912 } 2913 }, 2914 { 2915 breakpoint: 414, 2916 settings: { 2917 slidesToShow: 1, 2918 slidesToScroll: 1, 2919 autoplay: true, 2920 arrows: false, 2921 } 2922 } 2923 // You can unslick at a given breakpoint now by adding: 2924 // settings: "unslick" 2925 // instead of a settings object 2926 ] 2927 }); 2928 /*Announcements slider*/ 2929 2930 2931 2932 2933 2934 //sbasse departments faculty user crousal CLOSE 2935 2936 2937 // Video Gallery SOE crousal START 2938 /*$(".video-gallery-seo-crousal").slick({ 2939 infinite: true, 2940 draggable: true, 2941 swipe: true, 2942 slidesToShow: 2, 2943 autoplay: false, 2944 speed: 1000, 2945 slidesToScroll: 1, 2946 rows: 1, 2947 pauseOnHover: false, 2948 dots: false, 2949 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 2950 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 2951 2952 responsive: [{ 2953 breakpoint: 1024, 2954 settings: { 2955 slidesToShow: 2, 2956 slidesToScroll: 1, 2957 } 2958 }, 2959 { 2960 breakpoint: 769, 2961 settings: { 2962 slidesToShow: 2, 2963 slidesToScroll: 1,
2964 arrows: false, 2965 } 2966 }, 2967 { 2968 breakpoint: 480, 2969 settings: { 2970 slidesToShow: 1, 2971 slidesToScroll: 1, 2972 arrows: false, 2973 } 2974 } 2975 ] 2976 });*/ 2977 // Video Gallery SOE crousal CLOSE 2978 2979 // why support page Crousal START 2980 $(".donor-stories-giving").slick({ 2981 infinite: true, 2982 draggable: true, 2983 swipe: true, 2984 slidesToShow: 3, 2985 autoplay: false, 2986 speed: 1000, 2987 slidesToScroll: 1, 2988 rows: 1, 2989 pauseOnHover: false, 2990 dots: false, 2991 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 2992 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 2993 2994 responsive: [{ 2995 breakpoint: 1024, 2996 settings: { 2997 slidesToShow: 3, 2998 slidesToScroll: 1, 2999 } 3000 }, 3001 { 3002 breakpoint: 769, 3003 settings: { 3004 slidesToShow: 3, 3005 slidesToScroll: 1, 3006 // autoplay: false, 3007 arrows: false, 3008 } 3009 }, 3010 { 3011 breakpoint: 480, 3012 settings: { 3013 slidesToShow: 1, 3014 slidesToScroll: 1, 3015 arrows: false, 3016 } 3017 } 3018 // You can unslick at a given breakpoint now by adding: 3019 // settings: "unslick" 3020 // instead of a settings object 3021 ] 3022 }); 3023 // why support page Crousal CLOSE 3024 3025 3026 // vc slider 3027 $(".numbers-alumni-relans-slider").slick({ 3028 infinite: true, 3029 draggable: true, 3030 swipe: true, 3031 slidesToShow: 3, 3032 autoplay: false, 3033 speed: 1000, 3034 slidesToScroll: 1, 3035 rows: 1, 3036 pauseOnHover: false, 3037 dots: false, 3038 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3039 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3040 3041 responsive: [{ 3042 breakpoint: 1024, 3043 settings: { 3044 slidesToShow: 3, 3045 slidesToScroll: 3, 3046 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3047 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3048 } 3049 }, 3050 { 3051 breakpoint: 769, 3052 settings: { 3053 slidesToShow: 2, 3054 slidesToScroll: 2, 3055 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3056 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3057 } 3058 }, 3059 { 3060 breakpoint: 480, 3061 settings: { 3062 slidesToShow: 1, 3063 slidesToScroll: 1, 3064 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3065 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3066 } 3067 } 3068 // You can unslick at a given breakpoint now by adding: 3069 // settings: "unslick" 3070 // instead of a settings object 3071 ] 3072 }); 3073 /* 3074 Meet our team slider START 3075 */ 3076 $(".meet-ourteam-slider-radio").slick({ 3077 infinite: true, 3078 draggable: true, 3079 swipe: true, 3080 slidesToShow: 3, 3081 autoplay: false, 3082 speed: 1000, 3083 slidesToScroll: 1, 3084 rows: 1, 3085 pauseOnHover: false, 3086 dots: false, 3087 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3088 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3089 3090 responsive: [{ 3091 breakpoint: 1024, 3092 settings: { 3093 slidesToShow: 3, 3094 slidesToScroll: 3, 3095 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3096 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3097 } 3098 }, 3099 { 3100 breakpoint: 769, 3101 settings: { 3102 slidesToShow: 2, 3103 slidesToScroll: 2, 3104 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3105 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3106 } 3107 }, 3108 { 3109 breakpoint: 480, 3110 settings: { 3111 slidesToShow: 1, 3112 slidesToScroll: 1, 3113 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3114 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3115 } 3116 } 3117 // You can unslick at a given breakpoint now by adding: 3118 // settings: "unslick" 3119 // instead of a settings object 3120 ] 3121 }); 3122 /* 3123 Meet our team slider END 3124 */ 3125 3126 // vc slider 3127 $(".mentorship-numbers-slider").slick({ 3128 infinite: true, 3129 draggable: true, 3130 swipe: true, 3131 slidesToShow: 3, 3132 autoplay: false, 3133 speed: 1000, 3134 slidesToScroll: 1, 3135 rows: 1, 3136 pauseOnHover: false, 3137 dots: false, 3138 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3139 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3140 3141 responsive: [{ 3142 breakpoint: 1024, 3143 settings: { 3144 slidesToShow: 3, 3145 slidesToScroll: 3, 3146 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3147 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3148 } 3149 }, 3150 { 3151 breakpoint: 769, 3152 settings: { 3153 slidesToShow: 2, 3154 slidesToScroll: 2, 3155 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3156 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3157 } 3158 }, 3159 { 3160 breakpoint: 480, 3161 settings: { 3162 slidesToShow: 1, 3163 slidesToScroll: 1, 3164 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3165 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3166 } 3167 } 3168 // You can unslick at a given breakpoint now by adding: 3169 // settings: "unslick" 3170 // instead of a settings object 3171 ] 3172 }); 3173 3174 // join-mentorship-numbers-block mentorship 3175 $(".join-mentorship-numbers-block").slick({ 3176 3177 infinite: true, 3178 draggable: true, 3179 swipe: true, 3180 slidesToShow: 1, 3181 autoplay: true, 3182 speed: 1000, 3183 slidesToScroll: 1, 3184 rows: 1, 3185 pauseOnHover: false, 3186 dots: true, 3187 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3188 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3189 3190 responsive: [{ 3191 breakpoint: 1024, 3192 settings: { 3193 slidesToShow: 1, 3194 slidesToScroll: 1, 3195 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3196 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3197 } 3198 }, 3199 { 3200 breakpoint: 769, 3201 settings: { 3202 slidesToShow: 1, 3203 slidesToScroll: 1, 3204 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3205 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3206 } 3207 }, 3208 { 3209 breakpoint: 480, 3210 settings: { 3211 slidesToShow: 1, 3212 slidesToScroll: 1, 3213 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3214 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3215 } 3216 } 3217 // You can unslick at a given breakpoint now by adding: 3218 // settings: "unslick" 3219 // instead of a settings object 3220 ] 3221 }); 3222 3223 3224 // vc slider 3225 $(".history-excellencerelans-slider").slick({ 3226 infinite: true, 3227 draggable: true, 3228 swipe: true, 3229 slidesToShow: 3, 3230 autoplay: false, 3231 speed: 1000, 3232 slidesToScroll: 1, 3233 rows: 1, 3234 pauseOnHover: false, 3235 dots: false, 3236 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3237 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3238 3239 responsive: [{ 3240 breakpoint: 1024, 3241 settings: { 3242 slidesToShow: 3, 3243 slidesToScroll: 3, 3244 3245 } 3246 }, 3247 { 3248 breakpoint: 769, 3249 settings: { 3250 slidesToShow: 2, 3251 slidesToScroll: 2, 3252 } 3253 }, 3254 { 3255 breakpoint: 480, 3256 settings: { 3257 slidesToShow: 1, 3258 slidesToScroll: 1, 3259 } 3260 } 3261 // You can unslick at a given breakpoint now by adding: 3262 // settings: "unslick" 3263 // instead of a settings object 3264 ] 3265 }); 3266 3267 3268 // Donors slider 3269 $(".donors-slider").slick({ 3270 infinite: true, 3271 draggable: true, 3272 swipe: true, 3273 slidesToShow: 3, 3274 autoplay: true, 3275 speed: 1000, 3276 slidesToScroll: 1, 3277 rows: 1, 3278 pauseOnHover: false, 3279 dots: false, 3280 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3281 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3282 mobileFirst: true, 3283 // responsive: [{ 3284 // breakpoint: 1200, 3285 // settings: { 3286 // slidesToShow: 3, 3287 // slidesToScroll: 3, 3288 3289 // } 3290 // }, 3291 // { 3292 // breakpoint: 1024, 3293 // settings: { 3294 // slidesToShow: 3, 3295 // slidesToScroll: 3, 3296 3297 // } 3298 // }, 3299 // { 3300 // breakpoint: 991, 3301 // settings: { 3302 // slidesToShow: 2, 3303 // slidesToScroll: 2, 3304 3305 // } 3306 // }, 3307 // { 3308 // breakpoint: 769, 3309 // settings: { 3310 // slidesToShow: 1, 3311 // slidesToScroll: 1, 3312 // } 3313 // }, 3314 // { 3315 // breakpoint: 480, 3316 // settings: { 3317 // slidesToShow: 1, 3318 // slidesToScroll: 1, 3319 // } 3320 // } 3321 // // You can unslick at a given breakpoint now by adding: 3322 // // settings: "unslick" 3323 // // instead of a settings object 3324 // ] 3325 }); 3326 3327 3328 // publication Brochures & Flyer slider 3329 3330 $(".publication-flyer-slider").slick({ 3331 mobileFirst: true, 3332 infinite: true, 3333 draggable: true, 3334 swipe: true, 3335 slidesToShow: 4, 3336 autoplay: false, 3337 speed: 1000, 3338 slidesToScroll: 1, 3339 rows: 1, 3340 pauseOnHover: false, 3341 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3342 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3343 3344 // responsive: [ 3345 // { 3346 // breakpoint: 1024, 3347 // settings: { 3348 // slidesToShow: 4, 3349 // slidesToScroll: 3, 3350 // dots: false 3351 // } 3352 // }, 3353 // { 3354 // breakpoint: 600, 3355 // settings: { 3356 // slidesToShow: 2, 3357 // slidesToScroll: 2 3358 // } 3359 // }, 3360 // { 3361 // breakpoint: 480, 3362 // settings: { 3363 // slidesToShow: 1, 3364 // slidesToScroll: 1 3365 // } 3366 // } 3367 // // You can unslick at a given breakpoint now by adding: 3368 // // settings: "unslick" 3369 // // instead of a settings object 3370 // ] 3371 3372 }); 3373 3374 // var slick = $('.publication-flyer-slider').slick({ 3375 // //Then parameters 3376 // }); 3377 3378 //Now click on the image magnific-popup reinitializing slider 3379 // $('.publication-flyer-slider .img').click(function() { 3380 // $(".publication-flyer-slider").slick('refresh'); 3381 // }); 3382 3383 // $( window ).load(function() { 3384 // // Run code 3385 // $(".publication-flyer-slider").slick('refresh'); 3386 // }); 3387 3388 3389 // publication Newsletter slider 3390 $(".publication-newsletter-slider").slick({ 3391 infinite: true, 3392 draggable: true, 3393 swipe: true, 3394 slidesToShow: 4, 3395 autoplay: false, 3396 speed: 1000, 3397 slidesToScroll: 1, 3398 rows: 1, 3399 pauseOnHover: false, 3400 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3401 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3402 mobileFirst: true, 3403 responsive: [{ 3404 breakpoint: 1024, 3405 settings: { 3406 slidesToShow: 4, 3407 slidesToScroll: 1, 3408 3409 } 3410 }, 3411 { 3412 breakpoint: 991, 3413 settings: { 3414 slidesToShow: 3, 3415 slidesToScroll: 1, 3416 3417 } 3418 }, 3419 { 3420 breakpoint: 768, 3421 settings: {
3422 slidesToShow: 1, 3423 slidesToScroll: 1, 3424 } 3425 }, 3426 { 3427 breakpoint: 480, 3428 settings: { 3429 slidesToShow: 1, 3430 slidesToScroll: 1, 3431 } 3432 }, 3433 { 3434 breakpoint: 414, 3435 settings: { 3436 slidesToShow: 1, 3437 slidesToScroll: 1, 3438 } 3439 }, 3440 { 3441 breakpoint: 374, 3442 settings: { 3443 slidesToShow: 1, 3444 slidesToScroll: 1, 3445 } 3446 }, 3447 { 3448 breakpoint: 360, 3449 settings: { 3450 slidesToShow: 1, 3451 slidesToScroll: 1, 3452 } 3453 }, 3454 { 3455 breakpoint: 320, 3456 settings: { 3457 slidesToShow: 1, 3458 slidesToScroll: 1, 3459 } 3460 } 3461 3462 ] 3463 }); 3464 3465 3466 // publication Annuals slider 3467 $(".publication-annuals-slider").slick({ 3468 infinite: true, 3469 draggable: true, 3470 swipe: true, 3471 slidesToShow: 4, 3472 autoplay: false, 3473 speed: 1000, 3474 slidesToScroll: 1, 3475 rows: 1, 3476 pauseOnHover: false, 3477 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3478 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3479 mobileFirst: true, 3480 // responsive: [{ 3481 // breakpoint: 1200, 3482 // settings: { 3483 // slidesToShow: 3, 3484 // slidesToScroll: 3, 3485 3486 // } 3487 // }, 3488 // { 3489 // breakpoint: 1024, 3490 // settings: { 3491 // slidesToShow: 3, 3492 // slidesToScroll: 3, 3493 3494 // } 3495 // }, 3496 // { 3497 // breakpoint: 991, 3498 // settings: { 3499 // slidesToShow: 2, 3500 // slidesToScroll: 2, 3501 3502 // } 3503 // }, 3504 // { 3505 // breakpoint: 769, 3506 // settings: { 3507 // slidesToShow: 2, 3508 // slidesToScroll: 2, 3509 // } 3510 // }, 3511 // { 3512 // breakpoint: 480, 3513 // settings: { 3514 // slidesToShow: 1, 3515 // slidesToScroll: 1, 3516 // } 3517 // } 3518 // // You can unslick at a given breakpoint now by adding: 3519 // // settings: "unslick" 3520 // // instead of a settings object 3521 // ] 3522 }); 3523 3524 3525 // publication Publication slider 3526 $(".publication-publication-slider").slick({ 3527 infinite: true, 3528 draggable: true, 3529 swipe: true, 3530 slidesToShow: 4, 3531 autoplay: false, 3532 speed: 1000, 3533 slidesToScroll: 1, 3534 rows: 1, 3535 pauseOnHover: false, 3536 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3537 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3538 mobileFirst: true, 3539 // responsive: [{ 3540 // breakpoint: 1200, 3541 // settings: { 3542 // slidesToShow: 3, 3543 // slidesToScroll: 3, 3544 3545 // } 3546 // }, 3547 // { 3548 // breakpoint: 1024, 3549 // settings: { 3550 // slidesToShow: 3, 3551 // slidesToScroll: 3, 3552 3553 // } 3554 // }, 3555 // { 3556 // breakpoint: 991, 3557 // settings: { 3558 // slidesToShow: 2, 3559 // slidesToScroll: 2, 3560 3561 // } 3562 // }, 3563 // { 3564 // breakpoint: 769, 3565 // settings: { 3566 // slidesToShow: 2, 3567 // slidesToScroll: 2, 3568 // } 3569 // }, 3570 // { 3571 // breakpoint: 480, 3572 // settings: { 3573 // slidesToShow: 1, 3574 // slidesToScroll: 1, 3575 // } 3576 // } 3577 // // You can unslick at a given breakpoint now by adding: 3578 // // settings: "unslick" 3579 // // instead of a settings object 3580 // ] 3581 }); 3582 3583 3584 // publication Annual Reports slider 3585 /*$(".publication-reports-slider").slick({ 3586 infinite: true, 3587 draggable: true, 3588 swipe: true, 3589 slidesToShow: 4, 3590 autoplay: false, 3591 speed: 1000, 3592 slidesToScroll: 1, 3593 rows: 1, 3594 pauseOnHover: false, 3595 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3596 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3597 mobileFirst: true, 3598 3599 3600 // responsive: [ 3601 // { 3602 // breakpoint: 1024, 3603 // settings: { 3604 // slidesToShow: 4, 3605 // slidesToScroll: 1, 3606 // infinite: true, 3607 // draggable: true, 3608 // autoplay: false, 3609 // speed: 1000, 3610 // swipe: true, 3611 // mobileFirst: true, 3612 // dots: false 3613 // } 3614 // }, 3615 // { 3616 // breakpoint: 600, 3617 // settings: { 3618 // slidesToShow: 1, 3619 3620 // slidesToScroll: 1, 3621 // infinite: true, 3622 // draggable: true, 3623 // autoplay: false, 3624 // speed: 1000, 3625 // swipe: true, 3626 // mobileFirst: true, 3627 // dots: false 3628 3629 // } 3630 // }, 3631 // { 3632 // breakpoint: 480, 3633 // settings: { 3634 // variableWidth: true, 3635 // mobileFirst: true, 3636 // slidesToShow: 1, 3637 // slidesToScroll: 1, 3638 3639 // } 3640 // } 3641 // // You can unslick at a given breakpoint now by adding: 3642 // // settings: "unslick" 3643 // // instead of a settings object 3644 // ] 3645 });*/ 3646 3647 // publication Annual Reports slider for mobile and ipad 3648 /*$(".publication-reports-slider").slick({ 3649 infinite: true, 3650 draggable: true, 3651 swipe: true, 3652 slidesToShow: 4, 3653 autoplay: false, 3654 speed: 1000, 3655 slidesToScroll: 1, 3656 rows: 1, 3657 pauseOnHover: false, 3658 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3659 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3660 mobileFirst: true, 3661 3662 // responsive: [ 3663 // { 3664 // breakpoint: 1024, 3665 // settings: { 3666 // slidesToShow: 3, 3667 // slidesToScroll: 3, 3668 // infinite: true, 3669 // dots: true 3670 // } 3671 // }, 3672 // { 3673 // breakpoint: 600, 3674 // settings: { 3675 // slidesToShow: 2, 3676 // slidesToScroll: 2 3677 // } 3678 // }, 3679 // { 3680 // breakpoint: 480, 3681 // settings: { 3682 // slidesToShow: 1, 3683 // slidesToScroll: 1 3684 // } 3685 // } 3686 // // You can unslick at a given breakpoint now by adding: 3687 // // settings: "unslick" 3688 // // instead of a settings object 3689 // ] 3690 });*/ 3691 3692 3693 // publication Annual Reports slider for mobile and ipad 3694 $(".publication-rsearch-slider").slick({ 3695 infinite: true, 3696 draggable: true, 3697 swipe: true, 3698 slidesToShow: 4, 3699 autoplay: false, 3700 speed: 1000, 3701 slidesToScroll: 1, 3702 rows: 1, 3703 pauseOnHover: false, 3704 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3705 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3706 mobileFirst: true, 3707 3708 // responsive: [ 3709 // { 3710 // breakpoint: 1024, 3711 // settings: { 3712 // slidesToShow: 3, 3713 // slidesToScroll: 3, 3714 // infinite: true, 3715 // dots: true 3716 // } 3717 // }, 3718 // { 3719 // breakpoint: 600, 3720 // settings: { 3721 // slidesToShow: 2, 3722 // slidesToScroll: 2 3723 // } 3724 // }, 3725 // { 3726 // breakpoint: 480, 3727 // settings: { 3728 // slidesToShow: 1, 3729 // slidesToScroll: 1 3730 // } 3731 // } 3732 // // You can unslick at a given breakpoint now by adding: 3733 // // settings: "unslick" 3734 // // instead of a settings object 3735 // ] 3736 }); 3737 3738 3739 // publication Resources slider 3740 $(".publication-resources-slider").slick({ 3741 infinite: true, 3742 draggable: true, 3743 swipe: true, 3744 slidesToShow: 4, 3745 autoplay: false, 3746 speed: 1000, 3747 slidesToScroll: 1, 3748 rows: 1, 3749 pauseOnHover: false, 3750 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3751 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3752 // mobileFirst: true, 3753 // responsive: [{ 3754 // breakpoint: 1200, 3755 // settings: { 3756 // slidesToShow: 3, 3757 // slidesToScroll: 3, 3758 3759 // } 3760 // }, 3761 // { 3762 // breakpoint: 1024, 3763 // settings: { 3764 // slidesToShow: 3, 3765 // slidesToScroll: 3, 3766 3767 // } 3768 // }, 3769 // { 3770 // breakpoint: 991, 3771 // settings: { 3772 // slidesToShow: 2, 3773 // slidesToScroll: 2, 3774 3775 // } 3776 // }, 3777 // { 3778 // breakpoint: 769, 3779 // settings: { 3780 // slidesToShow: 2, 3781 // slidesToScroll: 2, 3782 // } 3783 // }, 3784 // { 3785 // breakpoint: 480, 3786 // settings: { 3787 // slidesToShow: 1, 3788 // slidesToScroll: 1, 3789 // } 3790 // } 3791 // // You can unslick at a given breakpoint now by adding: 3792 // // settings: "unslick" 3793 // // instead of a settings object 3794 // ] 3795 }); 3796 3797 3798 // home slider 3799 $(".recent-news-slider").not('.slick-initialized').slick({ 3800 infinite: true, 3801 slidesToShow: 3, 3802 autoplay: true, 3803 speed: 1000, 3804 slidesToScroll: 1, 3805 rows: 1, 3806 pauseOnHover: false, 3807 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3808 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3809 3810 responsive: [{ 3811 breakpoint: 1024, 3812 settings: { 3813 slidesToShow: 2, 3814 slidesToScroll: 2, 3815 3816 } 3817 }, 3818 { 3819 breakpoint: 769, 3820 settings: { 3821 slidesToShow: 2, 3822 slidesToScroll: 2, 3823 } 3824 }, 3825 { 3826 breakpoint: 750, 3827 settings: { 3828 slidesToShow: 1, 3829 slidesToScroll: 1, 3830 } 3831 }, 3832 { 3833 breakpoint: 480, 3834 settings: { 3835 slidesToShow: 1, 3836 slidesToScroll: 1, 3837 } 3838 } 3839 // You can unslick at a given breakpoint now by adding: 3840 // settings: "unslick" 3841 // instead of a settings object 3842 ] 3843 }); 3844 3845
3846 // OSA Coordinators slider (Orientation Website) 3847 $(".osa-coo-slide").not('.slick-initialized').slick({ 3848 infinite: true, 3849 slidesToShow: 4, 3850 autoplay: false, 3851 speed: 1000, 3852 slidesToScroll: 1, 3853 rows: 1, 3854 pauseOnHover: false, 3855 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3856 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3857 3858 responsive: [{ 3859 breakpoint: 1024, 3860 settings: { 3861 slidesToShow: 2, 3862 slidesToScroll: 2, 3863 3864 } 3865 }, 3866 { 3867 breakpoint: 769, 3868 settings: { 3869 slidesToShow: 2, 3870 slidesToScroll: 2, 3871 } 3872 }, 3873 { 3874 breakpoint: 750, 3875 settings: { 3876 slidesToShow: 1, 3877 slidesToScroll: 1, 3878 } 3879 }, 3880 { 3881 breakpoint: 480, 3882 settings: { 3883 slidesToShow: 1, 3884 slidesToScroll: 1, 3885 } 3886 } 3887 // You can unslick at a given breakpoint now by adding: 3888 // settings: "unslick" 3889 // instead of a settings object 3890 ] 3891 }); 3892 3893 3894 // SCC Coordinator slider (Orientation Website) 3895 $(".scc-coo-slider").not('.slick-initialized').slick({ 3896 infinite: true, 3897 slidesToShow: 4, 3898 autoplay: false, 3899 speed: 1000, 3900 slidesToScroll: 1, 3901 rows: 1, 3902 pauseOnHover: false, 3903 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3904 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3905 3906 responsive: [{ 3907 breakpoint: 1024, 3908 settings: { 3909 slidesToShow: 2, 3910 slidesToScroll: 2, 3911 3912 } 3913 }, 3914 { 3915 breakpoint: 769, 3916 settings: { 3917 slidesToShow: 2, 3918 slidesToScroll: 2, 3919 } 3920 }, 3921 { 3922 breakpoint: 750, 3923 settings: { 3924 slidesToShow: 1, 3925 slidesToScroll: 1, 3926 } 3927 }, 3928 { 3929 breakpoint: 480, 3930 settings: { 3931 slidesToShow: 1, 3932 slidesToScroll: 1, 3933 } 3934 } 3935 // You can unslick at a given breakpoint now by adding: 3936 // settings: "unslick" 3937 // instead of a settings object 3938 ] 3939 }); 3940 3941 3942 // news recent bootom slider SDSB START 3943 $(".recent-news-slider-sdsb").not('.slick-initialized').slick({ 3944 infinite: true, 3945 slidesToShow: 3, 3946 autoplay: true, 3947 speed: 1000, 3948 slidesToScroll: 1, 3949 rows: 1, 3950 pauseOnHover: false, 3951 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 3952 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 3953 3954 responsive: [{ 3955 breakpoint: 1024, 3956 settings: { 3957 slidesToShow: 2, 3958 slidesToScroll: 2, 3959 3960 } 3961 }, 3962 { 3963 breakpoint: 769, 3964 settings: { 3965 slidesToShow: 2, 3966 slidesToScroll: 2, 3967 } 3968 }, 3969 { 3970 breakpoint: 750, 3971 settings: { 3972 slidesToShow: 1, 3973 slidesToScroll: 1, 3974 } 3975 }, 3976 { 3977 breakpoint: 480, 3978 settings: { 3979 slidesToShow: 1, 3980 slidesToScroll: 1, 3981 } 3982 } 3983 // You can unslick at a given breakpoint now by adding: 3984 // settings: "unslick" 3985 // instead of a settings object 3986 ] 3987 }); 3988 // news recent bootom slider SDSB END 3989 3990 /*alumni recent slider START*/ 3991 $(".recent-news-slider-alumni").not('.slick-initialized').slick({ 3992 infinite: true, 3993 slidesToShow: 3, 3994 autoplay: true, 3995 speed: 1000, 3996 slidesToScroll: 1, 3997 rows: 1, 3998 pauseOnHover: false, 3999 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 4000 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 4001 4002 responsive: [{ 4003 breakpoint: 1024, 4004 settings: { 4005 slidesToShow: 2, 4006 slidesToScroll: 2, 4007 4008 } 4009 }, 4010 { 4011 breakpoint: 769, 4012 settings: { 4013 slidesToShow: 2, 4014 slidesToScroll: 2, 4015 } 4016 }, 4017 { 4018 breakpoint: 750, 4019 settings: { 4020 slidesToShow: 1, 4021 slidesToScroll: 1, 4022 } 4023 }, 4024 { 4025 breakpoint: 480, 4026 settings: { 4027 slidesToShow: 1, 4028 slidesToScroll: 1, 4029 } 4030 } 4031 // You can unslick at a given breakpoint now by adding: 4032 // settings: "unslick" 4033 // instead of a settings object 4034 ] 4035 }); 4036 /*alumni recent slider CLOSE*/ 4037 // Alumni News Home Page Slider 4038 $(".alumni-news-home").slick({ 4039 infinite: true, 4040 slidesToShow: 3, 4041 autoplay: true, 4042 speed: 1000, 4043 slidesToScroll: 1, 4044 rows: 1, 4045 pauseOnHover: false, 4046 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 4047 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 4048 4049 responsive: [{ 4050 breakpoint: 1024, 4051 settings: { 4052 slidesToShow: 2, 4053 slidesToScroll: 2, 4054 4055 } 4056 }, 4057 { 4058 breakpoint: 769, 4059 settings: { 4060 slidesToShow: 2, 4061 slidesToScroll: 2, 4062 } 4063 }, 4064 { 4065 breakpoint: 750, 4066 settings: { 4067 slidesToShow: 1, 4068 slidesToScroll: 1, 4069 } 4070 }, 4071 { 4072 breakpoint: 480, 4073 settings: { 4074 slidesToShow: 1, 4075 slidesToScroll: 1, 4076 } 4077 } 4078 // You can unslick at a given breakpoint now by adding: 4079 // settings: "unslick" 4080 // instead of a settings object 4081 ] 4082 }); 4083 4084 4085 // event slider 4086 $(".recent-news-event-slider").slick({ 4087 infinite: true, 4088 slidesToShow: 3, 4089 autoplay: false, 4090 speed: 1000, 4091 slidesToScroll: 1, 4092 rows: 1, 4093 pauseOnHover: false, 4094 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 4095 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 4096 4097 responsive: [{ 4098 breakpoint: 1024, 4099 settings: { 4100 slidesToShow: 3, 4101 slidesToScroll: 3, 4102 4103 } 4104 }, 4105 { 4106 breakpoint: 991, 4107 settings: { 4108 slidesToShow: 2, 4109 slidesToScroll: 2, 4110 4111 } 4112 }, 4113 { 4114 breakpoint: 769, 4115 settings: { 4116 slidesToShow: 2, 4117 slidesToScroll: 2, 4118 } 4119 }, 4120 { 4121 breakpoint: 700, 4122 settings: { 4123 slidesToShow: 1, 4124 slidesToScroll: 1, 4125 } 4126 }, 4127 { 4128 breakpoint: 480, 4129 settings: { 4130 slidesToShow: 1, 4131 slidesToScroll: 1, 4132 } 4133 } 4134 // You can unslick at a given breakpoint now by adding: 4135 // settings: "unslick" 4136 // instead of a settings object 4137 ] 4138 }); 4139 4140 // Meet The Faculty ranking-accreditation slider 4141 $(".recent-faculty-ranking-slider").slick({ 4142 infinite: true, 4143 slidesToShow: 4, 4144 autoplay: false, 4145 speed: 1000, 4146 slidesToScroll: 1, 4147 rows: 1, 4148 pauseOnHover: false, 4149 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 4150 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 4151 4152 responsive: [{ 4153 breakpoint: 1024, 4154 settings: { 4155 slidesToShow: 3, 4156 slidesToScroll: 3, 4157 4158 } 4159 }, 4160 { 4161 breakpoint: 991, 4162 settings: { 4163 slidesToShow: 2, 4164 slidesToScroll: 2, 4165 4166 } 4167 }, 4168 { 4169 breakpoint: 769, 4170 settings: { 4171 slidesToShow: 2, 4172 slidesToScroll: 2, 4173 } 4174 }, 4175 { 4176 breakpoint: 480, 4177 settings: { 4178 slidesToShow: 1, 4179 slidesToScroll: 1, 4180 } 4181 } 4182 // You can unslick at a given breakpoint now by adding: 4183 // settings: "unslick" 4184 // instead of a settings object 4185 ] 4186 }); 4187 4188 4189 // Meet The Faculty ranking-accreditation slider | SOE 4190 $(".soe-recent-faculty-slider").slick({ 4191 infinite: true, 4192 slidesToShow: 3, 4193 autoplay: false, 4194 speed: 1000, 4195 slidesToScroll: 1, 4196 rows: 2, 4197 pauseOnHover: false, 4198 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 4199 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 4200 4201 responsive: [{ 4202 breakpoint: 1024, 4203 settings: { 4204 slidesToShow: 3, 4205 slidesToScroll: 3, 4206 4207 } 4208 }, 4209 { 4210 breakpoint: 991, 4211 settings: { 4212 slidesToShow: 2, 4213 slidesToScroll: 2, 4214 4215 } 4216 }, 4217 { 4218 breakpoint: 769, 4219 settings: { 4220 slidesToShow: 2, 4221 slidesToScroll: 2, 4222 } 4223 }, 4224 { 4225 breakpoint: 480, 4226 settings: { 4227 slidesToShow: 1, 4228 slidesToScroll: 1, 4229 } 4230 } 4231 // You can unslick at a given breakpoint now by adding: 4232 // settings: "unslick" 4233 // instead of a settings object 4234 ] 4235 }); 4236 4237 4238 // Meet the Faculty SDSB START 4239 $(".sdsb-meet-the-faculty-slider").slick({ 4240 infinite: true, 4241 slidesToShow: 3, 4242 autoplay: false, 4243 speed: 1000, 4244 slidesToScroll: 1, 4245 rows: 1, 4246 pauseOnHover: false, 4247 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-angle-left' aria-hidden='true'></i></button>", 4248 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-angle-right' aria-hidden='true'></i></button>", 4249 4250 responsive: [{ 4251 breakpoint: 1024, 4252 settings: { 4253 slidesToShow: 3, 4254 slidesToScroll: 3, 4255 4256 } 4257 }, 4258 { 4259 breakpoint: 991, 4260 settings: { 4261 slidesToShow: 2, 4262 slidesToScroll: 2, 4263 4264 } 4265 }, 4266 { 4267 breakpoint: 769, 4268 settings: { 4269 slidesToShow: 2, 4270 slidesToScroll: 2, 4271 } 4272 }, 4273 { 4274 breakpoint: 480, 4275 settings: { 4276 slidesToShow: 1, 4277 slidesToScroll: 1, 4278 } 4279 } 4280 // You can unslick at a given breakpoint now by adding: 4281 // settings: "unslick" 4282 // instead of a settings object 4283 ] 4284 }); 4285 // Meet the Faculty SDSB END 4286 4287 // quick slider 4288 $(".quick-carousel-soe").carousel({ 4289 carouselWidth: 980, 4290 carouselHeight: 330, 4291 directionNav: true, 4292 frontWidth: 290, 4293 frontHeight: 310, 4294 hMargin: 0.8, 4295 }); 4296 4297 4298 // quick slider 4299 $(".quick-carousel").carousel({ 4300 interval: true, 4301 touch: true, 4302 carouselWidth: 980, 4303 carouselHeight: 330, 4304 directionNav: true, 4305 frontWidth: 290, 4306 frontHeight: 310, 4307 hMargin: 0.8, 4308 }); 4309 4310 4311 // $(".quick-carousel .slides").swipe({ 4312 4313 // swipeLeft: function (event, direction, distance, duration, 4314 // fingerCount) { 4315 4316 // this.parent().carousel("next"); 4317 4318 // }, 4319 4320 // swipeRight: function () { 4321 4322 // this.parent().carousel("prev"); 4323 4324 // }, 4325 4326 // threshold: 0, 4327 4328 // tap: function (event, target) { 4329 4330 // window.location = $(this).find(".slideItem a").attr("href"); 4331 4332 // }, 4333 4334 // excludedElements: "label, button, input, select, textarea,
4335 // .noSwipe" 4336 4337 // }); 4338 4339 4340 $(".quick-carousel-oia").carousel({ 4341 interval: true, 4342 carouselWidth: 700, 4343 carouselHeight: 330, 4344 directionNav: true, 4345 frontWidth: 220, 4346 frontHeight: 310, 4347 hMargin: 0.8, 4348 }); 4349 4350 4351 $(".quick-carousel-radio").carousel({ 4352 interval: false, 4353 carouselWidth: 980, 4354 carouselHeight: 330, 4355 directionNav: true, 4356 frontWidth: 290, 4357 frontHeight: 310, 4358 hMargin: 0.8, 4359 }); 4360 4361 4362 }); 4363 4364 4365 // slideshow 4366 4367 // news-detail page right site slider 4368 $('.news-right-details-slider').slick({ 4369 infinite: true, 4370 slidesToShow: 1, 4371 autoplay: true, 4372 smartSpeed: 1000, 4373 slidesToScroll: 1, 4374 rows: 2, 4375 navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'], 4376 responsive: { 4377 0: { 4378 items: 1, 4379 nav: true 4380 }, 4381 600: { 4382 items: 1, 4383 nav: false 4384 }, 4385 1000: { 4386 items: 1, 4387 nav: false, 4388 } 4389 } 4390 }); 4391 // close 4392 4393 4394 4395 // crousal Testimonials Slideshow | NOP 4396 $('.crousal-testimonials-nop').slick({ 4397 infinite: true, 4398 slidesToShow: 3, 4399 autoplay: true, 4400 smartSpeed: 1000, 4401 slidesToScroll: 1, 4402 // rows: 3, 4403 navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'], 4404 responsive: [{ 4405 breakpoint: 1024, 4406 settings: { 4407 slidesToShow: 3, 4408 slidesToScroll: 1, 4409 4410 } 4411 }, 4412 { 4413 breakpoint: 991, 4414 settings: { 4415 slidesToShow: 2, 4416 slidesToScroll: 1, 4417 4418 } 4419 }, 4420 { 4421 breakpoint: 769, 4422 settings: { 4423 slidesToShow: 2, 4424 slidesToScroll: 1, 4425 } 4426 }, 4427 { 4428 breakpoint: 480, 4429 settings: { 4430 slidesToShow: 1, 4431 slidesToScroll: 1, 4432 } 4433 } 4434 // You can unslick at a given breakpoint now by adding: 4435 // settings: "unslick" 4436 // instead of a settings object 4437 ] 4438 }); 4439 // close 4440 4441 4442 // crousal Testimonials Slideshow | NOP 4443 $('.crousal-testimonials-mentor').slick({ 4444 infinite: true, 4445 slidesToShow: 1, 4446 autoplay: true, 4447 smartSpeed: 1000, 4448 slidesToScroll: 1, 4449 // rows: 3, 4450 navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'], 4451 responsive: [{ 4452 breakpoint: 1024, 4453 settings: { 4454 slidesToShow: 1, 4455 slidesToScroll: 1, 4456 4457 } 4458 }, 4459 { 4460 breakpoint: 991, 4461 settings: { 4462 slidesToShow: 1, 4463 slidesToScroll: 1, 4464 4465 } 4466 }, 4467 { 4468 breakpoint: 769, 4469 settings: { 4470 slidesToShow: 1, 4471 slidesToScroll: 1, 4472 } 4473 }, 4474 { 4475 breakpoint: 480, 4476 settings: { 4477 slidesToShow: 1, 4478 slidesToScroll: 1, 4479 } 4480 } 4481 // You can unslick at a given breakpoint now by adding: 4482 // settings: "unslick" 4483 // instead of a settings object 4484 ] 4485 }); 4486 // close 4487 4488 4489 // crousal Testimonials Slideshow | OIA START 4490 $('.crousal-testimonials-oia').slick({ 4491 infinite: true, 4492 slidesToShow: 1, 4493 autoplay: false, 4494 smartSpeed: 1000, 4495 slidesToScroll: 1, 4496 dots: true, 4497 // rows: 3, 4498 navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'], 4499 responsive: [{ 4500 breakpoint: 1024, 4501 settings: { 4502 slidesToShow: 1, 4503 slidesToScroll: 1, 4504 4505 } 4506 }, 4507 { 4508 breakpoint: 991, 4509 settings: { 4510 slidesToShow: 1, 4511 slidesToScroll: 1, 4512 4513 } 4514 }, 4515 { 4516 breakpoint: 769, 4517 settings: { 4518 slidesToShow: 1, 4519 slidesToScroll: 1, 4520 } 4521 }, 4522 { 4523 breakpoint: 480, 4524 settings: { 4525 slidesToShow: 1, 4526 slidesToScroll: 1, 4527 } 4528 } 4529 // You can unslick at a given breakpoint now by adding: 4530 // settings: "unslick" 4531 // instead of a settings object 4532 ] 4533 }); 4534 // Crousal Testimonials Slideshow | OIA CLOSE 4535 4536 // crousal numbers Slideshow donate page | NOP 4537 $('.crousal-numbers-donate-nop').slick({ 4538 infinite: true, 4539 slidesToShow: 3, 4540 autoplay: false, 4541 smartSpeed: 1000, 4542 slidesToScroll: 1, 4543 // rows: 3, 4544 navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'], 4545 responsive: [{ 4546 breakpoint: 1024, 4547 settings: { 4548 slidesToShow: 3, 4549 slidesToScroll: 1, 4550 } 4551 }, 4552 { 4553 breakpoint: 991, 4554 settings: { 4555 slidesToShow: 2, 4556 slidesToScroll: 1, 4557 4558 } 4559 }, 4560 { 4561 breakpoint: 769, 4562 settings: { 4563 slidesToShow: 2, 4564 slidesToScroll: 1, 4565 } 4566 }, 4567 { 4568 breakpoint: 480, 4569 settings: { 4570 slidesToShow: 1, 4571 slidesToScroll: 1, 4572 } 4573 } 4574 // You can unslick at a given breakpoint now by adding: 4575 // settings: "unslick" 4576 // instead of a settings object 4577 ] 4578 }); 4579 // close 4580 4581 4582 // Beneficiary Stories | Give a Day at LUMS 4583 4584 4585 // crousal Testimonials Slideshow | NOP 4586 $('.beneficiary-story').slick({ 4587 infinite: true, 4588 slidesToShow: 3, 4589 autoplay: true, 4590 smartSpeed: 15000, 4591 slidesToScroll: 1, 4592 // rows: 3, 4593 navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'], 4594 responsive: [{ 4595 breakpoint: 1024, 4596 settings: { 4597 slidesToShow: 3, 4598 slidesToScroll: 1, 4599 4600 } 4601 }, 4602 { 4603 breakpoint: 991, 4604 settings: { 4605 slidesToShow: 2, 4606 slidesToScroll: 1, 4607 4608 } 4609 }, 4610 { 4611 breakpoint: 769, 4612 settings: { 4613 slidesToShow: 1, 4614 slidesToScroll: 1, 4615 } 4616 }, 4617 { 4618 breakpoint: 480, 4619 settings: { 4620 slidesToShow: 1, 4621 slidesToScroll: 1, 4622 } 4623 }, 4624 { 4625 breakpoint: 414, 4626 settings: { 4627 slidesToShow: 1, 4628 slidesToScroll: 1, 4629 } 4630 }, 4631 { 4632 breakpoint: 374, 4633 settings: { 4634 slidesToShow: 1, 4635 slidesToScroll: 1, 4636 } 4637 } 4638 4639 // You can unslick at a given breakpoint now by adding: 4640 // settings: "unslick" 4641 // instead of a settings object 4642 ] 4643 }); 4644 // close 4645 4646 4647 4648 // History Slider
4649 $(".covid-communication-slider").slick({ 4650 infinite: false, 4651 draggable: true, 4652 swipe: true, 4653 slidesToShow: 1, 4654 autoplay: false, 4655 speed: 1000, 4656 slidesToScroll: 1, 4657 rows: 1, 4658 pauseOnHover: false, 4659 dots: true, 4660 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 4661 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 4662 4663 responsive: [{ 4664 breakpoint: 1024, 4665 settings: { 4666 slidesToShow: 1, 4667 slidesToScroll: 1, 4668 4669 4670 } 4671 }, 4672 { 4673 breakpoint: 769, 4674 settings: { 4675 slidesToShow: 1, 4676 slidesToScroll: 1, 4677 // autoplay: false, 4678 arrows: false, 4679 } 4680 }, 4681 { 4682 breakpoint: 480, 4683 settings: { 4684 slidesToShow: 1, 4685 slidesToScroll: 1, 4686 arrows: false, 4687 } 4688 } 4689 // You can unslick at a given breakpoint now by adding: 4690 // settings: "unslick" 4691 // instead of a settings object 4692 ] 4693 }); 4694 4695 // spotlight SOE Crousal START 4696 $('.spotlight-soe-crousal').slick({ 4697 infinite: true, 4698 draggable: true, 4699 swipe: true, 4700 slidesToShow: 1, 4701 autoplay: false, 4702 speed: 1000, 4703 slidesToScroll: 1, 4704 rows: 1, 4705 pauseOnHover: false, 4706 dots: false, 4707 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 4708 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 4709 4710 responsive: [{ 4711 breakpoint: 1024, 4712 settings: { 4713 slidesToShow: 1, 4714 slidesToScroll: 1, 4715 4716 } 4717 }, 4718 { 4719 breakpoint: 991, 4720 settings: { 4721 slidesToShow: 1, 4722 slidesToScroll: 1, 4723 4724 } 4725 }, 4726 { 4727 breakpoint: 768, 4728 settings: { 4729 slidesToShow: 1, 4730 slidesToScroll: 1, 4731 } 4732 }, 4733 { 4734 breakpoint: 480, 4735 settings: { 4736 slidesToShow: 1, 4737 slidesToScroll: 1, 4738 } 4739 } 4740 ] 4741 }); 4742 // spotlight SOE Crousal CLOSE 4743 4744 4745 // Convocation Testimonials Slideshow 4746 $('.convocation-testimonials').slick({ 4747 infinite: true, 4748 slidesToShow: 3, 4749 autoplay: false, 4750 smartSpeed: 15000, 4751 slidesToScroll: 1, 4752 dots: false, 4753 arrows: true, 4754 navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'], 4755 responsive: [{ 4756 breakpoint: 1024, 4757 settings: { 4758 slidesToShow: 3, 4759 slidesToScroll: 1, 4760 4761 } 4762 }, 4763 { 4764 breakpoint: 991, 4765 settings: { 4766 slidesToShow: 2, 4767 slidesToScroll: 1, 4768 4769 } 4770 }, 4771 { 4772 breakpoint: 769, 4773 settings: { 4774 slidesToShow: 1, 4775 slidesToScroll: 1, 4776 } 4777 }, 4778 { 4779 breakpoint: 480, 4780 settings: { 4781 slidesToShow: 1, 4782 slidesToScroll: 1, 4783 } 4784 }, 4785 { 4786 breakpoint: 414, 4787 settings: { 4788 slidesToShow: 1, 4789 slidesToScroll: 1, 4790 } 4791 }, 4792 { 4793 breakpoint: 374, 4794 settings: { 4795 slidesToShow: 1, 4796 slidesToScroll: 1, 4797 } 4798 } 4799 4800 ] 4801 }); 4802 // close 4803 4804 4805 // Convocation Video Slider 4806 $(".convocation-video-slider").slick({ 4807 infinite: true, 4808 draggable: true, 4809 swipe: true, 4810 slidesToShow: 1, 4811 autoplay: false, 4812 speed: 1000, 4813 slidesToScroll: 1, 4814 rows: 1, 4815 pauseOnHover: false, 4816 dots: false, 4817 prevArrow: "<button type='button' class='slick-prev pull-left'><i class='fa fa-arrow-left' aria-hidden='true'></i></button>", 4818 nextArrow: "<button type='button' class='slick-next pull-right'><i class='fa fa-arrow-right' aria-hidden='true'></i></button>", 4819 4820 responsive: [{ 4821 breakpoint: 1024, 4822 settings: { 4823 slidesToShow: 1, 4824 slidesToScroll: 1, 4825 } 4826 }, 4827 { 4828 breakpoint: 769, 4829 settings: { 4830 slidesToShow: 1, 4831 slidesToScroll: 1, 4832 // autoplay: false,
4833 arrows: false, 4834 } 4835 }, 4836 { 4837 breakpoint: 480, 4838 settings: { 4839 slidesToShow: 1, 4840 slidesToScroll: 1, 4841 arrows: false, 4842 } 4843 } 4844 // You can unslick at a given breakpoint now by adding: 4845 // settings: "unslick" 4846 // instead of a settings object 4847 ] 4848 }); 4849 // Convocation Video Slider 4850 4851 if($.fn.mCustomScrollbar){ 4852 $("#content-1").mCustomScrollbar({ 4853 scrollButtons: { 4854 enable: true 4855 }, 4856 // theme:"light-thick", 4857 scrollbarPosition: "outside" 4858 });} 4859 4860 4861 //Orignal code 4862 /*$("#block-views-block-admission-site-schools-filter-block-21-2 .view-footer .admission-filters-for-degree-under," + 4863 " #block-views-block-admission-site-schools-filter-block-18-2 .view-footer .admission-filters-for-degree-under").click(function () { 4864 let novalue = $(this).parents(".view-footer").siblings(".view-empty").html(); 4865 if (novalue.length > 0) { 4866 $(this).parents(".view-footer").find(".dropdown-content").toggle(); 4867 } 4868 else { 4869 } 4870 });*/ 4871 4872 4873 $("#block-views-block-admission-site-schools-filter-block-21-2222 .view-footer .admission-filters-for-degree-under," + 4874 " #block-views-block-admission-site-schools-filter-block-18-2 .view-footer .admission-filters-for-degree-under").click(function () { 4875 let novalue = $(this).parents(".view-footer").siblings(".view-empty").html(); 4876 if (novalue.length > 0) { 4877 $(this).parents(".view-footer").find(".dropdown-content").toggle(); 4878 } 4879 else { 4880 } 4881 }); 4882 4883 4884 4885 /*Search Donor Listing START */ 4886 $(".search-donor-listing").on("keyup", function () { 4887 var value = $(this).val().toLowerCase(); 4888 $(".donor-list").filter(function () { 4889 $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1) 4890 }); 4891 }); 4892 4893 4894 $('.donor-listing-container .donors-listing .donor-list').hide(); 4895 // $('.donor-listing-container').append('<div class="more-loadzz 4896 // clas="test-123131313"><a href="#" id="loadmore-dnr">Load 4897 // More123313</a></div>'); 4898 $('.donor-listing-container .donors-listing').each(function () { 4899 4900 $(this).find('.donor-list').slice(0, 12).show(); 4901 console.log($(this).find('.donor-list').length); 4902 if ($(this).find('.donor-list').length > 9) { 4903 $(this).find("#loadmore-dnr").show(); 4904 } 4905 else { 4906 $(this).find("#loadmore-dnr").hide(); 4907 4908 } 4909 4910 $("#loadmore-dnr").on('click', function (e) { 4911 e.preventDefault(); 4912 $(".donor-listing-container .donors-listing .donor-list:hidden").slice(0, 12).slideDown(); 4913 if ($(".donor-listing-container .donors-listing .donor-list:hidden").length == 3) { 4914 $("#load").fadeOut('slow'); 4915 } 4916 // $('html,body').animate({ 4917 // scrollTop: $(this).offset().top - 500 4918 // }, 1500); 4919 }); 4920 }); 4921 4922 4923 /*Search Donor Listing START */ 4924 4925 4926 /*Meet our team tabs Functionality START*/ 4927 $('.rjs-team-radio').hide(); 4928 $('.content-producers-pro').hide(); 4929 $('.meet-our-team-heading-radio .our-team-tb').addClass('active'); 4930 $('.meet-our-team-heading-radio .our-team-tb').click(function () { 4931 $(this).addClass('active'); 4932 $(this).siblings().removeClass('active'); 4933 $(".meet-ourteam-rjsslider").slick('refresh'); 4934 $('.rjs-team-radio').hide(); 4935 $('.content-producers-pro').hide(); 4936 $('.our-team-radio').show(); 4937 }); 4938 $('.meet-our-team-heading-radio .Rjs-tb').click(function () { 4939 $(this).addClass('active'); 4940 $(this).siblings().removeClass('active'); 4941 $(".meet-ourteam-slider-radio").slick('refresh'); 4942 $('.our-team-radio').hide(); 4943 $('.content-producers-pro').hide(); 4944 $('.rjs-team-radio').show(); 4945 4946 }); 4947 $('.meet-our-team-heading-radio .content-producers-tb').click(function () { 4948 $(this).addClass('active'); 4949 $(this).siblings().removeClass('active'); 4950 $(".content-producers-prss").slick('refresh'); 4951 $('.our-team-radio').hide(); 4952 $('.rjs-team-radio').hide(); 4953 $('.content-producers-pro').show(); 4954 4955 }); 4956 /*Meet our team tabs Functionality END*/ 4957 4958 $(function () { 4959 4960 $('.statistic-value').each(function () { 4961 $(this).prop('Counter', 0).animate({ 4962 Counter: $(this).text() 4963 }, { 4964 duration: 4000, 4965 easing: 'swing', 4966 step: function (now) { 4967 $(this).text(Math.ceil(now).toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,")); 4968 } 4969 }); 4970 }); 4971 4972 }); 4973 4974 4975 } 4976 }; 4977 4978 4979})(Drupal, jQuery);
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.