📄 day5_1.html
字号:
</tr>
<tr>
<td colspan="2">-<a href="../../1-graphics/index.html">图形与字体</a></td>
</tr>
<tr>
<td colspan="2">-<a href="../../1multimedia/index.html">多媒体教程</a></td>
</tr>
<tr>
<td colspan="2"><a href="../../1-os/index.html">-操作系统</a></td>
</tr>
<tr>
<td colspan="2">-<a href="../../1-e_business/index.html">电子商务</a></td>
</tr>
<tr>
<td colspan="2">-<a href="../../1-director/index.html">Director</a> </td>
</tr>
<tr>
<td colspan="2" align="center" bgcolor="#666699"><a href="../../1-download/index.htm"><font color="#FFFFFF">网猴下载</font></a></td>
</tr>
<tr>
<td colspan="2">-<a href="../../1-download/page1.htm">网页制作</a></td>
</tr>
<tr>
<td colspan="2">-<font color="#000000"><a href="../../1-download/page2.htm">程序设计</a></font></td>
</tr>
<tr>
<td colspan="2">-<font color="#000000"><a href="../../1-download/page3.htm">网站设计</a></font></td>
</tr>
<tr>
<td colspan="2">-<font color="#000000"><a href="../../1-download/page4.htm">电子商务</a></font>
</td>
</tr>
<tr>
<td colspan="2" align="center" bgcolor="#666699"><a href="../../1-teach/index.htm"><font color="#FFFFFF">实用技巧</font></a></td>
</tr>
<tr>
<td colspan="2">-<a href="../../1-teach/internet/index.htm">Internet应用</a></td>
</tr>
<tr>
<td colspan="2">-<a href="../../1-teach/photoshop/index.html">Photoshop</a></td>
</tr>
<tr>
<td colspan="2">-<a href="../../1-teach/flash/page1.html">Flash</a></td>
</tr>
<tr>
<td colspan="2">-<a href="../../1-teach/asp/index.html">ASP</a></td>
</tr>
<tr>
<td colspan="2">-<a href="../../1-teach/php/index.html">PHP</a></td>
</tr>
<tr>
<td colspan="2">-<a href="../../1-teach/java/index.htm">Java</a></td>
</tr>
<tr>
<td colspan="2">-<a href="../../1-teach/vb/index.htm">VB</a></td>
</tr>
<tr>
<td colspan="2">-<a href="../../1-teach/c/index.htm">C、C++</a></td>
</tr>
<tr>
<td colspan="2">-<a href="../../1-backend/database/php_mysql/index.html">PHP/MySQL</a></td>
</tr>
<tr>
<td colspan="2"><a href="../../1-backend/cgi_perl/perl_beginner/index.html">-Perl</a>
</td>
</tr>
<tr>
<td colspan="2">-<a href="../../1-teach/other/index.htm">其它</a> </td>
</tr>
<tr>
<td colspan="2" bgcolor="#666699">
<div align="center"><font color="#FFFFFF">更多教程</font></div>
</td>
</tr>
<tr>
<td colspan="2" height="17"><a href="../../1hdml/index.html">-HDML</a></td>
</tr>
<tr>
<td colspan="2" height="23"><font face="宋体"><a href="../../1-backend/database/course/day1_1.html">-网络数据库</a></font></td>
</tr>
<tr>
<td colspan="2" height="14"><a href="../../1-backend/protocols/ping/index.html"><font face="arial, helvetica, sans-serif">Ping</font></a></td>
</tr>
<tr>
<td colspan="2" height="20"><a href="../../1-backend/cgi_perl/search_engine/index.html">-创建搜索引擎</a></td>
</tr>
<tr>
<td colspan="2" height="16">-<a href="../../1adobe/GoLive/index.html">Adobe GoLive</a></td>
</tr>
<tr>
<td colspan="2"><a href="../../1-backend/cgi_perl/templates/index.html">模板</a></td>
</tr>
<tr>
<td colspan="2" align="center" bgcolor="#666699"><font color="#FFFFFF">合作伙伴</font></td>
</tr>
<tr>
<td colspan="2" align="left">-<a href="http://www.5dmedia.com/" target="_blank">5D精英网</a></td>
</tr>
<tr align="center">
<td colspan="2"> <img src="../../Library/front_monkey.gif" width="59" height="68"></td>
</tr>
</tbody>
</table>
<br><!-- #EndLibraryItem --></td>
<!-- End of headlines (column 1: left column) --> <!-- Gutter between columns 1 and 2 -->
<td width="10" height="794"><img src="http://www.sohu.com/images/pixel.gif" width=10></td>
<!-- Search box and directories (columns 2 and 3: middle columns, combined into one) -->
<td align=center valign=top width="558">
<div align="left"><!-- #BeginEditable "1" -->
<title>JavaScrip教程</title>
<strong>第一页:<font size="3">第五课课程介绍</font></strong>
<p><font size="3">现在你已经了解了计算机编程的基本知识。我们接下来继续研<br>
究一下文件对象模块(<font face="宋体">Document Object Model</font>-<font face="宋体">DOM</font>)。<font face="宋体">DOM</font>的<br>
点击关系起始于窗口对象在每个窗口对象中是一个文件对象<br>
(<font face="宋体">Document object</font>)。我们将重点谈谈文件对象,看看如何利<br>
用它从你的用户获得各项信息,并且动态显示新的信息。</font></p>
<font size="3">
<p>我们已经看国文件对象的一个属性-图象数组(<font face="宋体">Images<br>
array</font>)。在第<font face="宋体">3</font>课中,文件中第<font face="宋体">1</font>个图象可以通过改变其<font face="宋体">src</font>属<br>
性被修改。 </p>
<p>例:
<ul>
<pre><font face="宋体">window.document.images[0].src='some_new_picture.gif';
</font></pre>
</ul>
<p>该命令将把文件中的第1个图象该到一个<tt>名为<br>
<font face="宋体">some_new_picture.gif</font></tt>的新图象。在DOM中,图象数组中的每个<br>
图象也是对象。所以<font face="宋体"><tt>images[0].src</tt></font>指令象对对象那样发挥作用,<br>
它的意思就是:从<font face="宋体">Image</font>数组中调用<font face="宋体">Image</font>的中的对象<tt><font face="宋体">image[0]</font></tt>,<br>
并设定其<font face="宋体">src</font>属性。将其翻译过来即:从该窗口中调用文件<br>
(<font face="宋体">document</font>)属性,从该文件的图象数组中调用第<font face="宋体">1</font>幅图象,并<br>
将其<font face="宋体">src</font>属性该为<tt>图象<font face="宋体">some_new_picture.gif</font></tt>。</p>
</font>
<p><font size="3"><font face="宋体">Image</font>对象还有其它很多有趣的属性,例如,你可以让<font face="宋体">JavaScript</font><br>
在作其它事之前检查一幅图象是否已经完全载入。但是,我们<br>
只能在以后的课程中谈到这些属性。今天,我们将谈谈<a href="day5_2.html">反馈表单</a><br>
及如何在<font face="宋体">JavaScript</font>中应用反馈表单。</font></p>
<p align="left"><font face="宋体" size="3" color="#000000"><strong>JavaScript教程</strong></font><font color="#FF0000" face="宋体" size="3"><br>
</font><font size="3"><font color="#FF0000">第一页</font> 第五课课程介绍<br>
<font color="#FF0000">第二页</font> <a href="day5_2.html">介绍反馈表单</a><br>
<font color="#FF0000">第三页</font> <a href="day5_3.html">控制文字域的值</a><br>
<font color="#FF0000">第四页</font> <a href="day5_4.html">文字域事件</a><br>
<font color="#FF0000">第五页</font> <a href="day5_5.html">反馈表单处理器</a><br>
<font color="#FF0000">第六页</font> <a href="day5_6.html">文字域的练习</a><br>
<font color="#FF0000">第七页</font> <a href="day5_7.html">复选框</a><br>
<font color="#FF0000">第八页</font> <a href="day5_8.html">单选框</a><br>
<font color="#FF0000">第九页</font> <a href="day5_9.html">选单</a><br>
<font color="#FF0000">第十页</font> <a href="day5_10.html">在选单中应用<font face="宋体">onchange</font>命令</a></font></p>
<p align="left"><font face="宋体" size="3">[<a href="index.html">第1课</a>][<a href="day2_1.html">第2课</a>][<a href="day3_1.html">第3课</a>][<a href="day4_1.html">第4课</a>][第5课]</font></p>
<!-- #EndEditable --></div>
</td>
<!-- End of search box and directories (columns 2 and 3: middle columns, combined into one) -->
<!-- Gutter between columns 3 and 4 --> <!-- Other stuff (column 4: right column) -->
<!-- End of other stuff (column 4: right column) --> </tr>
</table>
<!-- End of table surrounding page contents -->
<hr noshade size=1 width=700>
<span class=eng><br>
Copyright (C) 1998-2000 Internet Technologies China. All rights reserved.
</span>
</center>
</body>
<!-- #EndTemplate --></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -