//存放每个月天数的数组  
function montharr(m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11)  
{  
this[0] = m0;  
this[1] = m1;  
this[2] = m2;  
this[3] = m3;  
this[4] = m4;  
this[5] = m5;  
this[6] = m6;  
this[7] = m7;  
this[8] = m8;  
this[9] = m9;  
this[10] = m10;  
this[11] = m11;  
}  
//实现月历  
function calendar() {  
var monthNames = "JanFebMarAprMayJunJulAugSepOctNovDec";  
var today = new Date();  
var thisDay;  
var monthDays = new montharr(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);  
year = today.getYear() +1900;  
thisDay = today.getDate();  
if (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0)) monthDays[1] = 29;  
nDays = monthDays[today.getMonth()];  
firstDay = today;  
firstDay.setDate(1);  
testMe = firstDay.getDate();  
if (testMe == 2) firstDay.setDate(0);  
startDay = firstDay.getDay();  
document.write("")  
document.write("");  
document.write("");  
var dayNames = new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六");  
var monthNames = new Array("1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月");  
var now = new Date();  
document.writeln("" + "公元 " + now.getYear() + "年" + monthNames[now.getMonth()] + " " + now.getDate() + "日 " + dayNames[now.getDay  
  
()] + "");  
document.writeln("日");  
document.writeln("一");  
document.writeln("二");  
document.writeln("三");  
document.writeln("四");  
document.writeln("五");  
document.writeln("六");  
document.writeln("");  
column = 0;  
for (i=0; i ");  
column++;  
}  
for (i=1; i<=nDays; i++) {  
if (i == thisDay) {  
document.writeln("")  
}  
else {  
document.writeln("");  
}  
document.writeln(i);  
if (i == thisDay) document.writeln("")  
column++;  
if (column == 7) {  
document.writeln("");  
column = 0;  
}  
}  
document.writeln("")  
document.writeln("")  
document.writeln("现在时间:")  
document.writeln("");  
}  
var test = document.getElementById("test");
var str = "str";

var c = document.getElementById("c");
var ctx = c.getContext("2d");
/** 这里控制显示的宽度和高度,且涵盖所有浏览器 */
c.width = window.innerWidth
    || document.documentElement.clientWidth
    || document.body.clientWidth;
c.height = window.innerHeight
    || document.documentElement.clientHeight
    || document.body.clientHeight;
//c.width = 300;
//c.height = 300;

//ctx.fillStyle = "1cba9c";
//ctx.fillRect(0,0,100,100);
//ctx.fillStyle = "ecb69c";
//ctx.fillText("文字",10,90);

var chinese = "文字";
chinese = chinese.split("");

var fsize = 20;
    columns = c.width / fsize;

var drops=[];
for(var x=0;x c.height && Math.random() > 0.9){
            drops[i] = 0;
        }

        str = drops[i]+",";
    }
    test.innerText = columns + " , i:" + str;// 测试数据

}
/// draw();
var intervalId = setInterval(draw,50);// 这里修改控制速度

// 测试效果开始/暂停
function operateAnimation(objBtn){
    var operate = document.getElementById("operate");

    if(objBtn.value == "开始"){
        objBtn.value = "暂停";
        intervalId = setInterval(draw,30);
    }else{
        objBtn.value = "开始";
        clearInterval(intervalId);
    }
    return false;
}
  
  
var timerID = null;  
var timerRunning = false;  
function stopclock (){  
if(timerRunning)  
clearTimeout(timerID);  
timerRunning = false;}  
//显示当前时间  
function showtime () {  
var now = new Date();  
var hours = now.getHours();  
var minutes = now.getMinutes();  
var seconds = now.getSeconds()  
var timeValue = " " + ((hours >12) ? hours -12 :hours)  
timeValue += ((minutes < 10) ? ":0" : ":") + minutes  
timeValue += ((seconds < 10) ? ":0" : ":") + seconds  
timeValue += (hours >= 12) ? " 下午 " : " 上午 "  
document.clock.face.value = timeValue;  
timerID = setTimeout("showtime()",1000);//设置超时,使时间动态显示  
timerRunning = true;}  
function startclock () {  
stopclock();  
showtime();}  
  

WAT we are a team!

html,body{margin:0;padding:0;background-color:#0CF}
.iw_poi_title {color:#CC5522;font-size:14px;font-weight:bold;overflow:hidden;padding-right:13px;white-space:nowrap}
.iw_poi_content {font:12px arial,sans-serif;overflow:visible;padding-top:4px;white-space:-moz-pre-wrap;word-wrap:break-word}
.div1{position:absolute;left:0;top:100;width:20%; height:1000px; margin-top:5px float:left} 
.div2{position:absolute;left:20%;top:100;width:60%; height:1000px; margin-top:5px float:left style="background-color:#0cf"; } 
.div3{position:absolute;right:0;top:100;width:20 %; height:1000px; margin-top:5px float:left;background-color:#0cf} 
 .div2{ border:2px solid #0cf;background-color:#0cf}  

 


 
 


  

《明月》
词曲:卢小娟(芊芊)
演唱:萌萌哒天团
莫问相思离别后
天涯远隔,容消瘦
独上高楼,思悠悠
千山目远,何处是尽头
醉酒当歌,抚琴独奏
明月斜照,月满西楼
别离亦梦幽
碧发呤苍老
长叹身飘渺,易瘦流水调
青山不会老
雪化未白头
绿水本无忧,因风而波涛
独步天涯思念遥
明月相思,寄情愁
望月登高,念幽幽
夜色苍茫,举目皆是愁
醉酒当歌,抚琴独奏
明月斜照,月满西楼
别离亦梦幽,碧发呤苍老
长叹身飘渺,易瘦流水调
青山不会老,雪化未白头
绿水本无忧,因风而波涛
醉酒当歌,抚琴独奏
明月斜照,月满西楼
/*-----------*/