Here, just for this purpose there is a library developed by me.includeHTML
- pure js
- download HTML tag or js in any block
- the callback system s
- endless automatic loading of nested into each other blocks
- Synchron and asynchron when it loads
- correct work with the Protocol file:/// (i.e. can drive/pendrive html ku to start and it will work)
Create the grid layout as necessary and click call the download of new content in the selected cell in the grid layout (layout) or in whole units model.
There is a handler on the end of the load unit: to put the call to request the data.
Now make a download of different file types with the registry the DOM blocks, retaining ease of use and understanding of the library.
I would be grateful for a fork like on the Gita!
PS: Accidentally found that a similar grid layout introduced in AdSense from Google!