Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

181
Views
¿Puede decirme por qué esta alerta no funciona?

¿Puede decirme por qué esta alerta no funciona?

mis códigos js:

 var character = document.getElementById("character"); var block = document.getElementById("block"); function jump() { if (character.classList != "animate") { character.classList.add("animate"); } setTimeout(function () { character.classList.remove("animate"); }, 500); var checkDead = setlnterval(function () { var characterTop = parseInt(window.getComputedStyle(character) .getPropertyValue("top")); var blockLeft = parseInt(window.getComputedStyle(block) .getPropertyValue("left"));

aquí está la parte si (mi problema): quiero saber por qué no funciona la dosis?

 if (blockLeft<20 && blockLeft>0 && characterTop>=130) { block.style.animation = "none"; block.style.display = "none"; alert("U Lose!"); } }, 10);

}

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Si habrá dos cuadros de alerta cuando ejecute el código, marque la casilla de verificación "evitar que esta página cree un cuadro de diálogo adicional". Actualice la página nuevamente y no volverá a recibir el cuadro de alerta.

La solución es que debe cerrar esa página web y volver a abrirla en el navegador (no es necesario que cierre todo el navegador). Supongo que estás usando Chrome . Internet Explorer o Firefox no tienen esta función de casilla de verificación.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!