1//UAã確èªãã¦bodyã«ã¯ã©ã¹è¿½å 2/*$(document).ready(function(){ 3 var agent = navigator.userAgent; 4 if(agent.search(/Android/) != -1){ 5 $("body").addClass("android"); 6 } else{ 7 $(function(){ 8 jQuery('#maximage').maximage(); 9 }); 10 } 11});*/ 12/* 13=================== 14ãã¸ã¥ã¢ã« slider 15=================== 16*/ 17$(document).ready(function(){ 18 $(".skippr-slider").skippr({ 19 transition: 'fade', 20 autoPlay: true, 21 childrenElementType : 'div', 22 arrows : false, 23 navType: false, 24 hidePrevious : false, 25 autoPlayDuration: 5000 26 }); 27}); 28/* 29=================== 30adjuster 31=================== 32*/ 33function adjuster(o){ 34 var w = $(window).width(); 35 if(w >= 767){ 36 var maxHeight = 0; 37 $(o).each(function(){ 38 if ($(this).height() > maxHeight) { 39 maxHeight = $(this).height(); 40 } 41 }); 42 $(o).height(maxHeight); 43 } 44} 45$(document).ready(function(){ 46 var hsize = $(window).height(); 47 $("section .dpd-mv").css("height", hsize + "px"); 48}); 49$(window).resize(function(){ 50 var hsize = $(window).height(); 51 $("section .dpd-mv").css("height", hsize + "px"); 52}); 53//ç»åèªã¿è¾¼ã¿å¾ 54$(window).load(function(){ 55 adjuster(".card"); 56}); 57//æåã«èªã¿è¾¼ã¿ 58$(function(){ 59 /* 60 =================== 61 animation 62 =================== 63 */ 64 $(".fade-in").css('visibility','hidden'); 65 $(window).scroll(function(){ 66 var windowHeight = $(window).height(), 67 topWindow = $(window).scrollTop(); 68 $(".fade-in").each(function(){ 69 var targetPosition = $(this).offset().top; 70 if(topWindow > targetPosition - windowHeight + 150){ 71 $(this).addClass("fadeIn"); 72 } 73 }); 74 }); 75 76 $(".fade-dwn").css('visibility','hidden'); 77 $(window).scroll(function(){ 78 var windowHeight = $(window).height(), 79 topWindow = $(window).scrollTop(); 80 $(".fade-dwn").each(function(){ 81 var targetPosition = $(this).offset().top; 82 if(topWindow > targetPosition - windowHeight + 150){ 83 $(this).addClass("fadeInDown"); 84 } 85 }); 86 }); 87/* 88================== 89google analytics 90================== 91*/ 92// if(location.host !== "192.168.39.29"){ 93// (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 94// (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 95// m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 96// })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); 97 98// ga('create', 'UA-80754332-5', 'auto'); 99// ga('send', 'pageview'); 100 101// ga('create', 'UA-86550040-7', 'auto', {'name': 'newTracker'}); 102// ga('newTracker.send', 'pageview'); 103// } 104 105/* 106=================== 107shanon Tracking Tag 108=================== 109*/ 110// if(location.host !== "192.168.39.29"){ 111// (function(n){ 112// var w = window, d = document; 113// w['ShanonCAMObject'] = n, w[n] = w[n] || function(){(w[n].q=w[n].q||[]).push(arguments)}; 114// w[n].date = 1*new Date(); 115// var e = d.createElement('script'), t = d.getElementsByTagName('script')[0]; 116// e.async = 1, e.type='text/javascript', e.charset='utf-8', e.src = 'https://tracker.shanon-services.com/static/js/cam3.js' + "?_=" + w[n].date; 117// t.parentNode.insertBefore(e,t); 118// })('_cam'); 119 120// _cam('create', 'FYobxfaQHQ-846', ['jpac-privacy.jp','truste.or.jp','data-privacy-day.jp']); 121// _cam('require', 'crossLinker'); 122// _cam('crossLinker:allLink', ['jpac-privacy.jp','truste.or.jp','data-privacy-day.jp']); 123// _cam('send'); 124// } 125 126}); 127//ãªãµã¤ãºã§èªã¿è¾¼ã¿ 128$(window).resize(function(){ 129 adjuster(".card"); 130}); 131$(window).resize(function(){ 132 var l = Math.floor(($(window).width() - $("#menu-main_menu-1").width()) / 2); 133 var t = Math.floor(($(window).height() - $("#menu-main_menu-1").height()) / 2); 134 135 $("#menu-main_menu-1").css({ 136 "top": t, 137 "left": l 138 }); 139}); 140 141//ãããã¢ãã表示 142 143$(function(){ 144 // ã¹ã¯ãã¼ã«ãã¼ã®æ¨ªå¹ ãåå¾ 145 $('html').append('<div class="scrollbar" style="overflow:scroll;"></div>'); 146 var scrollsize = window.innerWidth - $('.scrollbar').prop('clientWidth'); 147 $('.scrollbar').hide(); 148 // ã.modal-openããã¯ãªã㯠149 $('.modal-open').click(function(){ 150 // htmlãbodyãåºå®ï¼overflow:hiddenã«ããï¼ 151 $('html, body').addClass('lock'); 152 // ãªã¼ãã¼ã¬ã¤ç¨ã®è¦ç´ ã追å 153 $('body').append('<div class="modal-overlay"></div>');
154 // ãªã¼ãã¼ã¬ã¤ããã§ã¼ãã¤ã³ 155 $('.modal-overlay').fadeIn('slow'); 156 // ã¢ã¼ãã«ã³ã³ãã³ãã®IDãåå¾ 157 var modal = "#" + $(this).attr('data-target'); 158 // ã¢ã¼ãã«ã³ã³ãã³ããå²ãè¦ç´ ã追å 159 $(modal).wrap("<div class='modal-wrap'></div>"); 160 // ã¢ã¼ãã«ã³ã³ãã³ããå²ãè¦ç´ ã表示 161 $('.modal-wrap').show(); 162 // ã¢ã¼ãã«ã³ã³ãã³ãã®è¡¨ç¤ºä½ç½®ãè¨å® 163 modalResize(); 164 // ã¢ã¼ãã«ã³ã³ãã³ããã§ã¼ãã¤ã³ 165 $(modal).fadeIn('slow'); 166 // ã¢ã¼ãã«ã³ã³ãã³ããã¯ãªãã¯ããæã¯ãã§ã¼ãã¢ã¦ãããªã 167 $(modal).click(function(e){ 168 e.stopPropagation(); 169 }); 170 // ã.modal-overlayããããã¯ã.modal-closeããã¯ãªã㯠171 $('.modal-wrap, .modal-close').off().click(function(){ 172 // ã¢ã¼ãã«ã³ã³ãã³ãã¨ãªã¼ãã¼ã¬ã¤ããã§ã¼ãã¢ã¦ã 173 $(modal).fadeOut('slow'); 174 $('.modal-overlay').fadeOut('slow',function(){ 175 // htmlãbodyã®åºå®è§£é¤ 176 $('html, body').removeClass('lock'); 177 // ãªã¼ãã¼ã¬ã¤ãåé¤ 178 $('.modal-overlay').remove(); 179 // ã¢ã¼ãã«ã³ã³ãã³ããå²ãè¦ç´ ãåé¤ 180 $(modal).unwrap("<div class='modal-wrap'></div>"); 181 }); 182 }); 183 // ãªãµã¤ãºããã表示ä½ç½®ãååå¾ 184 $(window).on('resize', function(){ 185 modalResize(); 186 }); 187 // ã¢ã¼ãã«ã³ã³ãã³ãã®è¡¨ç¤ºä½ç½®ãè¨å®ãã颿° 188 function modalResize(){ 189 // ã¦ã£ã³ãã¦ã®æ¨ªå¹ ãé«ããåå¾ 190 var w = $(window).width(); 191 var h = $(window).height(); 192 // ã¢ã¼ãã«ã³ã³ãã³ãã®æ¨ªå¹ ãé«ããåå¾ 193 var mw = $(modal).outerWidth(true); 194 var mh = $(modal).outerHeight(true); 195 // ã¢ã¼ãã«ã³ã³ãã³ãã®è¡¨ç¤ºä½ç½®ãè¨å® 196 if ((mh > h) && (mw > w)) { 197 $(modal).css({'left': 0 + 'px','top': 0 + 'px'}); 198 } else if ((mh > h) && (mw < w)) { 199 var x = (w - scrollsize - mw) / 2; 200 $(modal).css({'left': x + 'px','top': 0 + 'px'}); 201 } else if ((mh < h) && (mw > w)) { 202 var y = (h - scrollsize - mh) / 2; 203 $(modal).css({'left': 0 + 'px','top': y + 'px'}); 204 } else { 205 var x = (w - mw) / 2; 206 var y = (h - mh) / 2; 207 $(modal).css({'left': x + 'px','top': y + 'px'}); 208 } 209 } 210 }); 211}); 212/*$(function(){ 213 $('#checkBtn').prop('disabled', true); 214 $( '#scroll' ).scroll( function () { 215 var scrollTop = this.scrollTop; 216 var scrollHeight = $('#scroll').outerHeight(); 217 if ((scrollHeight + scrollTop) == this.scrollHeight){ 218 $('#checkBtn').prop('disabled', false); 219 } 220 }); 221});*/ 222 223$(function() { 224 $('#checkBtn').change(function(){ 225 if ($(this).is(':checked')) { 226 $('#submitBtn').prop('disabled', false); 227 } else { 228 $('#submitBtn').prop('disabled', true); 229 } 230 }); 231});
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.