1(function ($) { 2 /*ãããã*/ 3 //gallery-icon 4 $(function () { 5 $(".gallery-icon a").append( 6 '<div class="icn_btn"><i class="fas fa-plus fa-sm"></i></div>' 7 ); 8 }); 9 10 //local_nav fixed 11 $(function () { 12 $(".tab>li") 13 .click(function () { 14 const num = $(this).parent().children("li").index(this); 15 $(".tab").each(function () { 16 $(">li", this).removeClass("active").eq(num).addClass("active"); 17 }); 18 $(".tab_item").hide().eq(num).show(); 19 }) 20 .first() 21 .click(); 22 $(".tab_bottom>li").click(function () { 23 const speed = 500; 24 const href = $(this).attr("data-top"); 25 const target = $(href == "#" || href == "" ? "html" : href); 26 const position = target.offset().top; 27 $("body,html").animate({ scrollTop: position }, speed, "swing"); 28 return false; 29 }); 30 }); 31 32 //===================================================== 33 //vari_actives 34 $(function () { 35 const full_path = location.href.split("#")[0]; 36 $("#js_position_vari li a").each(function () { 37 const $this = $(this); 38 if ($this.prop("href").split("#")[0] == full_path) { 39 $this.addClass("vari_active"); 40 } 41 }); 42 }); 43 $(function () { 44 $("#js_position_vari li a.vari_active") 45 .css("pointer-events", "none") 46 .removeClass("icon_right_after") 47 .attr("tabindex", -1); 48 }); 49 //===================================================== 50 //footer accordion 51 $(function () { 52 $(".footer_accordion> .parent").on("click", function () { 53 $(this).children("ul").slideToggle(); 54 }); 55 }); 56 57 //==================================================== 58 // guitar&base Parts local menu 59 $(function () { 60 var _width = $(window).width(); 61 if (_width <= 991) { 62 $("#local_menu_toggle").css("display", "block"); 63 $(".local_menu_box").css("display", "none"); 64 $("#local_menu_toggle").click(function () { 65 $(".local_menu_box").slideToggle(); 66 }); 67 } else { 68 $("#local_menu_toggle").css("display", "none"); 69 } 70 }); 71 72 //==================================================== 73 // support local nav 74 $(function () { 75 var _width = $(window).width(); 76 if (_width <= 960) { 77 $("#local_nav_toggle").css("display", "block"); 78 $(".local_nav_list").css("display", "none"); 79 $("#local_nav_toggle").click(function () { 80 $(".local_nav_list").slideToggle(); 81 }); 82 } else { 83 $("#local_nav_toggle").css("display", "none"); 84 } 85 }); 86 87 //==================================================== 88 //ã·ã°ããã£ã·ãªã¼ãº ã¡ãã¥ã¼ 89 $(function () { 90 $(".ac_body").find(".ac_content").hide(); 91 // Accordion 92 $(".ac_body") 93 .find(".ac_header") 94 .click(function () { 95 var next = $(this).next(); 96 next.slideToggle("fast"); 97 $(".ac_content").not(next).slideUp("fast"); 98 return false; 99 }); 100 $(".ac_content ul li a").click(function () { 101 $(".ac_content").hide(); 102 }); 103 }); 104 105 //==================================================== 106 //jancodeç¨ ã¡ãã¥ã¼è¡¨ç¤º 107 $(function () { 108 $(".jancode_button").prevAll().hide(); 109 $(".jancode_button").click(function () { 110 if ($(this).prevAll().is(":hidden")) { 111 $(this).prevAll().slideDown(); 112 $(this) 113 .html('<i class="far fa-times-circle"></i>') 114 .addClass("jancode_close"); 115 } else { 116 $(this).prevAll().slideUp(); 117 $(this) 118 .html('JANã³ã¼ã <i class="fas fa-chevron-circle-down"></i>') 119 .removeClass("jancode_close"); 120 } 121 }); 122 }); 123 124 //==================================================== 125 //製å詳細ãã¼ã¸ã®è©³ç´°ã¡ãã¥ã¼ 126 $(function () { 127 $(".js_tab_select").addClass("select"); 128 }); 129 //===================================================== 130 // SliderPro 131 // $(function() { 132 // $('#slider_main_image').sliderPro({ 133 // width: '100%', 134 // height: '300', 135 // arrows: true, 136 // buttons: true, 137 // fadeArrows: true, 138 // autoHeight:true, 139 // fade: true, 140 // fadeOutPreviousSlide: true,
141 // fadeDuration: 800, 142 // }); 143 // }); 144 145 // $(function() { 146 // $('#slider_big_box').sliderPro({ 147 // width: 1500, 148 // height: 540, 149 // arrows: false, 150 // buttons: true, 151 // fadeArrows: true, 152 // autoHeight:true, 153 // fade: true, 154 // fadeOutPreviousSlide: true, 155 // }); 156 // }); 157 158 //===================================================== 159 //tool tips 160 $(function () { 161 "use strict"; 162 $('[data-toggle="tooltip"]').tooltip(); 163 }); 164 //===================================================== 165 //wow animation 166 $(function () { 167 $(".animated").each(function (i) { 168 var linkBase = $(this).attr("class"); 169 $(this).attr("class", linkBase + " animation-" + (i + 1)); 170 }); 171 }); 172 173 //===================================================== 174 //equalize 175 //heigh 176 /*$(function(){ 177 $('#equalize').equalize(); 178}); 179//width 180$(function(){ 181 $('#equalize_width').equalize('width'); 182}); 183*/ 184 // 185 /*$(function(){$('a, input[type="button"], input[type="submit"], button, .touch-hover') 186 .on('touchstart', function(){ 187 $(this).addClass('hover'); 188 }).on('touchend', function(){ 189 $(this).removeClass('hover'); 190 }); 191 });*/ 192 //===================================================== 193 //header menu-icon 194 // $(function () { 195 // $('#header').prepend('<div id="menu-icon"><span class="first"></span><span class="second"></span><span class="third"></span></div>'); 196 // $("#menu-icon").on("click", function(){ 197 // $("#header nav").slideToggle(); 198 // $(this).toggleClass("active"); 199 // }); 200 // }); 201 $(function () { 202 $("#header").prepend( 203 '<div id="menu-icon"><span class="first"></span><span class="second"></span><span class="third"></span></div>' 204 ); 205 $("#menu-icon").on("click", function () { 206 $("#header nav").slideToggle(); 207 $(this).toggleClass("active"); 208 // $('body').toggleClass("isFixed"); 209 $(".navigation").toggleClass("navFixed"); 210 }); 211 }); 212 213 $(window).on("load resize", function () { 214 var winW = $(window).width(); 215 var devW = 999; 216 if (winW <= devW) { 217 $("#header nav").removeClass("active"); 218 $(".navigation").css("display", "none"); 219 } else { 220 $(".navigation").css("display", "block"); 221 } 222 }); 223 224 // $(function(){ 225 // var windowWidth = $(window).width(); 226 // var headerHight = 85; 227 // jQuery('a[href^=#]').click(function() { 228 // var speed = 1000; 229 // var href= jQuery(this).attr("href"); 230 // var target = jQuery(href == "#" || href == "" ? 'html' : href); 231 // var position = target.offset().top-headerHight; 232 // jQuery('body,html').animate({scrollTop:position}, speed, 'swing'); 233 // return false; 234 // }); 235 // }); 236 237 //===================================================== 238 //local_nav_list 239 $(function () { 240 $(".local_nav_list li a").each(function () { 241 var $href = $(this).attr("href"); 242 if (location.href.match($href)) { 243 $(this).addClass("active"); 244 } else { 245 $(this).removeClass("active"); 246 } 247 }); 248 }); 249 250 //===================================================== 251 //set parallax 252 function stellarParallax() { 253 if ($(window).width() > 1024) { 254 $.stellar(); 255 } else { 256 $.stellar("destroy"); 257 $(".parallax").css("background-position", ""); 258 } 259 } 260 261 //===================================================== 262 //tag list set 263 $(function () { 264 $("#tags li").click(function () { 265 var tags = $(this).attr("id"); 266 $("#tags li").removeClass("select"); 267 $(this).addClass("select"); 268 $(".item > div").hide(); 269 if (tags == "item_guitar") { 270 $(".item .item_guitar").each(function (e) { 271 $(this) 272 .delay(e++ * 200) 273 .fadeIn(600); 274 }); 275 } else if (tags == "item_bass") { 276 $(".item .item_bass").each(function (e) { 277 $(this) 278 .delay(e++ * 200) 279 .fadeIn(600); 280 }); 281 } else if (tags == "item_horizon") { 282 $(".item .item_horizon").each(function (e) { 283 $(this) 284 .delay(e++ * 200) 285 .fadeIn(600); 286 }); 287 } else if (tags == "item_custom_model") { 288 $(".item .item_custom_model").each(function (e) { 289 $(this) 290 .delay(e++ * 200) 291 .fadeIn(600); 292 }); 293 } else if (tags == "item_artist_series") { 294 $(".item .item_artist_series").each(function (e) { 295 $(this) 296 .delay(e++ * 200) 297 .fadeIn(600); 298 }); 299 } else if (tags == "item_esp") { 300 $(".item .item_esp").each(function (e) { 301 $(this) 302 .delay(e++ * 200) 303 .fadeIn(600); 304 }); 305 } else if (tags == "item_e-2") { 306 $(".item .item_e-2").each(function (e) { 307 $(this) 308 .delay(e++ * 200) 309 .fadeIn(600); 310 }); 311 } else if (tags == "item_m-2") { 312 $(".item .item_m-2").each(function (e) { 313 $(this) 314 .delay(e++ * 200) 315 .fadeIn(600); 316 }); 317 } else if (tags == "item_maverick") { 318 $(".item .item_maverick").each(function (e) { 319 $(this) 320 .delay(e++ * 200) 321 .fadeIn(600); 322 }); 323 } else if (tags == "item_amorous") { 324 $(".item .item_amorous").each(function (e) { 325 $(this) 326 .delay(e++ * 200) 327 .fadeIn(600); 328 }); 329 } else if (tags == "item_stream") { 330 $(".item .item_stream").each(function (e) { 331 $(this) 332 .delay(e++ * 200) 333 .fadeIn(600); 334 }); 335 } else if (tags == "item_frx") { 336 $(".item .item_frx").each(function (e) { 337 $(this) 338 .delay(e++ * 200) 339 .fadeIn(600); 340 }); 341 } else if (tags == "item_forest") { 342 $(".item .item_forest").each(function (e) { 343 $(this) 344 .delay(e++ * 200) 345 .fadeIn(600); 346 }); 347 } else if (tags == "item_esp-arrow") { 348 $(".item .item_forest").each(function (e) { 349 $(this) 350 .delay(e++ * 200) 351 .fadeIn(600); 352 }); 353 } else if (tags == "item_ec") { 354 $(".item .item_ec").each(function (e) { 355 $(this) 356 .delay(e++ * 200) 357 .fadeIn(600); 358 }); 359 } else if (tags == "item_viper") { 360 $(".item .item_viper").each(function (e) { 361 $(this) 362 .delay(e++ * 200) 363 .fadeIn(600); 364 }); 365 } else if (tags == "item_ultratone") { 366 $(".item .item_ultratone").each(function (e) { 367 $(this) 368 .delay(e++ * 200) 369 .fadeIn(600); 370 }); 371 } else if (tags == "item_potbelly") { 372 $(".item .item_potbelly").each(function (e) { 373 $(this) 374 .delay(e++ * 200) 375 .fadeIn(600); 376 }); 377 } else if (tags == "item_throbber") { 378 $(".item .item_throbber").each(function (e) { 379 $(this) 380 .delay(e++ * 200) 381 .fadeIn(600); 382 }); 383 } else if (tags == "item_m-seven") { 384 $(".item .item_m-seven").each(function (e) { 385 $(this) 386 .delay(e++ * 200) 387 .fadeIn(600); 388 }); 389 } else if (tags == "item_snnapper") { 390 $(".item .item_snnapper").each(function (e) { 391 $(this) 392 .delay(e++ * 200) 393 .fadeIn(600); 394 }); 395 } else if (tags == "item_navigator") { 396 $(".item .item_navigator").each(function (e) { 397 $(this) 398 .delay(e++ * 200) 399 .fadeIn(600); 400 }); 401 } else if (tags == "item_video") { 402 $(".item .item_video").each(function (e) { 403 $(this) 404 .delay(e++ * 200) 405 .fadeIn(600); 406 }); 407 } else if (tags == "item_abcde") { 408 $(".item .item_abcde").each(function (e) { 409 $(this) 410 .delay(e++ * 200) 411 .fadeIn(600); 412 }); 413 } else if (tags == "item_fghij") { 414 $(".item .item_fghij").each(function (e) { 415 $(this) 416 .delay(e++ * 200) 417 .fadeIn(600); 418 }); 419 } else if (tags == "item_klmno") { 420 $(".item .item_klmno").each(function (e) { 421 $(this) 422 .delay(e++ * 200) 423 .fadeIn(600); 424 }); 425 } else if (tags == "item_pqrst") { 426 $(".item .item_pqrst").each(function (e) { 427 $(this) 428 .delay(e++ * 200) 429 .fadeIn(600); 430 }); 431 } else if (tags == "item_uvwxyz") { 432 $(".item .item_uvwxyz").each(function (e) { 433 $(this) 434 .delay(e++ * 200) 435 .fadeIn(600); 436 }); 437 } else if (tags == "item_information") { 438 $(".item .item_information").each(function (e) { 439 $(this) 440 .delay(e++ * 200) 441 .fadeIn(600); 442 }); 443 } else if (tags == "item_productinfo") { 444 $(".item .item_productinfo").each(function (e) { 445 $(this) 446 .delay(e++ * 200) 447 .fadeIn(600); 448 }); 449 } else { 450 $(".item .item_all").each(function (e) { 451 $(this) 452 .delay(e++ * 200) 453 .fadeIn(600); 454 }); 455 } 456 }); 457 }); 458 459 //===================================================== 460 //data-scroll 461 $(function () { 462 $("[data-scroll]").on("click", function () { 463 const speed = 300, 464 $self = $(this), 465 $href = $self.attr("href"), 466 $margin = $self.attr("data-scroll") 467 ? parseInt($self.attr("data-scroll")) 468 : 0, 469 $target = $($href); 470 const position = 471 $target[0] && $target !== "#page_top" 472 ? $target.offset().top - $margin 473 : 0; 474 $("html,body").animate({ scrollTop: position }, speed, "swing"); 475 $self.blur(); 476 return false;
477 }); // end function.onClick 478 }); // end function 479 480 // var headerHeight = $('#header').outerHeight(); 481 // var urlHash = location.hash; 482 // if(urlHash) { 483 // $('body,html').stop().scrollTop(0); 484 // setTimeout(function(){ 485 // var target = $(urlHash); 486 // var position = target.offset().top - headerHeight; 487 // $('body,html').stop().animate({scrollTop:position}, 500); 488 // }, 100); 489 // } 490 // $('a[href^="#"]').click(function() { 491 // var href= $(this).attr("href"); 492 // var target = $(href); 493 // var position = target.offset().top - headerHeight; 494 // $('body,html').stop().animate({scrollTop:position}, 500); 495 // }); 496 var notList = 'a[href^="#lity"], a:link[rel^="shadowbox"]'; 497 $('a[href^="#"]') 498 .not(notList) 499 .click(function () { 500 var href = $(this).attr("href"); 501 var target = $(href); 502 var position = target.offset().top - headerHeight; 503 $("body,html").stop().animate({ scrollTop: position }, 500); 504 }); 505 //===================================================== 506 //zoom 507 $(function () { 508 var _width = $(window).width(); 509 if (_width <= 768) { 510 //SP 511 } else { 512 //PC 513 $(".ex1").zoom(); 514 $(".ex3").zoom({ on: "grab" }); 515 } 516 }); 517 //===================================================== 518 //nav active 519 $(function () { 520 $(".nav_list ul li a").each(function () { 521 const $href = $(this).attr("href"); 522 if (location.href.match($href)) { 523 $(this).addClass("active"); 524 } else { 525 $(this).removeClass("active"); 526 } 527 }); 528 $(".item_tab li a").each(function () { 529 const $href = $(this).attr("href"); 530 if (location.href.match($href)) { 531 $(this).addClass("active"); 532 } else { 533 $(this).removeClass("active"); 534 } 535 }); 536 }); 537 538 //===================================================== 539 //heightline 540 // $(function(){ 541 // $(".heightline .hl_title_box").heightLine(); 542 // $(".heightline .hl_text_box").heightLine(); 543 // $(".heightline .content").heightLine(); 544 // $(".heightline .hl_box").heightLine({ 545 // minWidth:767 546 // }); 547 // }); 548 549 //===================================================== 550 // breadcrumb br remove 551 $(function () { 552 $("#breadcrumb br").remove(); 553 }); 554 555 //===================================================== 556 //js_e2 557 // $(document).ready(function() { 558 // $('.js_e2').text('E-â ¡'); 559 // }); 560 561 $(function () { 562 var text = $(".js_E-2").text(); 563 text = text.replace("E-2", "E-â ¡"); 564 $(".js_E-2").text(text); 565 }); 566 567 $(function () { 568 // $('.slideUpBox').slideUp('fast'); 569 $(".nav_close_btn").click(function () { 570 $(".navigation").slideToggle(); 571 //$('#menu-icon').removeClass('active'); 572 573 $("#menu-icon").toggleClass("active"); 574 $("body").toggleClass("isFixed"); 575 $(".navigation").toggleClass("navFixed"); 576 }); 577 }); 578 $(function () { 579 let nav_close_top = $(".nav_close_btn"); 580 // ãã¿ã³é表示 581 nav_close_top.hide(); 582 nav_close_top.click(function () { 583 $("body, html").animate({ scrollTop: 0 }, 500); 584 return false; 585 }); 586 }); 587 588 $(".drawr_box_items > li.download").hide(); 589 590 //ãã¼ãã£ã³ã°ç»é¢ 591 $(window).on("load", function () { 592 $("#youtube-area").addClass("appear"); 593 $("#loading").addClass("disappear"); 594 }); 595 596 /*ããã¾ã§*/ 597})(jQuery); 598 599//youtube API 600var tag = document.createElement("script"); 601tag.src = "https://www.youtube.com/iframe_api"; 602var firstScriptTag = document.getElementsByTagName("script")[0]; 603firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); 604var ytPlayer; 605function onYouTubeIframeAPIReady() { 606 ytPlayer = new YT.Player("youtube", { 607 //åç»ã表示ããããIDãæå® 608 videoId: "Kq95zgCrxeY", //åç»ã®ã¢ãã¬ã¹ã®æå® 609 playerVars: { 610 playsinline: 1, // ã¤ã³ã©ã¤ã³åçãè¡ã 611 autoplay: 1, //èªååçãè¡ã 612 fs: 0, //å ¨ç»é¢è¡¨ç¤ºãã¿ã³ã表示ããªã 613 rel: 0, // åçä¸ã®åç»ã¨åããã£ã³ãã«ã®é¢é£åç»ã表示 614 controls: 0, // ãã¬ã¼ã¤ã¼ ã³ã³ããã¼ã«ã表示ããªã 615 modestbranding: 1, // YouTubeãã´ã®é表示 616 iv_load_policy: 3, // ã¢ããã¼ã·ã§ã³ã®é表示 617 start: 50, //50ç§å¾ããåç»ãã¹ã¿ã¼ã 618 }, 619 events: { 620 //ãã¤ãã³ã 621 onReady: onPlayerReady, 622 onStateChange: onPlayerStateChange, 623 }, 624 }); 625} 626 627//ãã¥ã¼ãã«ãã¦ããåçããè¨å® 628function onPlayerReady(event) { 629 event.target.mute(); 630 event.target.playVideo(); 631} 632 633//ã«ã¼ãè¨å® 634function onPlayerStateChange(event) { 635 if (event.data == YT.PlayerState.ENDED) { 636 event.target.playVideo(); 637 } 638} 639 640// ãã¹ã¦ã® cite > a è¦ç´ ã鏿 641const citeLinks = document.querySelectorAll("cite > a"); 642 643// åãªã³ã¯ã« target="_blank" ãè¨å® 644citeLinks.forEach(link => { 645 link.setAttribute("target", "_blank"); 646 link.setAttribute("rel", "noopener noreferrer"); 647});
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.