Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery BlockUI vs. jqModal

I need a modal windows that tells the user to wait until I've finished some work on the server. Looks like both BlockUI and jqModal can do this.

Do you have any experiences with any of them? Pros and cons? I'm using ASP.NET MVC.

like image 644
Riri Avatar asked Feb 26 '09 19:02

Riri


1 Answers

I did proof of concept modal dialogs with both jqModal and BlockUI, and I can say without a doubt that BlockUI is the "thinnest" of them. It allows much simpler blocking access to anything that jQuery can select, and you simply pass it a "message" parameter of the modal DIV. It will automatically set display:block and set it on top of the modal overlay.

In addition to standard modal dialogs, I use it to set a "please wait" dialog on on my ajax interfaces if the $.ajax call takes longer than 250ms.

like image 167
Peter J Avatar answered Oct 12 '22 12:10

Peter J