I can not fully understand the jQuery Mobile page events hierarchy.
How do I assemble the entire contents of an HTML page (and its modifications) and only present it to the user end when the page is ready?
For example: I use a JS function to calculate screen dimensions to center some elements (horizontally and vertically), but when I access the page, the elements appear at the top and are shifted to the center of the page. Of course this is done quickly, but it is noticeable by the end user.