Form::open(array('url'=>'foo/bar','method'=>'put'))Form::close();Form::open(array('url'=>'foo/bar','files'=>true)) //允许文件上传//密码域Form::password("passwo...
分类:
其他好文 时间:
2014-11-26 20:30:01
阅读次数:
1037
2. 完善地图 我们的地图中有空地,墙,钢,草丛,水,总部等障碍物。 我们可以把这些全部设计为对象。2.1 创建障碍物对象群 对象群保存各种地图上的对象,我们通过对象的属性来判断对象是否可以被穿过或被攻击。Barrier.js: 1 // 障碍物基类对象,继承自TankObject 2 Bar...
分类:
编程语言 时间:
2014-11-26 18:45:47
阅读次数:
261
CRM2013中一个很低级很令人无语的BUG,见下图subgrid中的明细条目超过当前页设置的条目后会有翻页,在底下有个paging bar会显示条数、页数、当前所处页数
但sp1版本的CRM打上ur1补丁后,翻到最后一页就会变成这样了,底下的paging bar消失了,是不是感觉很无语。
正常的情况应该是像下面图中显示的这样。
因为我用的是CRM2013的sp1版本,默...
分类:
其他好文 时间:
2014-11-26 16:41:14
阅读次数:
152
再次阅读,发现一些之前忽略掉的内容:1. 关于引用作为参数传递,例如:bar(\@bletch);sub bar{ my @arr = @{shift}}但是这样,shift只是一个变量名称而不是内建函数。如果想要变成内建函数,必须按照下面的方法添加点什么:my @arr = @{shift(...
分类:
其他好文 时间:
2014-11-26 16:08:34
阅读次数:
221
此为重点:
首先建立一个sprite作为背景,然后建立一个Scroll View,
然后在Scroll View里建立一个Grid
看一下Grid的属性,看到Arrangement是表示排列方式,Sorting也是排序方式,当随意拖动里面的cell 的时候会以你选的方式排序,看Pivot这个是指轴的位置,现在是在中心看图Scenc里面的坐标就知道了。然后看HIde...
分类:
其他好文 时间:
2014-11-26 14:29:52
阅读次数:
196
给客户的文档
1 Download the ipa file
2 Drag file to iTunes’s App on the slide menu
if don’t have slide menu on the iTunes, can access the view on the tool bar, andclick “show slide bar”
...
分类:
其他好文 时间:
2014-11-25 23:49:00
阅读次数:
363
不透明 div{background:rgba(0,0,0,0.2) none repeat scroll !important; /*实现FF背景透明,文字不透明*/background:#000; filter:Alpha(opacity=20);/*实现IE背景透明*/width:500...
分类:
Web程序 时间:
2014-11-25 23:04:24
阅读次数:
150
利用highcharts的series:{stacking:‘normal‘}进行区分。$(function(){$(‘#container‘).highcharts({chart:{type:‘bar‘},title:{text:‘Stackedbarchart‘},xAxis:{categories:[‘Apples‘,‘Oranges‘,‘Pears‘,‘Grapes‘,‘Bananas‘]},yAxis:{min:0,title:{text:‘Totalfruitconsumption..
分类:
其他好文 时间:
2014-11-25 18:54:11
阅读次数:
808
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For example,
Given [0,1,0,2,1,0,1,3,2,1,2,1], ...
分类:
移动开发 时间:
2014-11-25 18:42:47
阅读次数:
202
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
分类:
移动开发 时间:
2014-11-25 18:27:58
阅读次数:
156