1$(document).ready(function () { 2 "use strict"; 3 try { 4 5 /* ========================================================================== 6 #PieChart For Skills Page 7 ========================================================================== */ 8 9 $('.chart').easyPieChart({ 10 easing: 'easeOutBounce', 11 onStep: function (from, to, percent) { 12 $(this.el).find('.percent').text(Math.round(percent)); 13 } 14 }); 15 16 17 /* ========================================================================== 18 #Carousel Popup For Portfolio Page 19 ========================================================================== */ 20 $(".owl-carousel").owlCarousel({ 21 navigation: true, 22 slideSpeed: 300, 23 paginationSpeed: 400, 24 singleItem: true, 25 autoPlay: false 26 }); 27 28 /* ========================================================================== 29 #Text Rotator 30 ========================================================================== */ 31 $('#rotate').rotaterator({fadeSpeed: 800, pauseSpeed: 800}); 32 33 /* ========================================================================== 34 #Orientation change event 35 ========================================================================== */ 36 $(window).on('orientationchange', function (event) { 37 window.location.href = window.location.href; 38 }); 39 40 //Videos 41 $(".content-scroller").fitVids(); 42 43 44 45 } catch (ex) { 46 } 47}); 48 49/* ========================================================================== 50 #Progress Bar For Skills Page 51 ========================================================================== */ 52 53progressBar(99, $('#progressBar')); 54progressBar(80, $('#progressBar2')); 55progressBar(60, $('#progressBar3')); 56 57/* ========================================================================== 58 #Mobile Menu 59 ========================================================================== */ 60 61var $menu = $('#menu1'), 62 $menulink = $('.menu-link'); 63$menulink.click(function () { 64 $menulink.toggleClass('active'); 65 $menu.toggleClass('active'); 66 return false; 67}); 68 69$('nav#menu1 a').click(function () { 70 $('#menu1').removeClass('active'); 71}); 72 73 74 75/* ========================================================================== 76 #iPad,iPhone,iPod Keyboard issue with position fixed 77 ========================================================================== */ 78var iPad = navigator.userAgent.toLowerCase().indexOf("ipad"); 79var iPhone = navigator.userAgent.toLowerCase().indexOf("iphone"); 80var iPod = navigator.userAgent.toLowerCase().indexOf("ipod"); 81if (iPad > -1 || iPhone > -1 || iPod > -1) 82{ 83 window.onscroll = function () { 84 $('.totop-link').css('position', 'absolute'); 85 $('.totop-link').css('top', (window.pageYOffset + window.innerHeight - 39) + 'px'); 86 }; 87} 88 89 90
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.