diff options
Diffstat (limited to 'OLD/csci4131/lec/lec7big3')
-rw-r--r-- | OLD/csci4131/lec/lec7big3/CPE.png | bin | 4140 -> 0 bytes | |||
-rw-r--r-- | OLD/csci4131/lec/lec7big3/EPT.png | bin | 4319 -> 0 bytes | |||
-rw-r--r-- | OLD/csci4131/lec/lec7big3/GPP.png | bin | 3760 -> 0 bytes | |||
-rw-r--r-- | OLD/csci4131/lec/lec7big3/GUI.png | bin | 4055 -> 0 bytes | |||
-rw-r--r-- | OLD/csci4131/lec/lec7big3/PERF.png | bin | 3282 -> 0 bytes | |||
-rw-r--r-- | OLD/csci4131/lec/lec7big3/PORT.png | bin | 3768 -> 0 bytes | |||
-rw-r--r-- | OLD/csci4131/lec/lec7big3/RandomPicture.js | 21 | ||||
-rw-r--r-- | OLD/csci4131/lec/lec7big3/SEO.png | bin | 3862 -> 0 bytes | |||
-rw-r--r-- | OLD/csci4131/lec/lec7big3/big31.html | 17 |
9 files changed, 0 insertions, 38 deletions
diff --git a/OLD/csci4131/lec/lec7big3/CPE.png b/OLD/csci4131/lec/lec7big3/CPE.png Binary files differdeleted file mode 100644 index d137d51..0000000 --- a/OLD/csci4131/lec/lec7big3/CPE.png +++ /dev/null diff --git a/OLD/csci4131/lec/lec7big3/EPT.png b/OLD/csci4131/lec/lec7big3/EPT.png Binary files differdeleted file mode 100644 index 68b5863..0000000 --- a/OLD/csci4131/lec/lec7big3/EPT.png +++ /dev/null diff --git a/OLD/csci4131/lec/lec7big3/GPP.png b/OLD/csci4131/lec/lec7big3/GPP.png Binary files differdeleted file mode 100644 index 7d8bf3d..0000000 --- a/OLD/csci4131/lec/lec7big3/GPP.png +++ /dev/null diff --git a/OLD/csci4131/lec/lec7big3/GUI.png b/OLD/csci4131/lec/lec7big3/GUI.png Binary files differdeleted file mode 100644 index d7e2ccc..0000000 --- a/OLD/csci4131/lec/lec7big3/GUI.png +++ /dev/null diff --git a/OLD/csci4131/lec/lec7big3/PERF.png b/OLD/csci4131/lec/lec7big3/PERF.png Binary files differdeleted file mode 100644 index 807b7a0..0000000 --- a/OLD/csci4131/lec/lec7big3/PERF.png +++ /dev/null diff --git a/OLD/csci4131/lec/lec7big3/PORT.png b/OLD/csci4131/lec/lec7big3/PORT.png Binary files differdeleted file mode 100644 index 3d69844..0000000 --- a/OLD/csci4131/lec/lec7big3/PORT.png +++ /dev/null diff --git a/OLD/csci4131/lec/lec7big3/RandomPicture.js b/OLD/csci4131/lec/lec7big3/RandomPicture.js deleted file mode 100644 index b5f4d73..0000000 --- a/OLD/csci4131/lec/lec7big3/RandomPicture.js +++ /dev/null @@ -1,21 +0,0 @@ -var iconImg; - -function randImage() { - var index = Math.floor(Math.random()*7); - - var pictures = ["CPE", "EPT", "GPP", "GUI", "PERF", "PORT", "SEO"]; - var descriptions = ["Common Programming Error", - "Error-Prevention Tip", "Good Programming Practice", - "Look-and-Feel Observation", "Performance Tip", "Portability Tip", - "Software Engineering Observation"]; - - iconImg.src = pictures[index] + ".png"; - iconImg.alt = descriptions[index]; -} - -function start() { - iconImg = document.getElementById("image"); - iconImg.addEventListener("click", randImage, false); -} - -window.addEventListener("load", start);
\ No newline at end of file diff --git a/OLD/csci4131/lec/lec7big3/SEO.png b/OLD/csci4131/lec/lec7big3/SEO.png Binary files differdeleted file mode 100644 index 73d4507..0000000 --- a/OLD/csci4131/lec/lec7big3/SEO.png +++ /dev/null diff --git a/OLD/csci4131/lec/lec7big3/big31.html b/OLD/csci4131/lec/lec7big3/big31.html deleted file mode 100644 index 574401a..0000000 --- a/OLD/csci4131/lec/lec7big3/big31.html +++ /dev/null @@ -1,17 +0,0 @@ -<!DOCTYPE html> - -<!-- Fig. 10.11: RandomPicture.html --> -<!-- HTML5 document that displays randomly selected images. --> -<html> - -<head> - <meta charset="utf-8"> - <title>Random Image Generator</title> - <script src="RandomPicture.js"></script> -</head> - -<body> - <img id="image" src="CPE.png" alt="Common Programming Error"> -</body> - -</html>
\ No newline at end of file |