日期:2014-05-16  浏览次数:20416 次

求时钟控件,由javascript写的
请教:

    我想点击文本框,弹出一个时钟,然后点击钟上的某个位置,会把对应的   几点几分回写到   文本框中。
这个有没有现成的可以使用的js脚本呢?

  多谢

------解决方案--------------------
<HTML> <HEAD> <TITLE> rl </TITLE>
<META http-equiv=Content-Type content= "text/html; charset=gb2312 ">
<STYLE type=text/css> TD {
FONT-SIZE: 9pt; LINE-HEIGHT: 13pt
}
A:link {
COLOR: #0b285d
}
A:unknown {
COLOR: #ff0000
}
A:hover {
COLOR: #0b285d; TEXT-DECORATION: none
}
A:active {
COLOR: #3333ff
}
A:visited {
COLOR: #5a12ab
}
.small {
FONT-SIZE: 9pt
}
.gray {
COLOR: #999999
}
.b1 {
FONT-SIZE: 12pt; COLOR: #ffffff
}
.white {
COLOR: #ffffff
}
.red {
COLOR: #ce0881
}
</STYLE>
<SCRIPT src= "calendar_new.js "> </SCRIPT>

<TABLE cellSpacing=0 cellPadding=0 width=750 align=center border=0>
<TBODY>
<TR>
<TD class=small vAlign=top width=150>
<BR>
</TD>
<TD vAlign=top borderColor=#0019c3 align=right width=600>
<TABLE borderColor=#fcbce6 height=420 cellSpacing=0 width=590 border=1>
<TBODY>
<TR vAlign=top>
<TD align=middle> <BR> <BR>
<FORM id=form1 name=form1 action=rentlist.asp method=post>
<TABLE borderColor=#fcbce6 cellSpacing=0 borderColorDark=#ffffff
cellPadding=1 width=570 bgColor=#fee9f7 border=1>
<TBODY>
<TR bgColor=#fcbce6>
<TD colSpan=2>
<DIV align=center> rl </DIV> </TD> </TR>
<TR>
<TD> 登记日期 </TD>
<TD> <INPUT
onclick= "fPopCalendar(BeginInputDate,BeginInputDate);return false "
readOnly name=BeginInputDate> - <INPUT
onclick= "fPopCalendar(EndInputDate,EndInputDate);return false "
readOnly name=EndInputDate> </TD>

</TR>
</TBODY> </TABLE>
<DIV> </DIV> </FORM> </TD> </TR> </TBODY> </TABLE> </TD> </TR> </TBODY> </TABLE>


</BODY> </HTML>
------解决方案--------------------
<html xmlns:v= "urn:schemas-microsoft-com:vml "
xmlns:o= "urn:schemas-microsoft-com:office:office "
xmlns= "http://www.w3.org/TR/REC-html40 ">
<head>
<META http-equiv= "Content-Type " content= "text/html; Charset=UTF-8 ">
<META HTTP-EQUIV= "pragma " CONTENT= "no-cache ">
<META HTTP-EQUIV= "Cache-Control " CONTENT= "no-cache, must-revalidate ">
<title> 流程监控 </title>
<STYLE>
v\:*{behavior:url(#default#VML);}
o\:* { behavior: url(#default#VML) }
</STYLE>
<script>