Hi, I'm using this code to display an image when an ajax requests happen in my app:
$("#ajax_loading_div") .bind("ajaxSend", function(){ $(this).show(); }) .bind("ajaxComplete", function(){ $(this).hide(); }); The problem is I'd like to have the div centered in the middle of the screen and have the window be modal so the user can't interact with it during my ajax request. How can I do that hopefully building on the above code snippet? thx -westside