深圳升蓝软件
数据库开发 .Net技术  |  ASP技术 PHP技术 JSP技术 应用技术类   
Hiblue Software

由太阳网站工作得经验值的办法所想所写


March 25,2004
作者:hawkfly
发表于ASP地带,2000-11-26 12:04:18

由于自己要编虚拟城市,运气大力推荐中国太阳后,一去果然被那里的气势吓了一跳,他们做的真的太好了。我在那里选择了教师职业,只“工作”了一下就退出来了。在工作程序里面,笑傲江湖里拔周拔皮的工作现的有些单纯,而太阳网那里进度表的JS也可以加入一些别的内容,如果太阳网站的人能够看到我写的这个小贴的话,不知是如何的想法与看法,也很想得到ASP高手及JS高手的回应:
以下是我改编的太阳网站工作程序中教师的动态活动情况,由于ASP代码编写时定义的不同,所以我用HTML格式贴上来:
舞蹈教师:
<html>

<head>
<title>舞蹈课</title>
</head>
<script>
var vvtime=0
var aa=1
function tct()
{
if(jd_tu.value.length<jd_tu.size/1.8)
{
jd_tu.value+="█"
setTimeout("tct()",200)
}else
{
alert("您的工作顺利完成!将会换来以下结果:nn--------------------------------n| |n| 体力: -18元 |n| 精力: -17元 |n| 现金: +550元 |n| |n--------------------------------")
}
}
</script>


<body oncontextmenu=self.event.returnValue=false OnLoad="tct()">
<script LANGUAGE="JavaScript">
<!-- Begin
var agt=navigator.userAgent.toLowerCase();
if (agt.indexOf("mac") != -1)
var a="r";
else
var a="n";
var max=0;
function tlist() {
max=tlist.arguments.length;
for (i=0; i<max; i++)
this=tlist.arguments;
}
tl = new tlist(
" o"+a+
" /|\"+a+
" */ \* 开始"+a,

" o_"+a+
" <| *"+a+
" *>\ "+a,

" _o/*"+a+
" * |"+a+
" / \ "+a,

" *o_"+a+
" / *"+a+
" <\ "+a,

" _o/*"+a+
" * |"+a+
" / \ "+a,

" *\c/*"+a+
" )"+a+
" / > "+a,

" *"+a+
" \__/c"+a+
" > \* "+a,

" __/"+a+
" (o_*"+a+
" \* "+a,

" \ /"+a+
" |"+a+
" */o\* "+a,

" \_"+a+
" ("+a+
" */o\* "+a,

" <_"+a+
" __("+a+
" * o|* "+a,

" /_"+a+
" __("+a+
" * o|* "+a,

" ___"+a+
" */ >"+a+
" o|* "+a,

" *"+a+
" o|_/"+a+
" */ \ "+a,

" *"+a+
" _o|_"+a+
" * >\ "+a,

" _o/*"+a+
" * |"+a+
" / \ "+a,

" *\o/*"+a+
" |"+a+
" / \ "+a,

" c/*"+a+
" <\"+a+
" */\ "+a,

" c__"+a+
" < *"+a+
" */\ "+a,

" c__"+a+
" / *"+a+
" * /> "+a,

" c/*"+a+
" /(__"+a+
" * / "+a,

" __o/*"+a+
" * (__"+a+
" < "+a,

" __o_"+a+
" * / *"+a+
" <\ "+a,

" *_o_"+a+
" | *"+a+
" < \ "+a,

" *_c_*"+a+
" |"+a+
" >\ "+a,

" *_c_*"+a+
" |__"+a+
" > "+a,

" *_c_*"+a+
" __|__"+a+
" "+a,

" "+a+
" *_c_*"+a+
" __)__ "+a,

" "+a+
" *\c/*"+a+
" __)__ "+a,

" o"+a+
" /|\"+a+
" */ \* 完毕"+a

);
var x=0;
function tick() {
document.animation.cheerleader.value = " " + a +
tl[x];
x++;
if (x != max)
setTimeout("tick()", 200);
else
x = 0;
}
// End -->
</script>


<p align="center"><input type="text" id="jd_tu" size="22" readonly
style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px;BACKGROUND-COLOR: #f4f7f9;color:ff0000"></p>

<form name="animation">
<div align="center"><center><p><textarea name="cheerleader" readonly="true" rows="5"
cols="20" </textarea"> _________________ |1.你边讲边演示要领 |2.大家在一旁认真听 |3. ...... |_________________</textarea><br>
<input type="button" value="教学效果" name="B1" onClick="javascript:tick()"><input
type="button" value="下课回家" name="B2" onClick="javascript:window.close()"> </p>
</center></div>
</form>
</body>
</html>

通过与ASP代码相结合,我已经成功做出城堡中教师行业中的舞蹈课部分,当然,不是和太阳网与笑那样,如果速度好的话一天可得几亿两白银的那种,而是隔一段时间才能重新有这个机会。天上不可能掉下馅饼,只能落下雨雪与尘灰。


       
Copyright © 2001-2008 Shenzhen Hiblue Software Team All rights reserved