$('.rightArrow').click(function(){
$('body').css({
'background':
'linear-gradient(rgba(0, 0, 0, 0.30),rgba(0, 0, 0, 0.30)),
url("../img/change1.png") no-repeat center center fixed'
});
});
I did it with css but I got error in setting it using jquery. Is this even possible? or I should split them out, like only changing the background-image? since the overlay will be there for all images.