📄 day3_6.html
字号:
<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 face="宋体" size="3">第六页:</font></strong><b><font size="2" face="宋体">JavaScript</font></b><strong><font size="3">文件目标模块</font></strong>
<p><font size="2"></font><font size="3">既然你已经知道如何按你自己的意愿打开窗口,那么现在开始<br>
学习怎样在窗口中操作一些事。在此之前你要学习一下<br>
<font face="宋体">JavaScript</font>的文件目标模块(<font face="宋体">DOM</font>),首先,让我们学一点“目<br>
标导向编程”。</font></p>
<p> <font size="3"></font><font size="3" face="宋体">概述目标导向编程</font></p>
<p> <font size="2"></font><font size="3">目标导向编程 <font face="宋体">- </font>特别是<font face="宋体">JavaScript</font>版本的
<font face="宋体">- </font>是比较容易理<br>
解的。其主旨是信息依据目标组织。<font face="宋体">JavaScript</font>其优越处之一<br>
在于其带有一内建式目标库。例如,一个窗口即一个对象。无<br>
论何时我提到一个缺省的<font face="宋体">JavaScript</font>库对象,我将使用大<br>
写(<font face="宋体">Window</font>)。特定的情况(特定的窗口)将用小写。</font></p>
<font size="3">
<p>对象都有用以描述它们的属性。窗口对象的其中一些属性是它<br>
的名字,(即状态条上的字),窗口文件的<font face="宋体">URL</font>,及窗口文件<br>
本身。(其中包括单字,图形及窗口中的超文本链接。)</p>
<p>在<font face="宋体">JavaScript </font>中缺省的窗口对象为 <font face="宋体">window.</font>这里你可了解你将<br>
如何获取缺省窗口的属性。</p>
<blockquote>
<pre>
<font face="宋体">var the_status = window.status;
</font></pre>
</blockquote>
<p>这是说:找到称为<font face="宋体">window </font>的<font face="宋体">status</font>属性,将之调用到变量<br>
<font face="宋体">the_status</font>中。窗口的<font face="宋体">status</font>特性包含了状态条上出现的词<br>
句。你也可事先设置它,像这样:</p>
<blockquote>
<pre><font face="宋体">
window.status = "I'm monkeying around!";
</font></pre>
</blockquote>
</font>
<p><font size="3">这是一个使用状态条的<a href="day3_7.html">例子</a>。</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" color="#FF0000">第</font><font color="#FF0000" face="宋体" size="3">一</font><font size="3" color="#FF0000">页</font><font size="2" face="宋体">
</font><a href="day3_6.html"><font size="3">第三天课程简介</font></a><font size="2"><br>
</font><font size="3" color="#FF0000">第</font><font face="宋体" size="3" color="#FF0000">二</font><font size="3" color="#FF0000">页</font><font size="2" face="宋体">
</font><a href="day3_2.html"><font size="3">窗口操作介绍</font></a><font size="2"><br>
</font><font size="3" color="#FF0000">第</font><font face="宋体" size="3" color="#FF0000">三</font><font size="3" color="#FF0000">页</font><font size="2" face="宋体">
</font><a href="day3_3.html"><font size="3"><strong>Javascript</strong>中的窗口操作</font></a><font size="2"><br>
</font><font size="3" color="#FF0000">第</font><font face="宋体" size="3" color="#FF0000">四</font><font size="3" color="#FF0000">页</font><a href="day3_4.html">
<font size="2" face="宋体"><b>JavaScript</b></font><font size="3">中的窗口操作举例</font></a><font size="2"><br>
</font><font size="3" color="#FF0000">第</font><font face="宋体" size="3" color="#FF0000">五</font><font size="3" color="#FF0000">页</font><a href="day3_5.html">
<font size="2" face="宋体"><b>Windows</b></font><font size="3">特性</font></a><font size="2"><br>
</font><font size="3" color="#FF0000">第</font><font face="宋体" size="3" color="#FF0000">六</font><font size="3" color="#FF0000">页</font><font size="2" face="宋体">
<b>JavaScript</b></font><font size="3">文件目标模块</font><font size="2"><br>
</font><font size="3" color="#FF0000">第</font><font face="宋体" size="3" color="#FF0000">七</font><font size="3" color="#FF0000">页</font><font size="2" face="宋体">
</font><a href="day3_7.html"><font size="3">状态条的操作</font></a><font size="2"><br>
</font><font size="3" color="#FF0000">第</font><font face="宋体" size="3" color="#FF0000">八</font><font size="3" color="#FF0000">页</font><font size="2" face="宋体">
</font><a href="day3_8.html"><font size="3">窗口间的交流</font></a><font size="2"><br>
</font><font size="3" color="#FF0000">第</font><font face="宋体" size="3" color="#FF0000">九</font><font size="3" color="#FF0000">页</font><font size="2" face="宋体">
</font><a href="day3_9.html"><font size="3">再谈</font><font size="2" face="宋体"><b>JavaScript
DOM</b></font></a><font size="2" face="宋体"><br>
</font><font size="3" color="#FF0000">第</font><font face="宋体" size="3" color="#FF0000">十</font><font size="3" color="#FF0000">页</font><font size="2" face="宋体">
</font><a href="day3_10.html"><font size="3">窗口的其它特性</font></a><font size="2"><br>
</font><font size="3" color="#FF0000">第</font><font face="宋体" size="3" color="#FF0000">十一</font><font size="3" color="#FF0000">页</font><font size="2" face="宋体">
</font><a href="day3_11.html"><font size="3">再谈</font><font size="2" face="宋体"><b>Window</b></font><font size="3">及</font><font size="2" face="宋体"><b>Frame</b></font><font size="3">树杈结构</font></a><font size="2"><br>
</font><font size="3" color="#FF0000">第</font><font face="宋体" size="3" color="#FF0000">十二</font><font size="3" color="#FF0000">页</font><font size="2" face="宋体">
</font><a href="day3_12.html"><font size="3">自己动手操作</font></a><font size="2"><br>
</font><font size="3" color="#FF0000">第</font><font face="宋体" size="3" color="#FF0000">十三</font><font size="3" color="#FF0000">页</font><font size="2" face="宋体">
</font><a href="day3_13.html"><font size="3">第三天复习</font></a></p>
<p align="left"><font face="宋体" size="3">[<a href="index.html">第1课</a>][<a href="day2_1.html">第2课</a>][第3课][<a href="day4_1.html">第4课</a>][<a href="day5_1.html">第5课</a>]</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 + -