星越多,越红,就该越谦虚(顺便散分)

ijianbo 架构师  2003-04-15 10:56:41
近来,一直在内蒙古出差,呵呵,沙尘暴一阵接一阵,还真没好好出去玩玩,闲的时候就窝在电脑前写程序,上上网,来csdn成了我的习惯了哟!而asp版是必逛的版了!不才,也许因为过去的一些经验,可以给那些需要帮助的朋友提供些许的思路,也混到了一颗红星。其实,倒不是,我在asp方面水平高,只不过是觉得,也许我的的思路可以避免一些需要帮助的朋友少走些弯路,那痛苦是我当初初学asp都体会过的!更重要的原因,是我可以在参与的过程中,也让自己提高不是,助人帮己,何乐而不为呢?

星越多,越红,并不代表你水平越高,你越可以看“轻”别人.纵观在csdn里面有种感觉让我不是很舒服:“相轻”,说文人相轻也就罢了,程序员之间也相轻!另一个就是对初学者着“轻视”,回答问题了了几个字,不痛不痒,让提问者一头雾水。诚然,我们不该代提问者都想好了,很多的时候该让他自己去探索答案,回答问题只是提供思路,找出问题所在,至于如何解决该他自己来行动。但是,那种“轻看”的、不负责任的回答,对谁都没帮助,顶多是混点分罢了!呵呵,说的严重些,这比那些倒分的,追求分的多寡,有什么区别呢?

人有所短,尺有所长!如果不能容,就永远不能博。

做程序员有4、5年了,感觉要学的东东太多了。曾经做过1年多的asp,现在基本不写了,已经转到了c++和java了,呵呵,在那两个版,我是初学者了!很多是一颗绿星的朋友,看的出是高手!


呵呵,罗嗦这么多,最后贴个“日历”的js代码,大家要珍惜时间哟!

-------------------------------------

