summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/app.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/js/app.js b/js/app.js
index 5932202..b088822 100644
--- a/js/app.js
+++ b/js/app.js
@@ -137,6 +137,20 @@ function activateCheats() {
<img src="/assets/imgs/clairo2.gif" alt="" width="30px" onclick="deactivateCheats()">
</div>
`;
+
+ // SCROLLING TITLE
+ var space = " ";
+ var speed = "60";
+ var pos = 0;
+ var msg = "// s1n.ical // Landing Page ";
+
+ 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();
}
function deactivateCheats() {
@@ -159,6 +173,8 @@ function deactivateCheats() {
<img src="/assets/imgs/clairo2.gif" alt="" width="30px" onclick="activateCheats()">
</div>
`;
+
+ document.title = "s1nical - Landing Page";
}
var TxtRotate = function (el, toRotate, period) {