⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dhtml.htm

📁 有很多很实用的方法
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb_2312-80">
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title>javascript</title>
</head>

<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#660099">

<table border="0" cellpadding="0" width="530" celspacing="0">
  <tr>
    <td><font size="3" color="#0000FF" face="宋体"><a
    href="../../../tppmsgs/msgs0.htm#52" tppabs="http://www.webmonkey.com.cn/design.html" target="_top">网页设计</a><a
    href="../../../tppmsgs/msgs0.htm#53" tppabs="http://www.webmonkey.com.cn/html.html" target="_top">/HTML文件</a><a
    href="../../../tppmsgs/msgs0.htm#32" tppabs="http://www.webmonkey.com.cn/dynamic_html.htm" target="_top">/动态HTML文件</a></font><a
    href="../../../tppmsgs/msgs0.htm#54" tppabs="http://www.webmonkey.com.cn/stylesheets.html"><font size="2" color="#0000FF"
    face="宋体">/Stylesheets</font></a><font size="3" color="#0000FF" face="宋体"><a
    href="../../../tppmsgs/msgs0.htm#55" tppabs="http://www.webmonkey.com.cn/graphics.html" target="_top">/图形与字体</a><a
    href="../../../tppmsgs/msgs0.htm#56" tppabs="http://www.webmonkey.com.cn/multimedia.html" target="_top">/多媒体</a></font><font
    size="2" color="#0000FF" face="宋体">&nbsp;</font></td>
  </tr>
  <tr>
    <td><a href="../../../tppmsgs/msgs0.htm#57" tppabs="http://www.webmonkey.com.cn/browsers.html" target="_top"><font size="3"
    color="#0000FF" face="宋体">浏览器</font></a><font size="2" color="#0000FF"
    face="宋体"><a href="../../../tppmsgs/msgs0.htm#58" tppabs="http://www.webmonkey.com.cn/java.html">/Java</a><a
    href="../../../tppmsgs/msgs0.htm#31" tppabs="http://www.webmonkey.com.cn/javascript.html">/JavaScript</a><a
    href="../../../tppmsgs/msgs0.htm#33" tppabs="http://www.webmonkey.com.cn/perl.html">/<nobr>Perl</nobr></font><font
    color="#0000FF" face="宋体">语言</font></a><nobr><font size="2" color="#0000FF"
    face="宋体"><a href="../../../tppmsgs/msgs0.htm#59" tppabs="http://www.webmonkey.com.cn/backend.html">/Backend</a><a
    href="../../../tppmsgs/msgs0.htm#60" tppabs="http://www.webmonkey.com.cn/e_business.htm">/</font><font size="3" color="#0000FF"
    face="宋体">电子商务</font></a></nobr></td>
  </tr>
  <tr>
    <td width="530"><font face="宋体"><img src="../../spacer.gif" tppabs="http://www.webmonkey.com.cn/spacer.gif" width="530" height="8"><br>
    <nobr><!-- TOP NAVIGATION and SPONSOR STUFF --> <font size="5"><a href="../../../tppmsgs/msgs0.htm#50" tppabs="http://www.webmonkey.com.cn/javascript/code/webmonkey.html"><b>webmonkey</b></a><a
    href="../../../tppmsgs/msgs0.htm#31" tppabs="http://www.webmonkey.com.cn/javascript.html">/javascript</a><a href="code.htm" tppabs="http://www.webmonkey.com.cn/javascript/code/code.htm">/code</a>/ 
    </font><strong><font size="4">DHTML</font></strong></nobr></font></td>
  </tr>
  <tr>
    <td width="530"><font face="宋体" size="2">网猴的Javascript代码库收集了我们自己制作的代码、函数包、及网页编辑器功能扩展其<br>
    中既有通用目的的编码,也有用于特定用途的程序、以及一些你可以以来改善你的网页的<br>
    优秀设计思想。其中的代码你可以免费下载使用。</font></td>
  </tr>
</table>

<table border="0" cellpadding="0" width="546" celspacing="0">
<!-- sponsor -->
<!-- BUFFER -->
  <tr>
    <td rowspan="99" width="15"></td>
    <td valign="top" rowspan="99" width="195" bgcolor="#CCFFCC"><font face="宋体"><img
    src="../../../static.wired.com/webmonkey/images/spacer.gif" tppabs="http://static.wired.com/webmonkey/images/spacer.gif" width="195" height="1"><br>
