Update index.html
This commit is contained in:
parent
c555d1ab5b
commit
c66789215b
37
index.html
37
index.html
|
@ -55,7 +55,7 @@
|
||||||
.br {
|
.br {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
right: 0px;
|
right: 2px;
|
||||||
}
|
}
|
||||||
.verticalcenter {
|
.verticalcenter {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
@ -64,25 +64,22 @@
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<center>
|
<script>
|
||||||
<div class="verticalcenter">
|
var current= new Date();
|
||||||
<script>
|
var month=current.getMonth();
|
||||||
var current= new Date();
|
var date=current.getDate();
|
||||||
var month=current.getMonth();
|
function loadImage(image) {
|
||||||
var date=current.getDate();
|
var x = document.createElement("IMG");
|
||||||
function loadImage(image) {
|
x.setAttribute("src", image);
|
||||||
var x = document.createElement("IMG");
|
x.setAttribute("class", "verticalcenter");
|
||||||
x.setAttribute("src", image);
|
document.body.appendChild(x);
|
||||||
document.body.appendChild(x);
|
}
|
||||||
}
|
if (month=="3" && date=="13") {
|
||||||
if (month=="3" && date=="13") {
|
loadImage("gate.gif");
|
||||||
loadImage("gate.gif");
|
} else {
|
||||||
} else {
|
loadImage("load.gif");
|
||||||
loadImage("load.gif");
|
}
|
||||||
}
|
</script>
|
||||||
</script>
|
|
||||||
</div>
|
|
||||||
</center>
|
|
||||||
<p class="br">v0.1.4</p>
|
<p class="br">v0.1.4</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue