1jQuery(function() { 2 jQuery('.leanModal').leanModal({ top : "", closeButton: ".modal_close" }); 3 4 5/*** <Prepare goals for Yandex Metrics and Google Analystic> ***/ 6 jQuery( "[data-id='#toplabsFB']" ).click(function() { 7 8 var fid = jQuery(this).data("id"); 9 if ( typeof fid == 'undefined') 10 var fid = jQuery(this).attr("href"); 11 12 /* Added data-pos, data-head */ 13 var pos = jQuery(this).data("pos"); 14 var head = jQuery(this).data("head"); 15 16 if(head){ jQuery(fid).find('.lm-title1').replaceWith('<p class="lm-title1">'+head+'</p>'); } 17 18 jQuery(fid).find('input[name*=position]').remove(); 19 if ( typeof pos != 'undefined') 20 jQuery(fid).find('form').prepend( '<input name="position" type="hidden" value="'+pos+'">' ); 21 /* End */ 22}); 23/*** </Prepare goals for Yandex Metrics and Google Analystic> ***/ 24 25jQuery('#toplabsFB').on('close.leanModal', function(e) { 26 jQuery(this).find('input[name*=position]').remove(); 27}); 28 29 30 31 32 33 34}); 35 36jQuery( document ).ajaxStart(function() { 37 var path = jQuery("#toplabsFB #fburl").val(); 38 jQuery('#toplabsFB .loading-popup').append("<img src='"+path+"assets/img/wait.gif'/>"); 39}); 40 41 42jQuery( document ).ajaxStop(function() { 43 jQuery('#toplabsFB .loading-popup img').remove(); 44}); 45 46 47 48jQuery(function(){ 49jQuery('#toplabsFB .name, #toplabsFB .phone').poshytip({ 50 className: 'redalert', 51 showOn: 'none', 52 alignTo: 'target', 53 alignX: 'center', 54 offsetY: 10, 55 showTimeout: 10 56 }); 57 58jQuery('#toplabsFB .mainobr').poshytip({ 59 className: 'redalert', 60 showOn: 'none', 61 alignTo: 'target', 62 alignX: 'right', 63 alignY: 'center', 64 offsetX: 5, 65 showTimeout: 10 66}); 67 68 69jQuery('#toplabsFB textarea').poshytip({ 70 className: 'redalert', 71 showOn: 'none', 72 alignTo: 'target', 73 alignX: 'center', 74 alignY: 'bottom', 75 offsetY: 5, 76 showTimeout: 10 77 }); 78 79 80}); 81 82
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.