📄 page2.html
字号:
<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" --><font color="#000000"><font color="#FF0000"><b><font color="#000000">文本对象模块(DOM)介绍</font></b></font><b></b></font><br>
<br>
<br>
<font color="#FF0000">第二页:文本对象模块的内容</font>
<hr noshade>
文本对象模块会创建许多对象,这些对象又有子对象,子对象则还可以再包容下属子对象。表示不同对象的方法即可以通过指向对象分级序列的位置,也可以通过给HTML元素提供具体ID属性的方法来实现,如<code><img
src="foo.gif" ID="blueMarble"></code>。 下面列出最常用的一些对象:<br>
<br>
*window<br>
-location<br>
-frames<br>
-history<br>
-navigator <br>
-event<br>
-screen<br>
-document<br>
----links<br>
----anchors<br>
----images<br>
----filters <br>
----forms<br>
----applets<br>
----embeds<br>
----plug-ins<br>
----frames<br>
----scripts<br>
----all<br>
----selection<br>
----stylesheets<br>
----body <br>
<br>
你可以看到对象的内容非常丰富,当你希望实现新闻标题的动态效果,你就必须采取下面两种方法:一是从文本对象开始按对象级别顺序执行,或者使用元素的具体ID或NAME名称来指代对象。例如,如果你想将某页第23个元素变为蓝色,你可以这样做:<br>
<br>
document.all(23).style.color = 'blue'; <br>
<br>
如果你知道元素的名称为"Freddie",则可以表示为:<br>
<br>
document.all('Freddie').style.color = 'blue'; <br>
<br>
你还可以完全脱离分级树形结构,把代码写为:<br>
<br>
Freddie.style.color = 'blue'; <br>
<br>
眼光尖锐的读者很可能会注意到无论我指向哪个HTML对象,该对象都有一个子对象"style",该对象会出现在任何网页元素内,可由层叠样式表来表现。在样式对象下面是所有层叠样式表属性都会有的代表,其中会包括层叠样式表的位置元素。因此说我在实现标题动画效果的操作过程中主要时间都用在了控制对象样式属性方面上。
本文目的是向您简略介绍文本对象模块,文本对象模块的发展速度飞快,有很多有关其作用的具体问题,你可以通过文本对象模块实现很多非常有趣的效果,我会在以后的文章中继续介绍文本对象模块的更多知识。如果你想了解万维网联盟(W3C)对文本对象模块草拟的规范,请前往该组织的相关网页进行查询。另外如果你使用的是Internet
Explorer 4.x版本的浏览器,也可以查询Internet Explorer的Microsoft软件开发包(SDK)的信息,这里面包括了预发行第二版的SDK全部列表信息。<br>
<br>
<font color="#000000"><a href="index.html">首页</a><br>
</font>
<table width="99%" border="0">
<tr>
<td width="47%">1)<a href="page1.html">第一节:什么是文本对象模块?</a></td>
<td width="53%">2)<font color="#FF0000">第二节:文本对象模块的内容</font></td>
</tr>
</table>
<!-- #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 + -