Merge branch 'main' of https://gitea.zkd.ca/Dev_Web/web01
This commit is contained in:
BIN
www/images/ImagesAndres/Koumei/kouhab.PNG
Normal file
BIN
www/images/ImagesAndres/Koumei/kouhab.PNG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 586 KiB |
@@ -84,11 +84,37 @@ document.addEventListener("load", function(e) {
|
|||||||
});
|
});
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
function timerBlur(){
|
||||||
|
var count = 3;
|
||||||
|
var timer2 = setInterval(function(){
|
||||||
|
|
||||||
|
if (count == 3) {
|
||||||
|
document.getElementById('logoAccueil').style.filter = "blur(3px)";
|
||||||
|
|
||||||
|
}
|
||||||
|
else if (count == 2)
|
||||||
|
{
|
||||||
|
document.getElementById('logoAccueil').style.filter = "blur(2px)";
|
||||||
|
}
|
||||||
|
else if (count == 1)
|
||||||
|
{
|
||||||
|
document.getElementById('logoAccueil').style.filter = "blur(1px)";
|
||||||
|
}
|
||||||
|
else if (count == 0)
|
||||||
|
{
|
||||||
|
document.getElementById('logoAccueil').style.filter = "";
|
||||||
|
clearInterval(timer2);
|
||||||
|
}
|
||||||
|
count--;
|
||||||
|
}, 350);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
function timerGlitch(){
|
function timerGlitch(){
|
||||||
var timer = setInterval(function(){
|
var timer = setInterval(function(){
|
||||||
curSrc = document.getElementById('logoAccueil').getAttribute('src');
|
curSrc = document.getElementById('logoAccueil').getAttribute('src');
|
||||||
if (curSrc == 'images/LogoALT-F4_Nav.svg') {
|
if (curSrc == 'images/LogoALT-F4_Nav.svg') {
|
||||||
|
timerBlur();
|
||||||
document.getElementById('logoAccueil').setAttribute('src', 'images/LogoAlt-F4_NavGlitch.svg')
|
document.getElementById('logoAccueil').setAttribute('src', 'images/LogoAlt-F4_NavGlitch.svg')
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user