1if(navigator.userAgent.match(/(iPhone|iPad|iPod|Android)/)){ 2//ããã«æ¸ããå¦çã¯ã¹ããé²è¦§æã®ã¿æå¹ã¨ãªã 3$(function() { 4 $(".sptoggle01").click(function() { 5 $(".submenu01").toggle();ã/*ãµãã£ã¨è¡¨ç¤º*/ 6 $(".submenu02").hide(); 7 }); 8 9 $(".sptoggle02").click(function() { 10 $(".submenu02").toggle();ã/*ãµãã£ã¨è¡¨ç¤º*/ 11 $(".submenu01").hide(); 12 }); 13}); 14} 15 16 17 18 19if(!navigator.userAgent.match(/(iPhone|iPad|iPod|Android)/)){ 20//ããã«æ¸ããå¦çã¯ã¹ããé²è¦§æã¯ç¡å¹ã¨ãªã 21$(function() { 22 23 $(".toggle01").hover(function(){ 24 $(".submenu01").stop().slideDown(100); 25 },function(){ 26 $(".submenu01").stop().slideUp(50); 27 }); 28 $("a").click(function(){ 29 $(".submenu01").stop().slideUp(100); 30 }); 31 32 $(".submenu01").hover(function(){ 33 $(this).stop().slideDown(); 34 $("li.toggle01 a").addClass("active"); 35 },function(){ 36 $(this).stop().slideUp(); 37 $("li.toggle01 a").removeClass("active"); 38 }); 39 40 $(".toggle02").hover(function(){ 41 $(".submenu02").stop().slideDown(100); 42 },function(){ 43 $(".submenu02").stop().slideUp(50); 44 }); 45 46 $("a").click(function(){ 47 $(".submenu02").stop().slideUp(100); 48 }); 49 50 $(".submenu02").hover(function(){ 51 $(this).stop().slideDown(); 52 $("li.toggle02 a").addClass("active"); 53 },function(){ 54 $(this).stop().slideUp(); 55 $("li.toggle02 a").removeClass("active"); 56 }); 57 58}); 59} 60 61 62 63 64/* 65$(function() { 66 67 $(".sptoggle01").click(function(){ 68 $(".submenu01").stop().slideDown(100); 69 },function(){ 70 $(".submenu01").stop().slideUp(50); 71 }); 72 $("a").click(function(){ 73 $(".submenu01").stop().slideUp(100); 74 }); 75 76 77 78 $(".sptoggle02").click(function(){ 79 $(".submenu02").stop().slideDown(100); 80 },function(){ 81 $(".submenu02").stop().slideUp(50); 82 }); 83 84 $("a").click(function(){ 85 $(".submenu02").stop().slideUp(100); 86 }); 87 88 89}); 90*/ 91 92 93 94 95 96 97 98 99 100$(function() { 101 102 $('#input_keyword') 103 .focus(function() { 104 if($(this).hasClass('dummy_text')) { 105 $(this).removeClass().val(''); 106 } 107 }) 108 .blur(function() { 109 if($(this).val().length == 0) { 110 $(this).addClass('dummy_text') 111 .val('ãã¼ã¯ã¼ããå ¥åãã¦ãã ãã'); 112 } 113 }) 114 .blur(); 115 116 $(".stone_s .wrap").mCustomScrollbar({ autoHideScrollbar: false , mouseWheel: true, scrollInertia:0 }); 117 $('.pagetop').click(function(){ 118 $('body').animatescroll({scrollSpeed:1000,easing:'easeOutQuart'}); 119 }); 120 121 $(window).resize(resize_func); 122 resize_func(); 123 124 $(window).scroll(scfunc); 125 scfunc(); 126}); 127function resize_func(){ 128 var h = $(window).height(); 129 var w = $(window).width(); 130 131 if( w < 671 ){ 132 $('#HeaderBox .Navigation').css('height', h+25+'px'); 133 } 134} 135 136function scfunc(){ 137 138 var t = $(this).scrollTop(); 139 var w = $(window).width(); 140 var h = $(window).height(); 141 142 if( t > 100 ){ 143 $('.pagetop').fadeIn(); 144 } else { 145 $('.pagetop').fadeOut(); 146 } 147} 148 149 150$(function(){ 151 $('a[href^="#"]').click(function(){ 152 var speed = 500; 153 var href= $(this).attr("href"); 154 var target = $(href == "#" || href == "" ? 'html' : href); 155 var position = target.offset().top; 156 $("html, body").animate({scrollTop:position}, speed, "swing"); 157 return false; 158 }); 159}); 160 161function AjaxZip3_check(area){ 162 var txt_id = area; 163 var txt_dt = document.getElementById(txt_id).value; 164 if(txt_dt == ""){ 165 alert("éµä¾¿çªå·ã«è©²å½ãã使ãåå¨ãã¾ããã§ããã"); 166 } 167 return true; 168} 169 170function NumCheck(abc){ 171 var str = document.getElementById(abc).value; 172 var ret = str.replace(/[ï¼-ï½]/g,function($0){ return String.fromCharCode(parseInt($0.charCodeAt(0))-65248); }); 173 document.getElementById(abc).value = ret; 174 return true; 175} 176 177function search_submit() { 178 if ( document.form_search.keyword.value.length > 0 ) { 179 var keyword_string = document.form_search.keyword.value.trim(); 180 keyword_string = keyword_string.replace(/ /g, "+")
181 theAction = '/search_list/' + EscapeUTF8( keyword_string ); 182// document.form_search.action = theAction; 183// document.form_search.submit(); 184//location.href = theAction; 185 186location.href = theAction; 187 188// document.form_search2.action = theAction; 189// document.form_search2.submit(); 190 191 192 } 193} 194 195EscapeUTF8=function(str){ 196 return str.replace(/[^*+.-9A-Z_a-z-]/g,function(s){ 197 var c=s.charCodeAt(0); 198 return (c<16?"%0"+c.toString(16):c<128?"%"+c.toString(16):c<2048?"%"+(c>>6|192).toString(16)+"%"+(c&63|128).toString(16):"%"+(c>>12|224).toString(16)+"%"+(c>>6&63|128).toString(16)+"%"+(c&63|128).toString(16)).toUpperCase() 199 }) 200}; 201 202 203$(function(){ 204 // â¼ãã¦ã¹ãè¼ã£ãããµãã¡ãã¥ã¼ã表示 205 $("ul.ddmenu li").mouseenter(function(){ 206 $(this).siblings().find(".submenu01").hide(); // å å¼è¦ç´ ã«å«ã¾ãããµãã¡ãã¥ã¼ãå ¨é¨æ¶ãã 207 $(this).children().slideDown(50); // èªåã®ãµãã¡ãã¥ã¼ã表示ããã 208 }); 209 // â¼ã©ãããã¯ãªãã¯ãããããµãã¡ãã¥ã¼ãæ¶ã 210 $('html').click(function() { 211 $('ul.ddmenu ul').slideUp(50); 212 }); 213}); 214 215$(function($) { 216 var w = $(window).width(); 217 218 if( w < 1000 ){ 219 $(".sub li.search a").on("click", function() { 220 $(".search_area").slideToggle(); 221 }); 222 223 $('.search_slide').click(function(){ 224 $(this).toggleClass('search_open'); 225 $(this).next().slideToggle(); 226 }); 227 } 228 var _window = $(window), 229 _header = $('.move'), 230 heroBottom; 231 232 _window.on('scroll',function(){ 233 heroBottom = $('.h_top').height(); 234 if(_window.scrollTop() > heroBottom){ 235 _header.addClass('fixed'); 236 } 237 else{ 238 _header.removeClass('fixed'); 239 } 240 }); 241 242}); 243 244$(function(){ 245if($('#search_box').length){ 246 $( "#search_box" ).autocomplete({ 247 source: function(req, resp){ 248 $.ajax({
249 url: "/autocomplete.php", 250 type: "POST", 251 cache: false, 252 dataType: "json", 253 data: { 254 param1: req.term 255 }, 256 success: function(o){ 257 resp(o); 258 }, 259 error: function(xhr, ts, err){ 260 resp(['']); 261 } 262 }); 263 } , 264 select: function( event, ui ){ 265 document.form_search.keyword.value = ui.item.value; 266 search_submit(); 267 } 268 }); 269} 270}); 271
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.