1(function($){ 2 3 // ã¹ã¯ãã¼ã«ã¢ãã¡ã¼ã·ã§ã³ 4 $(function(){ 5 $('a[href^="#"]').click(function() { 6 var speed = 500; 7 var href= $(this).attr("href"); 8 var target = $(href == "#" || href == "" ? 'html' : href); 9 var position = target.offset().top-150; 10 $('body,html').animate({scrollTop:position}, speed, 'swing'); 11 return false; 12 }); 13 }); 14 15 // å¥ã¦ã£ã³ãã¦è¡¨ç¤º 16 $(function(){ 17 if (!document.getElementsByTagName) return; 18 var anchors = document.getElementsByTagName("a"); 19 for (var i=0; i<anchors.length; i++) { 20 var anchor = anchors[i]; 21 if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external"){ 22 anchor.target = "_blank"; 23 } 24 } 25 }); 26 27 // ãã¼ã¸TOPã¸ã¹ã¯ãã¼ã« 28 $(function() { 29 var topBtn = $('#topBtn'); 30 topBtn.hide(); 31 $(window).scroll(function () { 32 if ($(this).scrollTop() > 100) { 33 topBtn.fadeIn(); 34 } else { 35 topBtn.fadeOut(); 36 } 37 }); 38 }); 39 40 // ãããã¼ããã²ã¼ã·ã§ã³ããã¦ã¹ããã¼æ 41 $(function(){ 42 $('#mainNavi li,#subNavi li').on({ 43 'mouseenter':function(){ 44 $(".naviBox",this).fadeIn(100); 45 //$("#contents").addClass("overLay"); 46 }, 47 'mouseleave':function(){ 48 $(".naviBox",this).fadeOut(250); 49 //$("#contents").removeClass("overLay"); 50 } 51 }); 52 $('#footerNavi .naviItem').on({ 53 'mouseenter':function(){ 54 $(this).addClass('active'); 55 //$("#contents").addClass("overLay"); 56 }, 57 'mouseleave':function(){ 58 $(this).removeClass('active'); 59 //$("#contents").removeClass("overLay"); 60 } 61 }); 62 }); 63 64 // Facebook 65 $(function(d, s, id) { 66 var js, fjs = d.getElementsByTagName(s)[0]; 67 if (d.getElementById(id)) return; 68 js = d.createElement(s); js.id = id; 69 js.src = "//connect.facebook.net/ja_JP/sdk.js#xfbml=1&version=v2.8"; 70 fjs.parentNode.insertBefore(js, fjs); 71 } 72 (document, 'script', 'facebook-jssdk') 73 ); 74 75 76 77})(jQuery);
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.