jaysalvat/vegas — pull request #49 by ZheFeng (2014-01-03 12:38:03+00:00)
Title: enable the background for any html element, not just for body

When I use vegas, I need to put the background image for a div but not for full screen.

So just change the code.

Now you can pass a jquery selector for backgroundTarget like this:
$.vegas({
src: 'http://your.image.url',
backgroundTarget: '.background'
})

then, the image will just as a background for the element which has a class call "background"