1$(document).ready( function(){ 2 3 $("BODY").addClass($.client.browser.toLowerCase()); 4 $("BODY").addClass($.client.os.toLowerCase()); 5 6 $("A > IMG").each( function(){ 7 $(this).parent().addClass("noBorder"); 8 }); 9 10 var contentOffset = $("#content").offset(); 11 var initHeight = $(window).height() - contentOffset.top - 30 - 150 - $("#bottom").outerHeight(); 12 13 if($("#content").height() < initHeight){ 14 $("#content").height(initHeight); 15 } 16 17 $('#slides').slides({ 18 preload: true, 19 generateNextPrev: false, 20 play: 5000 21 }); 22 23 $(".fancybox.trailer").fancybox({ 24 'width' : '75%', 25 'height' : '75%', 26 'type' : 'iframe', 27 'padding' : 0, 28 'overlayColor': '#000', 29 'overlayOpacity': 0.75 30 }); 31 32 $(".clearInput").clearInput(); 33 34}); 35 36$(window).bind("load", function() { 37 38 $("#header UL UL").each( function(){ 39 $(this).css("margin-left", "-" + ($(this).width() - $(this).parent().width())/2 + "px"); 40 }); 41 42 $("#header .nav LI").hover( 43 function(){ $(this).children("UL").show(); }, 44 function(){ $(this).children("UL").hide(); } 45 ); 46 47 $("#footer .logos").width($("#footer .nav LI").width()); 48 49 50 51 $("#footer A:not(.intro)").hover( 52 53 function(){ var offset = $(this).offset(); $(this).width($(this).width()).addClass("hover").css("left", offset.left + "px"); }, 54 function(){ $(this).removeClass("hover").removeAttr("style"); } 55 ); 56 57 58 59}); 60 61 62 63 64jQuery.fn.clearInput = function() { 65 return this.focus(function() { 66 if( this.value == this.defaultValue ) { 67 this.value = ""; 68 } 69 }).blur(function() { 70 if( !this.value.length ) { 71 this.value = this.defaultValue; 72 } 73 }); 74};
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.