|
利用该源代码客户可实现在自己网页上建立登陆邮箱的表单,从而免去输入http//mail.xxxxx.com.cn:888的烦恼.请将下列代码,插入到您网页的合适位置即可.
<script language="JavaScript">
function trySubmit()
{
document.logon.userid.value = document.logon.username.value+"@sinonets.com.cn";
document.logon.submit();
}
</script>
<table width="425" border="0" cellspacing="0"
cellpadding="0" height="26">
<FORM name=logon action=http://mail.sinonets.com.cn:888/login.cgi
method=post onSubmit="trySubmit()">
<INPUT
type=hidden value=login name=page>
<tr>
<td height="20" bgcolor="#FFFFFF" width="62"
align="right"><font color="#993300"><b>邮箱:</b></font></td>
<td height="20" bgcolor="#FFFFFF" width="71">
<input class=songblack9 size=10 name=username>
<input type=hidden name=userid>
</td>
<td height="20" bgcolor="#FFFFFF" width="105">@sinonets.com.cn</td>
<td height="20" bgcolor="#FFFFFF" width="43"
align="right"><b><font color="#993300">密码:</font></b></td>
<td height="20" bgcolor="#FFFFFF" width="77">
<input class=songblack9
type=password size=10 name=passwd>
</td>
<td height="20" bgcolor="#FFFFFF" width="67">
<input type="submit" name="进入" value="Submit">
</td>
</tr>
</form>
</table>
注:这是一个例子,请将sinonets.com.cn这个域名更改成规公司的域名即可。
|