diff options
Diffstat (limited to '')
-rw-r--r-- | csci4131/lec/Lec6Ex2.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/csci4131/lec/Lec6Ex2.html b/csci4131/lec/Lec6Ex2.html new file mode 100644 index 0000000..99f5843 --- /dev/null +++ b/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 |