シンタックス試用
評価: 0+x
blank.png

/* modules */
@import url(http://d3g0gp89917ko0.cloudfront.net/v--edac79f846ba/common--modules/css/pagerate/PageRateWidgetModule.css);
/* theme */
@import url(http://d3g0gp89917ko0.cloudfront.net/v--edac79f846ba/common--theme/base/css/style.css);
@import url(http://d3g0gp89917ko0.cloudfront.net/v--edac79f846ba/common--theme/shiny/css/style.css);
@import url(http://scp-jp-sandbox2.wdfiles.com/local--theme/scp-sigma-9-off-canvas/style.css);

.fake-link {
color: #b01;
text-decoration: none;
background: transparent;
cursor:pointer;

}

.fake-link:hover {
text-decoration: underline;
background-color: transparent;
cursor:ponter;
}

<!—
重要なIDリスト:
javascriptで
IDname: ID入力欄
DummyPassword: パスワード入力欄
Certification: 認証ボタン
HideMessage: 隠されたメッセージを表示

Secret1: 隠されたメッセージを格納
Secret2: 隠されたメッセージを格納
—>

<!— SCP財団のstyleをインポート >
<style type="text/css">
@import url(http://scp-jp.wdfiles.com/local--files/japanese-syntax/scp-WikidotCss.css);
</style>
<!
偽りの認証用 —>
<style>
#Certification{
display:block;
margin:auto;
cursor:pointer;
}

.hide{
display:none;
}
</style>

<!— ↓HTMLブロックの大きさ変更に使用 —>
<script type="text/javascript" src="http://scp-jp.wdfiles.com/local--files/japanese-syntax/scpHTMLblockCtrl_ver1_ex.js"></script>

<!— 偽りの認証の再現 >
<table class="form">
<tr><td>ID</td><td><input id="IDname" class="text" type="text" value="Site-81██_Dr_████████" size="30" maxlength="24" /></td>
<tr><td>Password</td><td><input id="DummyPassword" class="text" type="text" value="" size="30" maxlength="24" /></td>
</table>
<button onclick="showHideMessage(this)" id="Certification">認証</button>
<!
↓隠されたメッセージを表示 —>
<div id="HideMessage"></div>

<!— パスワードに応じて表示する文章 —>
<div class="hide" id="Secret1">
機密情報1
</div>
<div class="hide" id="Secret2">
機密情報2
</div>

<div id="scpHTMLblockResizeSwitch"></div>
<script type="text/javascript">
var accept = false;//文章が表示されているかを確認

function showHideMessage(elm){
var target = document.getElementById("HideMessage");
var showMessage = "";
var password = document.getElementById("DummyPassword");パスワード入力欄
var inputID = document.getElementById("IDname");
ID入力欄
if(!accept){
accept = true;
//文章が表示されていない場合

password.disabled = true;パスワード入力欄への入力禁止
password.style.backgroundColor = "#EEE";
inputID.disabled = true;
ID入力欄への入力禁止
inputID.style.backgroundColor = "#EEE";
//パスワードに応じた文章表示
switch(password.value){
case "password1":
//パスワード欄に入力されたのがpassword1の場合
showMessage = document.getElementById("Secret1").innerHTML;
break;
case "password2":
//パスワード欄に入力されたのがpassword2の場合
showMessage = document.getElementById("Secret2").innerHTML;

break;
default:
パスワードが間違っている場合
accept = false;
password.disabled = false;
パスワード入力欄への入力許可
password.style.backgroundColor = "#FFF";
inputID.disabled = false;//ID入力欄への入力許可
inputID.style.backgroundColor = "#FFF";
showMessage = "<div style='text-align:center;color:#F00'>認証エラー</span>";
break;

}

}else{
password.disabled = false;パスワード入力欄への入力許可
password.style.backgroundColor = "#FFF";
inputID.disabled = false;
ID入力欄への入力許可
inputID.style.backgroundColor = "#FFF";
showMessage = "";
accept = false;

}
target.innerHTML = showMessage;
elm.innerHTML = (accept)?"ログアウト":"認証";
correctIframeSize();//HTMLブロックサイズ変更
}

</script>

var scpHTMLblockUrl_array = location.toString().split('/');
var scpHTMLblockIframe_hash = scpHTMLblockUrl_array[5];
var scpForResizeRandomNumber = Math.random();
var scpHTMLblockResize_div_id = 'div_' + scpHTMLblockIframe_hash + scpForResizeRandomNumber;
var scpHTMLblockResize_iframe_id = 'iframe_' + scpHTMLblockIframe_hash + scpForResizeRandomNumber;
var scpHTMLblockResize_url = scpHTMLblockUrl_array[0] + '' + scpHTMLblockUrl_array[6] + '/common—javascript/resize-iframe.html';
^ http: ^ www.wikidot.dev (original domain)
var scpMonitoringTimeSpan = 50;
var scpHTMLblockResizeSwitch;
var HTMLblockOldHeight;
var isHTMLblockHide = false;
var scpParentCollasibleClassName = "ParentCollasible";

function scpCreateCollapsible(){
var collapsibles = document.getElementsByTagName("collapsible");
var parentColl;
var toOpenColl;
var openButton;
var toCloseColl;
var closeButton;
var text;
var loopTimes = collapsibles.length;
for(var i = 0;i < loopTimes;i++){
parentColl = document.createElement("div");
parentColl.setAttribute("class",scpParentCollasibleClassName);
toOpenColl = document.createElement("div");
toOpenColl.setAttribute("id","scpCollasibleLink"+i + '0');
openButton = document.createElement("span");
openButton.setAttribute("class","fake-link");
openButton.setAttribute("onclick","scpRunCollasible('" + ("scpCollasibleLink"+i) + "',0)");
openButton.innerHTML = collapsibles[0].getAttribute("show");
toOpenColl.appendChild(openButton);
parentColl.appendChild(toOpenColl);
//Hide
toCloseColl = document.createElement("div");
toCloseColl.setAttribute("id","scpCollasibleLink"+i + '1');
text = document.createElement("div");
text.setAttribute("id","scpCollasibleLink"+i + '2');
text.innerHTML = collapsibles[0].innerHTML;
closeButton = document.createElement("span");
closeButton.setAttribute("class","fake-link");
closeButton.setAttribute("onclick","scpRunCollasible('" + ("scpCollasibleLink"+i) + "',1)");
closeButton.innerHTML = collapsibles[0].getAttribute("hide");
if(collapsibles[0].getAttribute("hideLocation") == "bottom"){
toCloseColl.appendChild(text);
toCloseColl.appendChild(closeButton);

}else{
toCloseColl.appendChild(closeButton);
toCloseColl.appendChild(text);
}
toCloseColl.setAttribute("style","display:none;");
parentColl.appendChild(toCloseColl);
collapsibles[0].parentNode.replaceChild(parentColl,collapsibles[0]);
}
}

function scpResizeHTMLblock(n) {
var div = document.getElementById(scpHTMLblockResize_div_id);

var old_iframe = document.getElementById(scpHTMLblockResize_iframe_id);
if (old_iframe) {
div.removeChild(old_iframe);
delete old_iframe;
}
var iframe = document.createElement("iframe");
iframe.id = scpHTMLblockResize_iframe_id;
iframe.src = scpHTMLblockResize_url + "?" + Math.random() + "#" + n+ "/" + scpHTMLblockIframe_hash;
div.appendChild(iframe);
}

function ctrlHideHTMLblockSize(n) {
var newHeight= scpHTMLblockResizeSwitch.offsetTop;
if (HTMLblockOldHeight > newHeight) {
HTMLblockOldHeight = newHeight;
scpResizeHTMLblock(HTMLblockOldHeight) ;

}else{
if(n < 1)n++;
if(isHTMLblockHide)setTimeout(function(){ctrlHideHTMLblockSize(n)}, scpMonitoringTimeSpan);
}
}

(function() {
var init = function() {
scpCreateCollapsible();
var div = document.createElement("div");
scpHTMLblockResizeSwitch = document.getElementById("scpHTMLblockResizeSwitch");
HTMLblockOldHeight = scpHTMLblockResizeSwitch.offsetTop;
div.id = scpHTMLblockResize_div_id;
div.setAttribute('style', 'display: none');
div.style.display = 'none'; // this way it works even in IE
document.body.appendChild(div);
ctrlHideHTMLblockSize(0);
};
document.addEventListener( 'DOMContentLoaded',function() {
init();
});
})();

function scpRunCollasible(idName,n){
var pear = (n > 0)?0:1;
document.getElementById(idName+n).style.display = "none";
document.getElementById(idName+pear).style.display = "";
setTimeout(correctIframeSize,1);
function appear(set,idName){
var target = document.getElementById(idName+2);
var chek = document.getElementById(idName+1);
target.style.filter = 'alpha(opacity='+ set + ')';
target.style.MozOpacity = set/100;
target.style.opacity = set/100;
if(set < 100|| chek.style.display != "none"){
setTimeout(function(){appear(set+5,idName)},10);
}
}
function hide(){
var target = document.getElementById(idName+2);
target.style.filter = 'alpha(opacity='+ 0 + ')';
target.style.MozOpacity = 0;
target.style.opacity = 0;
}
}

function correctIframeSize(){
scpResizeHTMLblock(scpHTMLblockResizeSwitch.offsetTop);
}

.page-rate-widget-box{

}

.page-rate-widget-box .rate-points{
background-color: #666;
color: #FFF;
font-weight: bold;
padding: 0 10px;
-moz-border-radius: 4px 0 0 4px;
}

.page-rate-widget-box a{
text-decoration: none;
color: #000;
background-color: #DDD;
padding: 0 5px;
}
.page-rate-widget-box a:hover{
background-color: #EEE;
}

.page-rate-widget-box .cancel, .page-rate-widget-box .cancel a{
-moz-border-radius: 0 4px 4px 0;
}

[[footnoteblock]]

付与予定タグ: ここに付与する予定のタグ


ページコンソール

カテゴリ

SCP-JP

本投稿の際にscpタグを付与するJPでのオリジナル作品の下書きが該当します。

GoIF-JP

本投稿の際にgoi-formatタグを付与するJPでのオリジナル作品の下書きが該当します。

Tale-JP

本投稿の際にtaleタグを付与するJPでのオリジナル作品の下書きが該当します。

翻訳

翻訳作品の下書きが該当します。

その他

他のカテゴリタグのいずれにも当て嵌まらない下書きが該当します。

コンテンツマーカー

ジョーク

本投稿の際にジョークタグを付与する下書きが該当します。

アダルト

本投稿の際にアダルトタグを付与する下書きが該当します。

既存記事改稿

本投稿済みの下書きが該当します。

イベント

イベント参加予定の下書きが該当します。

フィーチャー

短編

構文を除き数千字以下の短編・掌編の下書きが該当します。

中編

短編にも長編にも満たない中編の下書きが該当します。

長編

構文を除き数万字以上の長編の下書きが該当します。

事前知識不要

特定の事前知識を求めない下書きが該当します。

フォーマットスクリュー

SCPやGoIFなどのフォーマットが一定の記事種でフォーマットを崩している下書きが該当します。


シリーズ-JP所属

JPのカノンや連作に所属しているか、JPの特定記事の続編の下書きが該当します。

シリーズ-Other所属

JPではないカノンや連作に所属しているか、JPではない特定記事の続編の下書きが該当します。

世界観用語-JP登場

JPのGoIやLoIなどの世界観用語が登場する下書きが該当します。

世界観用語-Other登場

JPではないGoIやLoIなどの世界観用語が登場する下書きが該当します。

ジャンル

アクションSFオカルト/都市伝説感動系ギャグ/コミカルシリアスシュールダーク人間ドラマ/恋愛ホラー/サスペンスメタフィクション歴史

任意

任意A任意B任意C

ERROR

The Very common ATM's portal does not exist.


エラー: Very common ATMのportalページが存在しません。利用ガイドを参照し、portalページを作成してください。


利用ガイド

  1. portal:7932676 (21 Jan 2023 02:27)
特に明記しない限り、このページのコンテンツは次のライセンスの下にあります: Creative Commons Attribution-ShareAlike 3.0 License