popover 一般如下用法; 要注意的就是popover 的trigger方法,如果方法不生效的时候,就多加一个''; ...
分类:
其他好文 时间:
2016-11-17 10:09:07
阅读次数:
256
jQuery 隐藏和显示 通过 hide() 和 show() 两个函数,jQuery 支持对 HTML 元素的隐藏和显示: 实例 $("#hide").click(function(){ $("p").hide(); }); $("#show").click(function(){ $("p"). ...
分类:
Web程序 时间:
2016-11-17 01:27:56
阅读次数:
205
1、全局异步执行耗时任务 dispatch_async(dispatch_get_global_queue(0, 0), ^{ }); 2.主线程异步刷新UI dispatch_async(dispatch_get_main_queue(), ^{ }); 3.改变PlaceHolder的颜色 [u ...
分类:
编程语言 时间:
2016-11-17 01:25:01
阅读次数:
181
-webkit-animation:仍旧是一个复合属性, -webkit-animation: name duration timing-function delay iteration_count direction; 包括以下几个属性 (1) -webkit-animation-name 这个属 ...
分类:
Web程序 时间:
2016-11-15 14:36:22
阅读次数:
162
上次学习了iOS学习笔记09-核心动画CoreAnimation,这次继续学习动画,上次使用的CoreAnimation很多人感觉使用起来很繁琐,有没有更加方便的动画效果实现呢?答案是有的,那就是UIView动画封装 一、UIView动画 苹果知道图层动画使用麻烦,就为我们封装到了UIView里,使 ...
分类:
移动开发 时间:
2016-11-15 11:03:14
阅读次数:
151
<!DOCTYPE html><html><head><meta charset="utf-8"> <title>菜鸟教程(runoob.com)</title> <style>.button { display: inline-block; border-radius: 4px; backgrou ...
分类:
其他好文 时间:
2016-11-13 18:58:19
阅读次数:
178
本地视频列表 1.写布局 相对布局 : ListView和TextView和ProgressBar,初始化 2.加载本地的视频,在子线程中加载视频,加载的视频放入集合中; 设置适配器要在主线程;用Handler,设置适配器 3.设置item的点击事件,把视频播放出来 ...
分类:
移动开发 时间:
2016-11-13 16:14:29
阅读次数:
267
publicvoid onClick(View v){ Animation shake =AnimationUtils.loadAnimation(this, R.anim.shake); findViewById(R.id.pw).startAnimation(shake); } anim\sha ...
分类:
其他好文 时间:
2016-11-13 11:18:28
阅读次数:
158
For a better environment, we should teach our children to put litter/garbage/trash into dustbin/dust pan. When he decided to study hard, his life had ...
分类:
其他好文 时间:
2016-11-12 19:10:15
阅读次数:
248
function animate(ele,json,fn){ clearInterval(ele.timer); ele.timer = setInterval(function () { var bool = true; console.log(1); for(var k in json){ if ...
分类:
其他好文 时间:
2016-11-11 00:05:39
阅读次数:
639