1$(document).ready(function() { 2 //.menu li catches all "li" elements under the .menu class 3 $('.menu li').hover(function() { 4 //if the ."item-links" div,located under the current li that we are talking about(talking about = ($(this).find('.item-links'))) 5 // is being animated,then stop it,change its css style(we're talking about the inner div that's in the li), 6 //fade it in,and animate it's opacity. 7 //for any q's, you can call me, i'll be glad to help. 8 if ($(this).find('.item-links').is(":animated")) { 9 $(this).find('.item-links').stop() 10 .css("height", "auto") 11 .css("margin-top", "5") 12 .fadeIn('normal') 13 .animate({opacity: 1.0}); 14 } else { 15 $(this).find('.item-links').stop() 16 .css("display", "none") 17 .fadeIn('normal') 18 .animate({opacity: 1.0}); 19 } 20 }, function() { 21 if ($(this).find('.item-links').is(":animated")) { 22 $(this).find('.item-links').stop() 23 .css("height", "auto") 24 .slideUp('fast'); 25 } else { 26 $(this).find('.item-links').stop().slideUp('fast'); 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.