步骤: 1.右击chrome浏览器快捷方式 属性 目标 后面添加 --purge-memory-button 2. 按 shift+esc 查看进程
分类:
其他好文 时间:
2014-10-10 09:53:44
阅读次数:
207
jQuery拥有可操作HTML元素和属性的方法。 获得内容: text()--设置或返回所选元素的文本内容 html()--设置或返回所选元素的内容(包括HTML标记) val()--设置或返回表单字段的值 获取属性: attr()方法用于获取属性值 例如: 1 $("button").click(...
分类:
Web程序 时间:
2014-10-10 00:35:23
阅读次数:
294
UIButton *b1=[[UIButton alloc]initWithFrame:CGRectMake(200, 200, 40, 20)]; b1.backgroundColor=[UIColor redColor]; view1=[[UIView alloc]initWithFrame.....
分类:
其他好文 时间:
2014-10-10 00:13:57
阅读次数:
266
@RemoteViewpublic class Button extends TextView { public Button(Context context) { this(context, null); } public Button(Context context, Attribu...
分类:
移动开发 时间:
2014-10-09 19:36:07
阅读次数:
279
双向绑定是angularjs亮点之一,在前面的《angularjs培训之helloworld》篇中大概介绍了下双向绑定,现在我们“旧事重提”,先看下下面的代码片段:view中:<inputtype=‘button‘ng-click="set()"value="setValue">
<inputtype="text"ng-model=‘userName2‘>controller..
分类:
Web程序 时间:
2014-10-09 19:19:58
阅读次数:
320
当然除了使用drawable这样的图片外今天谈下自定义图形shape的方法,对于Button控件Android上支持以下几种属性shape、gradient、stroke、corners等。 我们就以目前系统的Button的selector为例说下:Java代码对于上面,这条shape的定义,分别为...
分类:
移动开发 时间:
2014-10-09 18:39:47
阅读次数:
157
1、 WebService方法返回值不能为void。当WebService方法返回值为void时,FF和Chrome会持续等待,认为这个请求没有结束,而在IE中一切是正常的。2、当input的type="button"时或者使用button时,点击后会触发form的submit。当时查找页面刷新的问...
分类:
其他好文 时间:
2014-10-09 18:33:37
阅读次数:
171
紧接上一个的项目,使用NGUI在Plane下创建Button
选中Hierarchy窗口中Plane,选择菜单NGUI->Open->Widget Wizard,打开Widget Tool窗口
在Widget Tool窗口选择先前制作的Atlas,在Template中选择Button,在Background选择按钮背景图,Add To选择Plane,按钮就会出现了。
...
分类:
其他好文 时间:
2014-10-09 17:33:07
阅读次数:
286
jquery动画的显示与隐藏-fadeOut-fadeIn-fadeToggle-fadeTo的代码:
jquery动画的显示与隐藏-fadeOut-fadeIn-fadeToggle-fadeTo-title
$(document).ready(function(e) {
$('button:contains(隐藏)').click(function...
分类:
Web程序 时间:
2014-10-09 15:51:58
阅读次数:
247
buzhang练习动画效果-show-hide-title
$(document).ready(function(e) {
$('button:first').click(function(){
//show([speed,[easing],[fn]])
//speed:三种预定速度之一的字符串("slow","normal", or "fast")或表示动画时长的毫秒...
分类:
Web程序 时间:
2014-10-09 15:35:38
阅读次数:
189