aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors1n <[email protected]>2019-07-30 10:48:25 -0700
committerGitHub <[email protected]>2019-07-30 10:48:25 -0700
commitef5e07d0c932da46f1f9098e01dd8c0fb7169dd4 (patch)
tree12381fb93e5318c5628926990beb0b648ed2c42c
parentDelete index.html (diff)
downloadscrolling-html-title-ef5e07d0c932da46f1f9098e01dd8c0fb7169dd4.tar.xz
scrolling-html-title-ef5e07d0c932da46f1f9098e01dd8c0fb7169dd4.zip
Delete main.js
-rw-r--r--src/js/main.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/js/main.js b/src/js/main.js
deleted file mode 100644
index f2b20ac..0000000
--- a/src/js/main.js
+++ /dev/null
@@ -1,12 +0,0 @@
-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