1(function($){ 2$(document).ready(function() { 3 if(typeof my_is_mobile_global!='undefined' && !my_is_mobile_global){ 4 timelineImage(); 5 } 6}); 7 8function timelineImage(){ 9 10 $('.timeline_rollover_top').unbind('hover').timelineRollover('top'); 11 $('.timeline_rollover_right').unbind('hover').timelineRollover('right'); 12 $('.timeline_rollover_bottom').unbind('hover').timelineRollover('bottom'); 13 $('.timeline_rollover_left').unbind('hover').timelineRollover('left'); 14 15} 16 17 18$.fn.timelineRollover = function(type) { 19 var lstart,lend; 20 var tstart,tend; 21 22 $(this).append('\n<div class="image_roll_glass"></div><div class="image_roll_zoom"></div>'); 23 24 25 switch (type) 26 { 27 case 'top' : lstart='0'; lend='0'; tstart='-100%'; tend='0'; break; 28 case 'right' : lstart='100%'; lend='0'; tstart='0'; tend='0'; break; 29 case 'bottom' : lstart='0'; lend='0'; tstart='100%'; tend='0'; break; 30 case 'left' : lstart='-100%'; lend='0'; tstart='0'; tend='0'; break; 31 } 32 $(this).find('.image_roll_zoom').css({left:lstart, top:tstart}); 33 34 $(this).hover(function(){ 35 $(this).find('.image_roll_zoom').stop(true, true).animate({left: lend, top:tend},200); 36 $(this).find('.image_roll_glass').stop(true, true).fadeIn(200); 37},function() { 38 $(this).find('.image_roll_zoom').stop(true).animate({left:lstart, top:tstart},200); 39 $(this).find('.image_roll_glass').stop(true, true).fadeOut(200); 40 }); 41 42} 43 44})(jQuery);
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.