From 3ef80b56f7d7b37b57bc9c2ee1e31543670a8c69 Mon Sep 17 00:00:00 2001 From: s1n Date: Wed, 18 Sep 2019 12:47:53 -0700 Subject: upload main files --- about/index.html | 25 +++++++++++++++++++++++++ about/js/main.js | 14 ++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 about/index.html create mode 100644 about/js/main.js (limited to 'about') diff --git a/about/index.html b/about/index.html new file mode 100644 index 0000000..6a68024 --- /dev/null +++ b/about/index.html @@ -0,0 +1,25 @@ + + + + + + + About + + + + + + + +
+

Proof of concept. Not setup :/

+
+ + \ No newline at end of file diff --git a/about/js/main.js b/about/js/main.js new file mode 100644 index 0000000..8800346 --- /dev/null +++ b/about/js/main.js @@ -0,0 +1,14 @@ +var space = " "; +var speed = "60"; +var pos = 0; +var msg = "// Abo.ut "; /*Enter the scrolling title as the msg variable's value.*/ + +function Scroll() { + document.title = msg.substring(pos, msg.length) + space + msg.substring(0, pos); + pos++; + if (pos > msg.length) pos = 0; + window.setTimeout("Scroll()", speed); +} +Scroll(); + +// Copyied from my GitHub repo: https://github.com/8cy/scrolling-html-title/blob/master/docs/js/main.js \ No newline at end of file -- cgit v1.2.3