简单瀑布流代码实现
html代码如下
瀑布流-zhangzhang
*{padding: 0;margin:0;}
#main{
position: relative;
}
.pin{
padding: 15px 0 0 15px;
float:left;
}
.box{...
分类:
编程语言 时间:
2014-08-29 22:46:28
阅读次数:
378
public static void main(){ int box=500000; string User; try { for(int i=1;i99 && user[i].getNBox()=0) { box--; user[i].setNBox()=1; user[i].setPoint()...
分类:
其他好文 时间:
2014-08-29 22:36:48
阅读次数:
241
public static void main(){ int box=500000; string User; try { for(int i=1;i99 && user[i].getNBox()=0) { box--; user[i].setNBox()=1; user[i].setPoint()...
分类:
其他好文 时间:
2014-08-29 22:31:08
阅读次数:
289
安装MSI包使用PowerShell调用WMI对象,你可以执行下面的脚本来安装你的MSI安装包:1 $box="deviis01" #this is the name of your server2 $product= [WMICLASS]"\\$box\ROOT\CIMV2:win32_Produ...
分类:
其他好文 时间:
2014-08-28 14:41:19
阅读次数:
476
1、注意在使用弹性盒模型的时候 父元素必须要加display:box 或 display:inline-box 1 2 3 4 52、Box-orient 定义盒模型的布局方向 ?Horizontal 水平显示 ?vertical 垂直方向 1 ...
分类:
其他好文 时间:
2014-08-28 11:10:19
阅读次数:
261
Description
Box Game
There are two identical boxes. One of them contains n balls, while the other box contains one ball. Alice and Bob invented a game with the boxes and bal...
分类:
其他好文 时间:
2014-08-28 09:41:09
阅读次数:
189
下面例子以Label和Sprite为例,进行说明如何在NGUI中对控件添加单击响应的事件方法。首先在UIRoot下添加Label控件,然后Scene场景中右键Label-->Attach-->Box Collider,说明Label添加了碰撞检测。然后右键Label-->Attach-->Butto...
分类:
其他好文 时间:
2014-08-28 00:46:58
阅读次数:
400
Droppable(放置)组件也是一个基本组件,用法较简单,语法都在例子里面注释了:
示例:
jQuery Easy UI
$(function () {
$.fn.droppable.defaults.disabled = true;//重写默认值为true
$('#dd').droppable({
accept : '#box,#ipt',//设置哪...
分类:
Web程序 时间:
2014-08-27 22:03:08
阅读次数:
266
我们都知道DOM节点的title属性,Tooptip组件就是比较强大的title,它可以自由的设置自己的样式、位置以及有自己相关的触发事件。
示例:
jQuery Easy UI
$(function () {
$.fn.tooltip.defaults.position = 'top'; //重写属性的默认值
$('#box').tooltip({
/...
分类:
Web程序 时间:
2014-08-27 22:02:27
阅读次数:
343
定义两个可伸缩的 div 元素。实例见http://www.w3school.com.cn/cssref/pr_box-flex.asp之前的移动端视图: bo...
分类:
移动开发 时间:
2014-08-27 16:30:17
阅读次数:
183