1jQuery.noConflict(); 2jQuery(document).ready(function($){ 3 4 // Navigation 5 6 $('nav ul').removeClass('nojs'); 7 $('nav li').hover(function() { $(this).find('ul:first').stop('true','true').animate({opacity: 'toggle', height: 'toggle'}, + dropSpeed);}); 8 $('nav li li:first-child').each(function(){$(this).find('a:first').addClass( 'first_item' );}); 9 $('nav li li:last-child').each(function(){$(this).find('a:first').addClass( 'last_item' );}); 10 11 // Extra Content 12 13 var extraContent = (function() { 14 var ecValue = 10; 15 for (i=1;i<=ecValue;i++) 16 { 17 $('#myExtraContent'+i+' script').remove(); 18 $('#myExtraContent'+i).appendTo('#extraContainer'+i); 19 } 20 })(); 21 22 // Text Revolver 23 24 $('#revolve li'); 25 setInterval(function(){ 26 $('#revolve li').filter(':visible').fadeOut(800,function(){ 27 if($(this).next('li').size()){ $(this).next().fadeIn(800); } 28 else{ $('#revolve li').eq(0).fadeIn(800); } 29 }); 30 },4000); 31 32 // A Vaitor Specific Formatting 33 34 $('#asideTitle:empty, #asidePlug:empty').remove(); 35 $('footer li:last-child').each(function(){$(this).addClass( 'last_item' );}); 36 $('.album-description, .movie-page-description, .album-title, .movie-page-title, .filesharing-description, .message-text').prependTo('#extraContainer2'); 37 38 // Lightbox Photo Album 39 40 $('section').has('.album-wrapper').each(function(){ 41 $('.thumbnail-frame').each(function(){ 42 $('a',this).attr({ 43 'href' : $('a img',this).attr('src').replace(/thumb/i,'full'), 44 'rel' : 'prettyPhoto[gallery]', 45 'title' : $('.thumbnail-caption',this).text() 46 }); 47 }); 48 $('a[rel^=prettyPhoto]').prettyPhoto({ 49 theme : 'light_square', 50 show_title : false 51 }); 52 }); 53});
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.