1$(function () { 2 $(window).scroll(function() { 3 if ($(".navbar").offset().top>30) { 4 $(".navbar-inner").addClass("sticky"); 5 } 6 else { 7 $(".navbar-inner").removeClass("sticky"); 8 } 9 }); 10 11 // Flex 12 if ($(".flexslider").length) { 13 $('.flexslider').flexslider(); 14 } 15 16 servicesCircle.initialize(); 17 18 staticHeader.initialize(); 19 20 portfolioItem.initialize(); 21}); 22 23var portfolioItem = { 24 initialize: function () { 25 var $container = $("#portfolio_tem .left_box"); 26 var $bigPics = $container.find(".big img"); 27 var $thumbs = $container.find(".thumbs .thumb"); 28 29 $bigPics.hide().eq(0).show(); 30 31 $thumbs.click(function (e) { 32 e.preventDefault(); 33 var index = $thumbs.index(this); 34 $bigPics.fadeOut(); 35 $bigPics.eq(index).fadeIn(); 36 }); 37 } 38} 39 40var staticHeader = { 41 initialize: function () { 42 if ($(".navbar-static-top").length) { 43 $("body").css("padding-top", 0); 44 } 45 } 46} 47 48var servicesCircle = { 49 initialize: function () { 50 var $container = $(".services_circles"); 51 var $texts = $container.find(".description .text"); 52 var $circles = $container.find(".areas .circle"); 53 54 $circles.click(function () { 55 var index = $circles.index(this); 56 $texts.fadeOut(); 57 $texts.eq(index).fadeIn(); 58 $circles.removeClass("active"); 59 $(this).addClass("active"); 60 }); 61 } 62} 63
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.