(JS) Dynamically resizing image for web background.

I need a JS that will dynamically resize an image to be used as a background on a website. The background image must retain its original aspect ratio (no stretching or pinching) and also must be as small as possible while filling the screen as seen at this website:

[url removed, login to view]

The exception is that I need the image to self center as well, so that the center of the image is always the at the center of the browser window. I need this as an external JS file that I can implement as needed - with instructions on how to call and implement it on the web document itself.

See attachment for graphical and detailed explanations of what I am looking for. Thanks!

Skills: Javascript

See more: javascript resize background, dynamic image resizing browser, dynamically resize background, resize background, resize center, dynamically resize background image, resize background image, background image resize, resize image background, looking for a small call center, js for, javascript self, javascript background resize ratio, dynamic resize background image, dynamically resize background browser, dynamically resize website, resizing html backgrounds, html background image resize, dynamic resize background javascript, image resize click, dynamic resize, resize background aspect ratio javascript, resize image background javascript, dynamic resize website image background, resize background dynamically

About the Employer:
( 3 reviews ) McDonough, United States

Project ID: #245637