1(function($) { 2 3 // modal 4 $(function() { 5 var modalDisplayed = false; 6 var modalMode = $('#modal').data('modal'); 7 if (modalMode == "frameOut") { // ã«ã¼ã½ã«ãä¸é¨ã«è¡ã£ãã表示 8 $('#modalTrigger').hover(function() { 9 console.log(modalDisplayed); 10 if (!modalDisplayed) { 11 $('#modal').modal('show'); 12 modalDisplayed = true; 13 } 14 }, function() {}); 15 } else if (modalMode == "countDown") { // æéå·®ã§è¡¨ç¤º 16 setTimeout(function() { 17 $('#modal').modal('show'); 18 modalDisplayed = true; 19 }, $('#modal').data('count') * 1000); 20 } 21 }); 22 23 $('#modal').on('hidden.bs.modal', function(e) { 24 $('#reModal').removeClass('invisible'); 25 }); 26 27 $('a').on('click', function() { 28 if ($(this).attr("href") == '#popup') { 29 $('#modal').modal('show'); 30 } 31 }); 32 33 // countdown 34 $(function() { 35 var limit = $('#countdown').data('countdown'); 36 var redirect = $('#countdown').data('redirect'); 37 if (limit) { 38 $(".countdown-timer").countdown(limit, function(event) { 39 if (event.elapsed) { 40 $('.countdown-elapsed').css('display', 'initial'); 41 $('.countdown-before').css('display', 'none'); 42 $('.countdown-timer').css('display', 'none'); 43 $('.countdown-after').css('display', 'none'); 44 if (redirect) { 45 window.location.replace(redirect); 46 } 47 } else { 48 $(this).html(event.strftime('<span class="countdown-day"><span class="num">%D</span><span class="sep">æ¥</span></span><span class="num">%H</span><span class="sep">æé</span><span class="num">%M</span><span class="sep">å</span><span class="num">%S</span><span class="sep">ç§</span>')); 49 if(event.offset.totalDays==0){ 50 $('.countdown-day').css('display', 'none'); 51 } 52 } 53 }); 54 } else { 55 $(".countdown").html("ã«ã¦ã³ããã¦ã³ãè¨å®ããã¦ãã¾ããã"); 56 } 57 }); 58 59})(jQuery);
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.