asp读取服务器的javascript读取本地时间,较为好看
不过时间一定要准确(看你本机地时间)
你看到地多数是用这个做地

解决方案 »

  1.   

    自己的能力还不够,做不出来,现在有需要所以想找个来用。
    找了个WebCalendar,看起来不错,但是再JSP里面好像用不了,
    看看大家有什么意见!
      

  2.   

    <script language="javascript">
    function GridCellEffect()
    {
    if(calendar.GridCellEffect==0)
    return calendar.GridCellEffect=1;
    if(calendar.GridCellEffect==1)
    return calendar.GridCellEffect=2;
    if(calendar.GridCellEffect==2)
    return calendar.GridCellEffect=0;
    }
    function rgb(r,g,b)
    {
    return b*256*256+g*256+r;
    }</script><object classid="clsid:8E27C92B-1264-101C-8A2F-040224009C02" width=300 height=160 border=1 hspace=5 id=calendar>
    <param name="day" value=08>
    <param name="month" value=09>
    <param name="year" value=2004>
    </object>
    <br><br>
    <input type=button value="NextWeek" onClick="calendar.NextWeek()"><input type=button value="GetDay" onClick="alert(calendar.Day)"><input type=button value="GetMonth" onClick="alert(calendar.Month)"><input type=button value="GetYear" onClick="alert(calendar.Year)"><input type=button value="ShowTitle" onClick="calendar.ShowTitle=!calendar.ShowTitle"><input type=button value="ShowDateSelectors" onClick="calendar.ShowDateSelectors=!calendar.ShowDateSelectors"><br><input type=button value="ShowDays" onClick="calendar.ShowDays=!calendar.ShowDays"><input type=button value="ShowHorizontalGrid" onClick="calendar.ShowHorizontalGrid=!calendar.ShowHorizontalGrid"><input type=button value="ShowVerticalGrid" onClick="calendar.ShowVerticalGrid=!calendar.ShowVerticalGrid"><input type=button value="GridCellEffect" onClick="GridCellEffect()"><input type=button value="BackColor" onClick="calendar.BackColor=rgb(255,90,90)"><input type=button value="DayFontColor" onClick="calendar.DayFontColor=rgb(255,255,255)"><input type=button value="GridFontColor" onClick="calendar.GridFontColor=rgb(128,255,128)"><input type=button value="GridLinesColor" onClick="calendar.GridLinesColor=rgb(255,0,255)">这个不错
      

  3.   

    http://www.meizz.com/web/download/Web_Calendar_30.rar
    -----------------------------------------------------
    To: PoPoTang(泡泡棠)
        "目前还没有日历是带复选框的"
    ----------------------------------
    这个复选框是干什么用的呀, 我现在正在升级我的日历, 所以收集得信息越多越好
      

  4.   

    http://www.mattkruse.com/javascript/calendarpopup/这个不错的,看最后一个,能不能符合你的要求