T
T
Think With Your Head2015-09-22 17:15:42
JavaScript
Think With Your Head, 2015-09-22 17:15:42

What is an easy way to calculate after how many seconds the dom will load?

Hello!
I want to write a preloader bike. But not just a stub that hides after document ready, but a dynamic one.
The problem is that I have no idea how to find out after how many seconds the page will load so that there is dynamics
upd: How is it done on this page? twohustlers.com

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kovalsky, 2015-09-22
@dmitryKovalskiy

In theory, at the very top of the page, you can put a timeStamp. and the second on the document.ready event. But I have a feeling that in practice it will turn out to be crap.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question