<html>
<head>
<metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/>
<metaname="viewport"content="initial-scale=1.0,user-scalable=no"/>
<styletype="text/css">
body,html,#allmap{width:100%;height:100%;overflow:hidden;..
分类:
其他好文 时间:
2014-11-29 07:09:59
阅读次数:
1347
自己动手打造windows版的ibook
前几篇我们很少涉及网页中“锚”标签,现在该标签登场了。输入以下代码并保存为html文件(如:bookrack.html):
.page {position:absolute;width:100px;height:130px;border:1px solid #ccc;display:block;}
div:hover{ba...
分类:
移动开发 时间:
2014-11-29 07:08:28
阅读次数:
265
按照之前的方案,团队成员得分统计表见下:P(Pd*pf)比重个人得分黎柱金3354000.184464.5晏旭瑞3060000.168259孙思权3041500.167258冯飘飘2718000.149452.5马越2160000.118741.5张磊1938000.106537.5吕雨朗19180...
分类:
其他好文 时间:
2014-11-29 00:07:30
阅读次数:
182
经过我们团队的讨论,第一轮迭代团队贡献的分配方案如下:团队成员最终得分高孟烨64邓亚梅39陈少杰62金鑫57雷元勇36王迪37郑培蕾55第一轮迭代的成绩让我们都不是很满意,所以成败就看M2阶段了,小伙伴们加油啦~暂定转会的成员是邓亚梅,明天上课的时候最后确定。
分类:
其他好文 时间:
2014-11-29 00:06:58
阅读次数:
202
元素的绝对居中应该是很多人熟悉的一个小应用,我记得很多年前去神州数码面试的时候就遇到过这个面试题。方法比较简单,代码如下:.node{ width : 300px; height : 400px; position : absolute; left : 50%; top...
分类:
Web程序 时间:
2014-11-28 19:54:44
阅读次数:
216
global.css@charset "utf-8";body { margin: 0 auto; font-size: 12px; font-family: Verdana; line-height: 1.5;}ul, dl, dd, h1, h2, h3, h4, h5, h6, form, p...
分类:
Web程序 时间:
2014-11-28 18:04:23
阅读次数:
207
方法1: 设定固定的值,这种方式跟在html中设定canvas的值没有什么区别:window.onload = function(){ canvas.height = 100; canvas.width = 200;}changeCanvasSize = function(){ c...
分类:
编程语言 时间:
2014-11-28 17:48:37
阅读次数:
154
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.有序数组变二叉平衡搜索树,不难,递归就行。每次先序建立根节点(取最中间的数),然后用子区间划分左右子树。一...
分类:
其他好文 时间:
2014-11-27 23:20:29
阅读次数:
269
改变锚点时,同过计算偏移量修正position从而保持CCNode在屏幕上的位置不变 1 void CLayer::change_anchorpoint(CCNode* node,CCPoint newpt) 2 { 3 float dx, dy, diffx, diffy, height,...
分类:
其他好文 时间:
2014-11-27 21:58:52
阅读次数:
566
要求:判断一棵树是否是平衡二叉树Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a binary tree i...
分类:
其他好文 时间:
2014-11-27 17:44:31
阅读次数:
140