You shall not see the yellow box (try to scroll too)

$(function(){
	$('#div1').css({
		top: $(window).height() - 100,
		left: $(window).width() - 200
	});

	$('#div2').css({
		top: window.innerHeight - 100,
		left: window.innerWidth - 200
	});
});