Hi Gordon,

No, it can't be set to display:none, but blockUI does not destroy the
message element - it simply removes it from the DOM.  If you cache it before
calling blockUI you can use the same element over and over as shown in the
last example on this page:

http://www.malsup.com/jquery/block/#page

Mike


On 9/20/07, Gordon <[EMAIL PROTECTED]> wrote:
>
>
> I have been using the blockUI extension for a while and am overall
> happy with it, but I do have one issue that I would like to resolve
> with it.
>
> As far as I can tell the blockUI extension destroys the element it is
> using to display as it's message when you unblockUI.  This isn't an
> issue for simple dialog boxes, but I have one dialog in my project
> that is computed dynamically by the javascript and it's generation can
> have a rather large overhead.  I don't want to have to regenerate this
> dialog every time I display it, so I'd rather just set it display:
> none when it's not needed instead.  Can you do this with blockUI?
>
>

Reply via email to