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

📄 wm_ckin_lite.html

📁 有很多很实用的方法
💻 HTML
字号:
<!-- check for different collection -->
<html>

<head>
<title>scale_font</title>
<meta name="description"
content="Webmonkey Array Enhancements: JavaScript 1.2, which works only in Netscape 4.0, adds several fundamental methods to the array object. A few of these very useful methods are included here in a form that can be used by 3.0 browsers.">
<meta name="keywords"
content="javascript, dhtml, javascript, code, scripting, dynamic, developer resource, developer, development, web
development, design, code, geek, warez, free, new, latest, news, tools,
info, tutorials, how-to, builder, web builder, page builder, javascript, dhtml, javascript, code, scripting, dynamic, developer resource,
developer, development, web development, design, code, geek, warez, free,
new, latest, news, tools, info, tutorials, how-to, builder, web builder,
page builder">
</head>

<body BGCOLOR="#ffffff" TEXT="#000000" link="#0000ff" Vlink="#660099">
<!-- TOP AD BANNER -->
<a
href="../../../tppmsgs/msgs0.htm#73" tppabs="http://nsads.hotwired.com/event.ng/Type=click&ProfileID=176&RunID=4311&AdID=5612&GroupID=1&FamilyID=415&TagValues=13.25.156.159.169.174.177.181.182.183.184.185.196.197.198.199.200.208.213.333.349.389.401.411.436.526&Redirect=http://www.microsoft.com/sitebuilder/vinterdev/vionsbn.asp?30600vibeta"
TARGET="_top"><nobr>

<p></nobr></a> </p>

<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"><br>
    <font face="宋体"><nobr><!-- TOP NAVIGATION and SPONSOR STUFF --> <font size="5"><a
    href="../../../tppmsgs/msgs0.htm#71" tppabs="http://www.webmonkey.com.cn/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><a
    href="editor_ext.htm" tppabs="http://www.webmonkey.com.cn/javascript/code/editor_ext.htm">editor_extension</a></font></nobr></font></td>
  </tr>
  <tr>
    <td width="530"><font face="宋体" size="2">网猴的Javascript代码库收集了我们自己制作的代码、函数包、及网页编辑器功能扩展其<br>
    中既有通用目的的编码,也有用于特定用途的程序、以及一些你可以以来改善你的网页的<br>
    优秀设计思想。其中的代码你可以免费下载使用。</font></td>
  </tr>
</table>

<table CELLPADDING="3" CELSPACING="0" BORDER="0" width="532">
<!-- AUTHOR IMAGE -->
  <tr>
<!-- BUFFER -->
    <td rowspan="100" width="10"><font face="宋体"><img
    SRC="../../../static.wired.com/webmonkey/images/spacer.gif" tppabs="http://static.wired.com/webmonkey/images/spacer.gif" WIDTH="10" HEIGHT="1"></font></td>
    <td width="165" valign="middle" align="right" colspan="2"></td>
<!-- HEADLINE -->
    <td width="365" valign="middle"><font size="4" color="#ff3300" face="宋体"><br>
    </font><font color="#ff3300" size="5"><b>WM-checkin(简化版)</b></font><font
    face="宋体"><br>
<!-- BYLINE -->    作者:<font color="#0000FF">Taylor</font></font></td>
  </tr>
<!-- SEE ALSO LINKS -->
  <tr>
    <td width="155" align="left" valign="top" bgcolor="#FFFFB5"><font face="宋体"><img
    SRC="../../../static.wired.com/webmonkey/images/spacer.gif" tppabs="http://static.wired.com/webmonkey/images/spacer.gif" WIDTH="155" HEIGHT="1"><br>
    <br>
    <font size="3"><b>Related Library Items</b></font><br>
    <font color="#ff3300">- - - - - - - - - -</font> <br>
    </font><font size="3"><b><a href="wm_chg_link_bh.html" tppabs="http://www.webmonkey.com.cn/javascript/code/wm_chg_link_bh.html">网猴的变换链接行<br>
    为(<font face="宋体">Change Link <br>
    Behavior</font>)</a></b></font><font face="宋体"><big><br>
    </big></font><font size="3">该<strong>行为</strong>能够使你改变<br>
    网页中一个或多个定<br>
    位链接将其指向不同<br>
    的<font face="宋体">URL</font>。</font><font size="2" face="宋体"><br>
    </font><p><font size="3"><a href="cookie.htm" tppabs="http://www.webmonkey.com.cn/javascript/code/cookie.htm"><b>网猴<font face="宋体">Cookies</font>集锦</b></a></font><font
    face="宋体"><br>
    </font><font size="3">这些函数可以大大简化你使用<font face="宋体">cookies</font>时<br>
    的麻烦。</font><font size="2"><br>
    </font><font face="宋体"><br>
    <br>
    </font></td>
<!-- BODY COPY -->
<!-- BUFFER -->
    <td width="10" rowspan="100"></td>
    <td width="357" valign="top" bgcolor="#ffffff" rowspan="100"><big> </big><font size="3"><table
    width="357" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td>这是编写跨平台动态<font face="宋体">HTML</font>非常重要的<font
        face="宋体">Javascipt</font>函数<font face="宋体"><br>
        </font>之一。它提取一个定位了的<font face="宋体">HTML</font>元素的<font
        face="宋体">ID</font>并返回一<font face="宋体"><br>
        </font>个对象引用。该简化版较短,不能支持<font face="宋体">Netscape</font>中<font
        face="宋体"><br>
        </font>的嵌入<font face="宋体"><tt>DIV</tt></font>或<font face="宋体">IE</font>中的全球样式。使用改函数时,泥<font
        face="宋体"><br>
        </font>只能使用费嵌入式行内样式。<font face="宋体"> </font><p><b>用法:</b><font
        face="宋体"><tt>foo = WM_checkIn('id');</tt> </font></td>
      </tr>
    </table>
    <p><b>欢迎剪贴使用<font face="宋体">!</b> </font></font><font size="2"></p>
    <form>
      <p><font face="宋体"><textarea cols="45" rows="20" wrap="off">

&lt;script language=&quot;JavaScript&quot;&gt;
<!--



function WM_checkIn(id) {

/*
WM_checkIn()
Takes the ID of a positioned HTML element and returns an object reference.

Source: Webmonkey Code Library
(http://www.hotwired.com/webmonkey/javascript/code_library/)

Author: Taylor
Author Email: taylor@wired.com
Author URL: http://www.taylor.org/

Usage: WM_checkIn('id')
*/

  // This function checks for DOM strategy, then 
  // returns an object reference.
  if (document.all) {
    return document.all[id].style;
  } else if(document.layers) {
    return document.layers[id];
  }
}


// -->

&lt;/script&gt;

</textarea> </font></p>
    </form>
    <p><font face="宋体"><br>
<!-- AUTHOR TAGLINE -->    </font></font></td>
  </tr>
  <tr>
    <td width="155" valign="bottom" bgcolor="#FFFFB5"><font face="宋体"><br>
    </font><font size="2" face="宋体">问题? 建议? 请<a href="mailto:bruce@itc.cn.net">告诉</a>网猴。</font></td>
  </tr>
</table>

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

⌨️ 快捷键说明

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