Merge branch 'main' of https://gitea.zkd.ca/Dev_Web/web01
This commit is contained in:
@@ -84,7 +84,22 @@ 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 () {
|
||||
timerGlitch();
|
||||
setTimeout(function () {
|
||||
/* document.getElementById('message').innerHTML =
|
||||
'The page has finished loading! After 2 second'; */
|
||||
|
||||
Reference in New Issue
Block a user