aboutsummaryrefslogtreecommitdiffstats
path: root/OLD/csci4131/lec/Lec6Ex2.html
diff options
context:
space:
mode:
Diffstat (limited to 'OLD/csci4131/lec/Lec6Ex2.html')
-rw-r--r--OLD/csci4131/lec/Lec6Ex2.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/OLD/csci4131/lec/Lec6Ex2.html b/OLD/csci4131/lec/Lec6Ex2.html
new file mode 100644
index 0000000..99f5843
--- /dev/null
+++ b/OLD/csci4131/lec/Lec6Ex2.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>Possible HW2 constructs</title>
+ <style>
+ table, tr, td {
+ border:0.25em solid black;
+ border-collapse:collapse;
+ }
+ </style>
+ <script>
+ function chgimg(name, txt) {
+ // Debug output statements - rudimentary stuff
+ //alert("name: " + name);
+ //alert("alternate text: " + txt);
+ var theimage = document.getElementById("image");
+ theimage.src = name;
+ theimage.alt = txt;
+ }
+ </script>
+
+ </head>
+ <body>
+ <table>
+ <tr onmouseover="chgimg('08ShepherdLabs960.jpg', 'Shepherd Labs')">
+ <td> Shepherd Labs </td>
+ <td> 100 Union St SE <br> Minneapolis, MN 55455 </td>
+ </tr>
+ </table>
+ <div>
+ <img id="image" src="gophers-mascot.png" alt="Goldy Gopher">
+ </div>
+ </body>
+<html>
+
+ \ No newline at end of file