From 1ec7a366d19947e79e2a44c00fadafda5e39a71f Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Wed, 22 May 2019 12:02:33 +0900 Subject: [PATCH 1/2] Added random HTML picker script to influence the design of devOsan logo and mini logo at random. --- additionalScripts.js | 22 ++++++++++++++++++++++ index.html | 5 +++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 additionalScripts.js diff --git a/additionalScripts.js b/additionalScripts.js new file mode 100644 index 0000000..3a69739 --- /dev/null +++ b/additionalScripts.js @@ -0,0 +1,22 @@ +var vals = [ + `

+ {dev}Osan +

+

Software Development Club

`, //Original + `

+ {dev}Osan +

+

Software Development Club

`, //By Sig +]; + +var vals2 = [ + `{dev}Osan`, //Original + `{dev}Osan`, //By Sig +]; + +window.onload=generateLogo(Math.floor(Math.random()*vals.length)); + +function generateLogo(numb) { + document.getElementById("devOsanLogo-dynamic").innerHTML=vals[numb]; + document.getElementById("devOsanMiniLogo-dynamic").innerHTML=vals2[numb]; +} \ No newline at end of file diff --git a/index.html b/index.html index 123ab17..da70a56 100644 --- a/index.html +++ b/index.html @@ -34,7 +34,7 @@
-
+

{dev + From 945823fc7942273cd1216036a06d65bf4df1eee0 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Wed, 22 May 2019 12:13:50 +0900 Subject: [PATCH 2/2] Add missing > symbol. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 6eb38f4..e5f79bb 100644 --- a/index.html +++ b/index.html @@ -226,7 +226,7 @@ src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous" - >