Is there an equivalent to ModalPopup in jQuery UI?
Is开发者_开发知识库 there an equivalent of ASP.NET's ModalPopup in jQuery UI?
I'm not sure about ASP.net's implementation, but jQuery DEFINITELY has these types of popups.
Here's your basic popup: http://jqueryui.com/demos/dialog/
Here's a list of plugins that are specifically modal popups: http://plugins.jquery.com/search/node/modal
http://jqueryui.com/demos/dialog/#modal
$( ".selector" ).dialog({ modal: true });
IMO, the jQuery UI popups behave much better than their ASP.Net equivalents (including when used with ASP.Net).
I've a great personal collection of top 15+ jquery modal plugins which really satisfies all our modal pop requirements using jQuery. Please feel free to comment about it.
http://itswadesh.wordpress.com/2011/04/13/15-jquery-popup-modal-dialog-plugins-and-tutorials/
You can try this http://www.ericmmartin.com/projects/simplemodal-demos/. Here variety of Modal Pop ups are available. They all are really awesome. Choose and modify them as per your requirement.
精彩评论