|
|
|
<html><br>
<head><br>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><br>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript><br>
<!-- <br>
function plogin_onclick() {<br>var Location="<a target=_blank href=http://mail.test.com.cn/exchange">http://mail.test.com.cn/exchange"</a>;; //定义你的exchange 2000 server OWA路径<br>var auth = new ActiveXObject("msxml2.xmlhttp") //创建msxml2.xmlhttp对象<br><br>auth.open("get",Location,false,login.name.value ,login.pwd.value ) <br>//auth的open方法,用HTML页面里的login form里的name和pwd 以及Location作为参数,具体说明见参考信息(2)<br>auth.send() //auth的send 方法。 <br><br>switch(auth.status){ //检测auth.send以后的状态,<br>case 200: //状态为:200代表用户名密码正确,<br>window.location.href = Location; //浏览器重转向至exchange 2000 server OWA<br>break; <br>case 401: //状态为:401代表用户名密码不正确,身份验证错误<br>alert("用户无效或密码错误。"); //报错<br>break; <br>default: //其它状态,如服务器无法访问<br>alert("对不起,服务器发生错误,请稍后再试!"); //报错<br>} <br>
} <br>
//--><br>
</SCRIPT><br>
<TITLE>企业电子邮局</TITLE><br>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><br>
<STYLE type=text/css>.unnamed1 {<br>
BACKGROUND-IMAGE: url(program/img/bg_1.jpg); BACKGROUND-REPEAT: repeat-x; BACKGROUND-COLOR: #ffffff<br>
}<br>
</STYLE><br>
<LINK href="style.css" type=text/css rel=stylesheet><br>
<script language="JavaScript"><br>
<!--<br>
function MM_reloadPage(init) { //reloads the window if Nav4 resized<br>if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {<br>document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}<br>else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();<br>
}<br>
MM_reloadPage(true);<br>
// --><br>
</script><br>
<BODY bgColor=#ffffff leftMargin=0><br>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center bgColor=#ffffff <br>
border=0><br><TBODY><br><TR><br><TD width=645><img src="line12.gif" width="560" height="26"></TD><br><TD width=47><img src="0.gif" width="40" height="36"></TD><br><TD width="68"><A class=white href="mailto:postmaster@test.com.cn" target=_blank><font color="#ff9900"> <br>IT服务中心</font></A></TD><br></TR></TBODY></TABLE><br>
<TABLE class=unnamed2 cellSpacing=0 cellPadding=0 width=760 align=center <br>
border=0><br><TBODY><br><TR><br><TD class=unnamed1 vAlign=top width=240><br><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><br><TBODY><br><TR><br><TD height=200> <BR><br><BR><br><div id="Layer2" style="position:absolute; width:200px; height:115px; z-index:2; left: 29px; top: 90px"><img src="cowboy_lean_fence_md_wht.gif" width="95" height="118"></div><br></TD></TR><br><TR><br><TD><IMG height=150 src="3d01.jpg" <br>width=238></TD><br></TR></TBODY></TABLE></TD><br><TD class=unnamed1 vAlign=top><br><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><br><TBODY><br><TR><br><TD height=10></TD></TR><br><TR><br><TD align=middle height=40> <br><P><SPAN class=domain><FONT class=font-16 <br>color=#cc3300>使用AA密码验证信箱----阳光</FONT></SPAN></P><br><SPAN <br>class=domain><FONT face="Verdana, Arial, Helvetica, sans-serif" <br>color=#cf0000><B>>> Step </B></FONT><FONT <br>face="楷体_GB2312, 宋体" <br>color=#cf0000><B> 验证信箱账号</B></FONT></SPAN><FONT <br>face="楷体_GB2312, 宋体" color=#cf0000><B> </B></FONT> <br><br></TD></TR><br><TR><br><TD height=20><br><DIV align=center><IMG height=1 src="dot.gif" <br>width=493></DIV></TD></TR><br><TR><br><TD><br><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><br><TBODY><br><TR> <br><TD height=60 colspan="2" align=middle> <form name=login method=post><br><SPAN <br>class=font-14>请先在下面输入您信箱的用户名和密码</SPAN> <br><p><B><font size="4">用户名</font></B> <br><INPUT class=form5 maxLength=24 size=12 name="name"><br><B><SPAN <br>class=font-16> 密码</SPAN></B> <br><INPUT class=form5 type=password maxLength=24 size=12 name="pwd"><br><INPUT class=form5 type="button" value="确 定" name="plogin" language=javascript <br>onClick="return plogin_onclick()"><br></p><br><TABLE cellSpacing=0 cellPadding=0 width="82%" border=0><br><TBODY><br><TR> <br><TD> <p>使用方法:<BR><br>1. 将您的信箱用户名和密码填入相应输入框中,然后点击确定;<BR><br>2. 如果您是新用户,用户名及密码会通过人事部转交到您的手中;<BR><br>3. 您可以按照页面设置功能或填写相关资料以及收发internet邮件;<BR><br>4. 在您登录后,您可以在<font color="#003300">“公共文件夹”</font>里<font color="#003300">下载邮箱说明及通讯簿</font>;<BR><br>5. 为了防止其他用户打开您的邮箱,请在“退出”时关闭所有浏览器。 </p><br><P>疑问咨询:请您致电企业IT部<BR><br>E-mail:<a href="mailto:abc@test.com.cn">abc@test.com.cn</a></P></TD><br></TR><br></TBODY><br></TABLE><br><P align="right"><a href="<a target=_blank href=http://mail.test.com.cn/exchange">http://mail.test.com.cn/exchange"</a>; class="A1" target="_blank"><font face="新宋体" size="2" color="#CC0000"><font color="#000000"><font face="宋体"> <br></font> </font></font></a></P><br></FORM></TD><br><TD width="0%" align=middle></TD><br></TR><br><TR> <br><TD height=15 align=middle></TD><br><TD height=15 align=middle><a href="<a target=_blank href=http://mail.test.com.cn/IISADMPWD/aexp2.asp">http://mail.test.com.cn/IISADMPWD/aexp2.asp"</a>; target="_blank"><img src="ANI_079.GIF" width="16" height="16" border="0"> <br>用户密码更改</a></TD><br><TD height=15 align=middle></TD><br></TR><br>
<TR> <br><TD height=15 align=middle></TD><br><TD height=15 align=middle><a href="<a target=_blank href=http://mail.test.com.cn/exchange">http://mail.test.com.cn/exchange"</a>; target="_blank"><img src="ANI_079.GIF" width="16" height="16" border="0"> <br><b><font color="#ff0000" > 无法正确登录,请点击这里</b></a></TD><br><TD height=15 align=middle></TD><br></TR><br><TR> <br><TD width="60%" height=15 align=middle></TD><br><br><TD height=15 align=middle></TD><br></TR><br><TR> <br><TD height=30 colspan="3" align=middle></TD><br></TR><br></TBODY><br></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><br>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center><br><TBODY><br><TR><br><TD><br><DIV align=center><BR><br><SCRIPT language=JavaScript src="copyright.js"></SCRIPT><br></DIV></TD></TR></TBODY></TABLE><br>
<P></P></BODY></html><br>
<br>
以上是一个OWA登陆界面的代码,为什么我做出来的总会有这有那的错误。<br>
<br>
熟悉的朋友能指点下利用这段代码如何实现的吗? |
|