Inline confirm插件.
爱尔兰的美女Nadia Alramli提供了一个插件, 可以不弹出窗口不使用浏览器的confirm不用该死的facebox.
http://nadiana.com/jquery-confirm-plugin
参数:
| options | ||||
|---|---|---|---|---|
| 名称 | 类型 | 是否必选 | 描述 | 默认 |
| msg | String | Optional | 确认消息 | 'Are you sure?' |
| stopAfter | string | Optional | 确认的提示是否再次出现? 以何种方式出现 Possible values ('never', 'ok', 'cancel', 'once') | 'never' |
| wrapper | String | Optional | Dialog wrapper | '<span></span>' |
| eventType | String | Optional | The event that triggers the confirmation(貌似还有其他) | 'click' |
| dialogShow | String | Optional | Dialog displaying effect, 有点走形哦~ | 'show' |
| dialogSpeed | String | Optional | Dialog displaying speed | 'fast' |
| timeout | Integer | Optional | 自动消失. | 0 |
| options.buttons | ||||
| ok | String | Optional | Ok caption | 'Yes' |
| cancel | String | Optional | Cancel caption | 'No' |
| wrapper | String | Optional | Button wrapper | '<a href="#"></a>' |
| separator | String | Optional | Separator between buttons | '/' |
| cls | String | Optional | Button class | undefined |

Nadia Alramli提供的Inlineconfirm插件允许用户在不使用弹窗的情况下实现确认对话框功能。此插件支持多种显示效果与速度设置,并可通过配置阻止重复确认提示。
1018

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



