Block Delay
Categories
Component ID
1075588
Component name
Block Delay
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Block Delay allows you to delay the output of blocks until the page is fully rendered. This can come in handy if you have slow-loading banners, then Block Delay can force them to display last allowing the rest of your page to load faster.
How it works
Block Delay adds a checkbox to the block settings form. When checked the contents of that block will not be rendered in the block, it will be rendered hidden in the page footer (a). The block is empty and serves as a placeholder (b). Below the hidden content in the footer a javascript function is called which swaps the content of (b) with (a).
