/*=======================翻页样式===========================*/.pages
{ width: 660px; text-align: center; font-size: 14px; float: left; margin-left:
340px;...
分类:
Web程序 时间:
2014-05-27 01:54:01
阅读次数:
491
样式定义:#ContactAbout { height: auto; position:
relative; overflow: hidden; }#sectioncontact { display: block; width: 100%;
position: relative; height: 7...
分类:
Web程序 时间:
2014-05-27 01:32:15
阅读次数:
415
.v_comment
img{ height:36px; height:36px; float:left; padding:1px; margin:2px; border: 1px
solid #ddd; }.v_comment img:hover{border: 1px solid #ccc; -...
分类:
Web程序 时间:
2014-05-27 01:31:52
阅读次数:
264
作者 Hoogle, 火龙果软件 发布于:2014-01-23有人在Stack
Overflow上发问,动手开发网站之前,需要知道哪些事情?不出意料地,他得到了一大堆回答。通常情况下,你需要把所有人的发言从头到尾读一遍。但是,Stack
Overflow有一个很贴心的设计,它允许在问题下方开设一个w...
分类:
Web程序 时间:
2014-05-24 06:41:46
阅读次数:
448
Python load json file with UTF-8 BOM header -
Stack Overflow 12 down voteacceptedYou can open with codecs:import jsonimport
codecsjson.load(codecs.ope...
分类:
编程语言 时间:
2014-05-19 23:02:20
阅读次数:
507
是新近的firefox浏览器中支持overflow,
underflow这两个事件,当某一元素的大小超出父元素的显示范围就会触发overflow事件,如果从超出显示再变回不超出的状态则触发underflow事件.
测试用例 by 司徒正美 ...
分类:
其他好文 时间:
2014-05-19 11:09:57
阅读次数:
269
public class MainActivity extends Activity {
private ImageView iv;
float startX = 0;
float startY = 0;
//获得一个可以被bitmap
Bitmap bitmap = Bitmap.createBitmap(400, 400,Bitmap.Config.ARGB_8888);
//创...
分类:
移动开发 时间:
2014-05-18 15:54:33
阅读次数:
318
用jquery实现的一个超级简单的下拉菜单。
效果图
初始效果
鼠标悬浮效果
代码
nav a {
text-decoration: none;
}
nav > ul > li {
float: left;
text-align: center;
padding: 0 0.5em;
}
nav li ul.sub-menu {
...
分类:
Web程序 时间:
2014-05-18 10:48:11
阅读次数:
522
Point pos(100, 100); //start point
m_animSprite->setPosition(pos);
int count = 8; float radius = 50.f; float angle = 360.f/count; auto array = PointArray::create(count + 1); Point pt0(r...
分类:
其他好文 时间:
2014-05-18 07:02:31
阅读次数:
250
数据类型:基本数据类型和引用数据类型基本数据类型包括 数值型(整数类型
byte,short,int,long;浮点类型 float double);字符型char;布尔型boolean引用数据类型包括
类class;接口interface ;数组2.字面量整数字面量为整数(int);小数字面量为双...
分类:
移动开发 时间:
2014-05-17 21:26:27
阅读次数:
321