1var OwlRecentWorks = function () { 2 3 return { 4 5 ////Owl Recent Works v1 6 initOwlRecentWorksV1: function () { 7 jQuery(document).ready(function() { 8 var owl = jQuery(".owl-recent-works-v1"); 9 owl.owlCarousel({ 10 items: [4], 11 itemsDesktop : [1000,4], 12 itemsDesktopSmall : [900,3], 13 itemsTablet: [600,2], 14 itemsMobile : [479,1], 15 slideSpeed: 1000 16 }); 17 18 // Custom Navigation Events 19 jQuery(".next-v2").click(function(){ 20 owl.trigger('owl.next'); 21 }) 22 jQuery(".prev-v2").click(function(){ 23 owl.trigger('owl.prev'); 24 }) 25 }); 26 }, 27 28 ////Owl Recent Works v2 29 initOwlRecentWorksV2: function () { 30 jQuery(document).ready(function() { 31 var owl = jQuery(".owl-recent-works-v1"); 32 owl.owlCarousel({ 33 items: [3], 34 itemsDesktop : [1000,3], 35 itemsDesktopSmall : [900,2], 36 itemsTablet: [600,2], 37 itemsMobile : [479,1], 38 slideSpeed: 1000 39 }); 40 41 // Custom Navigation Events 42 jQuery(".next-v2").click(function(){ 43 owl.trigger('owl.next'); 44 }) 45 jQuery(".prev-v2").click(function(){ 46 owl.trigger('owl.prev'); 47 }) 48 }); 49 }, 50 51 ////Owl Recent Works v3 52 initOwlRecentWorksV3: function () { 53 jQuery(document).ready(function() { 54 var owl = jQuery(".owl-recent-works-v1"); 55 owl.owlCarousel({ 56 items: [1], 57 itemsDesktop : [1000,1], 58 itemsDesktopSmall : [900,2], 59 itemsTablet: [600,2], 60 itemsMobile : [479,1], 61 slideSpeed: 1000 62 }); 63 64 // Custom Navigation Events 65 jQuery(".next-v2").click(function(){ 66 owl.trigger('owl.next'); 67 }) 68 jQuery(".prev-v2").click(function(){ 69 owl.trigger('owl.prev'); 70 }) 71 }); 72 } 73 74 }; 75 76}();
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.