1$(document).ready(function () { 2 // events slider 3 $('.tx-culturoscope .slider-wrapper').each(function() { 4 var $sliderWrapper = $(this); 5 $sliderWrapper.find('.slider').cycle({ 6 slides: '> .event-item', 7 'pause-on-hover': true, 8 timeout: 6000, 9 pager: $sliderWrapper.find('.slider-pager'), 10 prev: $sliderWrapper.find('.previous-next .previous'), 11 next: $sliderWrapper.find('.previous-next .next'), 12 log: false 13 }); 14 }); 15 16 // get next events 17 if ($('.thumbs-wrapper').length > 0) { 18 $('.button').on('click', function(){ 19 20 // fetch visible events uid 21 var visibleEvents = ''; 22 $('.event').each(function(){ 23 visibleEvents += $(this).find('.event-uid').val() + ','; 24 }); 25 visibleEvents = visibleEvents.slice(0, -1); 26 27 $.ajax({ 28 url: $('input#ajax-url').val(), 29 type: 'post', 30 data: { 31 'tx_culturoscope_thumbs[fromTimestamp]': $('.event:last-child').find('.event-timestamp').val(), 32 'tx_culturoscope_thumbs[limit]': $('#nb-events-to-show').val(), 33 'tx_culturoscope_thumbs[visibleEvents]': visibleEvents 34 }, 35 success: function(data){ 36 $('.next-events').append(data); 37 $('.next-events').find('.event').slideDown('slow'); 38 $('.event-hidden').removeClass('event-hidden'); 39 if(!$('#show-load-more-button').val()){ 40 $('#load-more-events').hide('slow'); 41 } 42 $('#show-load-more-button').remove(); 43 } 44 }); 45 }); 46 } 47 48 // plugins 49 $('.agenda-list').each(function() { 50 $(this).AgendaList(); 51 return false; 52 }); 53});
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.