<!-- RESOURCES --><!-- <font size="4" face="arial, helvetica, sans-serif"><B>Resources</B></font><br> --><!-- COLLECTION RESOURCES -->    </font><p><a href="lang_ext.html" tppabs="http://www.webmonkey.com.cn/javascript/code/lang_ext.html"><font size="2"><b>数组功能的扩展</b></font></a><font
    face="宋体"><br>
    <font size="2">JavaScript 1.2</font><small>只能应用于<font face="宋体"><br>
    Netscape 4.0</font>,它为数组对象<font face="宋体"><br>
    </font>添加了几种基本<strong>方法</strong>。在表格<font face="宋体"><br>
    </font>中还包含了几种可以用于<font face="宋体">3.0</font>版<font
    face="宋体"><br>
    </font>浏览器的有用的<strong>方法</strong>。<font face="宋体"><br>
    </font></small></font></p>
    <p><a href="forms_data.html" tppabs="http://www.webmonkey.com.cn/javascript/code/forms_data.html"><font size="2"><b>网猴<font face="宋体">Cookies</font>集锦</b></font></a><font
    face="宋体"><br>
    </font><font size="2">这些函数可以大大简化你使用<font face="宋体">cookies</font>时的麻烦。<br>
    </font></p>
    <p><a href="layout_css.html" tppabs="http://www.webmonkey.com.cn/javascript/code/layout_css.html"><b><font size="2">网猴的<font face="宋体">netscape</font>浏览器窗<br>
    口</font><font face="宋体" size="2">CSS</font><font size="2">纠正器</font></b></a><font
    face="宋体"><br>
    </font><font size="2">这几种函数可以纠正不幸的<br>
    <font face="宋体">Netscape 4</font>在显示带有<font face="宋体">CSS</font>属性<br>
    的网页时如果改变了浏览器窗口<br>
    的尺寸而带来的<font face="宋体">CSS</font>信息缺损。<br>
    </font><br>
    <font face="宋体"><small><a
    href="../tutor/tutorial1_page1.html" tppabs="http://www.webmonkey.com.cn/javascript/tutor/tutorial1_page1.html"><b><font
    face="宋体">JavaScript</font>教程<font face="宋体">: </font>第一天</b></a><br>
    </small><font size="1">Thau </font><small>向你介绍<font face="宋体">JavaScript ,</font>同</small><br>
    <small>时带你开始写你的第一个程序<font face="宋体">.</font></small></font></p>
    <p><font face="宋体"><!-- Book Reviews --></font><small><strong><a
    href="../../../tppmsgs/msgs1.htm#106" tppabs="http://www.webmonkey.com.cn/javascript/ani_flipbook.htm">用Javascript制作动画</a></strong><small><br>
    </small>本篇中用两个动画实例教你运用Javascript的图片<br>
    变换功能实现动画效果。<small><br>
    <br>
    </small><strong><a href="../../../tppmsgs/msgs1.htm#107" tppabs="http://www.webmonkey.com.cn/javascript/DOM.htm">文件对象模块-DOM</a></strong><small><br>
    </small>文件对象模块是Javascript运</small><br>
    <small>用的核心内容,了解了DOM,你</small><br>
    <small>就掌握了Javascript编程的基</small><br>
    <small>本原则。<br>
    <small><br>
    </small><strong><a href="../../../tppmsgs/msgs1.htm#108" tppabs="http://www.webmonkey.com.cn/javascript/dhtml_zoom.htm">制作自由缩放的图象</a></strong><small><br>
    </small>当你点击实例中的链接时,图象</small><br>
    <small>的尺寸就会随机变化。由于</small><br>
    <small>Navigator应用的是Layers技</small><br>
    <small>术,则该程序运用于Navigator</small><br>
    <small>时需要做一些变通处理。在文章</small><br>
    <small>中详细介绍了实例的制作原理</small><big><big><font face="宋体"> <br>
    </font></big></big></td>
