1 2function MM_openBrWindow(theURL,winName,features) { //v2.0 3 window.open(theURL,winName,features); 4} 5 6 7$(function() { 8 $("#panel-btn").click(function() { 9 $("#h_navi").slideToggle(200); 10 $("#panel-btn-icon").toggleClass("close"); 11 return false; 12 }); 13}); 14 15 16$(function(){ 17 var $setElem = $('.imgChange'), 18 pcName = '_pc', 19 spName = '_sp', 20 replaceWidth = 640; 21 22 $setElem.each(function(){ 23 var $this = $(this); 24 function imgSize(){ 25 var windowWidth = parseInt($(window).width()); 26 if(windowWidth >= replaceWidth) { 27 $this.attr('src',$this.attr('src').replace(spName,pcName)).css({visibility:'visible'}); 28 } else if(windowWidth < replaceWidth) { 29 $this.attr('src',$this.attr('src').replace(pcName,spName)).css({visibility:'visible'}); 30 } 31 } 32 $(window).resize(function(){imgSize();}); 33 imgSize(); 34 }); 35}); 36$(function(){ 37 var $setElem = $('.imgChange2'), 38 pcName = '_pc', 39 spName = '_sp', 40 replaceWidth = 810; 41 42 $setElem.each(function(){ 43 var $this = $(this); 44 function imgSize(){ 45 var windowWidth = parseInt($(window).width()); 46 if(windowWidth >= replaceWidth) { 47 $this.attr('src',$this.attr('src').replace(spName,pcName)).css({visibility:'visible'}); 48 } else if(windowWidth < replaceWidth) { 49 $this.attr('src',$this.attr('src').replace(pcName,spName)).css({visibility:'visible'}); 50 } 51 } 52 $(window).resize(function(){imgSize();}); 53 imgSize(); 54 }); 55}); 56 57 58$(function() { 59 var topBtn = $('#pagetop'); 60 topBtn.hide(); 61 //ã¹ã¯ãã¼ã«ã100ã«éããããã¿ã³è¡¨ç¤º 62 $(window).scroll(function () { 63 if ($(this).scrollTop() > 100) { 64 topBtn.fadeIn(); 65 } else { 66 topBtn.fadeOut(); 67 } 68 }); 69 //ã¹ã¯ãã¼ã«ãã¦ããã 70 topBtn.click(function () { 71 $('body,html').animate({ 72 scrollTop: 0 73 }, 500); 74 return false; 75 }); 76}); 77 78 79$(function() { 80 81 //ãã¼ã or ã¹ã¯ãã¼ã«ãããã¨å®è¡ 82 $(window).on('load scroll', function(){ 83 84 //ãããã¼ã®é«ãå(20px)ã¹ã¯ãã¼ã«ããã¨fixedã¯ã©ã¹ã追å 85 if ($(window).scrollTop() > 20) { 86 $('#gHeaderArea').addClass('fixed'); 87 } else { 88 //30px以ä¸ã ã¨fixedã¯ã©ã¹ãåé¤ 89 $('#gHeaderArea').removeClass('fixed'); 90 } 91 92 }); 93 94 $(function(){ 95 function pagelink(heightnum){ 96 var headerHight = heightnum; 97 $("a.anchorlink").click(function(){ 98 var href= $(this).attr("href"); 99 var target = $(href == "#" || href == "" ? 'html' : href); 100 var position = target.offset().top-headerHight; 101 $("html, body").animate({scrollTop:position}, 600, "swing"); 102 return false; 103 }); 104 /* outpagelink */ 105 var url = $(location).attr("href"); 106 if (url.indexOf("?id=") == -1) { 107 }else{ 108 var url_sp = url.split("?id="); 109 var hash = "#" + url_sp[url_sp.length - 1]; 110 var target2 = $(hash); 111 var position2 = target2.offset().top-headerHight; 112 $("html, body").animate({scrollTop:position2}, 600, "swing"); 113 } 114 } 115 pagelink(50);//ãããã¼ã®é«ããå ¥ãã 116 }); 117 118});
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.