Something like this perhaps ? http://docs.jquery.com/UI/Dialog
Michel Belleville 2009/12/29 Westside <malik.robin...@gmail.com>: > 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 >