码迷,mamicode.com
首页 >  
搜索关键字:hide    ( 2565个结果
NGUI的Scroll View的制作
此为重点: 首先建立一个sprite作为背景,然后建立一个Scroll View, 然后在Scroll View里建立一个Grid 看一下Grid的属性,看到Arrangement是表示排列方式,Sorting也是排序方式,当随意拖动里面的cell 的时候会以你选的方式排序,看Pivot这个是指轴的位置,现在是在中心看图Scenc里面的坐标就知道了。然后看HIde...
分类:其他好文   时间:2014-11-26 14:29:52    阅读次数:196
第五章 jQuery中的动画
http://www.cnblogs.com/shuibing/p/4080543.html通过jQuery中的动画方法,能轻松地为网页添加精彩的视觉效果,给用户一种全新体验。 1.show()方法和hide()方法 该方法的功能与css()方法设置display属性效果相同。 给show()...
分类:Web程序   时间:2014-11-24 18:36:02    阅读次数:286
fragment hide/show 生命周期
Fragment的使用越来越普遍了,掌握它的生命周期以及注意事项时非常有必要的,首先 All subclasses of Fragment must include a public empty constructor. The framework will often re-instantiate a fragment class when needed, in particular duri...
分类:其他好文   时间:2014-11-23 17:37:26    阅读次数:223
Convert Sorted Array to Binary Search Tree转换成平衡二查搜索树
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.二分递归转换Hide TagsTreeDepth-first Search/** * Definition...
分类:其他好文   时间:2014-11-20 13:40:54    阅读次数:171
c++ why can't class template hide its implementation in cpp file?
类似的问题还有: why can't class template use Handle Class Pattern to hide its implementation? || why there are linker problems (undefined reference) to my cl...
分类:编程语言   时间:2014-11-19 20:18:49    阅读次数:526
如何将baidu地图中的baidu logo 去掉
今天我的老大问我是不是可以将baidumap 的js版中baidu logo 去掉。我上网查询一下,有各种方法,比如将对应的logo div remove hide 等等,这些都是需要JS 函数触发执行。但是,我还找到下面的方法,好简单采用css样式覆盖。代码如下:   >  html>  head>  meta charset="utf-8"/>  title>javas...
分类:其他好文   时间:2014-11-19 10:57:19    阅读次数:153
5.1、雨滴游戏的扩展
在本教程中我们将对雨滴游戏进行扩展。我们将尝试添加一个菜单和其他的一些功能。 (前一篇文章:点击进入) ** Screen接口** Screen对于任何游戏都是基本的,Screen包含很多来自ApplicationListener对象的方法,但包含两个新的方法:show和hide。用来获得或失去焦点。 ** Game类** Game类提供来继承自ApplicationListener的接...
分类:其他好文   时间:2014-11-19 07:28:56    阅读次数:242
Add Binary字符数字相加,字符串合成
Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".Hide TagsMathStringclass Solution {public: s...
分类:其他好文   时间:2014-11-18 23:24:37    阅读次数:199
jQuery基础知识--选择器与效果
$(this).hide()-----隐藏当前元素$("p").hide()------隐藏所有段落$(".test").hide()--隐藏所有class="test"的元素$("#test").hide()--隐藏所有id="test"的元素文档就绪函数$(document).ready(fun...
分类:Web程序   时间:2014-11-14 17:10:19    阅读次数:218
[数论] hdu 3988 Harry Potter and the Hide Story
题意: 给N、K,问满足 n!%(k^x)=0 最大的x。 思路: 首先当k=1的时候,输出inf 然后就是,因为要整除,所以我们就分解k的质因子 假设每个质因子有si个,那么对应的n!里面有sumi个 那么对于当前因子最大的x=suni/si 然后就是所有的因子找最小值了。 这里需要打表 10^7的素数表 代码: #include"cstdlib" #include"cstd...
分类:其他好文   时间:2014-11-11 19:15:15    阅读次数:263
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!