1//ããã«è¿½å ãããJavaScriptãjQueryãè¨å ¥ãã¦ãã ããã 2//ãã®JavaScriptãã¡ã¤ã«ã¯ã親ãã¼ãã®JavaScriptãã¡ã¤ã«ã®ãã¨ã«å¼ã³åºããã¾ãã 3//JavaScriptãjQueryã§è¦ªãã¼ãã®javascript.jsã«å ãã¦é¢æ°ãè¨å ¥ãããæã«ä½¿ç¨ãã¾ãã 4jQuery(function(){ 5 jQuery('a[href^="#"]').click(function(){ 6 var speed = 500; 7 var href= jQuery(this).attr("href"); 8 var target = jQuery(href == "#" || href == "" ? 'html' : href); 9 var position = target.offset().top; 10 jQuery("html, body").animate({scrollTop:position}, speed, "swing"); 11 return false; 12 }); 13});
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.