1) We have <body>
, it's height
and width
varies (different resolutions).
2) Many blocks with images inside it, can be more than 50 blocks.
3) width
and height
are equal for each block.
How can we fill the body
with all available images, that can be visible on current resolution, and hide others?
There should be no horizontal/vertical scrollbars.
For example, we have 50 blocks inside <body>
. 1024x768 can accommodate only 20, so we show them and hide others. If person changes browser window size to 1280 - we show more blocks and so on.
Actually I don't ask you to write the full script. I need the links on some similar scripts that are already work.
Its better if blocks can change themselves (like slideshow).
Thanks.