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 |