I have many images on site and some scripts on it. But scripts can run only after loading whole page. How to accelerate this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
will run a script when the document structure is ready, but before all of the images have loaded.
if you want to run script before the document structure is ready, just put your code anywhere.