aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors1n <[email protected]>2019-07-30 10:47:04 -0700
committerGitHub <[email protected]>2019-07-30 10:47:04 -0700
commit23c365c4bffa4f665f9d8891ffae3a423744e764 (patch)
tree48e43cddd7d11193bf463499ea2cae26bf170d0d
parentupload main files (diff)
downloadscrolling-html-title-23c365c4bffa4f665f9d8891ffae3a423744e764.tar.xz
scrolling-html-title-23c365c4bffa4f665f9d8891ffae3a423744e764.zip
Delete main.js
-rw-r--r--js/main.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/js/main.js b/js/main.js
deleted file mode 100644
index f2b20ac..0000000
--- a/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