1function initRollOverImages() { 2 var image_cache = new Object(); 3 $(".rollover a img").not("[src*='_on.']").each(function(i) { 4 var imgsrc = this.src; 5 var dot = this.src.lastIndexOf('.'); 6 var imgsrc_on = this.src.substr(0, dot) + '_on' + this.src.substr(dot, 4); 7 image_cache[this.src] = new Image(); 8 image_cache[this.src].src = imgsrc_on; 9 $(this).hover( 10 function() { this.src = imgsrc_on; }, 11 function() { this.src = imgsrc; } 12 ); 13 }); 14} 15$(document).ready(initRollOverImages); 16 17$(function(){ 18$(".fade").imageBorder(); 19}); 20$.fn.imageBorder = function(){ 21 return this.each(function(){ 22 $(this).addClass("jqImageBorder"); 23 $(this).hover( 24 function(){ 25 $(this).fadeTo(300,0); 26 $(this).toggleClass("jqIBRotate"); 27 }, 28 function(){ 29 $(this).fadeTo(300,1); 30 $(this).toggleClass("jqIBRotate"); 31 } 32 ); 33 }); 34}
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.