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

68
Views
Animación de página cargada de JavaScript

Quiero diseñar una página que muestre mi nombre. Cuando el sitio comienza a funcionar, la página toma todo el ancho y largo, pero cuando pasan 15 segundos, quiero que se coloque en otro lugar para ser reemplazado por otra página, y así sucesivamente.

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

0

Aquí hay una solución de lo que entiendo de su pregunta:

 document.onreadystatechange = function () { document.getElementById('content').style.display="none"; var state = document.readyState if (state == 'complete') { setTimeout(function(){ document.getElementById('load').classList.remove("center"); document.getElementById('content').style.display="block"; },1500); } }
 .center{ width:100%; height:100vh; display:flex; justify-content:center; align-items:center; z-index:9999; }
 <div id="load" class="center">Your name</div> <div id="content">Content</div>

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!