This plugin allows you to add big images as background for a page, it resize it to fit the page and will automatically resize as the window size changes. To avoid the waiting for the background to load and then to use the site, this plugin fetches the background image after the page is loaded.
How to use:
This plugin doesn’t require some specific markup. You just include the jquery.min.js file and the jquery.backstretch.min.js one, and then fire the plugin with the following line:
- you can attach Backstretch to a click event: change the background image when some element is clicked
- use Backstreched in a slideshow: add several images and create a slideshow as background