Thanks.. I will check this out. I also came across something called BlockUI that looks really promising at first glance
http://malsup.com/jquery/block/ Thanks for the reply. -Westside On Dec 29, 2:53 am, Michel Belleville <michel.bellevi...@gmail.com> wrote: > 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