<SCRIPT language=javascript>
<!--
function Year_Month()
{
var now = new Date();
var yyyy = now.getYear();
var mmmm = now.getMonth() + 1;
var cl = '<font color = "#3A6EA5">';
if ( now.getDay() == 0 )
cl = '<font color = "#C00000">';
if ( now.getDay() == 6 )
cl = '<font color = "#00C000">';
return( cl + yyyy + '年' + mmmm + '月</font>' );
}
function Date_of_Today()
{
var now = new Date();
var cl = '<font color = "#FF0000">';
if ( now.getDay() == 0 )
cl = '<font color = "#C00000">';
if ( now.getDay() == 6 )
cl = '<font color = "#00C000">';
return( cl + now.getDate() + '</font>' );
}
function CurentTime()
{
var now = new Date();
var hh = now.getHours();
var mm = now.getMinutes();
var ss = now.getTime() % 60000;
ss = ( ss - ( ss % 1000 ) ) / 1000;
var clock = hh + ':';
if( mm < 10 )
clock += '0';
clock += mm + ':';
if( ss < 10 )
clock += '0';
clock += ss;
return( clock );
}
function Day_of_Today()
{
var day = new Array();
day[0] = "星期日";
day[1] = "星期一";
day[2] = "星期二";
day[3] = "星期三";
day[4] = "星期四";
day[5] = "星期五";
day[6] = "星期六";
var now = new Date();
var cl = '<font color = "#0000DF">';
if ( now.getDay() == 0 )
cl = '<font color = "#C00000">';
if ( now.getDay() == 6 )
cl = '<font color = "#00C000">';
return( cl + day[ now.getDay() ] + '</font>' );
}
function refreshCalendarClock()
{
document.all.calendarClock1.innerHTML = Year_Month();
document.all.calendarClock2.innerHTML = Date_of_Today();
document.all.calendarClock3.innerHTML = Day_of_Today();
document.all.calendarClock4.innerHTML = CurentTime();
}
var
webUrl = webUrl;
document.write( '<table border = "0" cellpadding = "0" cellspacing = "0"><tr><td>' );
document.write( '<table id = "CalendarClockFreeCode" border = "0" cellpadding = "0" cellspacing = "0" width = "60" height = "70" style = "position:absolute; visibility:hidden" bgcolor = "#FFFFE7">' );
document.write( '<tr><td align = "center"><font style = "cursor:hand; color:#FF0000; font-family:宋体; font-size:14pt; line-height:120%"' );
if( webUrl != 'netflower' )
{
document.write( '</td></tr><tr><td align = "center"><font style = "cursor:hand; color:#2000FF; font-family:宋体; font-size:9pt; line-height:110%"' );
}
document.write( '</td></tr></table>' );
document.write( '<table border = "0" cellpadding = "0" cellspacing = "0" width = "61" bgcolor = "#D6D3CE" height = "70">' );
document.write( '<tr><td valign = "top" width = "100%" height = "100%">' );
document.write( '<table border = "1" cellpadding = "0" cellspacing = "0" width = "58" bgcolor = "#FFFFE7" height = "67">' );
document.write( '<tr><td align = "center" width = "100%" height = "100%">' );
document.write( '<font id = "calendarClock1" style = "font-family:宋体; font-size:7pt; line-height:120%"></font><br>' );
document.write( '<font id = "calendarClock2" style = "color:#FF0000; font-family:Arial; font-size:14pt; line-height:120%"></font><br>' );
document.write( '<font id = "calendarClock3" style = "font-family:宋体; font-size:9pt; line-height:120%"></font><br>' );
document.write( '<font id = "calendarClock4" style = "color:#100080; font-family:宋体; font-size:8pt; line-height:120%"></font>' );
document.write( '</td></tr></table>' );
document.write( '</td></tr></table>' );
document.write( '</td></tr></table>' );
refreshCalendarClock();
setInterval( 'refreshCalendarClock()', 1000);
-->
</SCRIPT>
...全文
38 点赞 收藏 145
写回复
145 条回复
切换为时间正序
请发表友善的回复…
发表回复
fason 2003-04-20
向你们学习,还没毕业,可能走web这条路还是很艰辛的,只是有兴趣,听了你们的话才知道自己入都没有,惭愧!努力.
回复
eafin 2003-04-20
支持!顶!努力中...
回复
支持楼主
回复
zhangjc86 2003-04-20
谢谢!我接!up!up
学无止境呀!!
回复
cqbonny 2003-04-20
up
回复
bzzhang 2003-04-19
好漂亮的日历!
最初接触csdn是csdn的程序员杂志,那是让人一看就爱不释手的一本书。后来就经常来这里。
楼主说的很好,我这一段时间在做一个b/s的东西,用asp。我是菜鸟级的,在csdn受到很多热心的朋友的相助,感觉在csdn学到很多东西!
回复
haoyipeng 2003-04-19
楼主说的真好,我喜欢
顺便接分
回复
theninthsky 2003-04-19
恭喜,努力!
回复
xxrl 2003-04-19
<%
'***********************************************
' ^_^(刚刚加了个头)
'***********************************************
' Application wide definitions
'
' (c) in 2002-2003 by Alex(Chinese:蒋健华)
' http://www.finder.net.cn
' C Email: jiangjh@finder.net.cn
' F Email: jjh_115@eyou.com
'***********************************************
%>
<!--#include file="ConnectDB.inc"-->
<script language=javascript>
function replace(v){
var sql = "select * from Dictionary where MainID='" + v + "'"
var rs = new ActiveXObject("ADODB.Recordset");
var ConnDB = new ActiveXObject("adodb.connection");
ConnDB.ConnectionString="DSN=seed;uid=sa;pwd=25661800";

ConnDB.open
rs.open(sql,ConnDB,1,1);

if (rs.RecordCount>0){
if (v==parseInt(rs("MainID"))){
document.all('txt').value = v + rs("MainValue");
document.body.style.cursor="default";
return;
}

else {
var sql=null;
var CodeLength = parseInt(v);
if (CodeLength.length>3){ ;}
alert("没有此代号!");
txt.select();
txt.focus();
}
}
</script>
<input type=text id=txt name=txt onblur="replace(this.value)">
回复
xxrl 2003-04-19
我也来接分,顺便也来散一散我写的一段小代码
回复
ijianbo 2003-04-18
呵呵,接分的到不少~
回复
zhusuhao 2003-04-16
讲的很好啊!:)
回复
Jade 2003-04-16
分不用给我了,但是,我也来说几句。还是得自觉啊。
回复
flyycyu 2003-04-16
up
回复
dwxq 2003-04-16
同意你的观点
回复
yonghengdizhen 2003-04-16
to xjbx()
发了封email给你,也回了你的短消息..
回复
xd521 2003-04-16
888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
回复
Reker熊 2003-04-16
恭喜阿,現在我來得也少了
回复
ijianbo 2003-04-16
呵呵,有机会给我mail:

xjbnet@163.net


论坛短消息里,我告诉你了我的手机,到长沙给我电话,一起聊聊!:)
回复
yonghengdizhen 2003-04-16
to liangns(风云㊣霸→)
TCP/IP协议详解(分三卷-协议,实现,应用)

学会了TCP/IP,你才真正学懂了网络..
回复
发动态
发帖子
ASP
创建于2007-09-28

2.8w+

社区成员

ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
申请成为版主
社区公告
暂无公告