" .replace('{layer}',escapeHTML(this.layer)).replace('{CCCNo}',this.CCCNo).replace('{CCCNo}',this.CCCNo).replace('{photo}',this.url).replace('{charactor}',escapeHTML(this.charactor)).replace('{workname}',escapeHTML(this.workname)).replace('{Url}',this.url).replace('{DefaultUrl}',this.DefaultUrl)); }); loadend = loaded.end; $('#loaded_max').val(parseInt($('#loaded_max').val()) + loadend); $('#loadingbar').css("display", "none"); loadaly = loaded.photos.length > 0; loading = false; }); } } }); // テキストのlightbox function openPhotoClick (thi) { $('#photo-default-image-wait').imagesLoaded(function() { $('#photo-default-image img').attr('src',$(thi).data('dimage')); $('#photo-default-image img').imagesLoaded(function() { $('#photo-default-image img').css('max-height',$(window).height() - 150); $('#photo-dialog').css('left',((($(window).width()-$('#photo-dialog').width())/($(window).width())*50)+'%')); }); }); $('#photo-default-image img').attr('src','/Assets/images/common/loading.gif'); $('#photo-default-image-wait').attr('src',$(thi).data('dimage')); $('#m-usermodal-profile').html(escapeHTML(thi.title.replace('\r\n',' / '))); $('#m-usermodal-workname').html(escapeHTML($(thi).data("workname"))); $('#photo-title').html(escapeHTML($(thi).data('layer'))); $('#photo-title').attr('href',(thi.href)); $('#photo-datail-btn').attr('href',(thi.href)); $('#photo-default-image').attr('href',(thi.href)); $('#photo-dialog').css('left', (($(window).width()-$('#photo-dialog').width())/($(window).width())*50)+'%'); $('#photo-dialog-overlay').fadeTo(400, 0.8); $('#photo-dialog').fadeTo(400, 1.0); return false; }; $(function () { $('.photoclose').click(function () { $('#photo-dialog-overlay').fadeOut('normal'); $('#photo-dialog').fadeOut('normal', function () { $('#photo-default-image img').attr('src','/Assets/images/common/loading.gif'); }); return false; }); }); $(window).bind("resize", function() { $('#photo-default-image img').css('max-height',$(window).height() - 150); $('#photo-dialog').css('left', (($(window).width()-$('#photo-dialog').width())/($(window).width())*50)+'%'); }); $(function () { var nav = $('.ad'), offset = nav.offset(); $(window).scroll(function () { if($(window).scrollTop() > offset.top - 20) { nav.addClass('fixed'); } else { nav.removeClass('fixed'); } }); (new Circlems.LogoutCheck('https://auth2.circle.ms/','https://comicos.circle.ms/')).initialize(); });

Dialog×