:-D. Really this is my REAL code using block :-P
The problem with blockUI that I have, it is that my hidden layer is
removed when I call to $.unblockUI, so I simply send a copy of the
layer when I call to $.blockUI ;-)
//Configuration for AJAX calls
$().ajaxSend(function(r,s){
$("#msgpanel div").html(msg.send);
$.blockUI($("#msgpanel").clone());
});
$().ajaxStop(function(r,s){
if (!message_shown){$.unblockUI();}
});
$().ajaxError(function(r,s){
$("#msgpanel div").html();
setTimeout("$.unblockUI()",6000);
});
seedy escribió:
there is a great plugin that will do this for you called blockUI
http://www.malsup.com/jquery/block/
VS YR wrote:
--
Best Regards,
José Francisco Rives Lirola <sevir1ATgmail.com>
SeViR CW · Computer Design
http://www.sevir.org
Murcia - Spain