1$(document).ready(function() { 2 $('.pricing-nav .button').on("click", function() { 3 var period = $(this).data('period'); 4 var widgetId = $(this).data('widget-id'); 5 6 $(this).siblings('button').removeClass('is-active'); 7 $(this).addClass('is-active'); 8 9 if(period === 'monthly') { 10 $('#yearly-'+widgetId).removeClass('is-active'); 11 $('#monthly-'+widgetId).addClass('is-active'); 12 } else if(period === 'yearly') { 13 $('#monthly-'+widgetId).removeClass('is-active'); 14 $('#yearly-'+widgetId).addClass('is-active'); 15 } else { 16 $('.plans-container .pricing-wrapper.is-active').removeClass('is-active'); 17 $('#'+period).addClass('is-active'); 18 } 19 }); 20 21 // Princing Plans scroll buttons 22 $endNext = true; 23 $endPrev = true; 24 25 $('.pricing-buttons .next').on('click', function(){ 26 if($endNext){ 27 $('.pricing-list').animate({scrollLeft:'+=500'}, 500); 28 $('.pricing-buttons .next').hide(); 29 $('.pricing-buttons .previous').show(); 30 $endPrev = true; 31 } 32 33 $endNext = false; 34 }); 35 36 $('.pricing-buttons .previous').on('click', function(){ 37 if($endPrev){ 38 $('.pricing-list').animate({scrollLeft:'-=500'}, 500); 39 $('.pricing-buttons .previous').hide(); 40 $('.pricing-buttons .next').show(); 41 $endNext = true; 42 } 43 44 $endPrev = false; 45 }); 46}); 47 48function advertiseChoice(frequency){ 49 Cookies.set('edirectory_advertiseChoice', frequency); 50}
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.