Fullscreen preloader... (with % if possible)

Can someone help me or put me in the direction to make a preloader scale the whole screen with %…

examples: http://www.createforfun.com/ or http://www.method.com

thanks…