jiubanbenn关于flex 请看这里 https://css-tricks.com/snippets/css/a-guide-to-flexbox/ 太详细啦!!! 还通俗易懂!!! 没啥好说的PS display:box 和 display:flex-box 是display:flex 的旧...
分类:
Web程序 时间:
2015-03-08 00:05:05
阅读次数:
204
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
ARPCHECK=no /sbin/ifup eth1 2> /dev/null
Stdout from the command:
Device eth1 does not seem to be present, delaying initialization.
St...
分类:
Windows程序 时间:
2015-03-07 20:05:43
阅读次数:
1240
转化方法--对象或数组都是具有【toLocaleString()】、【toString()】、【valueOf()】方法1 var box =['Vanquisher',25,'计算机编程',new Date]; 2 3 //都返回 Vanquisher,25,计算机编...
分类:
编程语言 时间:
2015-03-06 18:53:33
阅读次数:
181
先定义两变量 移上去的定时器 和 移开的定时器 var overTimer, outTime; $('.box').hover(function(){ overTimer?clearTimeout(overTimer):''; ...
分类:
其他好文 时间:
2015-03-06 16:27:27
阅读次数:
124
对象数组的创建方式 和 访问方式 就略过了!对象 1 function box(obj) 2 { 3 alert(obj.name); 4 alert(obj,age); 5 } 6 7 var obj ={ 8 name:'VanquisherMe', 9 age...
分类:
编程语言 时间:
2015-03-06 16:17:16
阅读次数:
161
前言 flexible box即为可伸缩的盒模型,让容器能让其子元素自由改变宽高或顺序,以最佳的方式填充容器。可以让子元素扩展来填满可用空间,缩小来防止溢出。flexible box由伸缩容器和伸缩项目组成。 兼容性:IE10+、firefox、chrome、safari基本术语 下面是一张伸...
分类:
其他好文 时间:
2015-03-06 16:14:45
阅读次数:
100
模仿块级作用域 1 function box() 2 { 3 //包含在我执行的匿名函数,就可以实现私有作用域 4 (function() 5 { 6 ...
分类:
编程语言 时间:
2015-03-06 06:13:49
阅读次数:
175
匿名函数 1 //把匿名函数赋值给变量 2 var box=function() 3 { 4 return 'Lee'; 5 } 6 7 // 匿名函数自我执行来执行匿名函数 8 (function() 9 {10 alert...
分类:
编程语言 时间:
2015-03-05 19:04:19
阅读次数:
197
★★★★来看一个经典的例子 1 //想实现的是 arr[0]=0,arr[1]=1,arr[2]=2...arr[4]=4 2 function box() 3 { 4 var arr=[]; 5 6 ...
分类:
编程语言 时间:
2015-03-05 18:58:22
阅读次数:
181
/* * 看了下面的调用示例,你就可以自定义弹框了哦。 * - $(element).hDialog(); //默认调用弹框; * - $(element).hDialog({box: '#demo'}); //自定义弹框容器ID/Class; * ...
分类:
Web程序 时间:
2015-03-05 16:54:24
阅读次数:
183