<html> <head> </head> <body> <!--<div id="one" onclick="show()">--> <div id="one" onmouseover="show(this,'red')" onmouseout="show(this,'blue')" onclic ...
分类:
其他好文 时间:
2016-06-25 21:44:42
阅读次数:
180
Given an input string, reverse the string word by word. For example,Given s = "the sky is blue",return "blue is sky the". Update (2015-02-12):For C pr ...
分类:
其他好文 时间:
2016-06-22 20:24:54
阅读次数:
139
#!/bin/bash##testcolorforscriptRED_COLOR=‘\E[1;31m‘GREEN_COLOR=‘\E[1;32m‘YELLOR_COLOR=‘\E[1;33m‘BLUE_COLOR=‘\E[1;34m‘PINK=‘\E[1;35m‘RES=‘\E[0m‘if[$#-eq2]thenecho"Usage:`basename$0`content{red|blue|yellow|pink|res|green}"exit1fifunctionecho_color(){case$2inr..
分类:
系统相关 时间:
2016-06-22 17:21:04
阅读次数:
226
直接上代码:#mcore.sh
#!bin/bash
functioncolour()
{
case$1in
black_white)
echo-e"\033[40;37m"
;;
black_green)
echo-e"\033[40;32m"
;;
black_cyan)
echo-e"\033[40;36m"
;;
red_yellow)
echo-e"\033[41;33m"
;;
yellow_blue)
e..
分类:
系统相关 时间:
2016-06-22 07:00:35
阅读次数:
281
一、CSS文本格式
1、Text Color
颜色属性被用来设置文字的颜色。颜色是通过CSS最经常的指定:十六进制值 - 如"#FF0000";一个RGB值 - "RGB(255,0,0)";颜色的名称 - 如"红"
一个网页的背景颜色是指在主体内的选择:
body {color:blue;}
h1 {color:#00ff00;}
h2 {color:rgb(...
分类:
Web程序 时间:
2016-06-21 06:59:29
阅读次数:
319
[{user: 'blue', pass: '123456'},{user: '张三', pass: '654321'},{user: '李四', pass: '789456'},{user: '王五', pass: '7777'}] ...
分类:
Web程序 时间:
2016-06-18 06:41:49
阅读次数:
179
例一: <?php$input = array("a" => "green","", "red","b" => "green", "","blue", "red","c" => "witer","hello","witer");//$result = array_unique($input); // ...
分类:
编程语言 时间:
2016-06-17 22:23:35
阅读次数:
232
TImgLibColor = record Red: Byte; Green: Byte; Blue: Byte; Used: Boolean; end; 文件头TImgLibPalette = array[0..255] of TImgLibColor; TA2ImageLibHeader = r ...
分类:
其他好文 时间:
2016-06-15 22:23:45
阅读次数:
888
对元素类的控制(增删改切换)达到不同的页面效果<head><script src="/jquery/jquery-1.11.1.min.js"></script><script>$(document).ready(function(){ $("#blue").click(function(){ $( ...
分类:
Web程序 时间:
2016-06-15 01:48:51
阅读次数:
280
CSS hack:针对IE6,IE7,firefox显示不同效果 做网站时经常会用到,衡量一个DIV+CSS架构师的水平时,这个也很重要。 区别不同浏览器的CSS hack写法: 区别IE6与FF: background:orange;*background:blue; 区别IE6与IE7: bac ...
分类:
Web程序 时间:
2016-06-14 17:42:13
阅读次数:
219