I have the following situation: I want to show my images right away only when the page is fully loaded, because I want to avoid displaying the images one by one inside the documentโs readiness function (they are initially hidden and want to show them right away only when the document is loading), therefore I am using $(window).load(function () {});
When I use this function, it works fine and behaves as expected, but my only problem is that the download function is outdated .
For example, if I use the code below without $(window).load , I can see that my images are loaded one by one, which is not an option (setTimeout is also not a parameter).
My question is: how can I achieve the same behavior without using $(window).load ? Thanks!
Code example:
$(document).ready(function(){
source share