Delayed show BlockUI plugin
Hello All,
I use the blockUI plugin to block elements whilst performing an ajax request or loading images. The problem I have is minor but when loading an image that has been cached it still fires the block/unblock event - creating a flash as the visual block is displayed briefly.
Is it possible to delay the firing of the block element show (block) event by a few milliseconds. i.e. only fire block element event if request is taking longer than 2 seconds.
I have played around using .delay but seems to have no impact on the blockUI plugin.
Many thanks, sj