加载中
js获取键盘开关事件

Keyboard will be automatically invoked while you are focusing textfield, textareafield ... . So you can create listener to the focus event in javascript which is similar to list...

2017/11/29 18:40
144
css 阻止页面滚动

$('html').css('overflow','hidden'); $('html').css('height','100%'); $('body').css('overflow','hidden'); $('body').css('height','100%');...

2017/11/29 17:36
845
php curl不能解析/etc/hosts设置的本地域名

mac os x +php5.6.30版本尝试过下面的参数仍然无效,直接无视/etc/hosts文件的定义,hosts文件权限已经全局可读。 function post_content($url, $data) { $ch = curl_init(); ...

2017/11/22 17:16
3.4K
reactjs bind()的使用场景

传递附加参数 render: function() { return _.map(list, function(item) { return <li onClick={this.clickItem.bind(this, item)}>{item.name}</li>; }); }, clickItem: fu...

2017/11/14 10:35
166
div垂直居中

css3的方法(如果只用在手机端,足够了) display: -webkit-flex; align-items: center;//子元素垂直居中 justify-content:center;//子元素水平居中 兼容ie8的方法 <div class="father"> ...

2017/11/09 21:32
83
html 5 audio 在某些设备上要点两次才播放的问题

html5 audio标签在iPhone 6/6s下要定义proload预加载,点击一次就可以播放,否则会要点两次才能播放。其它设备没有发现这个问题。

2017/11/07 10:13
756
Bootstrap Table Examples

Bootstrap Table 是一款基于bootstrap封装的表格组件,使用起来比较方便。官方文档对服务器端分页表述不是很清楚,查了它的demo,看到接口返回的数据,可以参考一下他的网页源码。此网页源码...

2017/11/03 10:00
959
centos7 安装tomcat成服务启动

centos7之后定义在/etc/rc.local的启动程序已经失效,需要定义成服务启动方式。 cat /etc/systemd/system/tomcat8.service #默认服务的安装路径是 /usr/lib/systemd/system/nginx.service [U...

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部