1(function ($) { 2 $(window).scroll(function() { 3 if (window.innerWidth >= 768) { 4 return false; 5 } 6 7 if ($(this).scrollTop() > 100) { 8 $('.pageTop').fadeIn(); 9 } 10 else { 11 $('.pageTop').fadeOut(); 12 } 13 14 15 16}); 17 18 19 function foo() { 20 var w = ($('.comSliderBox .foo').width() - 9) / 2; 21 var h = 76 / 272 * w; 22 $('.comSliderBox .foo li').width(w).height(h); 23 $(".comSliderBox .foo ul").carouFredSel({ 24 auto: 5000, 25 width: '100%', 26 align: 'left', 27 items: { 28 visible: 2, 29 width: (w + 9), 30 height: h 31 }, 32 scroll: { 33 items: 1 34 }, 35 prev: ".comSliderBox .prev", 36 next: ".comSliderBox .next" 37 }); 38 } 39 40 41 42 function foo2() { 43 $('.comSliderBox02').each(function () { 44 if ($(this).length > 0) { 45 $(this).find('.foo ul').carouFredSel({ 46 responsive: true, 47 width: '100%', 48 auto: 5000, 49 items: { 50 visible: { 51 min: 1, 52 max: 1 53 }, 54 width: 600, 55 height: 'variable' 56 }, 57 scroll: { 58 items: 1 59 }, 60 prev: $(this).find('.prev'), 61 next: $(this).find('.next'), 62 pagination: $(this).find('.foopage'), 63 swipe: { 64 onMouse: true, 65 onTouch: true 66 } 67 }); 68 } 69 }); 70 } 71 72 73 74 function share() { 75 var features = "menubar=no,location=yes,resizable=no,scrollbars=no,status=no,width=550,height=550"; 76 77 $('.share-facebook').click(function () { 78 var url = $(this).data('url'); 79 var title = $(this).data('title'); 80 window.open('https://www.facebook.com/sharer/sharer.php?u=' + url, 'Facebook', features); 81 return false; 82 }); 83 84 $('.share-twitter').click(function () { 85 var url = $(this).data('url'); 86 var title = $(this).data('title'); 87 window.open('https://twitter.com/intent/tweet?url=' + url + '&text=' + title, 'Twitter', features); 88 return false; 89 }); 90 91 $('.share-line').click(function () { 92 var url = $(this).data('url'); 93 var title = $(this).data('title'); 94 window.open('http://line.me/R/msg/text/?' + url + ' ' + title, 'Line', features); 95 return false; 96 }); 97 98 $('.share-hatebu').click(function () { 99 var url = $(this).data('url'); 100 window.open('http://b.hatena.ne.jp/entry/' + url, 'Hatebu', features); 101 return false; 102 }); 103 } 104 105 $(function () { 106 $("#gNavi .menu a").click(function () { 107 var windowHeight = window.innerHeight, 108 gNaviHeight = $('#gNavi').outerHeight(); 109 110 $("#gHeader .menuBoxInner").css('-webkit-overflow-scrolling', 'auto').height(windowHeight - gNaviHeight).scrollTop(0); 111 $("#gHeader .menuBox").stop(true, false).slideToggle(200, function () { 112 $('#gHeader .menuBoxInner').css('-webkit-overflow-scrolling', 'touch'); 113 }); 114 115 return false; 116 }); 117 118 $("#gHeader .menuBox .close a").click(function () { 119 $("#gHeader .menuBox").stop(true, false).slideUp(200); 120 121 return false; 122 }); 123 124 $("#gNavi2 .menu a").click(function () { 125 var windowHeight = window.innerHeight, 126 gNaviHeight = $('#gNavi2').outerHeight(); 127 128 $("#gHeader .menuBoxInner").css('-webkit-overflow-scrolling', 'auto').height(windowHeight - gNaviHeight).scrollTop(0); 129 $("#gHeader .menuBox").stop(true, false).slideToggle(200, function () { 130 $('#gHeader .menuBoxInner').css('-webkit-overflow-scrolling', 'touch'); 131 }); 132 133 return false; 134 }); 135 136 $("#gHeader .menuBox .close a").click(function () { 137 $("#gHeader .menuBox").stop(true, false).slideUp(200); 138 139 return false; 140 }); 141 142 143 144 foo(); 145 146 $(window).resize(function () { 147 foo(); 148 }); 149 150// $('.comSliderBox .foo ul').swipe({ 151// swipe: function (event, direction, distance, duration, fingerCount) { 152// if (direction == 'left') { 153// $(this).trigger('next'); 154// } 155// else if (direction == 'right') { 156// $(this).trigger('prev'); 157// } 158// }, 159// click: function (event, target) { 160// $(target).click(); 161// }, 162// allowPageScroll: 'vertical', 163// excludedElements: "button, input, select, textarea, a,.noSwipe", 164// threshold: 75 165// }); 166 167 $('.comSliderBox01').each(function () { 168 if ($(this).length > 0) { 169 var elm = $(this); 170 elm.find('.foo ul').carouFredSel({ 171 responsive: true, 172 width: '100%',
173 auto: false, 174 circular: false, 175 infinite: false, 176 items: { 177 visible: { 178 min: 1, 179 max: 1 180 }, 181 width: 600, 182 height: 'variable', 183 start: 1 184 }, 185 scroll: { 186 items: 1, 187 onBefore: function () { 188 var pos = $(this).triggerHandler("currentPosition"); 189 elm.find('.sliderList').find('li').hide(); 190 if (pos == 1) { 191 elm.find('.sliderList').find('.prev').show(); 192 } 193 if (pos == 0) { 194 elm.find('.sliderList').find('.next').show(); 195 } 196 } 197 }, 198 prev: elm.find('.arrow .prev'), 199 next: elm.find('.arrow .next'), 200 pagination: elm.find('.foopage'), 201 swipe: { 202 onMouse: true, 203 onTouch: true 204 } 205 }); 206 207 elm.find('.sliderList .prev a').click(function () { 208 elm.find('.foo ul').trigger('prev'); 209 return false; 210 }); 211 elm.find('.sliderList .next a').click(function () { 212 elm.find('.foo ul').trigger('next'); 213 return false; 214 }); 215 } 216 }); 217 218 foo2(); 219 share(); 220 }); 221 222 $(function () { 223 /* 224 if ($('#gmap_tokyo').length) { 225 (function () { 226 var latlng = new google.maps.LatLng(35.681004, 139.708414); 227 var opts = { 228 zoom: 15, 229 center: latlng, 230 mapTypeId: google.maps.MapTypeId.ROADMAP, 231 navigationControl: false, 232 mapTypeControl: false, 233 draggable: false, 234 scrollwheel: false 235 }; 236 var map = new google.maps.Map(document.getElementById("gmap_tokyo"), opts); 237 var infobox = new google.maps.InfoWindow({ 238 content: '大京ãªãã©ã¼ã ã»ãã¶ã¤ã³<br>æ±äº¬é½æ¸è°·åºåé§ã¶è°·4-19-18<br>åé§ã¶è°·ãã«', 239 position: latlng 240 }); 241 242 infobox.open(map); 243 })(); 244 } 245 246 if ($('#gmap_osaka').length) { 247 (function () { 248 var latlng = new google.maps.LatLng(34.6709569, 135.499741); 249 var opts = { 250 zoom: 15, 251 center: latlng, 252 mapTypeId: google.maps.MapTypeId.ROADMAP, 253 navigationControl: false, 254 mapTypeControl: false, 255 draggable: false, 256 scrollwheel: false 257 }; 258 var map = new google.maps.Map(document.getElementById("gmap_osaka"), opts); 259 var infobox = new google.maps.InfoWindow({ 260 content: '大éªäºæ¥æ<br>大éªå¸ä¸å¤®åºè¥¿å¿ææ©2-2-3<br>EDGEå¿ææ©', 261 position: latlng 262 }); 263 264 infobox.open(map); 265 })(); 266 } 267 268 if ($('#gmap_nagoya').length) { 269 (function () { 270 var latlng = new google.maps.LatLng(35.1708281, 136.8977851); 271 var opts = { 272 zoom: 15, 273 center: latlng, 274 mapTypeId: google.maps.MapTypeId.ROADMAP, 275 navigationControl: false, 276 mapTypeControl: false, 277 draggable: false, 278 scrollwheel: false 279 }; 280 var map = new google.maps.Map(document.getElementById("gmap_nagoya"), opts); 281 var infobox = new google.maps.InfoWindow({ 282 content: 'åå¤å±äºæ¥æ<br>åå¤å±å¸ä¸åºé¦2-9-29<br>OREåå¤å±ä¼è¦ãã«', 283 position: latlng 284 }); 285 286 infobox.open(map); 287 })(); 288 } 289 290 if ($('#gmap_hiroshima').length) { 291 (function () { 292 var latlng = new google.maps.LatLng(34.3904831,132.45804); 293 var opts = { 294 zoom: 15, 295 center: latlng, 296 mapTypeId: google.maps.MapTypeId.ROADMAP, 297 navigationControl: false, 298 mapTypeControl: false, 299 draggable: false, 300 scrollwheel: false 301 }; 302 var map = new google.maps.Map(document.getElementById("gmap_hiroshima"), opts); 303 var infobox = new google.maps.InfoWindow({ 304 content: 'åºå³¶äºåæ<br>åºå³¶å¸ä¸åºä¸çº6çª13å·<br>åºå³¶Kãã«', 305 position: latlng 306 }); 307 308 infobox.open(map); 309 })(); 310 } 311 312 if ($('#gmap_fukuoka').length) { 313 (function () { 314 var latlng = new google.maps.LatLng(33.585571,130.415930); 315 var opts = { 316 zoom: 15, 317 center: latlng, 318 mapTypeId: google.maps.MapTypeId.ROADMAP, 319 navigationControl: false, 320 mapTypeControl: false, 321 draggable: false, 322 scrollwheel: false 323 }; 324 var map = new google.maps.Map(document.getElementById("gmap_fukuoka"), opts); 325 var infobox = new google.maps.InfoWindow({ 326 content: 'ç¦å²¡äºåæ<br>ç¦å²¡çç¦å²¡å¸åå¤åºåå¤é§ å4-4-15<br>åå¤é§ åH-44ãã«', 327 position: latlng 328 }); 329 330 infobox.open(map); 331 })(); 332 } 333 334 if ($('#gmap_salon').length) { 335 (function () { 336 var latlng = new google.maps.LatLng(35.690237, 139.841507); 337 var opts = { 338 zoom: 15, 339 center: latlng, 340 mapTypeId: google.maps.MapTypeId.ROADMAP, 341 navigationControl: false, 342 mapTypeControl: false, 343 draggable: false, 344 scrollwheel: false 345 }; 346 var map = new google.maps.Map(document.getElementById("gmap_s
346alon"), opts); 347 var infobox = new google.maps.InfoWindow({ 348 content: 'Reno Salon大島åº<br>æ±äº¬é½æ±æ±åºå¤§å³¶8-32-7å¦åãã«1F', 349 position: latlng 350 }); 351 352 infobox.open(map); 353 })(); 354 } 355 356 if ($('#gmap_salon_mikawaanjo').length) { 357 (function () { 358 var latlng = new google.maps.LatLng(34.970327, 137.058272); 359 var opts = { 360 zoom: 15, 361 center: latlng, 362 mapTypeId: google.maps.MapTypeId.ROADMAP, 363 navigationControl: false, 364 mapTypeControl: false, 365 draggable: false, 366 scrollwheel: false 367 }; 368 var map = new google.maps.Map(document.getElementById("gmap_salon_mikawaanjo"), opts); 369 var infobox = new google.maps.InfoWindow({ 370 content: 'Reno Salon䏿²³å®ååº<br>æç¥çå®åå¸ä¸æ²³å®åæ¬çº1-32-12', 371 position: latlng 372 }); 373 374 infobox.open(map); 375 })(); 376 } 377 */ 378 379 }); 380 381 $(window).load(function () { 382 $(window).trigger('resize'); 383 }); 384})(jQuery); 385 386jQuery(function() { 387 //ã¿ã 388 jQuery('.eventList .tabcontent').css('display','none'); 389 jQuery('.eventList .tabcontent').eq(0).css('display','block'); 390 jQuery('.eventList #qatab div').click(function() { 391 var index = jQuery('.eventList #qatab div').index(this); 392 jQuery('.eventList .tabcontent').css('display','none'); 393 jQuery('.eventList .tabcontent').eq(index).css('display','block'); 394 jQuery('.eventList #qatab div').removeClass('select'); 395 jQuery(this).addClass('select') 396 }); 397});
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.