这个是我的第一个javascript程序
这里的的代码是:
Paragraph 1
document.bgColor = "RED";
在运行的时候只需要把写好的.js文件的后缀名改成。html或者.htm就可以让浏览器加载了。...
分类:
其他好文 时间:
2015-03-10 21:39:22
阅读次数:
154
.box{border:1px solid red;width:600px;height: 300px;margin:30px auto;position: relative;}
.box div{position: absolute;top:0;width:10px;height:10px;background:blueviolet;}
.l1{left:20...
分类:
其他好文 时间:
2015-03-10 10:33:23
阅读次数:
114
首页 效果为:middle-mid部分css样式少写了width,自己添加即可。css代码为:.top{ color:red; width:auto; height:10%; border-width:1; border-style:dotted;}.m...
分类:
Web程序 时间:
2015-03-10 00:06:49
阅读次数:
140
声明:翻译官方文档:http://docs.mongodb.org/master/tutorial/install-mongodb-on-red-hat/?_ga=1.146202678.362433698.1425911361概述: 通过该教程学会在RHEL或centos下安装mongodb的.....
分类:
数据库 时间:
2015-03-10 00:03:55
阅读次数:
202
-(void)color:(NSString *) red andGreen:(NSString*) green andBule:(NSString*) bule{
NSInteger Red = [red integerValue];
NSInteger Green = [green integerValue];
NSInteger Bule = [bule intege...
分类:
Web程序 时间:
2015-03-09 17:33:35
阅读次数:
145
### 题目大意
用r块红色、g块绿色的方块,搭成一个h层(尽可能高)的塔,第i层有i个相同颜色的方块。
问所有可行的方案有多少。
### 解题思路
动态规划
dp(h, r) 表示到h层,已用r块红色的方案数
绿色个数可以通过h,r确定。
dp(h, r) = dp(h-1, r-h) + dp(h-1, r)
明显可以滚动压缩,dp只与之前一次相关,r反向循环避免引用修改过的数据。
dp[r] +...
分类:
其他好文 时间:
2015-03-09 12:53:29
阅读次数:
155
1、RHEL 6 集群配置官方管理手册https://access.redhat.com/site/documentation/zh-CN/Red_Hat_Enterprise_Linux/6/pdf/Cluster_Administration/Red_Hat_Enterprise_Linux-6...
分类:
其他好文 时间:
2015-03-07 15:29:13
阅读次数:
221
jQuery操作表格,tabletrtd,单元格乔乐共享jQuerytable单元格表格最终效果图:.td_back_color { background-color: red;}.td_center { text-align: center; font-weight:bold;} 2013春节.....
分类:
Web程序 时间:
2015-03-07 11:29:25
阅读次数:
155
Sort Colors问题:Given an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the...
分类:
其他好文 时间:
2015-03-07 10:11:41
阅读次数:
189
如上图,不同来源的两个样式,第一个样式设置了font-weight,第二个没有,浏览器会把它叠加在一起,即浏览器会把各个零散的整合成一个整体。第一个样式color:red,第二个样式color:blue,浏览器会让后者覆盖前者,最终结果还是color:blue。 覆盖的默认规则是后者覆盖前者,但是....
分类:
其他好文 时间:
2015-03-06 20:25:30
阅读次数:
192