Found existing config file ./my.cnf on the system.
Because this file might be in use, it was not replaced,
but was used in bootstrap (unless you used --defaults-file)
and when you later start...
分类:
数据库 时间:
2014-08-15 17:50:09
阅读次数:
239
一、socket.io中sendFile()方法中的文件路径必须是绝对路径,而且要符合一定规则:app.get('/',function(req,res){ res.sendFile('D:\\\\angular-vmaer-0812\\\\socket\\index.html');});s...
分类:
其他好文 时间:
2014-08-15 15:59:38
阅读次数:
196
Summernote一个优秀的js编辑器插件,采用bootstrap风格,简洁优雅,使用非常方便,api文档齐全,有兴趣的朋友可以上Summernote主页查看详情 下面是我所用到的一段编辑器代码,贴上来分享 1 $('目标div元素').summernote({ 2 ...
分类:
其他好文 时间:
2014-08-14 23:34:06
阅读次数:
281
angular 提供了表单指令,它和ng-model会有很密切的互动。我们先来了解一下基本的ng-modelng-model 通常放在input上,用来同步elem & scope 的数据ng-model 在不同的element上会有不同的同步模式,这些angular已经帮我封装了许多 .ng-mo...
分类:
其他好文 时间:
2014-08-14 16:08:58
阅读次数:
266
#显示列表 public function index(){ //载入分页类 $this->load->library('pagination'); //每页显示的条数 $perPage=11; /****配置分页**...
分类:
其他好文 时间:
2014-08-14 13:53:58
阅读次数:
257
1、首先设置button按钮的id:'htmlOptions'=>array('id'=>'buttonStateful')
例如:
widget('bootstrap.widgets.TbButton', array('buttonType'=>'submit', 'type'=>'primary', 'label'=>'提交...
分类:
Web程序 时间:
2014-08-14 10:59:38
阅读次数:
324
http://fortawesome.github.io/Font-Awesome/whats-new/使用Font Awesome替换你的网站图标Font Awesome,原只为Bootstrap而设计的字体图标,不过,现在你可以单独用它来为你的网站工作。丢掉图片图标吧,跟我一起来用Font Aw...
分类:
Web程序 时间:
2014-08-14 10:30:28
阅读次数:
256
要实现这样的功能,点击tab导航ajax动态加载页面,当加载过之后,点击则不再重新加载,直接显示原来加载的页面。tab页面代码:<!--Navtabs--><ulclass="navnav-tabs"role="tablist"id="maintab"><liclass="active"><ahref="#tab1"onclick=‘showPage("tab1..
分类:
其他好文 时间:
2014-08-14 03:55:08
阅读次数:
247
ngResource模块是angular专门为RESTful架构而设计的一个模块,它提供了'$resource'模块,$resource模块是基于$http的一个封装.下面来看看它的详细用法1.引入angular-resource.min.js文件2.在模块中依赖ngResourece,在服务中注入...
分类:
其他好文 时间:
2014-08-13 22:09:27
阅读次数:
414