|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
对于中小型web应用来说,php有很强的竞争力,linux+apache+mysql+php(lamp)的组合几乎可以胜任绝大多数网站的解决方案,对于大型应用来讲,对于系统架构要求更高,需要有成熟的框架支持,jsp的struts是个不错的框架,国内介绍它的资料也非常多,应用逐渐广泛起来。asp就不用说了, #############续send.asp#################
var oRDom=new ActiveXObject("Microsoft.XMLDOM");
oRDom.async=false;
var Path="reload.asp";
var tCok;
function Clock()
{cRld++;
if (cRld>10){cRld=1;GetXmlData();}
clearTimeout(tCok);
tCok=setTimeout("Clock()",1000);
}
function GetXmlData() //这就是刷新用户XML数据的函数
{cRld=1;
oRDom.load(Path)
if(oRDom.parseError.errorCode != 0)
{alert("Sorry.呈现了毛病");
return }
else
{
var aryF=oRDom.documentElement.selectNodes("F");
var aryT=oRDom.documentElement.selectNodes("T");
var arysC=oRDom.documentElement.selectNodes("sC");
var arycL=oRDom.documentElement.selectNodes("cL");
var arysJ=oRDom.documentElement.selectNodes("sJ");
var aryE=oRDom.documentElement.selectNodes("E");
var tmpHtml="";
lengt=aryF.length;
for(var i=0;i<lengt;i++){
img="<img src=http://edu.cnzz.cn/NewsInfo/girl.gif width=12 height=12 border=0>";
tmpHtml="<font style=\'cursor:hand;color:"+arycL(i).text+"\'>"+eV[aryE(i).text*2]+rp2(arysC(i).text,"{^amp]","&")+"</font> <span class=t>["+arysJ(i).text+"]</span><br>";
tmpHtml=rp2(tmpHtml,"$F","<a href=\"javascript:parent.sd.towho('"+aryF(i).text+"');\">"+img+aryF(i).text+"</a>");
tmpHtml=rp2(tmpHtml,"$T","<a href=\"javascript:parent.sd.towho('"+aryT(i).text+"');\">"+aryT(i).text+"</a>");
if (aryF(i).text==Me || aryT(i).text==Me)
{ parent.my.Ly.innerHTML+=tmpHtml;
} else
parent.pub.Ly.innerHTML+=tmpHtml;
}
}
delete(aryF);delete(aryT);delete(arysC);delete(arycL);delete(arysJ);
}
function towho(un){
document.say.T.options[0].value=un;
document.say.T.options[0].text=un;
document.say.says.focus();return;}
</script>
<base >
</head>
<body bgcolor="#76b4d9" topmargin="4" leftmargin="1" >
<table BORDER="0" width="767" cellspacing="0" cellpadding="0" >
<tr><td width="735" height="16" align="left" nowrap>
<form method="post" action="save.asp" name="say" target="b" >
<input type="hidden" name="oldsays" >
<input name="F" maxlength="10" size="10" value="<%=session("u_name")%>" readonly style="BACKGROUND-COLOR: #76aadd; BORDER-BOTTOM: 0px double; BORDER-LEFT: 0px double; BORDER-RIGHT: 0px double; BORDER-TOP: 0px double; COLOR: #ffffff; TEXT-ALIGN: right">
对 <select name="T" >
<option value="人人" selected>人人</option>
</select> 说:<input type=text name="says" maxlength="150" size="50" style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: 1px double; BORDER-LEFT: 1px double; BORDER-RIGHT: 1px double; BORDER-TOP: 1px double; COLOR: #000000" accesskey="t" title="宣布对话区(Alt+T)可激活!" LANGUAGE="javascript ">
<input type="submit" name="send" value="讲话" class="an" accesskey="s" title="(Alt+S)">
</form></td></tr></table>
<div style="HEIGHT: 80px; LEFT: 15px; POSITION: absolute; TOP: 30px; WIDTH: 600px">
<form name="oT">
<table BORDER="0" width="600" cellspacing="0" cellpadding="0">
<tr>
<td width="160" height="16" align="center" nowrap valign="top">
<input accesskey="a" type="checkbox" name="as" checked ><A onclick=moveself(); title=" “激活/制止”对话区主动滚屏(Alt+A)!">滚屏</A>
</td>
<td width="230" height="16" align="left" nowrap valign="top"> <span title=" 改动你的讲话的字体色彩(Alt+F)!">
<select name=usercolor accesskey="f" >
<OPTION selected style="COLOR: #000000" value="000000">默许色彩</OPTION>
<OPTION style="COLOR: #000000" value="#000000">黑色沉寂</OPTION>
<option style="COLOR: #ff0000" value='#FF0000'>白色热忱</option>
<option style="COLOR: #0000ff" value='#0000FF'>蓝色开畅</option>
<option style="COLOR: #ff00ff" value='#FF00FF'>桃色浪漫</option>
<option style="COLOR: #009900" value='#009900'>绿色芳华</option>
<option style="COLOR: #009999" value='#009999'>青色清新</option>
<option style="COLOR: #990099" value='#990099'>紫色拘束</option>
<option style="COLOR: #990000" value='#990000'>暗夜高兴</option>
<option style="COLOR: #000099" value='#000099'>深蓝愁闷</option>
<option style="COLOR: #999900" value='#999900'>卡其礼服</option>
<option style="COLOR: #ff9900" value='#FF9900'>镏金岁月</option>
<option style="COLOR: #0099ff" value='#0099FF'>湖波泛动</option>
<option style="COLOR: #9900ff" value='#9900FF'>发亮蓝紫</option>
<option style="COLOR: #ff0099" value='#FF0099'>爱的暗示</option>
<option style="COLOR: #006600" value='#006600'>茶青深邃深挚</option>
<option style="COLOR: #333333" value='#333333'>灰色轨迹</option>
<option style="COLOR: #999999" value='#999999'>伦敦灰雾</option>
</select></span>
<span title=" 改动您的措辞时的脸色(Alt+Q)!" ><select accesskey="q" name=userface style="FONT-SIZE: 9pt;width:65px" size="1">
<script language="Javascript">
for(var iF=0;iF<eV.length;iF+=2)
{document.writeln("<option value=\""+eV[iF]+"\">"+eV[iF+1]);
}
</script>
</select></span> <input TYPE="checkbox" name="ws" id="ws" accesskey="m" ><A title=" 和聊友说句悄然话(Alt+M)!"><label for=ws >私聊</label></A> </td>
<td width="250" height="16" align="left" nowrap valign="top">
<INPUT id=clock name=clock type=button value=1200 class="an" title="假如您长工夫不讲话(潜水),请注重:当计数器减至零时,您将被被踢出!" style="color:#ff3300;width:60;" disabled>
</td>
</tr>
</table> </form>
</div>
<script>
write();
GetXmlData();
Clock();
</script>
</body>
</html>
国内有些大的CRM厂商的ASP就写得不错.无论是概念还是它里面用JAVASCRIPT的能力.并不是说现在的程序员用了ASP.NET来写程序就可以说自己高档了 |
|