This particular style is exactly what I am looking for.
body{
background: url("img/Background_Home.jpg") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
margin:0;
}
Here is my attempt...
function update_background(image){
$('body').css({"background":"url(img/"+image+".jpg)"});
$('body').css({"background":"no-repeat center center fixed"});
$('body').css({"-webkit-background-size":"cover"});
$('body').css({"-moz-background-size":"cover"});
$('body').css({"-o-background-size":"cover"});
$('body').css({"background-size":"cover"});
}
Outcome: The background image does not appear (although it works with just the first line).
I believe the issue may be in the second line?