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 |
最后
以上就是坦率口红最近收集整理的关于Jquery Confirm插件的全部内容,更多相关Jquery内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复