1jQuery(function($) { 2 $(document).ready(function() { 3 $('.drawer-btn').click(function(){ //ã¯ãªãã¯ããã 4 $('.drawer').animate({width:'toggle'}); //animateã§è¡¨ç¤ºã»é表示 5 $(this).toggleClass('drawer-btn-peke'); //toggleã§ã¯ã©ã¹è¿½å ã»åé¤ 6 }); 7 }); 8}); 9$(function(){ 10 var state = false; 11 var pos; 12 $('.drawer-btn').click(function(){ 13 if (state == false) { 14 pos = $(window).scrollTop(); 15 $('body').addClass('drawer-body-on').css({'top': -pos}); 16 state = true; 17 } else { 18 $('body').removeClass('drawer-body-on').css({'top': 0}); 19 window.scrollTo(0, pos); 20 state = false; 21 } 22 }); 23});
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.