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

HTML/XHTML教程
CSS样式表设计的十条技巧
什么样的界面算是好界面-7个案例
CSS+JS实现的选项卡效果
用CSS设计高体验的表单显示效果示例
利用css和js实现firefox和IE都支持的页面局部打印
针对各种版本的浏览器隐藏CSS的九大技巧
Div+CSS布局入门教程
在DIV+CSS排版中新闻列表的制作方法
实践DIV+CSS网页布局入门指南
HTML中meta详解
有关HTML代码的另类应用技巧
彻底弄懂CSS盒子模式(DIV布局)
页面制作人员的修练之道
注意:HTML文件也能格式化硬盘
小技巧:让广告代码不再影响你的网页加载速度
进阶:彻底弄懂CSS盒子模式之二
彻底弄懂CSS盒子模式之三
详解css定位与定位应用
ASP生成静态Html文件技术杂谈
CSS的倡导者:学习CSS的10大理由

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-04   浏览: 85 ::
收藏到网摘: 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>