### ![jquery-confirm](https://raw.githubusercontent.com/craftpip/jquery-confirm/master/jquery-confirm.png "jquery-confirm")
*alerts, confirms and dialogs in* ***one.***
v2.0.0
A multipurpose plugin for alert, confirm & dialog, with Super powers.
* Keyboard actions.
* directly load content via Ajax
* Auto-close dialog after a specified time
* prevent Dialog close on background click
* callback function, and more
View Detailed [Documentation & Examples](http://craftpip.github.io/jquery-confirm)
## Installation
Download the latest release [here](https://github.com/craftpip/jquery-confirm/archive/master.zip) and use the files within `dist` folder.
via Bower: <br>
`$ bower install craftpip/jquery-confirm` <br>
##Basic Usage
How to respond to user action
```js
$.confirm({
confirm: function(){
console.log('the user clicked confirm');
},
cancel: function(){
console.log('the user clicked cancel');
}
});
```
## Demo and Documentation
See Detailed Docs + Example [here](http://craftpip.github.io/jquery-confirm).
## Authors
[Boniface Pereira](https://github.com/craftpip) & Awesome Contributors.
## Issues
Please post issues and feature request here [Github issues](https://github.com/craftpip/jquery-confirm/issues)
## jconfirm alias
The `$.alert()` , `$.confirm()` & `$.dialog()` are alias of `jconfirm();`.
Checkout the [documentation](http://craftpip.github.io/jquery-confirm) for further information.
## Version changes
(New in 2.0.0)
* Added closeAnimation
* Added $('a').confirm() to emulate confirm();
* Smoother animations
* Changed backgroundDismiss animation
* Updated documentations
(New in 1.7.9)
* Minor bug fixes
(New in 1.7.8)
* RTL support
* Option to select keyboard keys
(New in 1.7.5)
* Callbacks added, onOpen, onClose, onAction
* Improved docs.
(New in 1.7.3)
* Fix show and hide for closeIcon
* Improved animations, more CSS
* setContent method improved.
* setTitle method added.
(New in 1.7.0)
* Option for custom width added (using bootstrap grid)
* Text overflow logic changed, #13
* Documentation & improvements to contentLoaded callback.
(New in 1.6.0)
* Theme 'supervan' added
* Load via URL advanced added. now get control over your ajax calls & callbacks.
* methods setContent, isClosed added
* Improved documentation
(New in 1.5.3)
* Bounce Animation added (kind of elastic).
* Hide title if false.
* Keyboard action, SPACE key added to trigger confirm function.
* Background now has fade animation (open & close).
* Keep a record of opened, closed, currentlyOpened dialogs `jconfirm.record`.
* Tweaks.
(New in 1.5.1)
* Bower added.
(New in 1.5.0)
* Keyboard support to control modal. (ENTER and ESC).
* Control over the dialog via `this`.
* Updated DOCUMENTATION.
* Code optimized.
(New in 1.1.3)
* `$.dialog` alias added.
* Refined animations.
* Removed Blur animation (was buggy).
* Animation speed fixed.
* Ajax-content loading now waits and disabled buttons until loaded.
* Modal center justified on screen.
* Added close icon if buttons are disabled (dialog mode).
* Disabled window scroll on modal open.
* Fixed bugs.
(New in 1.1.0)
* Ajax content loading `content: 'url:loadfrom.html'`.
## Copyright and license
Copyright (C) 2014-2015 jquery-confirm
Licensed under [the MIT license](LICENSE).
没有合适的资源?快使用搜索试试~ 我知道了~
Welcome to jquery-confirm
共35个文件
css:7个
js:7个
svg:3个
需积分: 10 7 下载量 81 浏览量
2016-01-15
15:07:48
上传
评论
收藏 558KB RAR 举报
温馨提示
Welcome to jquery-confirm,使用jquery-confirm插件,制造出各种弹出式提醒框,希望对大家的学习有一定的帮助
资源推荐
资源详情
资源评论
收起资源包目录
craftpip-jquery-confirm-v2.0.0-0-g00f7956.rar (35个子文件)
craftpip-jquery-confirm-v2.0.0-0-g00f7956
craftpip-jquery-confirm-00f7956
css
jquery-confirm.less 8KB
jquery-confirm.css 10KB
form.txt 643B
package.json 961B
jquery-confirm.png 33KB
index.html 87KB
js
jquery-confirm.js 17KB
LICENSE 1KB
dist
jquery-confirm.min.css 9KB
jquery-confirm.min.js 9KB
table.html 7KB
.gitignore 38B
demo
logo-name.svg 5KB
fonts
fontawesome-webfont.eot 55KB
glyphicons-halflings-regular.woff 23KB
fontawesome-webfont.woff 64KB
FontAwesome.otf 84KB
glyphicons-halflings-regular.ttf 40KB
glyphicons-halflings-regular.eot 20KB
glyphicons-halflings-regular.svg 61KB
fontawesome-webfont.svg 280KB
fontawesome-webfont.ttf 110KB
demo.min.js 1KB
demo.min.css 2KB
libs
jquery.min.js 94KB
bootstrap.min.css 107KB
pretty.js 13KB
bootstrap.min.js 31KB
default.min.css 2KB
bootstrap-theme.min.css 18KB
font-awesome.min.css 21KB
highlight.min.js 34KB
README.md 3KB
bower.json 656B
text.txt 2KB
共 35 条
- 1
资源评论
baifanvhai2
- 粉丝: 1
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功