ENGLISH 意见建议 网站地图 网站帮助
广泛智力汇聚   高效成果传播   先进机制培育
联盟首页  |  协同开发  |  开放源码库  |  安全告警  |  开源导航  |  文档中心  |  服务支持  |  共创论坛  |  关于联盟


注册会员 网站帮助
    您的位置 »
    今天是: 2010年11月22日    
项目搜索

完全匹配   
开源软件
软件分类表
新发布软件
其它网站镜像
代码片断
协同开发
文档
论坛
寻求协助
热点项目
站点状态
编译工厂

联系我们
关于联盟

代码片段库:
查看代码片段

浏览 | 提交新的代码片段 | 创建代码包

每日一语

类型:
Full Script
类别:
HTML Manipulation
许可证:
GNU General Public License
语言:
JavaScript
 
描述:
每天都在特定地方显示一句不同的话语,可做每日提醒使用

该代码片段的版本系列:

片段ID 下载版本 提交时间 提交人 删除
46691.02003-10-13 23:12cbd001

点击"下载版本"来下载该代码片段.


最新版本的代码片段: 1.0


脚本说明:
把如下代码加入<body>区域中
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
dayName = new Array ("星期天", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六")
monName = new Array ("一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月")
now = new Date

Jan = new Array
Jan[1] = "Place quote here"
Jan[2] = "Place quote here"
Jan[3] = "Place quote here"
Jan[4] = "Place quote here"
Jan[5] = "Place quote here"
Jan[6] = "Place quote here"
Jan[7] = "Place quote here"
Jan[8] = "Place quote here"
Jan[9] = "Place quote here"
Jan[10] = "Place quote here"
Jan[11] = "Place quote here"
Jan[12] = "Place quote here"
Jan[13] = "Place quote here"
Jan[14] = "Place quote here"
Jan[15] = "Place quote here"
Jan[16] = "Place quote here"
Jan[17] = "Place quote here"
Jan[18] = "Place quote here"
Jan[19] = "Place quote here"
Jan[20] = "Place quote here"
Jan[21] = "Place quote here"
Jan[22] = "Place quote here"
Jan[23] = "Place quote here"
Jan[24] = "Place quote here"
Jan[25] = "Place quote here"
Jan[26] = "Place quote here"
Jan[27] = "Place quote here"
Jan[28] = "Place quote here"
Jan[29] = "Place quote here"
Jan[30] = "Place quote here"
Jan[31] = "Place quote here"

Feb = new Array
Feb[1] = "Place quote here"
Feb[2] = "Place quote here"
Feb[3] = "Place quote here"
Feb[4] = "Place quote here"
Feb[5] = "Place quote here"
Feb[6] = "Place quote here"
Feb[7] = "Place quote here"
Feb[8] = "Place quote here"
Feb[9] = "Place quote here"
Feb[10] = "Place quote here"
Feb[11] = "Place quote here"
Feb[12] = "Place quote here"
Feb[13] = "Place quote here"
Feb[14] = "Place quote here"
Feb[15] = "Place quote here"
Feb[16] = "Place quote here"
Feb[17] = "Place quote here"
Feb[18] = "Place quote here"
Feb[19] = "Place quote here"
Feb[20] = "Place quote here"
Feb[21] = "Place quote here"
Feb[22] = "Place quote here"
Feb[23] = "Place quote here"
Feb[24] = "Place quote here"
Feb[25] = "Place quote here"
Feb[26] = "Place quote here"
Feb[27] = "Place quote here"
Feb[28] = "Place quote here"
Feb[29] = "Place quote here"

Mar = new Array
Mar[1] = "Place quote here"
Mar[2] = "Place quote here"
Mar[3] = "Place quote here"
Mar[4] = "Place quote here"
Mar[5] = "Place quote here"
Mar[6] = "Place quote here"
Mar[7] = "Place quote here"
Mar[8] = "Place quote here"
Mar[9] = "Place quote here"
Mar[10] = "Place quote here"
Mar[11] = "Place quote here"
Mar[12] = "Place quote here"
Mar[13] = "Place quote here"
Mar[14] = "Place quote here"
Mar[15] = "Place quote here"
Mar[16] = "Place quote here"
Mar[17] = "Place quote here"
Mar[18] = "Place quote here"
Mar[19] = "Place quote here"
Mar[20] = "Place quote here"
Mar[21] = "Place quote here"
Mar[22] = "Place quote here"
Mar[23] = "Place quote here"
Mar[24] = "Place quote here"
Mar[25] = "Place quote here"
Mar[26] = "Place quote here"
Mar[27] = "Place quote here"
Mar[28] = "Place quote here"
Mar[29] = "Place quote here"
Mar[30] = "Place quote here"
Mar[31] = "Place quote here"

Apr = new Array
Apr[1] = "Place quote here"
Apr[2] = "Place quote here"
Apr[3] = "Place quote here"
Apr[4] = "Place quote here"
Apr[5] = "Place quote here"
Apr[6] = "Place quote here"
Apr[7] = "Place quote here"
Apr[8] = "Place quote here"
Apr[9] = "Place quote here"
Apr[10] = "Place quote here"
Apr[11] = "Place quote here"
Apr[12] = "Place quote here"
Apr[13] = "Place quote here"
Apr[14] = "Place quote here"
Apr[15] = "Place quote here"
Apr[16] = "Place quote here"
Apr[17] = "Place quote here"
Apr[18] = "Place quote here"
Apr[19] = "Place quote here"
Apr[20] = "Place quote here"
Apr[21] = "Place quote here"
Apr[22] = "Place quote here"
Apr[23] = "Place quote here"
Apr[24] = "Place quote here"
Apr[25] = "Place quote here"
Apr[26] = "Place quote here"
Apr[27] = "Place quote here"
Apr[28] = "Place quote here"
Apr[29] = "Place quote here"
Apr[30] = "Place quote here"

May = new Array
May[1] = "Place quote here"
May[2] = "Place quote here"
May[3] = "Place quote here"
May[4] = "Place quote here"
May[5] = "Place quote here"
May[6] = "Place quote here"
May[7] = "Place quote here"
May[8] = "Place quote here"
May[9] = "Place quote here"
May[10] = "Place quote here"
May[11] = "Place quote here"
May[12] = "Place quote here"
May[13] = "Place quote here"
May[14] = "Place quote here"
May[15] = "Place quote here"
May[16] = "Place quote here"
May[17] = "Place quote here"
May[18] = "Place quote here"
May[19] = "Place quote here"
May[20] = "Place quote here"
May[21] = "Place quote here"
May[22] = "Place quote here"
May[23] = "Place quote here"
May[24] = "Place quote here"
May[25] = "Place quote here"
May[26] = "Place quote here"
May[27] = "Place quote here"
May[28] = "Place quote here"
May[29] = "Place quote here"
May[30] = "Place quote here"
May[31] = "Place quote here"

Jun = new Array
Jun[1] = "Place quote here"
Jun[2] = "Place quote here"
Jun[3] = "Place quote here"
Jun[4] = "Place quote here"
Jun[5] = "Place quote here"
Jun[6] = "Place quote here"
Jun[7] = "Place quote here"
Jun[8] = "Place quote here"
Jun[9] = "Place quote here"
Jun[10] = "Place quote here"
Jun[11] = "Place quote here"
Jun[12] = "Place quote here"
Jun[13] = "Place quote here"
Jun[14] = "Place quote here"
Jun[15] = "Place quote here"
Jun[16] = "Place quote here"
Jun[17] = "Place quote here"
Jun[18] = "Place quote here"
Jun[19] = "Place quote here"
Jun[20] = "Place quote here"
Jun[21] = "Place quote here"
Jun[22] = "Place quote here"
Jun[23] = "Place quote here"
Jun[24] = "Place quote here"
Jun[25] = "Place quote here"
Jun[26] = "Place quote here"
Jun[27] = "Place quote here"
Jun[28] = "Place quote here"
Jun[29] = "Place quote here"
Jun[30] = "Place quote here"

Jul = new Array
Jul[1] = "Place quote here"
Jul[2] = "Place quote here"
Jul[3] = "Place quote here"
Jul[4] = "Place quote here"
Jul[5] = "Place quote here"
Jul[6] = "Place quote here"
Jul[7] = "Place quote here"
Jul[8] = "Place quote here"
Jul[9] = "Place quote here"
Jul[10] = "Place quote here"
Jul[11] = "Place quote here"
Jul[12] = "Place quote here"
Jul[13] = "Place quote here"
Jul[14] = "Place quote here"
Jul[15] = "Place quote here"
Jul[16] = "Place quote here"
Jul[17] = "Place quote here"
Jul[18] = "Place quote here"
Jul[19] = "Place quote here"
Jul[20] = "Place quote here"
Jul[21] = "Place quote here"
Jul[22] = "Place quote here"
Jul[23] = "Place quote here"
Jul[24] = "Place quote here"
Jul[25] = "Place quote here"
Jul[26] = "Place quote here"
Jul[27] = "Place quote here"
Jul[28] = "Place quote here"
Jul[29] = "Place quote here"
Jul[30] = "Place quote here"
Jul[31] = "Place quote here"

Aug = new Array
Aug[1] = "Place quote here"
Aug[2] = "Place quote here"
Aug[3] = "Place quote here"
Aug[4] = "Place quote here"
Aug[5] = "Place quote here"
Aug[6] = "Place quote here"
Aug[7] = "Place quote here"
Aug[8] = "Place quote here"
Aug[9] = "Place quote here"
Aug[10] = "Place quote here"
Aug[11] = "Place quote here"
Aug[12] = "Place quote here"
Aug[13] = "Place quote here"
Aug[14] = "Place quote here"
Aug[15] = "Place quote here"
Aug[16] = "Place quote here"
Aug[17] = "Place quote here"
Aug[18] = "Place quote here"
Aug[19] = "Place quote here"
Aug[20] = "Place quote here"
Aug[21] = "Place quote here"
Aug[22] = "Place quote here"
Aug[23] = "Place quote here"
Aug[24] = "Place quote here"
Aug[25] = "Place quote here"
Aug[27] = "Place quote here"
Aug[28] = "Place quote here"
Aug[29] = "Place quote here"
Aug[30] = "Place quote here"
Aug[31] = "Place quote here"

Sep = new Array
Sep[1] = "Place quote here"
Sep[2] = "Place quote here"
Sep[3] = "Place quote here"
Sep[4] = "Place quote here"
Sep[5] = "Place quote here"
Sep[6] = "Place quote here"
Sep[7] = "Place quote here"
Sep[8] = "Place quote here"
Sep[9] = "Place quote here"
Sep[10] = "Place quote here"
Sep[11] = "Place quote here"
Sep[12] = "Place quote here"
Sep[13] = "Place quote here"
Sep[14] = "Place quote here"
Sep[15] = "Place quote here"
Sep[16] = "Place quote here"
Sep[17] = "Place quote here"
Sep[18] = "Place quote here"
Sep[19] = "Place quote here"
Sep[20] = "Place quote here"
Sep[21] = "Place quote here"
Sep[22] = "Place quote here"
Sep[23] = "Place quote here"
Sep[24] = "Place quote here"
Sep[25] = "Place quote here"
Sep[26] = "Place quote here"
Sep[27] = "Place quote here"
Sep[28] = "Place quote here"
Sep[29] = "Place quote here"
Sep[30] = "Place quote here"

Oct = new Array
Oct[1] = "Place quote here"
Oct[2] = "Place quote here"
Oct[3] = "Place quote here"
Oct[4] = "Place quote here"
Oct[5] = "Place quote here"
Oct[6] = "Place quote here"
Oct[7] = "Place quote here"
Oct[8] = "Place quote here"
Oct[9] = "Place quote here"
Oct[10] = "Place quote here"
Oct[11] = "Place quote here"
Oct[12] = "Place quote here"
Oct[13] = "Place quote here"
Oct[14] = "Place quote here"
Oct[15] = "Place quote here"
Oct[16] = "Place quote here"
Oct[17] = "Place quote here"
Oct[18] = "Place quote here"
Oct[19] = "Place quote here"
Oct[20] = "Place quote here"
Oct[21] = "Place quote here"
Oct[22] = "Place quote here"
Oct[23] = "Place quote here"
Oct[24] = "Place quote here"
Oct[25] = "Place quote here"
Oct[26] = "Place quote here"
Oct[27] = "Place quote here"
Oct[28] = "Place quote here"
Oct[29] = "Place quote here"
Oct[30] = "Place quote here"
Oct[31] = "Place quote here"

Nov = new Array
Nov[1] = "Place quote here"
Nov[2] = "Place quote here"
Nov[3] = "Place quote here"
Nov[4] = "Place quote here"
Nov[5] = "Place quote here"
Nov[6] = "Place quote here"
Nov[7] = "Place quote here"
Nov[8] = "Place quote here"
Nov[9] = "Place quote here"
Nov[10] = "Place quote here"
Nov[11] = "Place quote here"
Nov[12] = "Place quote here"
Nov[13] = "Place quote here"
Nov[14] = "Place quote here"
Nov[15] = "Place quote here"
Nov[16] = "Place quote here"
Nov[17] = "Place quote here"
Nov[18] = "Place quote here"
Nov[19] = "Place quote here"
Nov[20] = "Place quote here"
Nov[21] = "今天是21号,今天没有什么重要消息"
Nov[22] = "Place quote here"
Nov[23] = "Place quote here"
Nov[24] = "Place quote here"
Nov[25] = "Place quote here"
Nov[26] = "Place quote here"
Nov[27] = "Place quote here"
Nov[28] = "Place quote here"
Nov[29] = "Place quote here"
Nov[30] = "Place quote here"

Dec = new Array
Dec[1] = "Place quote here"
Dec[2] = "Place quote here"
Dec[3] = "Place quote here"
Dec[4] = "Place quote here"
Dec[5] = "Place quote here"
Dec[6] = "Place quote here"
Dec[7] = "Place quote here"
Dec[8] = "Place quote here"
Dec[9] = "Place quote here"
Dec[10] = "Place quote here"
Dec[11] = "Place quote here"
Dec[12] = "Place quote here"
Dec[13] = "Place quote here"
Dec[14] = "Place quote here"
Dec[15] = "Place quote here"
Dec[16] = "Place quote here"
Dec[17] = "Place quote here"
Dec[18] = "Place quote here"
Dec[19] = "Place quote here"
Dec[20] = "Place quote here"
Dec[21] = "Place quote here"
Dec[22] = "Place quote here"
Dec[23] = "Place quote here"
Dec[24] = "Place quote here"
Dec[25] = "Place quote here"
Dec[26] = "Place quote here"
Dec[27] = "Place quote here"
Dec[28] = "Place quote here"
Dec[29] = "Place quote here"
Dec[30] = "Place quote here"
Dec[31] = "Place quote here"
//  End -->
</script>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
document.write("<Font color=#333366>")
document.write("<center><B><I>" + dayName[now.getDay()] + ", " + monName[now.getMonth()] + " " + now.getDate() + ", " + now.getFullYear() + ".</I></B></center><BR>" )
document.write("<Font size=5>")
if (now.getMonth() == 0) document.write("<center><i>&quot;" + Jan[now.getDate()] + "&quot;</i></center>")
if (now.getMonth() == 1) document.write("<center><i>&quot;" + Feb[now.getDate()] + "&quot;</i></center>")
if (now.getMonth() == 2) document.write("<center><i>&quot;" + Mar[now.getDate()] + "&quot;</i></center>")
if (now.getMonth() == 3) document.write("<center><i>&quot;" + Apr[now.getDate()] + "&quot;</i></center>")
if (now.getMonth() == 4) document.write("<center><i>&quot;" + May[now.getDate()] + "&quot;</i></center>")
if (now.getMonth() == 5) document.write("<center><i>&quot;" + Jun[now.getDate()] + "&quot;</i></center>")
if (now.getMonth() == 6) document.write("<center><i>&quot;" + Jul[now.getDate()] + "&quot;</i></center>")
if (now.getMonth() == 7) document.write("<center><i>&quot;" + Aug[now.getDate()] + "&quot;</i></center>")
if (now.getMonth() == 8) document.write("<center><i>&quot;" + Sep[now.getDate()] + "&quot;</i></center>")
if (now.getMonth() == 9) document.write("<center><i>&quot;" + Oct[now.getDate()] + "&quot;</i></center>")
if (now.getMonth() == 10) document.write("<center><i>&quot;" + Nov[now.getDate()] + "&quot;</i></center>")
if (now.getMonth() == 11) document.write("<center><i>&quot;" + Dec[now.getDate()] + "&quot;</i></center>")
document.write("</Font>")
document.write("<P align=center><B><I>~ 晨曦 ~</I></B></P>")
document.write("</Font>")
//  End -->
</script>

		

提交新版本

如果您修改了一个代码片段并且觉得很应该让别人共享,您可以把这作为这个代码片段的最新版本提交上来.


联盟团体会员
合作伙伴
© 共创软件联盟 版权所有
联盟服务条款 | 联盟隐私权规则 | 联系我们
电话: (8610)68313388-5949 | 传真: (8610)88377936
京ICP备05056057号