当前位置: 首页 > 图文教程 > 网页制作 > HTML/XHTML教程 > 源码学习:一个简单的日历控件(11)

HTML/XHTML教程
HTML教程:DOCTYPE 的缩写
掌握常用的用于网页中引用内容的HTML标记
10个未被充分利用或被误解的HTML标签
网站超级链接的打开方式探讨
网页中flash wmode属性你会用吗?
XHTML教程:Transitional和Strict的区别
网页设计之5种简单的XHTML网页表单
制作主流邮箱能正常显示的HTML邮件的技巧
网页布局设计的简单原则
W3C教程(14):W3C RDF和OWL活动
W3C教程(16):其他的W3C活动
W3C教程(13):W3C WSDL 活动
W3C教程(15):W3C SMIL 活动
作用相似html标记:strong与em、q、cite、blockquote
html 基底网址标记
GET POST 区别详解
圆角矩形的html+css实现代码
HTML title 属性换行的办法
html tbody 用法
nofollow让评论和留言中的链接起到真正的作用

HTML/XHTML教程 中的 源码学习:一个简单的日历控件(11)


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-04   浏览: 87 ::
收藏到网摘: n/a

    menupad=new Array();
    menupad[0]=new Array("替换");
    menupad=new Array("--");
    menupad=new Array("无间道");
    menupad=new Array("无孔不入");

    var menu=new atMenu(menubar,menupad);
   }
  </script>
  </HEAD>

  calendar.html

  <BODY>
  <table width="750" border="0" cellpadding="1" cellspacing="3">
    <tr>
    <td width="225">&nbsp;</td>
    <td width="482">&nbsp;</td>
    <td width="21">&nbsp;</td>
    </tr>
    <tr>
      <td height="123">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td> <form name="form1" method="post" action="">
        <label>输入日期: </label>
        <input name="dateInput" type="text" id="dateInput" size="12" maxlength="12" readonly="1" />
        <img src="/upload/tech/20091104/20091104154818_9ad6aaed513b73148b7d49f70afcfb32.gif" width="18" height="18" onClick="CalendarWebControl.show(form1.dateInput,'',this);" title="显示日历" />
      </form>
      <label></label></td>
    <td>&nbsp;</td>
  </tr>
  </table>
  <table width="750" border="0">
    <tr>
    <td width="245">&nbsp;</td>
    <td width="83">&nbsp;</td>
    <td width="408">&nbsp;</td>
    </tr>
    <tr>
    <td height="18">&nbsp;</td>
    <td>&nbsp;</td>
    <td><select name="select">
        <option selected>我被calendar遮挡了</option>
      </select></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  </table>
  日期:
  <input name="dateInput" type="text" id="dateInput" size="12" maxlength="12" readonly="1" value="2003-12-22" onClick="CalendarWebControl.show(this,this.value);" />
  </BODY>
  </HTML>