Add possibility for script in style!
This commit is contained in:
@@ -2,7 +2,15 @@ window.onload = function () {
|
||||
setTimeout(function () {
|
||||
/* document.getElementById('message').innerHTML =
|
||||
'The page has finished loading! After 2 second'; */
|
||||
document.getElementById("updateDate").setAttribute("id", "updateDateV");
|
||||
// Check if on the test domain and that the text changed, if so display Data.
|
||||
if (window.location.hostname === 's.zkd.ca' && document.getElementById("updateDate").innerHTML != 'DATE_WEBSITE' )
|
||||
{
|
||||
document.getElementById("updateDate").setAttribute("id", "updateDateV");
|
||||
} else
|
||||
{
|
||||
document.getElementById("updateDate").setAttribute("id", "updateDateW");
|
||||
document.getElementById("updateDateW").innerHTML = 'À la prochaine!';
|
||||
}
|
||||
}, 2000);
|
||||
// TODO Add timer for glitch
|
||||
// NOTE Track mouse mouvement and show after a percentage of ?
|
||||
|
||||
Reference in New Issue
Block a user