The plugins site is currently in development.
We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.
jquery modaldialog
well, it's a facebook like dialog...
API:
data(Object): the data u'll post to modaldialog.
buttonText(String): button text.
okEvent(Function): button event.
initWidth(Interger): the init width of modaldialog.
title(String): title of modaldialog
content(String): content of the modaldialog(u can use html tags).
overlayCss(Object): the css of overlay.
jmodalbgCss(Object): the css of modaldialog background(used to generate shadow).
jmodalCss(Object): the css of modaldialog.
closeCss(Object): the css of close anchor.
titleCss(Object): the css of title.
contentCss(Object):the css of content.
bottomCss(Object): the css of modaldialog bottom.
buttonCss(Object): the css of ok button。
use as:
$.fn.jmodal({
title: 'Information',
content: 'Hi,you displayed me?',
buttonText: 'Yes,It\'s me',
okEvent: function(e) {
alert('jmodal\'ll be closed after u click me:-)');
}
}); 