二维码又称 QR Code,QR 全称 Quick Response,是一个近几年来移动设备上超流行的一种编码方式,它比传统的 Bar Code 条形码能存更多的信息,也能表示更多的数据类型:比如:字符,数字,中文等等。今天就来跟大家分享一下我的二维码生成解析工具,主要功能就是生成二维码,并且可以添...
"; echo "My name is " . get_class($this) . ""; } } //类内部调用 $bar = new Car(); $bar->getName(); //类外部调用 echo "Its name is " . ge...
分类:
Web程序 时间:
2015-03-05 20:47:00
阅读次数:
172
这个是很常见的一个任务了,基本是通过CSS去实现滚动条。 滚动条 设置是否显示滚动条主要是在CSS中设置下列的属性: 代码如下:overflow:visible|auto|hidden|scroll overflow-x:横向滚动条 overflow-y:纵向滚动条 参数的意义: visible: ...
分类:
其他好文 时间:
2015-03-05 16:40:42
阅读次数:
105
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...
分类:
移动开发 时间:
2015-03-05 16:23:33
阅读次数:
171
用 Eclipse 时经常出现错误提示: Error notifying a preference change listener. Check the log for details. Widget is disposed 最简单解决方法: 关闭 Breadcrumb bar,在需要的时候重新打开。根本原因没有详...
分类:
系统相关 时间:
2015-03-05 13:12:23
阅读次数:
1052
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]...
分类:
移动开发 时间:
2015-03-05 12:54:08
阅读次数:
195
一、窗口的类型
1、Main(主)窗口
2、 Popup(弹出式)窗口
3、Child(子)窗口
4、Response(响应)窗口
5、MDI(多文档界面)窗口
二、窗口的属性
1、General选项卡:决定窗口的一般特性,如整体外观和行为方式。它们的设置是相互关联的。
2、Scroll选项卡:可设置的属性有HScrollBar和VScrollBar,分别表示水平和...
分类:
其他好文 时间:
2015-03-04 19:12:22
阅读次数:
185
活动栏(ActionBar)是Android 3.0之后增加的新组件。它用于替代传统的标题栏。它提供的主要功能包括以下几个。(1)直接显示选项菜单。(2)可添加交互视图到活动栏作为活动视图(Action View)。(3)用程序的图标作为返回Home或者向上的导航操作。(4)提供标签导航功能。(5)...
分类:
其他好文 时间:
2015-03-03 20:10:24
阅读次数:
167
function?Foo()?{
????this.value?=?42;
}
Foo.prototype?=?{
????method:?function()?{}
};
function?Bar()?{}
//?设置Bar的prototype属性为Foo的实例对象
Bar.prototype?=?new?Foo();
...
分类:
Web程序 时间:
2015-03-03 19:06:29
阅读次数:
175