1function checkFields() { 2 var message = 'Error: form fields aren\'t filled or incorrect: '; 3 var email = document.getElementById('email'); 4 var filter = /^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+$/; 5 if (!filter.test(email.value)) { 6 message = message + 'Email'; 7 if (document.getElementById('comment').value == 'Comment') { 8 message = message + ', Comment'; 9 } 10 alert(message + '.'); 11 return false; 12 } 13 14 15} 16 17jQuery.noConflict(); 18(function($) { 19 $(function() { 20 21 $('.sharethis').click(function(){ 22 $(this).next('.sharelist').slideToggle('fast'); 23 }); 24 25 var focus = $('.focus'); 26 focus.focusin(function(){ 27 $(this).css({ 28 'color': '#000', 29 'border-color': '#000' 30 }); 31 }); 32 focus.focusout(function(){ 33 $(this).removeAttr('style'); 34 }); 35 36 /*$('.post img').lazyload({ 37 effect : "fadeIn" 38 });*/ 39 }); 40})(jQuery);
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.