1function show_popup(id){ 2 $('.pop_up3').html(''); 3 $('.preloader').show(); 4 $.post("/bitrix/components/fomedia/popup.link/ajax_popup.php", id, 5 function(data){ 6 $('.pop_up3').html(data); 7 $('.preloader').hide(); 8 } 9 ); 10 11 formTop = $(document).scrollTop()+50; 12 $('.pop_up').css('top', formTop+'px').show(); 13 $('#overlay').show(); 14} 15 16function hide_popup(){ 17 $('.pop_up').hide(); 18 $('#overlay').hide(); 19} 20 21function sent_form(selector) { 22 $(selector+" .form_loading").show(); 23 $(selector+" .send_btn").attr('disabled', 'disabled'); 24 $.ajax({ 25 url: "/bitrix/components/fomedia/popup.form/.ajax.php", 26 type: "POST", 27 data: $(selector).serialize(), 28 dataType: "html", 29 success: function(msg){ 30 $(selector+" .form_loading").hide(); 31 $(selector+" .send_btn").attr('disabled', ''); 32 $(selector+" .form_error").html(msg); 33 } 34 } 35 ); 36}
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.