// 随滚动条浮动 $('.Step_points').width($('.Leftbox').width()); var Step_points_top=$('.Step_points').offset().top; $(window).scroll(function(){ console.log... ...
分类:
其他好文 时间:
2017-11-29 16:19:15
阅读次数:
97
Input.GetMouseButton(0)://获取鼠标按钮状态,0-鼠标左键,1-鼠标右键,2-鼠标中键; Input.GetAxis("Mouse X ") //鼠标水平向移动的幅度 Input.GetAxis("Mouse Y ") //鼠标垂直移动的幅度 Input.GetAxis("M... ...
分类:
编程语言 时间:
2017-11-29 16:08:53
阅读次数:
173
//滚动触底事件 <scroll-view scroll-y lower-threshold="0" bindscrolltolower="scrollBottom" style="height: 200rpx;"> </scroll-view> ...
分类:
微信 时间:
2017-11-29 10:21:12
阅读次数:
311
1.float浮动属性 left左浮动 right右浮动 2.clear 清除浮动 clear:both 3.overflow 溢出处理 hiddle 隐藏超出层大小的内容 scroll 无论内容是否超出层大小都添加滚动条 auto 超出时自动添加滚动条 eg: <!DOCTYPE html> <h ...
分类:
Web程序 时间:
2017-11-28 21:06:05
阅读次数:
200
一、什么是图片懒加载 当访问一个页面的时候,先把img元素或是其他元素的背景图片路径替换成一张大小为1*1px图片的路径(这样就只需请求一次),当图片出现在浏览器的可视区域内时,才设置图片真正的路径,让图片显示出来。这就是图片懒加载。 通俗一点: 1、就是创建一个自定义属性data-src存放真正需 ...
分类:
其他好文 时间:
2017-11-28 12:42:34
阅读次数:
379
nginx基本配置与参数说明 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 ...
分类:
其他好文 时间:
2017-11-27 21:38:08
阅读次数:
113
其他样式 1.display,直译为显示,表示元素的显示方式 block,块状的显示方式 none,元素不显示,即隐藏。这里的隐藏式不占位置的,即元素会消失。 2.visibility,直译为可见性,表示元素可见与否, visible,默认,元素为可见, hidden,元素为隐藏。这里的隐藏式元素不 ...
分类:
其他好文 时间:
2017-11-27 12:40:21
阅读次数:
148
移位运算符分为左移(<<)、右移(>>)、无符号位移(>>>)。 <<:空位补0,最高位丢弃。相当于数据乘以2的n次幂。 正数的左移: int a=3<<2; System.out.println(a); 3的原码:11 原码 00000000 00000000 00000000 00000011 ...
分类:
其他好文 时间:
2017-11-27 00:11:24
阅读次数:
149
# step 1: 安装必要的一些系统工具 sudo apt-get update sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common # step 2: 安装GPG证... ...
分类:
系统相关 时间:
2017-11-26 12:52:20
阅读次数:
188
一、功能: 1、标准功能 Foundation Services Foundation Components Event Handling Controls Forms Grids Trees Layout DataBinding Themes/Skins 2、扩展功能 SmartClientSer ...
分类:
其他好文 时间:
2017-11-25 23:36:26
阅读次数:
195