Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question