From 7570e5c78384ccb7d8071f71526038a1e747d638 Mon Sep 17 00:00:00 2001 From: La Programmatrice Verde Date: Thu, 27 Mar 2025 23:46:02 +0100 Subject: [PATCH] Inizio frasi di caricamento --- index.html | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 0b71d66..3cd65d2 100644 --- a/index.html +++ b/index.html @@ -26,7 +26,7 @@ -
@@ -278,8 +278,17 @@ /*******************************************************************************************************************************************************/ /***********************************************Sezione Content*****************************************************************************************/ + let keepGoing = true; + + const arrayFrasiCaricamento = [ + "frase 1", + "frase 2" + ] + function predizione(){ + frasiCaricamento(); + Oroscopo(); + } async function Oroscopo() { - //frasiCaricamento(); document.getElementById("output").innerHTML = ""; document.getElementById("bottone").innerHTML = @@ -454,6 +463,14 @@ .forEach((tag) => (tag.style.display = "none")); campoSegno.disabled = true; } + + function frasiCaricamento(){ + let i = 0; + document.getElementById('output').innerHTML = arrayFrasiCaricamento[i]; + /*while(keepGoing){ + if(i%7==0) document.getElementById('output').innerHTML = arrayFrasiCaricamento[i]; + }*/ + } /*******************************************************************************************************************************************************/