> On Apr 30, 5:03 am, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
>> You can still use blockUI in that way even though the displayBox
>> function has been removed in the 2.x line.
>
> Is there an easy way to close the box by clicking outside of it --
> like how it worked in the old displayBox?
>

This should work:

$.blockUI({ message: 'Just a moment' });
$('div.blockUI').click($.unblockUI).attr({
    title: 'Click to Close'
});

Reply via email to