> How would I extend blockUI to have a function callback for when the > queue is empty? I want to use something like this in a project where > I have several queued ajax requests, but I only want to call blockUI > on the first request and unblockUI when the queue is empty.
You can use the ajaxStart and ajaxStop events for managing concurrent requests. If your requests are really queued then I assume your code would know when the queue empty state changes and you can write your blocking logic around that.