Commits

ohad raz  committed 2d8e4f3

fixed overlay resize

  • Participants
  • Parent commits 3a21522
  • Tags 1.0

Comments (0)

Files changed (1)

File SimpleBox.js

 		// move the SimpleBox to the current window top + 100px
 		$('#SimpleBox').css('top', $(window).scrollTop() + 100 + 'px');
 		$('#SimpleBox').css('marginLeft', '-' + $('#SimpleBox').width() / 2 + 'px');
+		$('#SimpleBox-shadow').css('height', $(document).height()+'px');
 		
 		// display the SimpleBox
 		$('#SimpleBox-shadow').fadeIn('fast', function(){