Public Access
5
0

Ajout glitch partiel

This commit is contained in:
2025-12-03 20:38:15 -05:00
parent f7b3a2a626
commit fa7b9696b7

View File

@@ -84,8 +84,23 @@ document.addEventListener("load", function(e) {
});
*/
function timerGlitch(){
var timer = setInterval(function(){
curSrc = document.getElementById('logoAccueil').getAttribute('src');
if (curSrc == 'images/LogoALT-F4_Nav.svg') {
document.getElementById('logoAccueil').setAttribute('src', 'images/LogoAlt-F4_NavGlitch.svg')
}
else
{
document.getElementById('logoAccueil').setAttribute('src', 'images/LogoALT-F4_Nav.svg')
}
}, 1000);
}
window.onload = function () {
setTimeout(function () {
timerGlitch();
setTimeout(function () {
/* document.getElementById('message').innerHTML =
'The page has finished loading! After 2 second'; */
// Check if on the test domain and that the text changed, if so display Data.