time-viewer

Finally it works

… in iPhone!

UPDATE 1.08: 2018/11/21
UPDATE 1.07: 2018/11/03
UPDATE 1.06: 2018/10/30
UPDATE 1.05: 2018/9/29
UPDATE 1.04: 2018/9/16
UPDATE 1.03: 2018/9/06
UPDATE 1.02: 2018/9/05
UPDATE 1.01: 2018/8/25


STANDALONE BUTTONS

Hmm… you're editing this page, aren't you. I can't show you this function due to prevent accidents.This super awesome function is created by Boyu12Boyu12!
Edit Page Source
History Files
%E8%A8%BC%E6%98%8E%E6%9B%B8%E3%82%A2%E3%82%A4%E3%82%B3%E3%83%B3.png

あああああああああああああああああああああああ日時はでああああああああああああああああああああああああああああああああああああああああああああああああああああああああ。ああああああああああああああああああああああああああああああああああああああああああああああああああ。

<head>
<style type="text/css">
@import url(http://scp-jp.wdfiles.com/local--files/japanese-syntax/scp-WikidotCss.css);
 
body {
  padding:0px;
  margin: 0px;
  height:1em;
  background-color: transparent;
}
</style>
<script type="text/javascript">
var space
window.onload=function(){space = document.getElementById("page-content");getTime();}
function getTime(){
var date = new Date();
 
space.innerHTML = date.getFullYear() + "/" + addDigit((date.getMonth()+1)) + "/" + date.getDate() + "  " + addDigit(date.getHours()) + ":" + addDigit(date.getMinutes()) + " " + addDigit(date.getSeconds());
setTimeout(getTime,50);
function addDigit(num){
var strNum = String(num);
if(strNum.length < 2)strNum = "0" + strNum;
return strNum;
}
}
</script>
</head>
<body>
<div id="page-content">
</div>
</body>

AiliceHersheyさんへ

埋め込み方法

1. 下記のコードをページのどこかに書き入れてください。

[[div style="display: none;"]]
[[code type="html"]]
<head>
<style type="text/css">
@import url(http://scp-jp.wdfiles.com/local--files/japanese-syntax/scp-WikidotCss.css);

body {
  padding:0px;
  margin: 0px;
  height:1em;
  background-color: transparent;
}
</style>
<script type="text/javascript">
var space
window.onload=function(){space = document.getElementById("page-content");getTime();}
function getTime(){
var date = new Date();

space.innerHTML = date.getFullYear() + "/" + addDigit((date.getMonth()+1)) + "/" + date.getDate() + "  " + addDigit(date.getHours()) + ":" + addDigit(date.getMinutes()) + " " + addDigit(date.getSeconds());
setTimeout(getTime,50);
function addDigit(num){
var strNum = String(num);
if(strNum.length < 2)strNum = "0" + strNum;
return strNum;
}
}
</script>
</head>
<body>
<div id="page-content">
</div>
</body>
[[/code]]
[[/div]]

2. iframe内のurlを以下のように書き換えてください。

[[iframe http://サイト名.wikidot.com/ページ名/code/1 width="130" scrolling="no"]]

3. Profit!

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License