#Red hat enterprise linux variants ##Two install sets available ##两种安装方案 ###Server rhel server rhea advanced platform ###Desktop rhel desktop workstation option Multi-OS option ##RH network #...
分类:
Web程序 时间:
2014-07-23 21:33:26
阅读次数:
283
$('li:nth-child(3n)').css('color','red');//表示第3、6、9、12……个li的颜色变为红色,n即1、2、3、4、5……
分类:
Web程序 时间:
2014-07-23 16:18:01
阅读次数:
509
介绍还有一种平衡二叉树:红黑树(Red Black Tree),红黑树由Rudolf Bayer于1972年发明,当时被称为平衡二叉B树(symmetric binary B-trees),1978年被Leonidas J. Guibas和Robert Sedgewick改成一个比較摩登的名字:红黑...
分类:
其他好文 时间:
2014-07-23 15:16:46
阅读次数:
375
基本思路:使用定时器让物体向右运动,在运动的过程中再不是匀速运动,而是先快后慢,但是到达终点的时候,必须注意要使用向上取整函数Math.ceil()和向下取整函数Math.floor();这样才能够正确无误地到达终点,而不是有出入。
#div1{
width:100px;
height:100px;
background:red;
position:ab...
分类:
Web程序 时间:
2014-07-23 13:36:26
阅读次数:
224
#div1{
width:100px;
height:150px;
background:red;
position:absolute;
right:0;
bottom:0;
}
window.onscroll=function (){
var oDiv=document.getElementById('div1');
var s...
分类:
Web程序 时间:
2014-07-23 13:33:26
阅读次数:
216
#div1{
width:100px;
height:150px;
background:red;
position:absolute;
right:0;
bottom:0;
}
window.onscroll=function (){
var oDiv=document.getElementById('div1');
var s...
分类:
Web程序 时间:
2014-07-23 13:33:17
阅读次数:
286
如果只为div添加一个定时器的话,在多个div变宽的时候会发生问题,但是如果为每个div添加一个定时器,那么就可以实现多个物体变宽,具体代码如下:
div{
width:100px;
height:50px;
background:red;
margin:10px;
}
window.onload=function (){
var aDiv=docume...
分类:
Web程序 时间:
2014-07-23 13:15:59
阅读次数:
220
修改/etc/init/tty.conf文件将exec /sbin/mingetty $TTY改为exec /sbin/mingetty --autologin root $TTY或者修改/etc/inittab文件将3改为1参考网址:http://zhumeng8337797.blog.163.c...
分类:
系统相关 时间:
2014-07-23 11:34:36
阅读次数:
366
标签的伪类样式一组专门的预定义的类称为伪类,主要用来处理超链接的状态。超链接文字的状态可以通过伪类选择符+样式规则来控制。伪类选择符包括:总: a 表示所有状态下的连接 如 a{color:red}① a:link:未访问链接 ,如 a:link {color:blue}② a:visited:已访...
分类:
其他好文 时间:
2014-07-22 22:40:54
阅读次数:
178
基本思路:样式
#div1{
width:200px;
height:200px;
background:red;
position:absolute;//不加绝对定位,就跑不起来
top:50px;
left:0px;
}
var timer=null;
function startMov...
分类:
Web程序 时间:
2014-07-22 22:38:54
阅读次数:
194