1/* 2Author URI: http://webthemez.com/ 3Note: 4Licence under Creative Commons Attribution 3.0 5Do not remove the back-link in this web template 6-------------------------------------------------------*/ 7 8$(window).load(function() { 9 jQuery('#all').click(); 10 return false; 11}); 12 13$(document).ready(function() { 14 $('#header_wrapper').scrollToFixed(); 15 $('.res-nav_click').click(function() { 16 $('.main-nav').slideToggle(); 17 return false 18 19 }); 20 21 function resizeText() { 22 var preferredWidth = 767; 23 var displayWidth = window.innerWidth; 24 var percentage = displayWidth / preferredWidth; 25 var fontsizetitle = 25; 26 var newFontSizeTitle = Math.floor(fontsizetitle * percentage); 27 $(".divclass").css("font-size", newFontSizeTitle) 28 } 29 if ($('#main-nav ul li:first-child').hasClass('active')) { 30 $('#main-nav').css('background', 'none'); 31 } 32 $('#mainNav').onePageNav({ 33 currentClass: 'active', 34 changeHash: false, 35 scrollSpeed: 950, 36 scrollThreshold: 0.2, 37 filter: '', 38 easing: 'swing', 39 begin: function() { 40 }, 41 end: function() { 42 if (!$('#main-nav ul li:first-child').hasClass('active')) { 43 $('.header').addClass('addBg'); 44 } else { 45 $('.header').removeClass('addBg'); 46 } 47 48 }, 49 scrollChange: function($currentListItem) { 50 if (!$('#main-nav ul li:first-child').hasClass('active')) { 51 $('.header').addClass('addBg'); 52 } else { 53 $('.header').removeClass('addBg'); 54 } 55 } 56 }); 57 58 var container = $('#portfolio_wrapper'); 59 60 61 container.isotope({ 62 animationEngine: 'best-available', 63 animationOptions: { 64 duration: 200, 65 queue: false 66 }, 67 layoutMode: 'fitRows' 68 }); 69 70 $('#filters a').click(function() { 71 $('#filters a').removeClass('active'); 72 $(this).addClass('active'); 73 var selector = $(this).attr('data-filter'); 74 container.isotope({ 75 filter: selector 76 }); 77 setProjects(); 78 return false; 79 }); 80 81 function splitColumns() { 82 var winWidth = $(window).width(), 83 columnNumb = 1; 84 85 86 if (winWidth > 1024) { 87 columnNumb = 4; 88 } else if (winWidth > 900) { 89 columnNumb = 2; 90 } else if (winWidth > 479) { 91 columnNumb = 2; 92 } else if (winWidth < 479) { 93 columnNumb = 1; 94 } 95 96 return columnNumb; 97 } 98 99 function setColumns() { 100 var winWidth = $(window).width(), 101 columnNumb = splitColumns(), 102 postWidth = Math.floor(winWidth / columnNumb); 103 104 container.find('.portfolio-item').each(function() { 105 $(this).css({ 106 width: postWidth + 'px' 107 }); 108 }); 109 } 110 111 function setProjects() { 112 setColumns(); 113 container.isotope('reLayout'); 114 } 115 116 container.imagesLoaded(function() { 117 setColumns(); 118 }); 119 120 121 $(window).bind('resize', function() { 122 setProjects(); 123 }); 124 125 126}); 127 128wow = new WOW({ 129 animateClass: 'animated', 130 offset: 100 131}); 132wow.init(); 133document.getElementById('').onclick = function() { 134 var section = document.createElement('section'); 135 section.className = 'wow fadeInDown'; 136 section.className = 'wow shake'; 137 section.className = 'wow zoomIn'; 138 section.className = 'wow lightSpeedIn'; 139 this.parentNode.insertBefore(section, this); 140};
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.