⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 07.htm

📁 javascript94个网页特效下载
💻 HTM
字号:
<html>
<head>
<title>根据日期变换文本</title>
<meta http-equiv="目录类型" content="文本/html; 字符集=gb2312">
<style type="text/css">
<!--
a{font-style:normal;text-decoration:none;color:white}
a:hover {BACKGROUND:red;font-style:normal;text-decoration:none;color:yellow}
.white {  color: #FFFFFF}
table {  font-size: 9pt}
-->
</style>
</head>

<body bgcolor="#336699" topmargin="0" leftmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-size: 9pt;">
  <tr bgcolor="#336699"> 
    <td colspan="3" height="18">&nbsp; </td>
  </tr>
  <tr> 
    <td bgcolor="#336699" width="18"></td>
    <td align="center" bgcolor="#FFFFFF"> <br>
      <table width="56%" border="0" cellspacing="0" cellpadding="0" height="355">
        <tr> 
          <td rowspan="2" width="16" valign="top"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="white" style="FONT-SIZE: 11pt;">
              <tr bgcolor="#336699" bordercolor="#336699"> 
                <td style="BORDER-RIGHT: double; BORDER-TOP: double;  BORDER-LEFT: double; BORDER-BOTTOM: double;" height="70"><strong><a href="07.htm">演<br>
                  <br>
                  示</a></strong></td>
              </tr>
              <tr bordercolor="#009900" bgcolor="#009900"> 
                <td style="BORDER-RIGHT: double; BORDER-TOP: double; BORDER-LEFT: double; BORDER-BOTTOM: double" height="70"><strong><a href="07c.htm">源<br>
                  代<br>
                  码</a></strong></td>
              </tr>
            </table>
          </td>
          <td rowspan="2" width="8" bgcolor="#336699">&nbsp;</td>
          <td align="center" style="BORDER-RIGHT: double; BORDER-TOP: double; FONT-SIZE: 12pt; BORDER-LEFT: double; BORDER-BOTTOM: double" bordercolor="#336699" valign="top" height="335"><br>
            <b>根据日期变换文本</b> 
            <hr width="92%" size="1" align="center">
            <table width="90%" border="0" cellspacing="0" cellpadding="0" style="FONT-SIZE: 9pt;">
              <tr> 
                <td colspan="2" height="8"></td>
              </tr>
              <tr> 
                <td width="40" valign="top">提示:</td>
                <td>下面的文本信息以一个月为一个循环,按照相应的日期为序出现。<br>
                  <br>
                  <br>
                  <script language="JavaScript"> 
<!-- Hide
  var now = new Date();
  var month = now.getMonth() + 1;
  var date = now.getDate();
  var year = now.getYear();

        msgs = new Array
        msgs[1] = "MESSAGE #1"
        msgs[2] = "MESSAGE #2"
        msgs[3] = "MESSAGE #3"
        msgs[4] = "MESSAGE #4"
        msgs[5] = "MESSAGE #5"
        msgs[6] = "MESSAGE #6"
        msgs[7] = "MESSAGE #7"
        msgs[8] = "MESSAGE #8"
        msgs[9] = "MESSAGE #9"
        msgs[10] = "MESSAGE #10"
        msgs[11] = "MESSAGE #11"
        msgs[12] = "MESSAGE #12"
        msgs[13] = "MESSAGE #13"
        msgs[14] = "MESSAGE #14"
        msgs[15] = "MESSAGE #15"
        msgs[16] = "MESSAGE #16"
        msgs[17] = "MESSAGE #17"
        msgs[18] = "MESSAGE #18"
        msgs[19] = "MESSAGE #19"
        msgs[20] = "MESSAGE #20"
        msgs[21] = "MESSAGE #21"
        msgs[22] = "MESSAGE #22"
        msgs[23] = "MESSAGE #23"
        msgs[24] = "MESSAGE #24"
        msgs[25] = "MESSAGE #25"
        msgs[26] = "MESSAGE #26"
        msgs[27] = "MESSAGE #27"
        msgs[28] = "MESSAGE #28"
        msgs[29] = "MESSAGE #29"
        msgs[30] = "MESSAGE #30"
        msgs[31] = "MESSAGE #31"
        var msg = msgs[date]

//-->

</script>
                  <script>
<!--
document.write(msg);
//-->
</script>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td height="20" class="white" bgcolor="#336699">当前位置:<a href="../../index.htm">首 
            页</a>→<a href="../index.htm">JavaScript</a>→<a href="index.htm#7">文本特效</a>→根据日期变换文本</td>
        </tr>
      </table>
      <br>
    </td>
    <td bgcolor="#336699" width="18"></td>
  </tr>
  <tr> 
    <td bgcolor="#336699"></td>
    <td align="center" bgcolor="#336699" height="35"> <font color="#FFFFFF">··万旭网站工作室 
      设计发布··</font> </td>
    <td bgcolor="#336699">&nbsp;</td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -