1 2 3/*jquery.colorbox.jsè¨å®*/ 4$(document).ready(function(){ 5 $(".cb").colorbox({ 6 rel:'slideshow', 7 slideshow:false, 8 maxWidth:"90%", 9 height:"auto", 10 maxHeight:"90%", 11 opacity: 0.7 12 }); 13}); 14 15 16//PCã§a tel åå¿ãããªã 17$(function(){ 18 var ua = navigator.userAgent; 19 if(ua.indexOf('iPhone') < 0 && ua.indexOf('Android') < 0){ 20 $('.telhref span').each(function(){ 21 $(this).unwrap(); 22 }); 23 } 24}); 25 26//a:hover ãå ããã 27$(function(){ 28 if(navigator.userAgent.indexOf('iPhone') > 0 || navigator.userAgent.indexOf('iPod') > 0 || (navigator.userAgent.indexOf('Android') > 0 && navigator.userAgent.indexOf('Mobile') > 0)){} 29else { 30$(function(){ 31 $('a,input[type="submit"],input[type="button"]').not('.btn-list').hover( 32 function(){$(this).stop().fadeTo(0, 0.6).fadeTo('normal', 1.0);}, 33 function(){$(this).stop().fadeTo('fast', 1.0);} 34 ); 35}); 36} 37}); 38 39//toTOP 40$(function() { 41 var topBtn = $('#totop'); 42 topBtn.hide(); 43 //ã¹ã¯ãã¼ã«ã100ã«éããããã¿ã³è¡¨ç¤º 44 var ua = navigator.userAgent; 45if (ua.match('Trident')) { 46 $('body').scroll(function () { 47 if ($(this).scrollTop() > 200) { 48 topBtn.fadeIn(); 49 } else { 50 topBtn.fadeOut(); 51 } 52 }); 53}else{ 54 $(window).scroll(function () { 55 if ($(this).scrollTop() > 200) { 56 topBtn.fadeIn(); 57 } else { 58 topBtn.fadeOut(); 59 } 60 }); 61} 62 //ã¹ã¯ãã¼ã«ãã¦ããã 63 topBtn.click(function () { 64 $('body,html').animate({ 65 scrollTop: 0 66 }, 500, 'swing'); 67 return false; 68 }); 69}); 70 71 72//ã¢ã³ã«ã¼ã¹ã¯ãã¼ã« 73$(function(){ 74 // #ã§å§ã¾ãã¢ã³ã«ã¼ãã¯ãªãã¯ããå ´åã«å¦ç 75 $('a[href^="#"]:not(.sp_menu a)').click(function() { 76 // ã¹ã¯ãã¼ã«ã®é度 77 var speed = 400; // ããªç§ 78 // ã¢ã³ã«ã¼ã®å¤åå¾ 79 var href= $(this).attr("href"); 80 // ç§»åå ãåå¾ 81 var target = $(href == "#" || href == "" ? 'html' : href); 82 // ç§»åå ãæ°å¤ã§åå¾ 83 var position = target.offset().top; 84 // ã¹ã ã¼ã¹ã¹ã¯ãã¼ã« 85 $('body,html').animate({scrollTop:position}, speed, 'swing'); 86 return false; 87 }); 88}); 89 90//ã¹ã¯ãã¼ã«ã§ãããã¼ã«bg 91$(function() { 92 //ã¹ã¯ãã¼ã«ã100ã«éããããã¿ã³è¡¨ç¤º 93 var ua = navigator.userAgent; 94if (ua.match('Trident')) { 95 $('body').on('load scroll', function(){ 96 //ãããã¼ã®é«ãå(80px)ã¹ã¯ãã¼ã«ããã¨fixedã¯ã©ã¹ã追å 97 if ($('body').scrollTop() > 200) { 98 $('#top #nav-wrap2').addClass('back_b', 400); 99 } else { 100 //80px以ä¸ã ã¨fixedã¯ã©ã¹ãåé¤ 101 $('#top #nav-wrap2').removeClass('back_b', 400); 102 } 103 }); 104}else{ 105 $(window).on('load scroll', function(){ 106 //ãããã¼ã®é«ãå(80px)ã¹ã¯ãã¼ã«ããã¨fixedã¯ã©ã¹ã追å 107 if ($(window).scrollTop() > 200) { 108 $('#top #nav-wrap2').addClass('back_b', 400); 109 } else { 110 //80px以ä¸ã ã¨fixedã¯ã©ã¹ãåé¤ 111 $('#top #nav-wrap2').removeClass('back_b', 400); 112 } 113 }); 114} 115}); 116 117//ãã³ãã¼ã¬ã¼ã¡ãã¥ã¼ 118$(function() { 119 var ua = navigator.userAgent; 120if (ua.match('Trident')) { 121 var w = $('body').width(); 122}else{ 123 var w = $(window).width(); 124} 125 var x = 1400; 126 if (w <= x) { 127 //ã¹ããã®å ´å 128$(function(){ 129 var $body = $('body'); 130 $(".menu-trigger").click(function(){ 131 $(".menu-trigger").stop().toggleClass("active"); 132 $("#nav").stop().slideToggle(); 133 }); 134}); 135 136} 137}); 138//tile.js 139 140$(function(){ 141 if(navigator.userAgent.indexOf('iPhone') > 0 || navigator.userAgent.indexOf('iPod') > 0 || (navigator.userAgent.indexOf('Android') > 0 && navigator.userAgent.indexOf('Mobile') > 0)){} 142else { 143$(function(){ 144 $(".tile").tile(); 145}); 146} 147}); 148 149//å¾ã ã«è¡¨ç¤º 150$(document).ready(function() { 151 $('.mainv_logo_wrap').fadeIn(1000 , 152 function(){ 153 $("#mainv").addClass('.mainv_border'); 154 }); 155}); 156 157//IE11ã§fixedã®ä½ç½®ãèª¿æ´ 158$(function(){ 159 var ua = navigator.userAgent; 160 if (ua.match('Trident')) { 161 var scrollsize = window.innerWidth - document.body.clientWidth; 162 var oldRight = parseInt($('.menu-trigger').css('right')); 163 var newRight = scrollsize + oldRight; 164 $('.menu-trigger').css('right', newRight); 165 } 166}); 167$(function(){ 168 var ua = navigator.userAgent; 169 if (ua.match('Trident')) { 170 var scrollsize = window.innerWidth - document.body.clientWidth; 171 var oldRight = parseInt($('#dropmenu').css('right')); 172 var newRight = scrollsize + oldRight; 173 $('#dropmenu').css('right', newRight); 174 } 175}); 176$(function(){ 177 var ua = navigator.userAgent; 178 if (ua.match('Trident')) { 179 var scrollsize = window.innerWidth - document.body.clientWidth; 180 var newWidth = "calc(100vw - " + (scrollsize + "px") + ')' ; 181 $('.overlay').css('width', newWidth); 182 } 183}); 184 185//ãã¦ã¹ãªã¼ãã¼ã§è¡¨ç¤ºãã¦ããæãã¢ã³ã¼ãã£ãªã³ã« 186$(function(){ 187 if(navigator.userAgent.indexOf('iPhone') > 0 || navigator.userAgent.indexOf('iPod') > 0 || (navigator.userAgent.indexOf('Android') > 0 && navigator.userAgent.indexOf('Mobile') > 0)){ 188$(function(){ 189 $(".about-img").click(function(){ 190 $(".about_on",this).stop(true, false).fadeToggle(); 191 $(".about_off",this).stop(true, false).fadeToggle(); 192 }); 193}); 194$(function(){ 195 $(".alc_list").click(function(){ 196 $(".alc_off",this).stop(true, false).toggle(); 197 $(".alc_on",this).stop(true, false).fadeToggle(); 198 $(this).stop(true, false).stop().toggleClass("active"); 199 }); 200}); 201 } 202}); 203
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.