这是我刚学jquery写的,感觉效果不是很好。#scrollPics{ height: 330px; width: 980px; margin-bottom: 10px; overflow: hidden; position:relative;}.slider ul{ ...
分类:
Web程序 时间:
2014-08-17 22:45:53
阅读次数:
202
我们先来设置 UI Root 中的如下:屏幕大小为1024*768
2.1 新建一个Label 控件
先来看看Control Properties (基本上是所有控件都共用的)的以后不再介绍,参数:
其中要设置好Layout 和 Anchor 我们就要完全的理解一些坐标上的问题。
Transform.Position和Layout.Position的关系。是同时改变的。...
分类:
其他好文 时间:
2014-08-17 21:27:02
阅读次数:
292
【OpenGL位图函数】1、OpenGL中glBitmap用于绘制一个二值阵列。 When drawn, the bitmap is positioned relative to the current raster position, and framebuffer pixels corre...
分类:
其他好文 时间:
2014-08-17 21:11:32
阅读次数:
368
N皇后问题的变种,要求直接输出N皇后的解法数目。这道题可以在N-Queens I的基础上增加计数功能,在每求得一个成功的解时(行数为N时)使计数变量递增即可。题目不要求输出具体的解法,因此可以做一点优化,使用position数组用来表示皇后的位置,position[i]的值表示第i行的皇后所处的列,这样子省却字符串数组的开销同时判断是否合法的isValid函数也更加简洁。...
分类:
其他好文 时间:
2014-08-17 13:08:22
阅读次数:
238
此为有时页面加载很慢时体验效果很不好而写的加载动画CSS样式:#loading{position:fixed;_position:absolute;top:50%;left:50%;width:124px;height:124px;overflow:hidden;background:url(wai...
分类:
Web程序 时间:
2014-08-17 12:57:32
阅读次数:
162
只攻击正前方的单位,向前发射一条射线,攻击碰到的单位RaycastHit hit;//range 射线的长度,即攻击范围,maskTarget敌方单位的mask,只攻击敌方单位if(Physics.Raycast(unit.thisT.position, unit.thisT.forward, ou...
分类:
其他好文 时间:
2014-08-17 11:39:02
阅读次数:
218
offset:比如要存储如下词:term,termagancy,termagant,terminal节省存储position:
分类:
其他好文 时间:
2014-08-17 02:27:31
阅读次数:
210
Robot InstructionsYou have a robot standing on the origin ofxaxis. The robot will be given some instructions. Your task is to predict its position aft...
分类:
其他好文 时间:
2014-08-17 02:27:21
阅读次数:
242
android的listview的一个关键技术就是重绘利用。
public View getView(int position, View convertView, ViewGroup parent) {
return null;
}
从Adatper的getview函数我们可以知道,函数提供了一个convertView的对象,这个对象是我们可以在一个列表中重复利用避免每次getvie...
分类:
移动开发 时间:
2014-08-16 18:33:30
阅读次数:
220
Mysql--error:noqueryspecifiedmysql下抛出Noqueryspecified错误: mysql>showmasterstatus\G; ***************************1.row*************************** File:mysql-bin.000003 Position:215 Binlog_Do_DB: Binlog_Ignore_DB: 1rowinset(0.00sec) ERROR: Noquer..
分类:
数据库 时间:
2014-08-16 09:49:31
阅读次数:
302