Loading elements together

Hi all,

I am using a regular page connected to a database to display a text, an image and a sound dinamically. For reasons that are irrelevant to the question I am not using a Wix Dinamic Item Page.

I have a Next button that when clicked updates the elements on the page. However the text is always updated first than the image because it loads faster.

What could I do to make sure that all the elements are updated together ? (i.e. Update all the elements only when the slower one has been loaded).

Any guidance is appreciated

Hi,
My suggestion is to combine a preloader,
Check out this tutorial to learn how to do it.
Roi.