topical media & game development
basic-web-html-11-index.htm / htm
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Chapter 11: Learning JavaScript</title>
<link rel="stylesheet" type="text/css" href="basic-web-html-css-examplestyles.css" />
</head>
<body>
<div class="heading">
<h1>Beginning Web Programming - Code Examples</h1>
<a href="@htm-basic-web-html-index.html">Back to main book index</a>
</div>
<h2>Chapter 11: Learning JavaScript</h2>
<p>Here are the examples for Chapter 11, which introduces JavaScript.</p>
<table>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg01.html">ch11-eg01.html</a></td><td>A first JavaScript using the document.write() method</td></tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg02.html">ch11-eg02.html</a></td><td>Try It Out - Text from an external file</td></tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg03.html">ch11-eg03.html</a></td><td>Accessing form data</td></tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg04.html">ch11-eg04.html</a></td><td>A simple image rollover</td></tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg05.html">ch11-eg05.html</a></td><td>A function to calculate the area of a rectangle</td></tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg06.html">ch11-eg06.html</a></td><td>If conditional statement (only says Good Morning if the clock on your computer is before 12 am - <b>otherwise blank</b>).</td></tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg07.html">ch11-eg07.html</a></td><td>If Else conditional statement If (Good morning or Good afternoon)</td></tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg08.html">ch11-eg08.html</a></td><td>Select Case conditional statement</td></tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg09.html">ch11-eg09.html</a></td><td>While Loop</td></tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg10.html">ch11-eg10.html</a></td><td>Do While Loop</td></tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg11.html">ch11-eg11.html</a></td><td>For Loop (1)</td></tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg12.html">ch11-eg12.html</a></td><td>For Loop (2)</td></tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg13.html">ch11-eg13.html</a></td><td>String object - big() method and length property</td></tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg14.html">ch11-eg14.html</a></td><td>Making a substring uppercase</td></tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg15.html">ch11-eg15.html</a></td><td>Date object (days of the year left)</td></tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg16.html">ch11-eg16.html</a></td><td>Math object</tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg17.html">ch11-eg17.html</a></td><td>Array object</tr>
<tr><td><a href="@htm-basic-web-html-11-ch11-eg18.html">ch11-eg18.html</a></td><td>Window object</tr>
</table>
<h3>Exercises</h3>
<table>
<tr><td><a href="@htm-basic-web-html-11-exercise1.html">Exercise 1</a></td><td>5 times table</td></tr>
<tr><td><a href="@htm-basic-web-html-11-exercise2.html">Exercise 2</a></td><td>Time of day</td></tr>
</table>
<p class="footer">To see the code behind any page, remember you go to the View menu on your browser and select the View Source option.</p>
</body>
</html>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.