<!-- BUFFER -->
    <td rowspan="99" width="10"></td>
    <td valign="top" width="326"><font face="宋体"><font size="4"><b>DHTML</b><br>
    <font color="#ff3300">- - - - - - - - - -</font></font><big><br>
    </big><a href="wm_move.htm" tppabs="http://www.webmonkey.com.cn/javascript/code/wm_move.htm"><font size="3"><b>WM_moveTo</b></font></a><big><br>
    </big></font><font size="3">该函数能将已经定位的对象从其当前位置<br>
    移到新位置。<br>
    <font face="宋体"><font color="#000000"><nobr><b>IE 4, Netscape 4 </b></nobr></font><br>
    <b><br>
    <a href="wm_bkgcolor.htm" tppabs="http://www.webmonkey.com.cn/javascript/code/wm_bkgcolor.htm">WM_changeLayerBgcolor</a></b></font><big><br>
    </big>该函数改变一个或多个<font face="宋体">DIV</font>或<font face="宋体">SPAN</font>的背景<br>
    色。<br>
    <font face="宋体"><font color="#000000"><nobr><b>IE 4, Netscape 4 </b></nobr></font><br>
    <b><br>
    <a href="wm_img_swp.html" tppabs="http://www.webmonkey.com.cn/javascript/code/wm_img_swp.html">WM_imageSwap</a></b></font><big><br>
    </big><font size="3">WM_imageSwap()</font>改变图象源,从而在初始<br>
    图象的位置显示新的图象。<br>
    <font face="宋体"><font color="#000000"><nobr><b>IE 4, Netscape 3-4, Opera 3 </b></nobr></font><br>
    <b><br>
    <a href="wm_checkin_full.html" tppabs="http://www.webmonkey.com.cn/javascript/code/wm_checkin_full.html">WM_checkin (</font>完整版<font face="宋体">)</font></a></b><big><br>
    </big>该函数提取已定位的<font face="宋体">HTML</font>元素的<font
    face="宋体">ID</font>名称,<br>
    返回一个对象引用。完整版的<font face="宋体">WM_checkin() <br>
    </font>可以同<font face="宋体">Netscape</font>中的嵌入式<font face="宋体">DIV</font>以及<br>
    <font face="宋体">Internet Explorer</font>中的全球样式配合使<br>
    用。<br>
    <font face="宋体"><font color="#000000"><nobr><b>IE 4, Netscape 4 </b></nobr></font><br>
    <b><br>
    <a href="wm_checkin.htm" tppabs="http://www.webmonkey.com.cn/javascript/code/wm_checkin.htm">WM_checkin (</font>简化版<font face="宋体">)</font></a></b><big><br>
    </big>该函数提取已定位的<font face="宋体">HTML</font>元素的<font
    face="宋体">ID</font>名称,<br>
    返回一个对象引用。<br>
    <font face="宋体"><font color="#000000"><nobr><b>IE 4, Netscape 4 </b></nobr></font><br>
    <b><br>
    <a href="wm_pos2_elmnt.html" tppabs="http://www.webmonkey.com.cn/javascript/code/wm_pos2_elmnt.html">WM_position2element</a></b></font><big><br>
    </big>该函数能设定两个动态<font face="宋体">HTML</font>元素之间的象<br>
    素距离。<br>
    <font face="宋体"><font color="#000000"><nobr><b>IE 4, Netscape 4 </b></nobr></font><br>
    <b><br>
    <a href="wm_scl_fnt.html" tppabs="http://www.webmonkey.com.cn/javascript/code/wm_scl_fnt.html">WM_scaleFont</a></b></font><big><br>
    </big><font size="3"><nobr>WM_scaleFont()</nobr></font>可以根据浏览器窗口的尺<br>
    寸相对缩放网页中文字的显示比例。<br>
    <font face="宋体"><font color="#000000"><nobr><b>IE 4, Netscape 4 </b></nobr></font><br>
    <b><br>
    <a href="wm_pl_img.html" tppabs="http://www.webmonkey.com.cn/javascript/code/wm_pl_img.html">WM_preloadImages</a></b></font><big><br>
    </big><font size="3">WM_preloadImages()</font>将一系列图象作为参<br>
    数,并将其放入高速缓存中。<br>
    <font face="宋体"><font color="#000000"><nobr><b>IE 4, Netscape 3-4, Opera 3 </b></nobr></font><br>
    <b><br>
    <a href="wm_ns_css_rs_fx.html" tppabs="http://www.webmonkey.com.cn/javascript/code/wm_ns_css_rs_fx.html">WM_netscapeCSSResizeFix</a></b></font><big><br>
    </big>这些函数纠正<font face="宋体">Netscape 4</font>在显示带有<font
    face="宋体">CSS<br>
    </font>属性的网页时由于浏览器窗口尺寸调整而<br>
    造成的<font face="宋体">CSS</font>信息缺损。<br>
    <font face="宋体"><font color="#000000"><nobr><b>Netscape 4 </b></nobr></font><br>
    </font><b><font size="4"><br>
    </font>递交</b></font><font face="宋体"><big><br>
    <font color="#ff3300">- - - - - - - - - -</font><br>
    </big></font><font size="3">如果你有编好的代码愿意和网猴分享,请<br>
    你<a href="mailto:bruce@itc.cn.net">发送给我们</a>。</font><font face="宋体"
    size="3"> </font><font face="宋体"><big><br>
    &nbsp;</big></font></td>
  </tr>
</table>

<p><font face="宋体"><br>
</font></p>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -