jQuery Impromptu
主页: http://trentrichardson.com/Impromptu/index.php
一个用来显示漂亮的错误提示、警告、信息提示的jQuery对话框插件。可以通过css对对话框的样式进行定制,包括定制对话框的按钮等。
$.prompt("Procede?",{buttons:{'Please Do':'yes','Not Now':'no','Never':'never'}});
参数说明:
- 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)
jQuery Impromptu 是一款强大的 jQuery 对话框插件,可以轻松创建美观的错误提示、警告及信息对话框。该插件允许通过 CSS 定制对话框样式,并提供了丰富的配置选项,如自定义按钮、透明度、展示方式等。
492

被折叠的 条评论
为什么被折叠?



