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

📄 day3_1.html

📁 java 的高级教程~~ 哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈~晕~打字很累的
💻 HTML
字号:
<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312-80"><style type="text/css"><!--a:link {  color: blue; text-decoration: none}a:visited {  color: purple; text-decoration: none}a:hover {  color: #CC0033; text-decoration: underline}--></style><title>JavaScript高级教程</title><script language="JavaScript"><!-- hide me// timedAlert// this just calls a function timedAlert(){	var the_timeout = setTimeout("alertAndRedirect();", 3000);}function alertAndRedirect(){	alert('OK! Exhale!');	window.location.replace("day3_2.html");}// show me --></script></head><body topmargin="1" leftmargin="2"><table border="0" width="591" cellspacing="0">  <tr>     <td bgcolor="#ffff99" width="451">JavaScript高级教程 - 第三课</td>  </tr>  <tr>     <td bgcolor="#FF6600" width="451"><a href="mailto:thau@wired.com">Thau</a></td>  </tr></table><div align="left">  <table border="0" width="630" cellspacing="0">    <tr>       <td width="458" valign="top" align="left" rowspan="2"><small><small><br>        </small></small><strong>第一页:<font face="宋体">Javascript高级教程 - 第三课</font></strong>        <p><font size="3"><font face="宋体">事件的定时以及浏览器的识别</font></font></p>        <font size="3">         <p><font face="宋体">随着我们所掌握的JavaScript日渐丰富,我们可以编制出越来<br>          越复杂的应用程序。上次的课程中我们学习了如何利<br>          用JavaScripts编写Cookies。今天我们将学习如何加入定时<br>          功能。给时间定时的能力在3.0版的浏览器中非常有用,而在更<br>          新的浏览器中则会在动态HTML应用中发挥更大的功用。 </font></p>        <p><font face="宋体">如果你用的是Netscape 4.0或微软的IE 4.0,你可能回注意到<br>          动态HTML可以在页面中移动不同的内容。在JavaScript中将某<br>          个物体在屏幕中移动需要用到一个循环(loop),用循环的功<br>          能使物体随着时间推移移动。但是你如何告诉JavaScript将某<br>          个物体每秒钟或者每10分之一秒移动一点呢?</font></p>        <p><font face="宋体">然而在不同的浏览器中将某物体进行移动的能力有很大的差别。<br>          要想在不同的浏览器中都可以应用动态HTML的东西,你需要做<br>          一些特别的处理。所以在讲解完事件定时之后我将讲解如何识<br>          别用户所使用的是何种浏览器(针对不同的浏览器你可以使用<br>          不同的程序代码)。 </font></p>        <p><font face="宋体">先学习事件的定时。点击下面的按钮,3秒钟后将弹出一个提<br>          示框。 </font></p>        </font>        <form name="the_form">          <font size="3">           <p><font face="宋体">            <input type="button" value="hold your breath and click" onClick="timedAlert();">            </font></p>          </font>         </form>        <p><a href="day3_2.html"><font face="宋体" size="3">&gt;&gt;</font></a></p>        <p><font face="宋体" size="3" color="#000000"><strong>JavaScript高级教程</strong></font><font color="#FF0000" face="宋体" size="3"><br>          </font><font face="宋体"><font color="#FF0000">第一页</font> Javascript高级教程           - 第三课<br>          <font size="3"><font color="#FF0000">第二页</font> <a href="day3_2.html">如何给事件定时</a><br>          <font color="#FF0000">第三页</font> <a href="day3_3.html">定时循环的概念</a><br>          <font color="#FF0000">第四页</font> <a href="day3_4.html">定时循环的做法</a><br>          <font color="#FF0000">第五页</font> <a href="day3_5.html">一个Javascript编写的时钟</a><br>          <font color="#FF0000">第六页</font> <a href="day3_6.html">给定时器加入变量</a><br>          <font color="#FF0000">第七页</font> <a href="day3_7.html">识别用户的浏览器</a><br>          <font color="#FF0000">第八页</font> <a href="day3_8.html">如何识别用户的浏览器</a><br>          <font color="#FF0000">第九页</font> <a href="day3_9.html">对象和方法的识别</a><br>          <font color="#FF0000">第十页</font> <a href="day3_10.html">History对象</a></font></font></p>        <p><font size="3">[<a href="day1_1.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>        <hr align="left">        <!--webbot bot="Include" U-Include="../../copyright.html" TAG="BODY" startspan -->         <p><font face="verdana, arial, geneva, sans-serif" size="2"><a href="http://phtshop.yeah.net" target="_top">本文根据           网猴 相关文章改编,版权归原作者所有。</a> </font><font color="#000000"><span class="smallfont"></span></font></p>        <!--webbot bot="Include" endspan i-checksum="15926" --> </td>    </tr>    <tr> </tr>  </table></div></body></html>

⌨️ 快捷键说明

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