Click to See Complete Forum and Search --> : disable screen


Sid3335
07-28-2006, 02:31 PM
i have a cms that has a lot of ajax in it, sometimes it takes a little while for a response to arrive and because its ajax, it looks as though it isn't doing anything.

is there a way of greying (disabling) the screen with a please wait (processing) message until the response has arrived?

i'm not a css expert, but my thoughts were i could have a layer that is semi transparent and it covers the page, thus not allowing anyone to click whats underneath, is that a possibility?

thanks guys

NogDog
07-28-2006, 03:56 PM
Moving this to the JavaScript forum....

Sid3335
07-30-2006, 11:48 AM
thanks nogdog.

anyone?

felgall
07-30-2006, 03:12 PM
If you want the visitor to wait for the Ajax response then why not just do a synchronous call instead of an asynchronous one or better yet just request the new content in a new page so that it works even when Javascript is disabled. The whole point of asynchronous Ajax calls is that they happen in the background while your visitor continues with whatever they are doing.