Click to See Complete Forum and Search --> : What's the best way of putting a layer on top of the current content?


OM2
05-03-2008, 07:17 AM
I have some PHP code.
It performs and which takes a few seconds to complete.
When the action happens, everything else is disabled.

What I would like though is a layer to be put on top, saying: please wait while action is performed.
And then the layer should disappear when the action is finished.

What's the best way of creating a layer?

AND: how do I make that layer be semi transparent??

Thanks.


OM

OM2
05-09-2008, 01:29 PM
anyone? :(

ray326
05-09-2008, 11:52 PM
What's the best way of creating a layer?
<div id="busydialog"><p>I'm busy now.</p></div>
What I would like though is a layer to be put on top, saying: please wait while action is performed.
And then the layer should disappear when the action is finished.You could use some Javascript to make a request to which the server responds when the action is complete.