1 2/* [I[o[ 3-------------------------------------------------------- */ 4jQuery(function($) { 5 var suffix = '_on'; 6 $('.over').each(function() { 7 var img = $(this); 8 var src = img.attr('src'); 9 var name = src.substr(0, src.lastIndexOf('.')); 10 var ext = src.substring(src.lastIndexOf('.')); 11 if (name.match(suffix + '$')) return; 12 var src_on = name + suffix + ext; 13 $('<img>').attr('src', src_on); 14 img.hover( 15 function() { img.attr('src', src_on); }, 16 function() { img.attr('src', src); } 17 ); 18 }); 19}); 20 21 22/* [I[o[ż§¾ 23-------------------------------------------------------- */ 24$(function() { 25 $(".fade").hover(function(){ 26 $(this).stop(true).fadeTo(200,0.8); 27 },function() { 28 $(this).fadeTo(200,1); 29 }); 30 31}); 32 33 34/* X[YXN[ 35-------------------------------------------------------- */ 36$(function(){ 37 $('.pagetop a').click(function() { 38 // XN[̬x 39 var speed = 400; // ~b 40 // AJ[Ìlæ¾ 41 var href= $(this).attr("href"); 42 // Ú®æðæ¾ 43 var target = $(href == "#" || href == "" ? 'html' : href); 44 // Ú®æðlÅæ¾ 45 var position = target.offset().top; 46 // X[XXN[ 47 $('body,html').animate({scrollTop:position}, speed, 'swing'); 48 return false; 49 }); 50}); 51 52 53 54/* t[eBOLINEoi[ 55-------------------------------------------------------- */ 56jQuery(window).on("scroll", function($) { 57 if (jQuery(this).scrollTop() > 100) { 58 jQuery('.floating').show(); 59 } else { 60 jQuery('.floating').hide(); 61 } 62}); 63
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.