From 6f8df753c507c9fc98b7b1428a69b5a799da6239 Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Wed, 10 Feb 2021 12:22:01 -0600 Subject: a --- csci4131/lec/Lec7Ex1.html | 20 ++++++++++++++++++++ csci4131/lec/lec7big3/CPE.png | Bin 0 -> 4140 bytes csci4131/lec/lec7big3/EPT.png | Bin 0 -> 4319 bytes csci4131/lec/lec7big3/GPP.png | Bin 0 -> 3760 bytes csci4131/lec/lec7big3/GUI.png | Bin 0 -> 4055 bytes csci4131/lec/lec7big3/PERF.png | Bin 0 -> 3282 bytes csci4131/lec/lec7big3/PORT.png | Bin 0 -> 3768 bytes csci4131/lec/lec7big3/RandomPicture.js | 21 +++++++++++++++++++++ csci4131/lec/lec7big3/SEO.png | Bin 0 -> 3862 bytes csci4131/lec/lec7big3/big31.html | 17 +++++++++++++++++ 10 files changed, 58 insertions(+) create mode 100644 csci4131/lec/Lec7Ex1.html create mode 100644 csci4131/lec/lec7big3/CPE.png create mode 100644 csci4131/lec/lec7big3/EPT.png create mode 100644 csci4131/lec/lec7big3/GPP.png create mode 100644 csci4131/lec/lec7big3/GUI.png create mode 100644 csci4131/lec/lec7big3/PERF.png create mode 100644 csci4131/lec/lec7big3/PORT.png create mode 100644 csci4131/lec/lec7big3/RandomPicture.js create mode 100644 csci4131/lec/lec7big3/SEO.png create mode 100644 csci4131/lec/lec7big3/big31.html (limited to 'csci4131') diff --git a/csci4131/lec/Lec7Ex1.html b/csci4131/lec/Lec7Ex1.html new file mode 100644 index 0000000..d7c46e4 --- /dev/null +++ b/csci4131/lec/Lec7Ex1.html @@ -0,0 +1,20 @@ + + + + + Titles are for better people + + + + + + + + \ No newline at end of file diff --git a/csci4131/lec/lec7big3/CPE.png b/csci4131/lec/lec7big3/CPE.png new file mode 100644 index 0000000..d137d51 Binary files /dev/null and b/csci4131/lec/lec7big3/CPE.png differ diff --git a/csci4131/lec/lec7big3/EPT.png b/csci4131/lec/lec7big3/EPT.png new file mode 100644 index 0000000..68b5863 Binary files /dev/null and b/csci4131/lec/lec7big3/EPT.png differ diff --git a/csci4131/lec/lec7big3/GPP.png b/csci4131/lec/lec7big3/GPP.png new file mode 100644 index 0000000..7d8bf3d Binary files /dev/null and b/csci4131/lec/lec7big3/GPP.png differ diff --git a/csci4131/lec/lec7big3/GUI.png b/csci4131/lec/lec7big3/GUI.png new file mode 100644 index 0000000..d7e2ccc Binary files /dev/null and b/csci4131/lec/lec7big3/GUI.png differ diff --git a/csci4131/lec/lec7big3/PERF.png b/csci4131/lec/lec7big3/PERF.png new file mode 100644 index 0000000..807b7a0 Binary files /dev/null and b/csci4131/lec/lec7big3/PERF.png differ diff --git a/csci4131/lec/lec7big3/PORT.png b/csci4131/lec/lec7big3/PORT.png new file mode 100644 index 0000000..3d69844 Binary files /dev/null and b/csci4131/lec/lec7big3/PORT.png differ diff --git a/csci4131/lec/lec7big3/RandomPicture.js b/csci4131/lec/lec7big3/RandomPicture.js new file mode 100644 index 0000000..b5f4d73 --- /dev/null +++ b/csci4131/lec/lec7big3/RandomPicture.js @@ -0,0 +1,21 @@ +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/csci4131/lec/lec7big3/SEO.png b/csci4131/lec/lec7big3/SEO.png new file mode 100644 index 0000000..73d4507 Binary files /dev/null and b/csci4131/lec/lec7big3/SEO.png differ diff --git a/csci4131/lec/lec7big3/big31.html b/csci4131/lec/lec7big3/big31.html new file mode 100644 index 0000000..574401a --- /dev/null +++ b/csci4131/lec/lec7big3/big31.html @@ -0,0 +1,17 @@ + + + + + + + + + Random Image Generator + + + + + Common Programming Error + + + \ No newline at end of file -- cgit v1.2.3