1 2jQuery(window).load(function(){ 3 4 /* Isotope Portfolio */ 5 var $container = jQuery('.portfolio'); 6 $container.isotope({ 7 filter: '*', 8 animationOptions: { 9 duration: 500, 10 easing: 'linear', 11 queue: false 12 } 13 }); 14 15 jQuery(window).resize(function() { 16 setTimeout(function() {jQuery('.portfolio').isotope('reLayout');},550); 17 }); 18 19 jQuery('.portfolio').isotope('reLayout'); 20 21 jQuery('ul.portfoliofilter a').click(function(){ 22 var selector = jQuery(this).attr('data-filter'); 23 $container.isotope({ 24 filter: selector, 25 animationOptions: { 26 duration: 500, 27 easing: 'linear', 28 queue: false 29 } 30 }); 31 return false; 32 }); 33 34 var $optionSets = jQuery('ul.portfoliofilter'), 35 $optionLinks = $optionSets.find('a'); 36 $optionLinks.click(function(){ 37 var $this = jQuery(this); 38 // don't proceed if already selected 39 if ( $this.hasClass('selected') ) { 40 return false; 41 } 42 var $optionSet = $this.parents('ul.portfoliofilter'); 43 $optionSet.find('.selected').removeClass('selected'); 44 $this.addClass('selected'); 45 }); 46 47 jQuery('.isotope-item').hover(function() { 48 var item = jQuery(this); 49 var textholder = item.find('.foliotextholder') 50 51 item.find('.folio_underlay').css({paddingBottom:35 + textholder.height()+"px"}); 52 }); 53 54}); 55
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.