Is it possible to load for a html page and then when its finished loading all elements including pictures it will then move on to that page?
for example the user starts at page1 and then page2 starts to load and then when page2 is finished loading it goes into page2? is this possible with only javascript or javascript libraries?
also page2 has like let say 20 pictures on it, so i want to load all of those pictures and the n display page2?
thanks in advance
Using jQuery it’s pretty trivial.
In
page1.htmlhave such<div>:Then have this code in page1:
This should do the following: