相当于delphi的日历控件[3]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 lxx8402 的 blog

file://testcale.html
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<title> 日历测试 </title>
<meta name="generator" content="editplus">
<meta name="author" content="">
<meta name="keywords" content="">
<meta name="description" content="">
<style>
body {
 background-color: #ffffff; color: #000000; font-family: "宋体","arial"; font-size: 12px; margin: 0px
}
td {
 font-family: "宋体", "tahoma"; font-size: 12px
}
.bk {
 background-color: #f1f1f1; border-bottom: #eeeeee 1px solid; border-left: #333333 1px solid; border-right: #eeeeee 1px solid; border-top: #333333 1px solid; color: #0000cc; font-family: "宋体","arial"
}
.btn {
 background-color: #d6d6d6; border-bottom: #333333 1px solid; border-left: #eeeeee 1px solid; border-right: #333333 1px solid; border-top: #eeeeee 1px solid; color: #000066; font-family: "宋体"; font-size: 12px; text-decoration: none;background-image: url(buttonface.gif);
}
</style>
<script language="javascript" src="calendar.js"></script>
</head>

<body>
<p>&nbsp;</p>
<form method=post action="">
<table width="80%" align=center>
<tr>
 <td width=150>&nbsp;</td>
 <td align=center>
 <input type="text" name="day" class=bk><input type="button" value="▼" class=btn onclick="showcalendar('day')">
 </td>
 <td width=150>&nbsp;</td>
</tr>
</table>
</form>
</body>

本文关键:js,javascript,日历
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top