+
+The Rollover
+To change the image, roll your mouse over it
+
+
+
+
+Change me!
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_21.html b/Assignments/JavaScript/ch05/ch05/ex_5_21.html
new file mode 100755
index 0000000..f511bb5
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/ex_5_21.html
@@ -0,0 +1,18 @@
+
+
+
+ Example 5.21
+
+
+
+
+Change the Image
+To change the image, double-click on it
+
+
+
+
+Change me!
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_22.html b/Assignments/JavaScript/ch05/ch05/ex_5_22.html
new file mode 100755
index 0000000..7b10ecc
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/ex_5_22.html
@@ -0,0 +1,38 @@
+
+
+
+ Example 5.22
+
+
+
+
+
+Swapping Images
+
+
+
+
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_23.html b/Assignments/JavaScript/ch05/ch05/ex_5_23.html
new file mode 100755
index 0000000..3d5bfc0
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/ex_5_23.html
@@ -0,0 +1,38 @@
+
+
+
+ Example 5.23
+
+
+
+
+
+Swapping Images
+
+
+
+
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_23a.htm b/Assignments/JavaScript/ch05/ch05/ex_5_23a.htm
new file mode 100755
index 0000000..86d8a36
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/ex_5_23a.htm
@@ -0,0 +1,10 @@
+
+
+Example 5.23a: Page One
+
+
+See what's on the next page...
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_23b.htm b/Assignments/JavaScript/ch05/ch05/ex_5_23b.htm
new file mode 100755
index 0000000..cbb0305
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/ex_5_23b.htm
@@ -0,0 +1,10 @@
+
+
+Example 5.23b: Page Two
+
+
+You can go back too...
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_27.html b/Assignments/JavaScript/ch05/ch05/ex_5_27.html
new file mode 100755
index 0000000..c605a98
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/ex_5_27.html
@@ -0,0 +1,31 @@
+
+
+
+ Exercise 5.27
+
+
+
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_3.html b/Assignments/JavaScript/ch05/ch05/ex_5_3.html
new file mode 100755
index 0000000..4ec2993
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/ex_5_3.html
@@ -0,0 +1,41 @@
+
+
+
+ Example 5.3
+
+
+
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_4.html b/Assignments/JavaScript/ch05/ch05/ex_5_4.html
new file mode 100755
index 0000000..4c86ccc
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/ex_5_4.html
@@ -0,0 +1,36 @@
+
+
+
+ Example 5.4
+
+
+
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_5.html b/Assignments/JavaScript/ch05/ch05/ex_5_5.html
new file mode 100755
index 0000000..189d537
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/ex_5_5.html
@@ -0,0 +1,37 @@
+
+
+
+ Example 5.5
+
+
+
+
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_6.html b/Assignments/JavaScript/ch05/ch05/ex_5_6.html
new file mode 100755
index 0000000..2f1e481
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/ex_5_6.html
@@ -0,0 +1,62 @@
+
+
+
+ Example 5.6
+
+
+
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_7.html b/Assignments/JavaScript/ch05/ch05/ex_5_7.html
new file mode 100755
index 0000000..95a9bbf
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/ex_5_7.html
@@ -0,0 +1,66 @@
+
+
+
+ Example 5.7
+
+
+
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/ex_5_9_10.html b/Assignments/JavaScript/ch05/ch05/ex_5_9_10.html
new file mode 100755
index 0000000..5e657f9
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/ex_5_9_10.html
@@ -0,0 +1,88 @@
+
+
+
+ Example 5.9 and 10
+
+
+
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/greg/.DS_Store b/Assignments/JavaScript/ch05/ch05/greg/.DS_Store
new file mode 100755
index 0000000..00657f2
Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/greg/.DS_Store differ
diff --git a/Assignments/JavaScript/ch05/ch05/greg/battleground.html b/Assignments/JavaScript/ch05/ch05/greg/battleground.html
new file mode 100755
index 0000000..fea4a63
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/greg/battleground.html
@@ -0,0 +1,115 @@
+
+
+
+
+ Greg's Gambits | The Battleground
+
+
+
+
+
+
+
+
+
The Battleground
+
+
+
+
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/greg/greg.css b/Assignments/JavaScript/ch05/ch05/greg/greg.css
new file mode 100755
index 0000000..a1b1088
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/greg/greg.css
@@ -0,0 +1,125 @@
+body { background-color: #000040;
+ background-image: url(background.gif);
+ color: #88ffff;
+ font-family: Verdana, Arial, sans-serif;
+}
+#container { margin-left: auto;
+ margin-right: auto;
+ width:80%;
+ min-width:700px;
+ }
+
+
+#logo {
+ text-align:center;
+ margin: 0;
+ font-family: Geneva, Arial, Helvetica, sans-serif;
+ padding-top: 30px;
+ padding-bottom: 20px;
+
+}
+#nav {
+ float: left;
+ width: 200px;
+ padding-top: 10px;
+ text-align:left;
+ color: #88FFFF;
+ font-size: 12px;
+}
+#nav a {text-decoration:none;
+ margin: 15px;
+ display: block;
+ color: #88FFFF;
+ font-size: 12px;
+}
+#content {
+ margin-left: 150px;
+ padding: 30px;
+ overflow:auto;
+ border: medium groove #88FFFF;
+ line-height: 135%;
+
+}
+
+.floatright {padding-left:20px;
+ float:right;
+ }
+.floatleft {
+ float:left;
+ padding: 30px 0px 20px;
+}
+#footer { font-size: .60em;
+ font-style: italic;
+ text-align: center;
+ border-top: 2px double #000040;
+ padding-top: 20px;
+ padding-bottom: 20px;
+}
+
+h2 { text-transform: uppercase;
+ color: #88ffff;
+ font-size: 1.2em;
+ border-bottom: 1px none;
+ margin-right: 20px;
+}
+h3 {
+ color: #88ffff;
+ font-size: 1.2em;
+ border-bottom: 1px solid #000000;
+ margin-right: auto;
+ text-align: left;
+ padding-top: 10px;
+ padding-right: 20px;
+ padding-bottom: 10px;
+ padding-left: 20px;
+ line-height: 120%;
+}
+.details { padding-left:20%;
+ padding-right:20%;
+}
+
+
+img {border:0; }
+
+
+.content {
+ margin: 20px;
+ padding: 20px;
+ height: 3700px;
+ width: 500px;
+}
+a {text-decoration:none;
+ margin: 15px;
+ display: block;
+ color: #88FFFF;
+ font-size: 12px;
+}
+a:hover {
+ color: #000040;
+ background-color: #88ffff;
+}
+span {
+ font-size: 20px;
+ font-weight: bold;
+ font-family: "Courier New", Courier, mono;
+ color: #88ffff;
+ background-position: center center;
+ text-align: center;
+ vertical-align: middle;
+}
+table {
+ border-collapse: collapse
+}
+td {
+ border: 2px solid #88ffff;
+ width: 5em;
+ color: #88ffff;
+}
+.nobdr {
+ border: none;
+ cell-padding: 5px;
+}
+p {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 12px;
+}
diff --git a/Assignments/JavaScript/ch05/ch05/greg/greg_battle.html b/Assignments/JavaScript/ch05/ch05/greg/greg_battle.html
new file mode 100755
index 0000000..9572103
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/greg/greg_battle.html
@@ -0,0 +1,57 @@
+
+
+
+
+ Greg's Gambits | Battle the Evil Troll
+
+
+
+
+
+
+
+
Battle the Evil Troll
+
+
+
+
+
+ In this game you will battle the evil troll. You can choose
+ your weapon from the three shown -- a set of magic rocks that are a lot stronger and heavier than they
+ look, an extremely sharp sword, or a crossbow and arrow. Unfortunately, you do not know ahead of time
+ what weapon the troll will use. You each begin with 100 points. For each round of the battle, the winner
+ takes 10 points from the loser. When either of you reaches 200 points, the battle is over and one of you
+ will lie dead. The winner is determined by the list shown below. Push the button when you are ready
+ to begin the battle and ... Good luck!
+
+ Wizard
+
+ Troll
+
+ Weapons
+ magic rocks
+ sword
+ bow & arrow
+ Note:
+ The rocks can deflect the arrow.
+ The sword beats the rocks.
+ The arrow beats the sword.
+
+
+
+
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/greg/images/arrow.jpg b/Assignments/JavaScript/ch05/ch05/greg/images/arrow.jpg
new file mode 100755
index 0000000..2fb2cbe
Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/greg/images/arrow.jpg differ
diff --git a/Assignments/JavaScript/ch05/ch05/greg/images/rock.jpg b/Assignments/JavaScript/ch05/ch05/greg/images/rock.jpg
new file mode 100755
index 0000000..d880e74
Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/greg/images/rock.jpg differ
diff --git a/Assignments/JavaScript/ch05/ch05/greg/images/superhero.jpg b/Assignments/JavaScript/ch05/ch05/greg/images/superhero.jpg
new file mode 100755
index 0000000..5f64be5
Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/greg/images/superhero.jpg differ
diff --git a/Assignments/JavaScript/ch05/ch05/greg/images/sword.jpg b/Assignments/JavaScript/ch05/ch05/greg/images/sword.jpg
new file mode 100755
index 0000000..90b2c19
Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/greg/images/sword.jpg differ
diff --git a/Assignments/JavaScript/ch05/ch05/greg/images/troll.jpg b/Assignments/JavaScript/ch05/ch05/greg/images/troll.jpg
new file mode 100755
index 0000000..d284293
Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/greg/images/troll.jpg differ
diff --git a/Assignments/JavaScript/ch05/ch05/greg/images/wizard.jpg b/Assignments/JavaScript/ch05/ch05/greg/images/wizard.jpg
new file mode 100755
index 0000000..64db7ab
Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/greg/images/wizard.jpg differ
diff --git a/Assignments/JavaScript/ch05/ch05/greg/play_games.html b/Assignments/JavaScript/ch05/ch05/greg/play_games.html
new file mode 100755
index 0000000..d5ed738
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/greg/play_games.html
@@ -0,0 +1,46 @@
+
+
+
+Greg's Gambits | Games Menu
+
+
+
+
+
+
+
+
+
Play A Game
+
+
+
+
+
+
Menu of Available Games
+
+
+
+
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/page_one.html b/Assignments/JavaScript/ch05/ch05/page_one.html
new file mode 100755
index 0000000..14de95d
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/page_one.html
@@ -0,0 +1,13 @@
+
+
+Page One
+
+
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/page_two.html b/Assignments/JavaScript/ch05/ch05/page_two.html
new file mode 100755
index 0000000..9b97ba0
--- /dev/null
+++ b/Assignments/JavaScript/ch05/ch05/page_two.html
@@ -0,0 +1,13 @@
+
+
+Page Two
+
+
+
+
+
diff --git a/Assignments/JavaScript/ch05/ch05/pendant1.jpg b/Assignments/JavaScript/ch05/ch05/pendant1.jpg
new file mode 100755
index 0000000..b712c0f
Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/pendant1.jpg differ
diff --git a/Assignments/JavaScript/ch05/ch05/pendant2.jpg b/Assignments/JavaScript/ch05/ch05/pendant2.jpg
new file mode 100755
index 0000000..1433c58
Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/pendant2.jpg differ
diff --git a/Assignments/JavaScript/ch05/ch05/pendant3.jpg b/Assignments/JavaScript/ch05/ch05/pendant3.jpg
new file mode 100755
index 0000000..af103ee
Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/pendant3.jpg differ
diff --git a/Assignments/JavaScript/ch05/ch05/ring1.jpg b/Assignments/JavaScript/ch05/ch05/ring1.jpg
new file mode 100755
index 0000000..4896a0d
Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/ring1.jpg differ
diff --git a/Assignments/JavaScript/ch05/ch05/ring2.jpg b/Assignments/JavaScript/ch05/ch05/ring2.jpg
new file mode 100755
index 0000000..1831416
Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/ring2.jpg differ
diff --git a/Assignments/JavaScript/ch05/ch05/ring3.jpg b/Assignments/JavaScript/ch05/ch05/ring3.jpg
new file mode 100755
index 0000000..b72e16c
Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/ring3.jpg differ
diff --git a/Assignments/JavaScript/ch05/ch05/troll.jpg b/Assignments/JavaScript/ch05/ch05/troll.jpg
new file mode 100755
index 0000000..d284293
Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/troll.jpg differ
diff --git a/Assignments/JavaScript/ch05/ch05/wizard.jpg b/Assignments/JavaScript/ch05/ch05/wizard.jpg
new file mode 100755
index 0000000..64db7ab
Binary files /dev/null and b/Assignments/JavaScript/ch05/ch05/wizard.jpg differ