1// JavaScript Document 2 3$(document).ready(function(){ 4 $('#mainmenu ul li').each(function(){ 5 if($('ul',this).length>-1){ 6 $(this).addClass('parent'); 7 } 8 }); 9 10 $('#mainmenu .parent').hover(function(){ 11 $('ul',this).stop(true,true).slideDown(100); 12 },function(){ 13 $('ul',this).animate({ opacity: 'toggle', height: 'toggle' }, 200); 14 }); 15 16 $('form .submit').click(function(){ 17 // alert('Submitted (mock)'); 18 $(this).parents('form').submit(); 19 }); 20 21 $('.loginform input').focus(function(){ 22 if(!$(this).is('.focused')){ 23 $(this).addClass('focused').val(''); 24 if($(this).hasClass('password')){ 25 $(this).remove(); 26 $('#login .realpassword').show().focus(); 27 }; 28 } 29 }); 30 31});
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.