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

136
Views
Add loading page between HTML pages

I have a mp4 animation, that i wanted to be played as a loading animation between two html pages. The video is about 5 seconds long, so i wanted this loading page to be the same lenght. Is there a way to do that?

If so, is it possible to choose for how long that loading page will be displayed, like 10 seconds, for example, so the loading animation would be repeating until the loading page is over?

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

So for this I would add this to each page

<iframe id="loadingBar" src="loading.mp4"/>

<script>
   $(document).ready = () => {
       Window.setTimeout(5000); //wait for 5 seconds
       $("#loadingBar").attr("display","none");
       $(".page").click = () => {
          location.href = index.html?page=2;
       };
   };
</script>
about 4 years ago · Santiago Trujillo 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!