1jQuery(document).foundation(); 2 3/* $( document ).ready(function() { 4 $('.content, .sidebar').matchHeight(); 5}); 6*/ 7 8jQuery(document).ready(function(){ 9 jQuery('#ministry_filters input[type=checkbox]').click(function(){ 10 filter_ministry(1); 11 }) 12}) 13 14function filter_ministry(page){ 15 var data = { 16 'action': 'filter_ministry', 17 'paged':page 18 }; 19 20 data['post_type'] = {}; 21 jQuery('#ministry_filters input[type=checkbox]').each(function(i,item){ 22 if ($(item).prop('checked')) data['post_type'][$(item).attr('name')] = 1; 23 }) 24 25 data['term'] = current_term; 26 jQuery('#results').html('<div style="text-align:center;"><img src="/wp-content/themes/whchurch/images/rolling.gif" align="center"></div>'); 27 // since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php 28 jQuery.post('/wp-admin/admin-ajax.php', data, function(response) { 29 jQuery('#results').html(response); 30 31 jQuery(".page-numbers").click(function(){ 32 page = jQuery(this).html(); 33 if (jQuery(this).hasClass('next')){ 34 curpage = parseInt(jQuery('.page-numbers .current').html()); 35 page = curpage+1; 36 } 37 else if (jQuery(this).hasClass('prev')){ 38 curpage = parseInt(jQuery('.page-numbers .current').html()); 39 page = curpage-1; 40 } 41 filter_ministry(page); 42 return false; 43 }) 44 }); 45}
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.