1/* ----------------------------------------------------------------------------- 2 3 4 5File: JS Core 6Version: 1.0 7Last change: 00/00/00 8-------------------------------------------------------------------------------- */ 9(function() { 10 11 "use strict"; 12 13 var apihu_port_appilo = { 14 init: function() { 15 this.Basic.init(); 16 }, 17 18 Basic: { 19 init: function() { 20 this.Animation(); 21 this.APIHUPORTScrollTop(); 22 this.APIHUPORTPortfolio(); 23 this.APIHUPORTTestimonialCarousel(); 24 this.APIHUPORTClientsCarousel(); 25 this.APIHUPORTBlogCarousel(); 26 this.APIHUPORTNavScroll(); 27 }, 28 29 APIHUPORTNavScroll: function (){ 30 //Desktop Menu 31 $('.resume-nav-menu li a').on("click", function(){ 32 if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { 33 var target = $(this.hash); 34 target = target.length ? target : $('[name="DCSext.Level"' + this.hash.slice(1) +']'); 35 if (target.length) { 36 $('html, body').animate({ 37 scrollTop: target.offset().top -100 38 }, 1000); 39 return false; 40 } 41 } 42 }); 43 44 // /Mobile Menu 45 $('.resume-nav-menu li a').on("click", function(){ 46 if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { 47 var target = $(this.hash); 48 target = target.length ? target : $('[name="DCSext.Level"' + this.hash.slice(1) +']'); 49 if (target.length) { 50 $('html, body').animate({ 51 scrollTop: target.offset().top -100 52 }, 1000); 53 return false; 54 } 55 } 56 }); 57 }, 58 59 Animation: function (){ 60 $(window).on("load", function(){ 61 if($('.wow').length){ 62 new WOW({ 63 offset: 100, 64 mobile: true 65 }).init() 66 } 67 }); 68 69 }, 70 71 72 APIHUPORTScrollTop: function (){ 73 $(window).on("scroll", function(){ 74 var ScrollBarLocation = $(this).scrollTop(); 75 if( ScrollBarLocation > 150 ) { 76 $(".apihu-port-scroll-top").fadeIn(); 77 } else { 78 $(".apihu-port-scroll-top").fadeOut(); 79 } 80 }); 81 82 $(".apihu-port-scroll-top").on("click", function(e){ 83 e.preventDefault(); 84 $("body,html").animate({ 85 scrollTop: 0, 86 }); 87 }); 88 }, 89 90 APIHUPORTPortfolio: function () { 91 var $grid = $('.apihu-port-portfolio-grid').isotope({ 92 itemSelector: '.apihu-port-portfolio-item' 93 }); 94 95 $('.apihu-port-portfolio-navigation').on('click', 'li', function() { 96 var filterValue = $(this).attr('data-filter'); 97 $grid.isotope({filter: filterValue}); 98 }); 99 100 $('.apihu-port-portfolio-navigation').on('click', 'li', function() { 101 $(this).addClass('active').siblings().removeClass('active'); 102 }); 103 }, 104 105 APIHUPORTTestimonialCarousel: function (){ 106 $(".apihu-port-testimonial-slider").owlCarousel({ 107 loop: true, 108 nav: true, 109 navText: ['<i class="flaticon-left-arrow"></i>','<i class="flaticon-right-arrow"></i>'], 110 margin: 30, 111 responsive: { 112 0: { 113 items: 1 114 }, 115 600: { 116 items: 2 117 }, 118 1000: { 119 items: 2 120 } 121 } 122 }); 123 }, 124 125 APIHUPORTClientsCarousel: function() { 126 $(".apihu-port-clients-carousel").owlCarousel({ 127 loop: true, 128 nav: false, 129 dots: false, 130 margin: 25, 131 responsive: { 132 0: { 133 items: 1 134 }, 135 600: { 136 items: 2 137 }, 138 1000: { 139 items: 5 140 } 141 } 142 }); 143 }, 144 145 APIHUPORTBlogCarousel: function() { 146 $('.apihu-port-blog-carousel').owlCarousel({ 147 loop: true, 148 nav: false, 149 dots: true, 150 margin: 30, 151 responsive: { 152 0: { 153 items: 1 154 }, 155 600: { 156 items: 2 157 }, 158 1000: { 159 items: 3 160 } 161 } 162 }); 163 }, 164 165 } 166 } 167 jQuery(document).ready(function (){ 168 apihu_port_appilo.init(); 169 console.log('appilo resume js loaded'); 170 }); 171 172})();
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.