I have background, picture size is 6 MB and I can’t write background: url(...).
This long page consists of 6 parts and I decide to divide the background to 6 pictures and I want each block’s background to load after each other and show a preloader in each block before the background loads.
<div class="page" id="page_1">
<div class="preloader"></div>
<div class="page-content"></div>
</div>
<div class="page" id="page_2">
<div class="preloader"></div>
<div class="page-content"></div>
</div>
<div class="page" id="page_3">
<div class="preloader"></div>
<div class="page-content"></div>
</div>
.......
As per @meager’s comment, you will be better off splitting the the part with the ship in it, the footer and the repeating background. I already did your homework for this one.
Check out this JSFiddle to see how I tested it.
HTML Code
CSS Code
For the top part:
For the middle repeating part:
For the bottom footer:
Images
The top ship part:

The middle repeating part:

The footer:
