Line 19: | Line 19: | ||
background-color:#111!important; | background-color:#111!important; | ||
} | } | ||
+ | #intro{height:100%;z-index:100;position:absolute;} | ||
div.JC{ | div.JC{ | ||
transition:background-color 1s ease-in; | transition:background-color 1s ease-in; | ||
Line 135: | Line 136: | ||
var ch=0; | var ch=0; | ||
function typeIt() { | function typeIt() { | ||
− | if (ch > qs("[data-later]").dataset.later.length){ qs("#intro").opacity = "0"; setTimeout(function(){qs("#intro").display="none"},500); return;} | + | if (ch > qs("[data-later]").dataset.later.length){ qs("#intro").opacity = "0"; setTimeout(function(){qs("#intro").style.display="none"},500); return;} |
if (qs("[data-later]").dataset.later[ch] != "<") | if (qs("[data-later]").dataset.later[ch] != "<") | ||
qs("[data-later]").innerHTML = qs("[data-later]").dataset.later.substring(0, ch++); | qs("[data-later]").innerHTML = qs("[data-later]").dataset.later.substring(0, ch++); | ||
Line 158: | Line 159: | ||
},500); | },500); | ||
</script> | </script> | ||
+ | <h1>HEYY!</h1> | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 22:14, 31 October 2017