Just in case an Easy Content Unit is a little slow to load (happens every now and then), I thought this might help – an animated gif in the background that tells the visitor that the unit is loading.
Once the unit has loaded it hides the animation (just need to make sure your unit has a background colour set). Could hopefully lessen the chances of a user leaving the page if the ECU doesn’t appear straight away.
It only really works for ECU units like the one below and does involve a little bit more work than just pasting the ECU code.
This is what you would see if the unit above didn’t load straight away –
Might be possible to improve on this idea?
If anyone wants to use this idea feel free to pinch the code & graphics -
Since ECU have now improved speeds and set up a caching feature, this loader is no longer needed