[新着] Webテンプレートを仮オープンしました
<script type="text/javascript">
window.onload = function()
{
var targetTable = document.getElementById("backTable");
var thisHour = new Date().getHours();
targetTable.style.backgroundImage = "url(" + thisHour + ".gif)";
}
</script>
</head>
<body>
<table id="backTable">
<tr>
<td><br></td>
</tr>
</table><TABLE WIDTH="600" BORDER="1" TABLE ALIGN="center">
<SCRIPT LANGUAGE="JavaScript">
<!--
var te = new Array(
"0.gif",
"1.gif",
"2.gif",
"3.gif",
"4.gif",
"5.gif",
"6.gif",
"7.gif",
"8.gif",
"9.gif",
"10.gif",
"11.gif",
"12.gif",
"13.gif",
"14.gif",
"15.gif",
"16.gif",
"17.gif",
"18.gif",
"19.gif",
"20.gif",
"21.gif",
"22.gif",
"23.gif");
TABLE BACKGROUND= 'URL('+te[(new Date().getHours())]+')';
//-->
</SCRIPT>
<TR>
<TD ALIGN="left" VALIGN="top">
<br>
文章
<br>
文章
<br>
</TD>
</TR>
</TABLE><head>
<script type="text/javascript">
<!--
var te = new Array(
"0.gif",
"1.gif",
"2.gif",
"3.gif",
"4.gif",
"5.gif",
"6.gif",
"7.gif",
"8.gif",
"9.gif",
"10.gif",
"11.gif",
"12.gif",
"13.gif",
"14.gif",
"15.gif",
"16.gif",
"17.gif",
"18.gif",
"19.gif",
"20.gif",
"21.gif",
"22.gif",
"23.gif");
window.onload = function()
{
var targetTable = document.getElementById("backTable");
var thisHour = new Date().getHours();
targetTable.style.backgroundImage = "te(" + thisHour + ".gif)";
}
//-->
</script>
</head>
<body>
<TABLE WIDTH="600" BORDER="1"TABLE ALIGN="center" table id="backTable">
<TR>
<TD ALIGN="left" VALIGN="top">
<br>
文章
<br>
文章
<br>
</TD>
</TR>
</TABLE>
</body>