I created a site that performs a bunch of calculations when loading a page (basically it determines the size of the user's screen, then assigns all the sizes and positions of the page images and applies them). The problem that I encountered is related to a slower connection, this is visible (all images start in the corner, then change and change). This is not a huge deal, but it is a kind of eyesore.
I use jquery for this and all the calculations happen on $(document).ready , are there any actions before that? Or should I use a preloader? Which one is good (queryLoader did not work for me, and all the others that I can find are only for preloading images).
Any suggestions would be much appreciated!
source share