I've downloaded the latest blockUI code and despite using the new
allowBodyStretch option, the overlay still will not completely cover
the viewport in IE6, for short pages.

The current code (around line #163) tries to size the body and html
tags with the following:

$('html,body').css('height','100%');

Since the above code didn't work for me I changed it to the following:

$('html,body').height($(window).height());

Now it works perfectly for me. Doing it this way now makes blockUI
plugin dependant on the dimensions plugin since dimensions overrides
the $(window).height() method to return the viewport's inner height.
However I don't see this as being a big deal since most of us are
probably already using dimensions anyway, and the next version of
jQuery core is going to have full dimension support built in.

Does anybody see a problem doing it this way? If not, could this be
added to the blockUI codebase in the near future?

Thanks

Brian

Reply via email to