1document.addEventListener("DOMContentLoaded", function () { 2 /* 3 Image Owl Carousel 4 =====================================================================*/ 5 if ($(".standard-carousel").length) { 6 $.getScript( 7 "https://www.athabascau.ca/framework/v1/theme/js/vendor/owl.carousel.min.js" 8 ).done(function () { 9 var $carouselDefault = $(".standard-carousel"); 10 11 //carousel options 12 $carouselDefault.owlCarousel({ 13 loop: false, 14 nav: true, 15 lazyLoad: true, 16 margin: 0, 17 items: 1, 18 autoHeight: false, 19 }); 20 }); 21 } 22 23 /* 24 Fancybox 3 initialization and options 25 =====================================================================*/ 26 if ($("[data-fancybox]").length) { 27 $.getScript( 28 "https://www.athabascau.ca/framework/v2/theme/js/vendor/jquery.fancybox.min.js" 29 ).done(function () { 30 $("[data-fancybox]").fancybox({ 31 loop: true, 32 buttons: ["fullScreen", "thumbs", "zoom", "close"], 33 iframe: { 34 preload: false, 35 }, 36 }); 37 38 /* iframe options */ 39 $("[data-iframe-fancybox]").fancybox({ 40 toolbar: true, 41 smallBtn: false, 42 iframe: { 43 preload: true, 44 }, 45 }); 46 }); 47 } 48});
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.