alert()on the LAN and noticed that the elements which have background, or not loading the background, or the very top. And appeared only after closing the popup alert window. Ie a script is triggered earlier, though I thought that this method is waiting for a full download of all resources.
$(window).loaddoes not work, gives an error?
<link ...> <script ...>