x<\/div><\/div>");setTimeout(function(){$("#stickywrite").height()<$("#zoneStickyInput").height()&&$("#stickywrite").height($("#zoneStickyInput").height()+25)},500);clipUploadFileCompletes++;clipUploadFileCompletes==clipUploadFileNumbers&&setTimeout(function(){$("#clipUploadProgress").css("width","0")},500)}})}function initDragging(){isMobi&&$(".styStickyPin").each(function(){var n=$(this).attr("id").substring(4),t=$("#st-"+n);$(this)[0].addEventListener("touchmove",function(n){n.preventDefault();var i=n.touches[0].pageX-stcX,r=n.touches[0].pageY-stcY;t.css({left:100*(i-30)/STC.clientWidth+"%",top:100*(r-60)/STC.clientHeight+"%"})});$(this)[0].addEventListener("touchend",function(t){t.preventDefault();updateStickyXY(n)})})}function reShareSticky(n){var t=$("#lbnStickyReShare").offset(),i;t!=null&&$("#ReShareConfirm").offset({left:t.left-25,top:t.top+20});i=$("#ReShareConfirm").css("visibility")!="hidden"?"hidden":"visible";n==""&&(i="hidden");$("#ReShareConfirm").css("visibility",i);$("#ReShareConfirm").data("stid",n)}function doReShareSticky(){var n=$("#ReShareConfirm").data("stid"),t;reShareSticky("");$("#progressResharing").css("display","");t={STID:n};$.post("/Sticky/ReShare",t,function(t){setTimeout(function(){$("#progressResharing").css("display","none");t.CODE==0&&($("#lbnStickyReShare").attr("onclick",'stnSpotListResharers("'+n+'")').html("已轉泡"),$("#countReshares").html(parseInt($("#countReshares").html())+1),$("#stainReSharer-"+n).css("visibility","visible"))},2e3)})}function selStickyStatus(n){if($("#boxSwStickyStatus").css("display")!="none"){$("#boxSwStickyStatus").css("display","none");return}$("#boxSwStickyStatus").offset({left:$("#lbnSwStickyStatus-"+n).offset().left+4}).css("display","")}function doSwStickyStatus(n,t){if(selStickyStatus(n),$("#lbnSwStickyStatus-"+n).data("status")!=t){var i={STID:n,STATUS:t};$.post("/Sticky/swStickyStatus",i,function(i){if(i.CODE==0){$("#ststatus1-"+n).css("display",t==1?"":"none");$("#ststatus2-"+n).css("display",t==2?"":"none");$("#ststatus0-"+n).css("display",t==0?"":"none");$("#lbnSwStickyStatus-"+n).data("status",t);switch(DisperMode){case 1:case 2:$("#stnSpot").css({display:"none"});t==0?$("#st-"+n).remove():$("#st-"+n).data("status",t).css("visibility","hidden")}var r=i.isPRIVATE?"σ":"";$("#stickyprivate-"+n).html(r);$("#stainprivate-"+n).html(r);$("#gstprivatesym-"+n).html(r)}})}}function getStickyBy(n){lastOpenStickySTID!=""&&openSticky(lastOpenStickySTID);$(".stySticky").each(function(){$(this).css("visibility",$(this).data("status")!=n?"hidden":"visible")});fixed=!1}function initStickyDispMode(n){var t=getAnchor();t!=""&&(t.indexOf(".")>=0?(laterOpenStainSTID=t,n=2):openSTID=t);laterOpenStainSTID!=""&&(n=0);stickyFor(n);laterOpenStainSTID!=""&&(scrollToStain(laterOpenStainSTID),laterOpenStainSTID="",setAnchor(""))}function stickyFor(n){DisperMode!=n&&(DisperMode=n,getStickyBy(n),stickyDispMode(n))}function stickyDispMode(n){switch(n){case 1:case 2:$("#typesym").html(n==1?"φ":"σ");$("#StainZone").css("display","none");$("#StickyContainer").css("display","block");$("#intro").css("visibility","visible");$("#rwFuncBar").css("visibility","visible");$("#authorFuncZone").css("visibility","visible");visiScroller(!0);$("#abhr2").css("visibility","visible");break;case 0:$("#typesym").html("φ");$("#StainZone").css("display","");$("#StickyContainer").css("display","none");$("#intro").css("visibility","hidden");$("#rwFuncBar").css("visibility","hidden");$("#authorFuncZone").css("visibility","hidden");visiScroller(!1);$("#abhr2").css("visibility","hidden");typeof _refreshEachStain!="undefined"&&_refreshEachStain&&(_refreshEachStain=!1,refreshEachStain())}n==2?$("#lbnAddSticky").css("visibility","hidden"):$("#lbnAddSticky").css("visibility","visible");localStorage.setItem("my.about.page.sticky.dispmode",n);$("#lbnDisper0").css("opacity","1");$("#lbnDisper1").css("opacity","1");$("#lbnDisper2").css("opacity","1");$("#lbnDisper"+n).css("opacity","0.7");stcX=getAbsX("StickyContainer");stcY=getAbsY("StickyContainer")}function visiScroller(n){isMobi?mobiAmVisiScroller($("#publishcontainer"),n,!0):$("#publishcontainer .jspHorizontalBar").css("visibility",n?"visible":"hidden")}function handleTickingTimeStnSpot(){doHandleTickingTimeStnSpot();hTTss=setTimeout(handleTickingTimeStnSpot,3e3)}function clearTickingTimeStnSpot(){clearTimeout(hTTss)}function doHandleTickingTimeStnSpot(){var t=(new Date).getFullYear(),n=getLocalEpoch(),i=n-3600,r=n-86400;$(".styTickingTimeStnSpot").each(function(){var o=$(this).data("tz"),u=$(this).data("t"),f,e;u!=""&&(f=getLocalEpochFor(u,o),f>i?$(this).html(parseInt((n-f)/60)+" 分鐘"):f>r?$(this).html(parseInt((n-f)/3600)+" 小時"):(u=epocToReadableT(f),e=u.startsWith(t)?"":u.substr(2,2)+"' ",$(this).html(e+mmdd2md(u,0))))})}function mobiHideSticky(){if(DisperMode!=0){var n=$("#mobiStickyHider").data("hiding")!="1"?"1":"0";n=="1"&&lastOpenStickySTID!=""&&openSticky(lastOpenStickySTID);$("#mobiStickyHider").data("hiding",n);$("#StickyZone").css("display",n=="1"?"none":"inline")}}function removeUploadPreviewImage(n){$("#"+n).remove();clipUploadFileNumbers--;clipUploadFileCompletes--}function chkClip(n){var t=!1;$(".styThumbnailClip").each(function(){$(this).attr("id")=="upi-"+n?$(this).data("chk")=="0"?($(this).css("border","solid 1px rgba(255,255,255,0.7)").data("chk","1"),$(this).data("wide")=="1"&&($(this).data("big","1"),t=!0)):$(this).css("border","solid 1px rgba(0,0,0,0)").data("chk","0").data("big","0"):$(this).css("border","solid 1px rgba(0,0,0,0)").data("chk","0").data("big","0")});$("#boxBigClipURL").css("visibility",t?"visible":"hidden")}function rmClip(n){var t,i;confirm("確定要刪除這張照片?")&&(t=n.lastIndexOf("/"),t>=0&&(n=n.substr(t+1)),i={PH:n},$.post("/Sticky/RemoveClip",i,function(t){if(t.CODE==0){darkHighlightBgMaskClose();var i=("clipdiv-"+n).replace(/\./g,"-");$("#"+i).remove();t.ISBIGCLIP&&$("#hbSpotContent").remove();$("#spotImgContainer").data("imglist",t.CLIPLIST)}}))}function swReShareable(n){var t={STID:n};$.post("/Sticky/SwitchReShareable",t,function(n){n.CODE==0&&$("#stReshareable").html(n.RESHAREABLE==1?"可轉泡":"不可轉泡")})}var STA=document.getElementById("inpSTA"),STC=document.getElementById("StickyContainer"),DRAGING=!1,stcX=null,stcY=null,openSTID="",laterOpenStainSTID="",fixed=!1,lastOpenStickySTID="",lastEditStickySTID="",FC="#dddddd",DisperMode=-1,clipUploadFileNumbers=0,clipUploadFileCompletes=0,ImageUploader=null,tmpImgPOID=null,thelasttop,hTTss;$("#bodybody").click(function(n){var t=n.target.id;lastOpenStickySTID!=""&&(t=="intro"||t=="publish"||t=="StickyContainer")&&(openSticky(lastOpenStickySTID),lastEditStickySTID!=""&&(drawbackSticky(lastEditStickySTID),lastEditStickySTID=""));$("#boxSwStickyStatus").css("display")!="none"&&(t=="boxSwStickyStatus"||t==""||t.startsWith("ststatus")||$("#boxSwStickyStatus").css("display","none"))});$(document).ready(function(){$("#StickyContainer").height($(window).height()-getAbsY("StickyContainer")-80);initDragging();!1&&(tmpImgPOID="_"+getRandom(1e5,999999),initImagePaster(),initImageUploader());window.onmousemove=function(n){if(DRAGING&&n.offsetX!=0&&n.offsetY!=0){var r=$("body").data("TARGET"),t=n.pageX-stcX,i=n.pageY-stcY;t=t-t%10;i=i-i%10;i>=0&&i<=STC.clientHeight&&t>=0&&t<=STC.clientWidth&&$("#st-"+r).css({left:100*(t-8)/STC.clientWidth+"%",top:100*(i-10)/STC.clientHeight+"%"})}};$("#inpSTA").blur(function(){fixed=!1});$("#mobiStickyHider").data("hiding",$("#StickyZone").css("display")=="none"?"1":"0");delayedStuffHint("");$("#inpSTA").textareaAutoSize();isMobi||$("#inpSTA").niceScroll({smoothscroll:!1,cursoropacitymin:.7,cursoropacitymax:.7,horizrailenabled:!1,autohidemode:!1,cursorcolor:"rgba(255,255,255,0.1)",cursorborder:"0",cursorwidth:"8px",sensitiverail:!0});openSTID!=""&&(setAnchor(""),$("#st-"+STID)==null?alert("not found"):setTimeout(function(){openSticky(openSTID)},300));isMobi&&!1&&$("#imagesource").find("a").each(function(){$(this).css("pointer-events","none")});handleTickingTimeSticky()});thelasttop=null;$("#lbnAddStickySilently").click(function(){doAddSticky(!0)});$("#lbnAddSticky").click(function(){doAddSticky(!1)});hTTss=null
二次創作 |
陸一織 |
六棗 |
萬千 |
TRIGGER |
BL |
Re:vale |
やまみつ |
壯環 |
星巡 |
狗悠 |
虎悠 |
同人 |
Revale |
樂一織 |
ŹOOĻ |
巳悠 |
狗巳 |
壯狗 |
千百 |
巳狗 |
大和三月 |
和泉兄弟 |
アイナナ |
がくてん |
虎巳 |
音萬 |
IDOLiSH7 |
環壯 |
一織陸 |
大和天 |