1$(document).ready(function () { 2 var Scroll = function () { 3 $('html, body').stop(true, true).animate({scrollTop: $(this.hash).offset().top - navHight + 1}, 600); 4 return false; 5 }; 6 $winWidth = $(window).width() 7 nav = $(".main-header"); 8 if($winWidth > 767){ 9 nav.stick_in_parent(); 10 navHight = $(".main-header").height(); 11 $('.navbar-nav li a').on('click', function () { 12 $('html, body').stop(true, true).animate({scrollTop: $(this.hash).offset().top - navHight + 1}, 600); 13 return false; 14 }); 15 } 16 var slider = $('.blog-slider'); 17 var testimonial = $('.testimonial-slider-wrap ul'); 18 testimonial.bxSlider({ 19 pager : false 20 }) 21 slider.bxSlider({ 22 minSlides: 1, 23 maxSlides: 3, 24 moveSlides: 1, 25 slideWidth: 367, 26 slideMargin: 20, 27 pager : false, 28 }) 29}) 30 31$(window).bind('scroll resize', function() { 32 $winWidth = $(window).width() 33 if($winWidth > 767){ 34 var nav = $(".main-header"); 35 var currentSection = null; 36 $('[data-target]').each(function(){ 37 var element = $(this).attr('id'); 38 if ($('#'+element).is('*')){ 39 if($(window).scrollTop() >= $('#'+element).offset().top - nav.height()) 40 { 41 currentSection = element; 42 } 43 } 44 }); 45 $('.navbar-nav li').removeClass('active').find('a[href="#'+currentSection+'"]').parent().addClass('active'); 46 } 47}); 48$(window).load(function (argument) { 49 var $container = $('.items_container'); 50 var $width = $('.items_container li');; 51 $container.isotope({ 52 layoutMode: 'fitRows', 53 }) 54 $('.filter-list').on( 'click', 'a', function() { 55 if($(this).parent().hasClass('active')){ 56 } 57 else{ 58 $(this).parent().parent().children().removeClass('active'); 59 $(this).parent().addClass('active'); 60 } 61 var filterValue = $(this).attr('data-filter'); 62 $container.isotope({ filter: filterValue }); 63 return false; 64 }); 65 $(".fancybox").fancybox(); 66}) 67
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.