aboutsummaryrefslogtreecommitdiff
path: root/assets/js/index/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/index/main.js')
-rw-r--r--assets/js/index/main.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/assets/js/index/main.js b/assets/js/index/main.js
new file mode 100644
index 0000000..f02bab2
--- /dev/null
+++ b/assets/js/index/main.js
@@ -0,0 +1,12 @@
+var space = " ";
+var speed = "60";
+var pos = 0;
+var msg = "// Veil ";
+
+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