├── LICENSE ├── README.md ├── bootstrapQ.js └── bootstrapQ.min.js /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 uikoo9 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [bootstrapQ](http://uikoo9.com/bootstrapQ) 2 | ========================================== 3 | 1. bootstrap组件封装 4 | 2. bootstrap组件增强 5 | 3. bootstrap周边组件 6 | 7 | 依赖 8 | --- 9 | 依赖bootstrap3.0,浏览器支持等参考bootstrap3.0的支持。 10 | 11 | 相关 12 | --- 13 | 1. 官网:[http://uikoo9.com/bootstrapQ](http://uikoo9.com/bootstrapQ) 14 | 2. 文档&示例:[http://uikoo9.com/bootstrapQ/docs](http://uikoo9.com/bootstrapQ/docs) 15 | 16 | 介绍 17 | --- 18 | 19 | ###组件封装和增强### 20 | 1. alert 21 | 2. confirm 22 | 3. dialog 23 | 4. msg 24 | 5. tooltip 25 | 6. popover 26 | 7. tree 27 | 28 | ###周边组件### 29 | 1. bstro 30 | 1. 网站引导插件 31 | 2. 官网:[http://clu3.github.io/bootstro.js/](http://clu3.github.io/bootstro.js/) 32 | 2. bsdate 33 | 1. 日期插件 34 | 2. 官网:[https://github.com/eternicode/bootstrap-datepicker](https://github.com/eternicode/bootstrap-datepicker) 35 | 36 | 捐助 37 | --- 38 | 希望得到您的捐助: 39 | 40 | (支付宝捐助) 41 | 42 | ![zhifubao](http://uikoo9.qiniudn.com/@/img/donate/zhifu2.png) 43 | 44 | (微信捐助) 45 | 46 | ![weixin](http://uikoo9.qiniudn.com/@/img/donate/zhifu1.png) 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /bootstrapQ.js: -------------------------------------------------------------------------------- 1 | $.fn.qdata = function(){ 2 | var res = {}; 3 | 4 | var data = $(this).attr('data'); 5 | if(data){ 6 | var options = data.split(';'); 7 | for(var i=0; i