1function navpos(){ 2} 3function set_cur(n){ 4 if($(".sxz dd").hasClass("cur")){ $(".sxz dd").removeClass("cur"); } 5 $(".sxz dd"+n).addClass("cur"); 6} 7$(function(){ 8 navpos(); 9 var main1a_top = $("#main1a").offset().top-250; 10 var main2a_top = $("#main2a").offset().top-250; 11 var main3a_top = $("#main3a").offset().top-250; 12 var main4a_top = $("#main4a").offset().top-250; 13 //var main5a_top = $("#main5a").offset().top-650; 14 $(window).scroll(function(){ 15 var scroH = $(this).scrollTop(); 16 if(scroH>=main4a_top){ 17 set_cur(".main4a"); 18 }else if(scroH>=main3a_top){ 19 set_cur(".main3a"); 20 }else if(scroH>=main2a_top){ 21 set_cur(".main2a"); 22 }else if(scroH>=main1a_top){ 23 set_cur(".main1a"); 24 } 25 }); 26 $(".sxz dd").click(function() { 27 var el = $(this).attr('class'); 28 $('html, body').animate({scrollTop: $("#"+el).offset().top-126},{ 29 easing: 'easeOutExpo', duration: 100, complete:function(){ } 30 }); 31 }); 32}); 33
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.