Js calendar control (accurate to minutes)

Source: Internet
Author: User

<Br/> <style>. menu_iframe {position: absolute; visibility: inherit; top: 0px; left: 0px; width: 170px; z-index:-1; filter: Alpha (Opacity = 0 );}. cal_table {border: #333333 solid 1px; border-collapse: collapse; background: # ffffff; font-size: 12px }. cal_table td {border: 1px # ffffff solid ;}. cal_drawdate {background: # E3EBF6; border-collapse: collapse; width: 100% }. cal_drawdate td {border: 1px # ffffff solid ;}. ca L_drawtime {border: 0px # ffffff solid; font-size: 12px }. cal_drawdate td {border: 0px # ffffff solid ;}. m_fieldset {padding: 0, 10, 5, 10; text-align: center; width: 150px ;}. m_legend {font-family: Tahoma; font-size: 11px; padding-bottom: 5px ;}. m_frameborder {border-left: 1px inset # D4D0C8; border-top: 1px inset # D4D0C8; border-right: 1px inset # limit; border-bottom: 1px inset # D4D0C8; width: 35 p X; height: 19px; background-color: # FFFFFF; overflow: hidden; text-align: right; font-family: "Tahoma"; font-size: 10px ;}. m_arrow {width: 16px; height: 8px; background: # cccccc; font-family: "Webdings"; font-size: 7px; line-height: 2px; padding-left: 2px; cursor: default ;}. m_input {width: 12px; height: 14px; border: 0px solid black; font-family: "Tahoma"; font-size: 9px; text-align: right ;}. C_fieldset {padding: 0, 10, 5, 10; text-align: center; width: 180px ;}. c_legend {font-family: Tahoma; font-size: 11px; padding-bottom: 5px ;}. c_frameborder {border-left: 1px # D4D0C8; border-top: 1px # D4D0C8; border-right: 1px # FFFFFF; border-bottom: 1px # FFFFFF; background-color: # FFFFFF; overflow: hidden; font-family: "Tahoma"; font-size: 10px; width: 100%; height: 120px ;}. c_frameborder td {w Idth: 23px; height: 16px; font-family: "Tahoma"; font-size: 11px; text-align: center; cursor: default ;}. c_frameborder. selected {background-color: # 0A246A; width: 12px; height: 12px; color: white; display: block ;}. c_frameborder span {width: 12px; height: 12px ;}. c_arrow {width: 16px; height: 8px; background: # cccccc; font-family: "Webdings"; font-size: 7px; line-height: 2px; padding-left: 2px; cur Sor: default ;}. c_year {font-family: "Tahoma"; font-size: 11px; cursor: default; width: 55px; height: 20px; border: #99B2D3 solid 1px ;}. c_month {width: 75px; height: 20px; font: 11px "Tahoma"; border: #99B2D3 solid 1px ;}. c_dateHead {background-color: #99B2D3; color: # ffffff; border-collapse: collapse ;}. c_dateHead td {border: 0px # ffffff solid ;}. rightmenu {float: left;/* overall menu horizontal position */list-style: non E; line-height: 19px;/* level-1 menu height */background: #1371A0;/* excellent menu shifting */font-weight: bold; padding: 0px; margin: 0px; border: 1px #000000 solid ;}. rightmenu li {float: left;/* overall menu horizontal position */list-style: none; line-height: 19px;/* top menu height */background: #1371A0; /* excellent menu shifting */font-weight: bold; color: # FFFFFF; padding: 0px; margin: 0px; border: 1px # FFFFFF solid ;}. rightmenu li a {float: left;/* overall menu horizontal position */lis T-style: none; line-height: 19px;/* level-1 menu height */background: #1371A0;/* excellent menu shifting */font-weight: bold; color: # FFFFFF! Important; padding: 0px; margin: 0px; border-right: 0px; display: block; width: 80px ;}. rightmenu li a: hover {float: left;/* overall menu horizontal position */list-style: none; line-height: 19px;/* level-1 menu height */background: # B2CFDF;/* excellent menu shifting */font-weight: bold; color: #000000! Important; padding: 0px; margin: 0px; border-right: 0px; width: 80px; text-decoration: none ;} </style> <p> <br/> click the <input class = "input" type = "text" name = "bgntime" style = "width: 120 "value =" "id =" bgntime "onclick =" showCal (bgntime ); "> <table class =" cal_table "border =" 0 "> <tr> <td> </tr> <td valign =" top "align = "center"> </td> </tr> </table> <p>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.