1 2$(document).ready(function(){ 3 $(".menu_sub").hover(function(){ 4 $(this).addClass("hover"); 5 $(this).children("menu_sub").removeClass("hover"); 6 },function(){ 7 $(this).removeClass("hover"); 8 $(this).children("menu_sub").removeClass("hover"); 9 } 10 ); 11 $(".menu .tab.no_sub").hover(function(){ 12 $(this).addClass("hover1"); 13 },function(){ 14 $(this).removeClass("hover1"); 15 } 16 ); 17 18 var $li = $('.tab li'); 19 var $ul = $('.tab_con ul'); 20 21 $li.mouseover(function(){ 22 var $this = $(this); 23 var $t = $this.index(); 24 $li.removeClass(); 25 $this.addClass('current'); 26 $ul.css('display','none'); 27 $ul.eq($t).css('display','block'); 28 }) 29 if( $('.hot_comments').length>0 ){ 30 var t = $('.hot_comments').offset().top+360; 31 $(window).scroll(function(e){ 32 s = $(document).scrollTop(); 33 if(s > t){ 34 $('.hot_comments').css('position','fixed'); 35 $('.hot_comments').css('top','50px'); 36 $('.list_ad').hide(); 37 }else{ 38 $('.hot_comments').css('position',''); 39 $('.list_ad').show(); 40 } 41 }) 42 } 43})
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.