1// JavaScript Document 2function dockEvent() { 3 $(".dock").height($(".dock ul.icons li").length * 50 + $(".dock a.switch").height() + 20).css("top", ($(window).height() - $(".dock").height()) / 2 + 35); 4 $(".dock ul.icons li i").bind("mouseover click touchstart", 5 function() { 6 $(".dock ul.icons li").removeClass("active"); 7 $(this).parent().addClass("active") 8 }); 9 $(".dock ul.icons li").bind("mouseleave", 10 function() { 11 $(".dock ul.icons li").removeClass("active") 12 }); 13 $(".dock a.switch").bind("click", 14 function() { 15 if ($(this).hasClass("off")) { 16 $(".dock").removeClass("close"); 17 $(this).removeClass("off") 18 } else { 19 $(".dock ul.icons li").removeClass("active"); 20 $(".dock").addClass("close"); 21 $(this).addClass("off") 22 } 23 }) 24} 25$(function (){ 26 $('.dock .up').click(function(){$('html,body').animate({scrollTop: '0px'}, 500);}); 27 $('.dock .down').click(function(){$('html,body').animate({scrollTop: $(document).height()+'px'}, 500);}); 28 dockEvent(); 29})
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.