Thank you !!

I tried the following :

setTimeout(function() {
    $.blockUI();
    searchLocDep( .... )
    searchLocArr(  .... )
    searchLocInt(  ... )
    $.unblockUI();
}, 200); 

but it didn't help,
but your suggestion:

$.blockUI();
setTimeout(function() {
    searchLocDep( .... )
    searchLocArr(  .... )
    searchLocInt(  ... )
    $.unblockUI();
}, 200); 

works very good !!

What was wrong actually ? Why my version with setTimeout didn't work ?
Seems pretty basic, block UI, execute some isntructions, unblock.





malsup wrote:
> 
> 
> On Oct 30, 12:47 pm, debussy007 <[EMAIL PROTECTED]> wrote:
>> These functions take a specific amount of time to be executed:
>> searchLocDep( .... )
>> searchLocArr(  .... )
>> searchLocInt(  ... )
>> You can see it in Firefox, the message will appear for like 5 seconds, I
>> don't want the user to interact with the website in between this
>> interval.
> 
> 
> You must use setTimout for something like this to work x-browser.  Did
> you try something like this?
> 
> $.blockUI();
> setTimeout(function() {
>     searchLocDep( .... )
>     searchLocArr(  .... )
>     searchLocInt(  ... )
>     $.unblockUI();
> }, 200);
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Block-UI-bugs-in-IE-Safari-when-used-in-.ready%28%29-tp20247387s27240p20256839.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to