Nice Effect

I would like to create a dynamic block transition like the one on this site
[COLOR=#22229c]www.andyfoulds.co.uk[/COLOR]

If someone could give me some direction into how to achieve this effect, I would appreciate it.

Thank you.