红联Linux门户
Linux帮助

jQuery对话框插件 Impromptu

发布时间:2014-04-16 15:20:08来源:红联作者:empast
jQuery Impromptu 是一个用来显示漂亮的错误提示、警告、信息提示的jQuery对话框插件。可以通过css对对话框的样式进行定制,包括定制对话框的按钮等。

参数说明:
•prefix: a class prefix to associate each prompt with a css class
•submit: a function to call when prompt has been submitted
•callback: a function to call when prompt is complete
•opacity: prefered opacity of the overlay
•container: jquery selector for the overlay to cover ("div.mydiv")
•buttons: buttons you would like to display(as many as you like)
•overlayspeed: speed which the overlay fades in/out
•promptspeed: speed which the prompt displays
•show: how to show the prompt(show, fadeIn, slideDown, or your own)

来自:开源中国社区
文章评论

共有 0 条评论