1$(document).ready(function() { 2 $('a.menu').click(function() { 3 $('.site-header nav').slideToggle(100); 4 return false; 5 }); 6 7 $(window).resize(function(){ 8 var w = $(window).width(); 9 var menu = $('.site-header nav'); 10 if(w > 680 && menu.is(':hidden')) { 11 menu.removeAttr('style'); 12 } 13 }); 14 15 16 $('article.post iframe').wrap('<div class="video-container" />'); 17 18}); 19 20$(function(){ 21 if ($('div.featured-image').length > 0) { 22 $('<img>').attr('src',function(){ 23 var imgUrl = $('div.featured-image').css('background-image'); 24 imgUrl = imgUrl.substring(4, imgUrl.length-1); 25 imgUrl = imgUrl.replace('\"', '').replace('\"', ''); 26 return imgUrl; 27 }).load(function(){ 28 $('img.loading').fadeOut(500); 29 $('div.overlay').fadeTo("slow", 0.6); 30 }); 31 } 32}); 33 34$(function () { 35 $(window).scroll(function() { 36 if ($(this).scrollTop() > 0){ 37 $('.site-header').addClass("site-header-border"); 38 } 39 else{ 40 $('.site-header').removeClass("site-header-border"); 41 } 42 }); 43}); 44
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.