码迷,mamicode.com
首页 >  
搜索关键字:red    ( 13693个结果
锋利的jQuery-2--判断jQuery获取到的对象是否存在$().length
1.使用js获取不存在的对象:document.getElementById("tt").style.color = "red";如果网页中不存在id = "tt"的元素,浏览器就会报错,需要:if(document.getElementById("tt")){ document.getEleme....
分类:Web程序   时间:2014-10-21 21:13:22    阅读次数:140
匀速运动之停止条件
***************************匀速运动 1****************************************                     body{margin:0;padding:0;}         div{width:100px;height:100px;background:red;position: abso...
分类:其他好文   时间:2014-10-21 19:46:05    阅读次数:249
锋利的jQuery-1-- :的用法
在一个id为table的表格的tbody中,如果每一行的最后一列的checkbox没有被禁用,则把这行的背景色设置为红色。$( "#table>tbody>tr:has(td:last:has( :checkbox:enabled ) )" ).css( "background", "red" );
分类:Web程序   时间:2014-10-21 19:26:33    阅读次数:172
缓冲运动-1-[解决1].html
body{margin:0;padding:0;}         div{width:100px;height:100px;background:red;position: absolute;left:0;}         span{width:0;height:600px;position:fixed;left:600px;top:0;border-left:1px solid red;...
分类:Web程序   时间:2014-10-21 17:45:09    阅读次数:150
D. Red-Green Towers Dp
题意:有两种颜色的积木 向上垒,每层只能是同一种颜色,且每层的个数等于层数。问有多少种垒法。Dp滚动数组搞下就好了。#include #include #include #include #include #include #include #include #include #include #i...
分类:其他好文   时间:2014-10-21 17:35:11    阅读次数:197
Jquery选择器小节
在学习Jquery选择器之前我们先简单的回想一下CSS选择器;以下为CSS常用选择器:选择器语法描述示例标签选择器E{CSS规则}以文档元素作为选择器1 tr{2 border: solid 1px red;3 width: 120px;4 }5 a{6 text-decoration:...
分类:Web程序   时间:2014-10-21 17:06:54    阅读次数:205
【原创】利用MySQL 的GROUP_CONCAT函数实现聚合乘法
MySQL聚合函数里面提供了加,平均数,最小,最大等,但是没有提供乘法,我们这里来利用MYSQL现有的GROUP_CONCAT函数实现聚合乘法。先创建一张示例表:CREATETABLE`tb_seq`( `num`int(10)NOTNULL, `seq_type`enum(‘yellow‘,‘green‘,‘red‘)NOTNULL )ENGINE=InnoDBDEFAULTCHARSET=..
分类:数据库   时间:2014-10-21 15:35:37    阅读次数:249
指针数组、数组指针、函数指针、指针函数总结
指针数组 && 数组指针 char (*ptr)[5]; //定义一个指向数组指针ptr,指向包含5个char类型的数组 char *a[5]; //定义一个指针数组a,包含5个char*类型指针 #include int main(void) {     char *a[5]={"red","white","blue","dark","green"};     print...
分类:编程语言   时间:2014-10-21 12:15:22    阅读次数:182
[LeetCode]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 order re...
分类:其他好文   时间:2014-10-21 00:43:54    阅读次数:304
Oracle10g安装中遇到的错误及解决办法
Linux环境:LSB Version: :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarchDistributor ID: RedHatEnterpriseASDescription: Red Hat Ent...
分类:数据库   时间:2014-10-20 11:25:20    阅读次数:272
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!