?? tutorial4.htm
字號:
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb_2312-80">
<meta NAME="GENERATOR" CONTENT="Microsoft FrontPage 3.0">
<title>HTML園地-JavaScript 教程</title>
<meta NAME="keywords"
CONTENT="javascript, hotwired, webmonkey, javascript, javascript tutorial, thau, dave thau, developer resource, developer, development, web
development, design, code, geek, warez, free, new, latest, news, tools,
info, tutorials, how-to, builder, web builder, pag">
<meta NAME="description"
CONTENT="Thau's JavaScript Tutorial: Day 1: Not only does Thau give the JavaScript skinny, but he'll have you writing your first script by the end of the day.">
<meta NAME="Template" CONTENT="E:\LIZEJUN\OFFICE\html.dot">
</head>
<body TEXT="#000000" LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff">
<table CELLSPACING="0" BORDER="0" CELLPADDING="3" WIDTH="580">
<tr>
<td WIDTH="361" VALIGN="MIDDLE"><b><font FACE="宋體" LANG="ZH-CN" COLOR="#ff0000">Java
script </font><font FACE="System,??" LANG="ZH-CN" COLOR="#ff0000">課程</font><font
FACE="宋體" LANG="ZH-CN" SIZE="4" COLOR="#ff0000">:</font><font FACE="宋體"
LANG="ZH-CN" COLOR="#ff0000"> </font><font FACE="System,??" LANG="ZH-CN">第四天</b><br>
<!-- BYLINE --> </font><font FACE="System,??" LANG="ZH-CN" SIZE="2">作者:</font><a
HREF="mailto:thau@wired.com"><font FACE="宋體" LANG="ZH-CN" SIZE="2">Thau!</font></a><font
FACE="宋體" LANG="ZH-CN"> <!-- SEE ALSO LINKS --></font></td>
</tr>
<tr>
<td WIDTH="361" VALIGN="TOP" BGCOLOR="#ffffff"><font FACE="System,??" LANG="ZH-CN"><p
ALIGN="JUSTIFY">對于</font><font FACE="宋體" LANG="ZH-CN" SIZE="2">Java script </font><font
FACE="System,??" LANG="ZH-CN" SIZE="2">來說有兩個主要部分:該語言本身及其目標庫。在第</font><font
FACE="宋體" LANG="ZH-CN" SIZE="2">2</font><font FACE="System,??" LANG="ZH-CN" SIZE="2">課介紹的語法中,我們已經研究了變量,語句和</font><font
FACE="宋體" LANG="ZH-CN" SIZE="2">if-then</font><font FACE="System,??" LANG="ZH-CN"
SIZE="2">子句,這些是所有程序設計語言的組成部分?,F在來學習</font><font
FACE="宋體" LANG="ZH-CN" SIZE="2">Java script </font><font FACE="System,??" LANG="ZH-CN"
SIZE="2">語法的其余部分。</p>
<p ALIGN="JUSTIFY">對于</font><font FACE="宋體" LANG="ZH-CN" SIZE="2">Java script </font><font
FACE="System,??" LANG="ZH-CN" SIZE="2">語法來說,我們僅剩下三個問題需要學習:循環、數組和函數。</p>
<p ALIGN="JUSTIFY">讓我們<a HREF="tutorial4_page2.htm">從循環開始</a>。</p>
<p><!-- PAGE X LINKS --><!-- this stuff checks if there are more pages in this story. if so, we'll
suck out the titles of those pages and build links. Right now, the maximum is
15 pages. --><!-- this is a mini-template that formats each pageX link. So, if a story
has 15 pages, we need to generate 15 links to it. This is how each one
will look... --></font><font FACE="宋體" LANG="ZH-CN" SIZE="2">Page 1: </font><a HREF="tutorial4.htm"><font
FACE="System,??" LANG="ZH-CN">第四課介紹</font></a><font FACE="System,??"
LANG="ZH-CN" SIZE="2"><br>
<!-- PAGE X LINKS --><!-- this stuff checks if there are more pages in this story. if so, we'll
suck out the titles of those pages and build links. Right now, the maximum is 15 pages. --><!-- this is a mini-template that formats each pageX link. So, if a story
has 15 pages, we need to generate 15 links to it. This is how each one
will look... --> </font><font FACE="宋體" LANG="ZH-CN" SIZE="2">Page 2: </font><a
HREF="tutorial4_page2.htm"><font FACE="System,??" LANG="ZH-CN">循環介紹</font></a><font
FACE="System,??" LANG="ZH-CN" SIZE="2"><br>
<!-- this is a mini-template that formats each pageX link. So, if a story
has 15 pages, we need to generate 15 links to it. This is how each one
will look... --> </font><font FACE="宋體" LANG="ZH-CN" SIZE="2">Page 3: </font><a
HREF="tutorial4_page3.htm"><font FACE="System,??" LANG="ZH-CN">循環的密碼</font></a><font
FACE="System,??" LANG="ZH-CN" SIZE="2"><br>
<!-- this is a mini-template that formats each pageX link. So, if a story
has 15 pages, we need to generate 15 links to it. This is how each one
will look... --> </font><font FACE="宋體" LANG="ZH-CN" SIZE="2">Page 4: </font><a
HREF="tutorial4_page4.htm"><font FACE="System,??" LANG="ZH-CN">再談</font><font
FACE="宋體" LANG="ZH-CN">WHILE</font><font FACE="System,??" LANG="ZH-CN">循環</font></a><font
FACE="System,??" LANG="ZH-CN" SIZE="2"><br>
<!-- this is a mini-template that formats each pageX link. So, if a story
has 15 pages, we need to generate 15 links to it. This is how each one
will look... --> </font><font FACE="宋體" LANG="ZH-CN" SIZE="2">Page 5: </font><a
HREF="tutorial4_page5.htm"><font FACE="System,??" LANG="ZH-CN">For </font><font
FACE="System,??" LANG="ZH-CN" SIZE="2">循環</a><br>
<!-- this is a mini-template that formats each pageX link. So, if a story
has 15 pages, we need to generate 15 links to it. This is how each one
will look... --> </font><font FACE="宋體" LANG="ZH-CN" SIZE="2">Page 6: </font><a
HREF="tutorial4_page6.htm"><font FACE="System,??" LANG="ZH-CN">嵌套循環</font></a><font
FACE="System,??" LANG="ZH-CN" SIZE="2"><br>
<!-- this is a mini-template that formats each pageX link. So, if a story
has 15 pages, we need to generate 15 links to it. This is how each one
will look... --> </font><font FACE="宋體" LANG="ZH-CN" SIZE="2">Page 7: </font><a
HREF="tutorial4_page7.htm"><font FACE="System,??" LANG="ZH-CN">循環練習</font></a><font
FACE="System,??" LANG="ZH-CN" SIZE="2"><br>
<!-- this is a mini-template that formats each pageX link. So, if a story
has 15 pages, we need to generate 15 links to it. This is how each one
will look... --> </font><font FACE="宋體" LANG="ZH-CN" SIZE="2">Page 8: </font><a
HREF="tutorial4_page8.htm"><font FACE="System,??" LANG="ZH-CN">數組</font></a><font
FACE="System,??" LANG="ZH-CN" SIZE="2"><br>
<!-- this is a mini-template that formats each pageX link. So, if a story
has 15 pages, we need to generate 15 links to it. This is how each one
will look... --> </font><font FACE="宋體" LANG="ZH-CN" SIZE="2">Page 9: </font><a
HREF="tutorial4_page9.htm"><font FACE="System,??" LANG="ZH-CN">數組和循環</font></a><font
FACE="System,??" LANG="ZH-CN" SIZE="2"><br>
<!-- this is a mini-template that formats each pageX link. So, if a story
has 15 pages, we need to generate 15 links to it. This is how each one
will look... --> </font><font FACE="宋體" LANG="ZH-CN" SIZE="2">Page 10:</font><a
HREF="tutorial4_page10.html"><font FACE="System,??" LANG="ZH-CN">文件目標模塊中的數組</font></a><font
FACE="System,??" LANG="ZH-CN" SIZE="2"><br>
<!-- this is a mini-template that formats each pageX link. So, if a story
has 15 pages, we need to generate 15 links to it. This is how each one
will look... --> </font><font FACE="宋體" LANG="ZH-CN" SIZE="2">Page 11: </font><a
HREF="tutorial4_page11.htm"><font FACE="System,??" LANG="ZH-CN">函數</font></a><font
FACE="System,??" LANG="ZH-CN" SIZE="2"><br>
<!-- this is a mini-template that formats each pageX link. So, if a story
has 15 pages, we need to generate 15 links to it. This is how each one
will look... --> </font><font FACE="宋體" LANG="ZH-CN" SIZE="2">Page 12: </font><a
HREF="tutorial4_page12.html"><font FACE="System,??" LANG="ZH-CN">無參數函數</font></a><font
FACE="System,??" LANG="ZH-CN" SIZE="2"><br>
<!-- this is a mini-template that formats each pageX link. So, if a story
has 15 pages, we need to generate 15 links to it. This is how each one
will look... --> </font><font FACE="宋體" LANG="ZH-CN" SIZE="2">Page 13: </font><a
HREF="tutorial4_page13.htm"><font FACE="System,??" LANG="ZH-CN">參數及返回值</font></a><font
FACE="System,??" LANG="ZH-CN" SIZE="2"><br>
<!-- this is a mini-template that formats each pageX link. So, if a story
has 15 pages, we need to generate 15 links to it. This is how each one
will look... --> </font><font FACE="宋體" LANG="ZH-CN" SIZE="2">Page 14: </font><a
HREF="tutorial4_page14.htm"><font FACE="System,??" LANG="ZH-CN">多于一個參數的函數</font></a><font
FACE="System,??" LANG="ZH-CN" SIZE="2"><br>
<!-- this is a mini-template that formats each pageX link. So, if a story
has 15 pages, we need to generate 15 links to it. This is how each one
will look... --> </font><font FACE="宋體" LANG="ZH-CN" SIZE="2"></p>
<p><br>
<!-- AUTHOR TAGLINE --> </font></td>
</tr>
</table>
<font FACE="System,??" LANG="ZH-CN">
<p> </p>
</font>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -