Update index.html
This commit is contained in:
parent
1aa2712526
commit
0d05a1d8b8
20
index.html
20
index.html
|
@ -64,18 +64,18 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<script>
|
<script>
|
||||||
var current= new Date()
|
var current= new Date();
|
||||||
var month=current.getMonth()
|
var month=current.getMonth();
|
||||||
var date=current.getDate()
|
var date=current.getDate();
|
||||||
document.write("DEBUG DATA: " + month)
|
function loadImage(image) {
|
||||||
document.write("DEBUG DATA: " + date)
|
var x = document.createElement("IMG");
|
||||||
|
x.setAttribute("src", image);
|
||||||
|
document.body.appendChild(x);
|
||||||
|
}
|
||||||
if (month=4 && date=13) {
|
if (month=4 && date=13) {
|
||||||
document.write("DEBUG DATA: condition was true")
|
loadImage("gate.gif");
|
||||||
show_image('gate.gif', 100, 100, 'Load');
|
|
||||||
document.write("<img src='gate.gif'>")
|
|
||||||
} else {
|
} else {
|
||||||
document.write("DEBUG DATA: condition was false")
|
loadImage("load.png");
|
||||||
document.write("<img src='load.png'>")
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in a new issue