Ajout glitch partiel
This commit is contained in:
@@ -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 () {
|
window.onload = function () {
|
||||||
setTimeout(function () {
|
timerGlitch();
|
||||||
|
setTimeout(function () {
|
||||||
/* document.getElementById('message').innerHTML =
|
/* document.getElementById('message').innerHTML =
|
||||||
'The page has finished loading! After 2 second'; */
|
'The page has finished loading! After 2 second'; */
|
||||||
// Check if on the test domain and that the text changed, if so display Data.
|
// Check if on the test domain and that the text changed, if so display Data.
|
||||||
|
|||||||
Reference in New Issue
Block a user