能不能帮忙写一个动态添加课程的课程表,前面一部分跟我给的代码差不多,一定只能用JS语言,用到select与option,不知道是不是应该用文本框啊

qq_24885695 2015-10-31 11:58:36
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>课程表</title>
</head>

<body>
<p align="center" style="font:'微软雅黑';font-size:24px">课程表</p>
<table border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#333333" style="font-size:18px">
<tr>
<td height="20" colspan="2" align="center" bgcolor="#FFFFFF">时间段</td>
<td width="100" height="20" align="center" bgcolor="#FFFFFF">起止时间</td>
<td width="200" height="20" align="center" bgcolor="#FFFFFF">星期一</td>
<td width="200" height="20" align="center" bgcolor="#FFFFFF">星期二</td>
<td width="200" height="20" align="center" bgcolor="#FFFFFF">星期三</td>
<td width="200" height="20" align="center" bgcolor="#FFFFFF">星期四</td>
<td width="200" height="20" align="center" bgcolor="#FFFFFF">星期五</td>
<td width="200" height="20" align="center" bgcolor="#FFFFFF">星期六</td>
<td width="200" height="20" align="center" bgcolor="#FFFFFF">星期日</td>

</tr>
<tr>
<td width="100" height="25" rowspan="5" align="center" bgcolor="#FFFFFF">上午</td>
<td width="140" height="25" align="center" bgcolor="#FFFFFF">第一节课</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF">8∶00~8∶45</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td width="140" height="25" align="center" bgcolor="#FFFFFF">第二节课</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF">8∶50~9∶35</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td width="140" height="25" align="center" bgcolor="#FFFFFF">第三节课</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF">9∶55~10∶40</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td width="140" height="25" align="center" bgcolor="#FFFFFF">第四节课</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF">10∶45~11∶30</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td width="140" height="25" align="center" bgcolor="#FFFFFF">第五节课</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF">11∶35~12∶20</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td width="100" height="25" rowspan="4" align="center" bgcolor="#FFFFFF">下午</td>
<td width="140" height="25" align="center" bgcolor="#FFFFFF">第六节课</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF">13∶30~14∶15</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td width="140" height="25" align="center" bgcolor="#FFFFFF">第七节课</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF">14∶20~15∶05</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td width="140" height="25" align="center" bgcolor="#FFFFFF">第八节课</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF">15∶25~16∶10</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td width="140" height="25" align="center" bgcolor="#FFFFFF">第九节课</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF">16∶15~17∶00</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td width="100" height="25" rowspan="3" align="center" bgcolor="#FFFFFF">晚上</td>
<td width="140" height="25" align="center" bgcolor="#FFFFFF">第十节课</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF">18∶30~19∶15</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td width="140" height="25" align="center" bgcolor="#FFFFFF">第十一节课</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF">19∶20~20∶05</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td width="140" height="25" align="center" bgcolor="#FFFFFF">第十二节课</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF">20∶10~20∶55</td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
<td width="150" height="25" align="center" bgcolor="#FFFFFF"></td>
</tr>
</table>
<br />
<hr />
</body>
</html>


...全文
147 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
本 PPT 介绍了制药厂房中供配电系统的总体概念与设计要点,内容包括: 洁净厂房的特点及其对供配电系统的特殊要求; 供配电设计的一般原则与依据的国家/行业标准; 从上级电网到工厂变电所、终端配电的总体结构与模块化设计思路; 供配电范围:动力配电、照明、通讯、接地、防雷与消防等; 动力配电中电压等级、接地系统形式(如 TN-S)、负荷等级与可靠性、UPS 配置等; 照明的电源方式、光源选择、安装方式、应急与备用照明要求; 通讯系统、监控系统在生产管理与消防中的作用; 接地与等电位连接、防雷等级与防雷措施; 消防设施及其专用供电(消防泵、排烟风机、消防控制室、应急照明等); 常见高压柜、动力柜、照明箱等配电设备案例及部分设计图纸示意; 公司已完成的典型项目案例。 1. 工程背景与总体框架 所属领域:制药厂房工程的公用工程系统,其中本 PPT 聚焦于供配电系统。 放在整个公用工程中的位置:与给排水、纯化水/注射用水、气体与热力、暖通空调、自动化控制等系统并列。 2. Part 01 供配电概述 2.1 洁净厂房的特点 空间密闭,结构复杂、走向曲折; 单相设备、仪器种类多,工艺设备昂贵、精密; 装修材料与工艺材料种类多,对尘埃、静电等更敏感。 这些特点决定了:供配电系统要安全可靠、减少积尘、便于清洁和维护。 2.2 供配电总则 供配电设计应满足: 可靠、经济、适用; 保障人身与财产安全; 便于安装与维护; 采用技术先进的设备与方案。 2.3 设计依据与规范 引用了大量俄语标准(ГОСТ、СНиП、SanPiN 等)以及国家、行业和地方规范,作为设计的法规基础文件,包括: 电气设备、接线、接地、电气安全; 建筑物电气装置、照明标准; 卫生与安全相关规范等。 3. Part 02 供配电总览 从电源系统整体结构进行总览: 上级:地方电网; 工厂变电所(10kV 配电装置、变压

51,410

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