1function tBox(){ 2 //h = $(window).height(); 3 t = $(document).scrollTop(); 4 if(t > 150){ 5 $(".tbox").fadeIn(300); 6 }else{ 7 $(".tbox").fadeOut(300); 8 } 9} 10 11$(document).ready(function(e){ 12 $("body").append('<div class="tbox"><a href="javascript:void(0)" id="gotop"></a></div>'); 13 14 tBox(); 15 16 $("#gotop").click(function(){ 17 $(document).scrollTop(0); 18 }) 19}); 20 21$(window).scroll(function(e){ 22 tBox(); 23}) 24 25$(function(){ 26 27 /*䏿èå*/ 28 $(".nav li").hover(function(){ 29 $(this).parents(".nav > li").find("a:first").addClass("on2"); 30 $(this).find("ul:first").show(); //é¼ æ æ»è¿æ¥æ¾liä¸é¢ç第ä¸ä¸ªulæ¾ç¤º 31 },function(){ 32 var navobj = $(this).find("ul:first"); 33 navobj.hide(); 34 35 //é¼ æ 离å¼éèliä¸é¢çul 36 if(navobj.attr("class") == "nav_sub") 37 { 38 $(this).find("a:first").removeClass("on2"); 39 } 40 }) 41 42 //ç»liä¸é¢ulæ¯sçæ ·å¼çåä¸ä¸ªåè¾å ç´ æ·»å css 43 $(".nav li ul li ul").prev().addClass("t"); 44 45}) 46
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.