From 00338094ac508a4c9ce97e4eb74026ed1f461393 Mon Sep 17 00:00:00 2001 From: s1n Date: Tue, 30 Jul 2019 19:48:55 +0200 Subject: re-re-upload main files --- docs/index.html | 30 ++++++++++++++++++++++++++++++ docs/js/main.js | 12 ++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 docs/index.html create mode 100644 docs/js/main.js diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..22071bd --- /dev/null +++ b/docs/index.html @@ -0,0 +1,30 @@ + + + + + + + + s1nical - Scrolling Title + + + + + + + + + \ No newline at end of file diff --git a/docs/js/main.js b/docs/js/main.js new file mode 100644 index 0000000..f2b20ac --- /dev/null +++ b/docs/js/main.js @@ -0,0 +1,12 @@ +var space = " "; +var speed = "60"; +var pos = 0; +var msg = "// s1n.ical "; /*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(); \ No newline at end of file -- cgit v1.2.3