1jQuery(document).ready(function($){ 2 if($('.site_index')[0]){ 3 // ããããã¼ã¸ 4 }else{ 5 // ããããã¼ã¸ä»¥å¤ 6 } 7 8 // å ¨ãã¼ã¸å ±éãããã 9 10 // ã¡ãã¥ã¼ãã¿ã³ï¼å±éï¼ 11 function accMenuSite(){ 12 $('#btn_header_menu').on('click',function(){ 13 $('#btn_header_menu,#box_header_menu,#container').toggleClass('menu_open'); 14 }); 15 $('#btn_header_menu,#box_header_menu').on('click keypress',function(event){ 16 event.stopPropagation(); 17 }); 18 $(document).on('click keypress',function(){ 19 $('#btn_header_menu,#box_header_menu,#container').removeClass('menu_open'); 20 }); 21 // ãã¼ãã¼ãå¯¾å¿ 22 $('#box_header_menu ul li:last-child a').on('focusout', function() { 23 $('#btn_header_menu,#box_header_menu,#container').removeClass('menu_open'); 24 }); 25 } 26 27 // ãã¼ã¸ããããã¿ã³ãåºå® 28 function accToPagetopSite(){ 29 $(window).scroll(function(){ 30 if ($(this).scrollTop() > 200) { 31 $('#btn_pagetop').addClass('fixed'); 32 }else { 33 $('#btn_pagetop').removeClass('fixed'); 34 } 35 }); 36 } 37 38 // å ¨ãã¼ã¸å ±éããã¾ã§ 39 40 accMenuSite(); 41 accToPagetopSite(); 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.